:root {
    --primary-color: #E53935;
    --secondary-color: #FF5A4F;
    --button-gradient: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    --card-bg-color: #FFFFFF;
    --background-color: #F5F7FA; /* For specific light sections, but main background is dark */
    --text-main-color: #333333; /* For text on light backgrounds */
    --text-light-color: #FFFFFF; /* For text on dark backgrounds */
    --border-color: #E0E0E0;
    --dark-bg-color: #100224; /* From WOW88 style guide */
}

/* Global styles for page-about scope */
.page-about {
    background-color: var(--dark-bg-color); /* Overall dark background */
    color: var(--text-light-color); /* Default text color for dark background */
    font-family: Arial, sans-serif; /* Roboto气质 */
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for the first section */
    overflow-x: hidden; /* Prevent horizontal overflow */
}

.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    box-sizing: border-box; /* Ensure padding is included in element's total width */
}

.page-about__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-light-color); /* White for dark background */
}

/* Hero Section */
.page-about__hero-section {
    display: flex;
    flex-direction: column; /* Default to column for mobile, will change for desktop */
    align-items: center;
    justify-content: center;
    padding: 0;
    text-align: center;
    margin-bottom: 40px;
    background-color: var(--dark-bg-color);
}

.page-about__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-about__hero-content {
    padding: 40px 15px;
    max-width: 800px;
    text-align: center;
    box-sizing: border-box;
}

.page-about__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text-light-color);
    font-size: clamp(2rem, 5vw, 3rem); /* Example clamp, within reasonable limits */
}

.page-about__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.page-about__cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    background: var(--button-gradient);
    color: var(--text-light-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 150px; /* Ensure button is not too small */
    min-height: 44px; /* Touch target */
}

.page-about__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 90, 79, 0.4);
}

/* Mission & Vision Section */
.page-about__mission-vision-section {
    background-color: var(--dark-bg-color); /* Consistent dark background */
    padding: 60px 0;
}

.page-about__mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.page-about__card {
    background-color: var(--card-bg-color); /* White card background */
    color: var(--text-main-color); /* Dark text on white card */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-about__card-image {
    width: auto; /* Allow auto width to respect max-width */
    max-width: 100%; /* Ensure image fills card width */
    height: auto;
    min-width: 200px;
    min-height: 200px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-about__card-title {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-about__card-text {
    font-size: 1rem;
    line-height: 1.7;
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
    background-color: var(--dark-bg-color);
    padding: 60px 0;
}

.page-about__features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.page-about__feature-item {
    background-color: var(--card-bg-color);
    color: var(--text-main-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-about__feature-image {
    width: auto;
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-about__feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-about__feature-description {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsible Gaming Section */
.page-about__responsible-gaming-section {
    background-color: var(--dark-bg-color);
    padding: 60px 0;
}

.page-about__responsible-gaming-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    background-color: var(--card-bg-color); /* White card background */
    color: var(--text-main-color); /* Dark text on white card */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.page-about__responsible-gaming-image {
    width: auto;
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
    border-radius: 8px;
    display: block;
}

.page-about__responsible-gaming-text {
    text-align: center;
}

.page-about__responsible-gaming-text p {
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.7;
}

.page-about__text-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-about__text-link:hover {
    color: var(--secondary-color);
}


/* Contact CTA Section */
.page-about__contact-cta-section {
    background-color: var(--dark-bg-color);
    padding: 60px 0;
    text-align: center;
}

.page-about__cta-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.page-about__cta-button--secondary {
    background: linear-gradient(180deg, #83a1f2 0%, #688cec 100%); /* Blue button from WOW88 style */
    box-shadow: 0 5px 15px rgba(131, 161, 242, 0.4);
}

.page-about__cta-button--secondary:hover {
    box-shadow: 0 5px 15px rgba(104, 140, 236, 0.6);
}

/* Responsive Design */
@media (min-width: 769px) {
    .page-about__hero-section {
        flex-direction: column; /* Keep column layout for hero even on desktop, as per "上图下文" */
        padding-top: 20px; /* Adjust top padding for desktop if needed */
    }

    .page-about__hero-image-wrapper {
        max-height: 600px; /* Limit hero image height on desktop */
    }

    .page-about__hero-image {
        max-width: 1920px; /* Ensure hero image scales correctly */
        margin: 0 auto;
    }

    .page-about__hero-content {
        padding: 60px 15px;
    }

    .page-about__mission-vision-grid {
        grid-template-columns: 1fr 1fr;
    }

    .page-about__features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .page-about__responsible-gaming-content {
        flex-direction: row;
        text-align: left;
    }

    .page-about__responsible-gaming-image {
        margin-right: 30px;
        flex-shrink: 0;
    }

    .page-about__responsible-gaming-text {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .page-about__section-title {
        margin-bottom: 30px;
    }

    .page-about__hero-content {
        padding: 30px 15px;
    }

    .page-about__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem); /* Adjust clamp for mobile h1 */
    }

    .page-about__hero-description {
        font-size: 1rem;
    }

    .page-about__cta-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .page-about__card,
    .page-about__feature-item,
    .page-about__responsible-gaming-content {
        padding: 20px;
    }

    /* Ensure all images inside .page-about are responsive and don't overflow */
    .page-about img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    /* Content area images CSS dimensions lower bound (200px) */
    .page-about__card-image,
    .page-about__feature-image,
    .page-about__responsible-gaming-image {
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 549px) {
    .page-about__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .page-about__hero-content {
        padding: 20px 10px;
    }

    .page-about__main-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    .page-about__card-title {
        font-size: 1.5rem;
    }

    .page-about__feature-title {
        font-size: 1.3rem;
    }

    .page-about__responsible-gaming-content {
        flex-direction: column;
    }
}

/* Ensure no filter is applied to images */
.page-about img {
    filter: none !important;
}

/* Ensure content area images maintain min size */
.page-about__card-image,
.page-about__feature-image,
.page-about__responsible-gaming-image {
    width: auto; /* Allow auto width to respect max-width */
    height: auto;
    max-width: 100%; /* Important for responsiveness */
    min-width: 200px;
    min-height: 200px;
}