/* style/about.css */

/* Custom Colors from provided palette */
:root {
    --wynn08-primary: #11A84E;
    --wynn08-secondary: #22C768;
    --wynn08-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --wynn08-card-bg: #11271B;
    --wynn08-background: #08160F; /* Body background color */
    --wynn08-text-main: #F2FFF6;
    --wynn08-text-secondary: #A7D9B8;
    --wynn08-border: #2E7A4E;
    --wynn08-glow: #57E38D;
    --wynn08-gold: #F2C14E;
    --wynn08-divider: #1E3A2A;
    --wynn08-deep-green: #0A4B2C;
}

.page-about {
    font-family: Arial, sans-serif;
    color: var(--wynn08-text-main); /* Light text for dark body background */
    background-color: var(--wynn08-background); /* Ensure consistent background if not inherited */
    line-height: 1.6;
}

.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-about__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
    padding-bottom: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Image first, then content */
    align-items: center;
    text-align: center;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Limit height for hero image */
    margin-bottom: 20px; /* Space between image and text */
}

.page-about__hero-content {
    max-width: 800px;
    z-index: 1;
    padding: 0 20px;
}

.page-about__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    color: var(--wynn08-gold);
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

.page-about__hero-description {
    font-size: 1.2rem;
    color: var(--wynn08-text-secondary);
    margin-bottom: 30px;
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background: var(--wynn08-button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-about__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-about__btn-secondary {
    background-color: transparent;
    color: var(--wynn08-primary);
    border: 2px solid var(--wynn08-primary);
    box-shadow: 0 2px 10px rgba(17, 168, 78, 0.2);
}

.page-about__btn-secondary:hover {
    background-color: var(--wynn08-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-about__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--wynn08-gold);
    text-align: center;
    margin-bottom: 30px;
    margin-top: 50px;
    position: relative;
    padding-bottom: 15px;
}

.page-about__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--wynn08-primary);
    border-radius: 5px;
}

.page-about__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--wynn08-text-main);
}

.page-about__text-center {
    text-align: center;
}

.page-about__highlight {
    color: var(--wynn08-gold);
    font-weight: bold;
}

/* Introduction Section */
.page-about__introduction-section {
    padding: 60px 0;
    background-color: var(--wynn08-background);
}

/* History Section */
.page-about__history-section {
    padding: 60px 0;
    background-color: var(--wynn08-card-bg); /* Darker background for contrast */
    color: var(--wynn08-text-main);
}

.page-about__content-flex {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-about__content-flex--reverse {
    flex-direction: row-reverse;
}

.page-about__text-column,
.page-about__image-column {
    flex: 1;
}

.page-about__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

/* Values Section */
.page-about__values-section {
    padding: 60px 0;
    background-color: var(--wynn08-background);
}

.page-about__values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-about__value-card {
    background-color: var(--wynn08-card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--wynn08-border);
    transition: transform 0.3s ease;
}

.page-about__value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-about__value-title {
    font-size: 1.6rem;
    color: var(--wynn08-primary);
    margin-bottom: 15px;
    font-weight: bold;
}

/* Products/Gameshow Section */
.page-about__products-section {
    padding: 60px 0;
    background-color: var(--wynn08-card-bg);
    color: var(--wynn08-text-main);
}

.page-about__gameshow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-about__gameshow-card {
    background-color: var(--wynn08-deep-green);
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: var(--wynn08-text-main);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--wynn08-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-about__gameshow-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-about__gameshow-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-about__gameshow-title {
    font-size: 1.4rem;
    color: var(--wynn08-gold);
    padding: 15px;
    margin: 0;
    flex-grow: 1;
}

/* Responsibility Section */
.page-about__responsibility-section {
    padding: 60px 0;
    background-color: var(--wynn08-background);
}

/* Why Choose Section */
.page-about__why-choose-section {
    padding: 60px 0;
    background-color: var(--wynn08-card-bg);
    color: var(--wynn08-text-main);
}

.page-about__advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-about__advantage-item {
    background-color: var(--wynn08-deep-green);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--wynn08-border);
}

.page-about__advantage-title {
    font-size: 1.5rem;
    color: var(--wynn08-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

/* Team Section */
.page-about__team-section {
    padding: 60px 0;
    background-color: var(--wynn08-background);
}

/* Contact Section */
.page-about__contact-section {
    padding: 60px 0;
    background-color: var(--wynn08-card-bg);
    color: var(--wynn08-text-main);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-about__container {
        padding: 20px 30px;
    }

    .page-about__content-flex {
        flex-direction: column;
    }

    .page-about__content-flex--reverse {
        flex-direction: column;
    }

    .page-about__image-column {
        margin-bottom: 30px;
    }

    .page-about__hero-image {
        max-height: 450px;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-about__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px !important;
    }

    .page-about__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 10px;
    }

    .page-about__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    /* 通用图片与容器 */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__value-card,
    .page-about__gameshow-card,
    .page-about__advantage-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* 按钮与按钮容器 */
    .page-about__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
    }

    .page-about__section-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        margin-top: 40px;
        margin-bottom: 20px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__text-block {
        font-size: 1rem;
    }

    /* 其他内容模块 - 例如 Values Grid, Gameshow Grid */
    .page-about__values-grid,
    .page-about__gameshow-grid,
    .page-about__advantages-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .page-about__hero-image {
        max-height: 300px;
    }

    .page-about__gameshow-image {
        height: 180px;
    }

    .page-about__gameshow-title {
        font-size: 1.2rem;
    }

    .page-about__value-title,
    .page-about__advantage-title {
        font-size: 1.4rem;
    }
}

/* Dark background classes for contrast enforcement */
.page-about__dark-section {
    background-color: var(--wynn08-card-bg);
    color: var(--wynn08-text-main);
}