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

.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--page-about-text-main); /* Default text color for dark background */
    background: var(--page-about-background); /* Default background color */
}

/* --- General Section Styles --- */
.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-about__section-title {
    font-size: 2.5em;
    color: var(--page-about-text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
    padding-top: 20px;
}

.page-about__sub-title {
    font-size: 1.8em;
    color: var(--page-about-text-main);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about__section-description {
    font-size: 1.1em;
    color: var(--page-about-text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.page-about__dark-section {
    background: var(--page-about-background);
    color: var(--page-about-text-main);
    padding: 80px 0;
}

.page-about__light-bg {
    background: #ffffff; /* Use a light background for contrast */
    color: #333333; /* Dark text for light background */
    padding: 80px 0;
}

.page-about__light-bg .page-about__section-title,
.page-about__light-bg .page-about__sub-title,
.page-about__light-bg .page-about__game-title {
    color: #000000; /* Ensure dark titles on light background */
}

.page-about__light-bg p {
    color: #333333;
}

/* --- Hero Section --- */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Ensure sufficient height */
    overflow: hidden;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-about__hero-image-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.page-about__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.4); /* Darken image for text readability */
}

.page-about__hero-content-wrapper {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-about__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
    color: var(--page-about-text-main);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__intro-text {
    font-size: 1.2em;
    color: var(--page-about-text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-about__btn-primary {
    background: var(--page-about-btn-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-about__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-about__btn-secondary {
    background: #ffffff;
    color: var(--page-about-primary-color);
    border: 2px solid var(--page-about-primary-color);
}

.page-about__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    background: var(--page-about-primary-color);
    color: #ffffff;
}

/* --- Mission & Vision Section --- */
.page-about__mission-vision .page-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.page-about__grid-item {
    background: #ffffff; /* Light background for card-like items */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%; /* Ensure consistent height */
    display: flex;
    flex-direction: column;
}

.page-about__grid-title {
    font-size: 1.5em;
    color: #000000; /* Dark text for light background */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about__grid-item p {
    color: #333333; /* Dark text for light background */
    margin-bottom: 20px;
    flex-grow: 1; /* Make paragraph take available space */
}

.page-about__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin-top: 20px;
}

/* Ensure content images are at least 200px */
.page-about__grid-item img,
.page-about__game-card img,
.page-about__security-content img {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

/* --- Core Values Section --- */
.page-about__core-values .page-about__values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-about__value-item {
    background: var(--page-about-card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-about-border);
}

.page-about__value-title {
    font-size: 1.4em;
    color: var(--page-about-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about__value-item p {
    color: var(--page-about-text-secondary);
}

/* --- Game Offerings Section --- */
.page-about__game-offerings .page-about__game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__game-card {
    background: #ffffff; /* Light background for cards */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.page-about__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency, adjust as needed */
    object-fit: cover;
    display: block;
}

.page-about__game-title {
    font-size: 1.3em;
    margin: 20px 15px 10px;
    font-weight: 600;
}

.page-about__game-title a {
    color: var(--page-about-primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-about__game-title a:hover {
    color: var(--page-about-secondary-color);
    text-decoration: underline;
}

.page-about__game-card p {
    color: #333333;
    padding: 0 15px 20px;
    flex-grow: 1;
}

.page-about__cta-buttons--center {
    margin-top: 50px;
}

/* --- Security Commitment Section --- */
.page-about__security-commitment .page-about__security-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-about__image--left {
    flex: 1;
    max-width: 50%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-about__security-text {
    flex: 1;
    max-width: 50%;
}

.page-about__security-text p {
    color: var(--page-about-text-secondary);
    margin-bottom: 20px;
}

/* --- FAQ Section --- */
.page-about__faq-section {
    padding-bottom: 80px;
}

.page-about__faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.page-about__faq-item {
    background: #ffffff; /* Light background for FAQ items */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-about__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: #000000; /* Dark text for summary */
    cursor: pointer;
    list-style: none; /* Remove default marker */
}

.page-about__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit */
}

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--page-about-primary-color);
    margin-left: 15px;
}

.page-about__faq-answer {
    padding: 0 25px 20px;
    color: #333333; /* Dark text for answer */
    font-size: 1em;
}

.page-about__faq-answer p {
    margin-bottom: 15px;
    color: #333333;
}

.page-about__faq-answer .page-about__btn-primary {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 0.9em;
}

/* --- Final CTA Section --- */
.page-about__final-cta {
    text-align: center;
    padding: 80px 0;
}

.page-about__final-cta-content {
    max-width: 900px;
}

/* --- General Image Styles --- */
.page-about img {
    max-width: 100%;
    height: auto;
    display: block; /* Important for preventing extra space below images */
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-about__mission-vision .page-about__grid {
        grid-template-columns: 1fr;
    }
    .page-about__security-commitment .page-about__security-content {
        flex-direction: column;
        align-items: center;
    }
    .page-about__image--left,
    .page-about__security-text {
        max-width: 100%;
        text-align: center;
    }
    .page-about__image--left {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-about__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-about__sub-title {
        font-size: 1.5em;
    }
    .page-about__main-title {
        font-size: clamp(2em, 8vw, 2.8em);
    }
    .page-about__intro-text {
        font-size: 1em;
    }
    .page-about__hero-section,
    .page-about__dark-section,
    .page-about__light-bg,
    .page-about__final-cta {
        padding: 50px 0;
    }

    /* Mobile specific image/video/button overrides */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__grid-item,
    .page-about__value-item,
    .page-about__game-card,
    .page-about__faq-item,
    .page-about__hero-content-wrapper,
    .page-about__security-content,
    .page-about__security-text {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure containers hide overflow */
    }

    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to button group */
    }

    .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-left: 15px;
        padding-right: 15px;
    }

    /* Specific padding for hero section on mobile */
    .page-about__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px !important;
    }
}

@media (max-width: 480px) {
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__main-title {
        font-size: clamp(1.8em, 10vw, 2.5em);
    }
    .page-about__cta-buttons {
        gap: 10px;
    }
}