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

.page-about {
    font-family: Arial, sans-serif;
    color: var(--text-secondary); /* Default text color */
    background-color: var(--background); /* #08160F */
    line-height: 1.6;
}

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

/* Hero Section */
.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    overflow: hidden;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Max height for hero image */
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darken image for text readability, not changing color */
    min-width: 200px;
    min-height: 200px;
}

.page-about__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin-top: 40px; /* Space between image and text */
    padding: 0 20px;
}

.page-about__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem); /* Responsive H1 font size */
    color: var(--text-main); /* #F2FFF6 */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.page-about__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* General Sections */
.page-about__section {
    padding: 60px 0;
}

.page-about__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-main); /* #F2FFF6 */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

.page-about__sub-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--text-main); /* #F2FFF6 */
    margin-bottom: 20px;
    font-weight: 500;
}

.page-about__paragraph {
    font-size: 1rem;
    color: var(--text-secondary); /* #A7D9B8 */
    margin-bottom: 15px;
}

.page-about__paragraph--light {
    color: var(--text-main); /* #F2FFF6 */
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsive */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-about__btn-primary {
    background: var(--button-gradient);
    color: #ffffff; /* White text on green gradient */
    border: none;
}

.page-about__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-about__btn-secondary {
    background: transparent;
    color: var(--glow); /* #57E38D */
    border: 2px solid var(--glow); /* #57E38D */
}

.page-about__btn-secondary:hover {
    background: var(--glow); /* #57E38D */
    color: var(--background); /* #08160F */
    transform: translateY(-2px);
}

/* About Us Section */
.page-about__about-us {
    background-color: var(--card-bg); /* #11271B */
}

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

.page-about__content-block {
    background-color: var(--card-bg); /* #11271B */
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--divider); /* #1E3A2A */
}

.page-about__image-block {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

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

.page-about__value-list {
    list-style: none;
    padding-left: 0;
}

.page-about__value-list li {
    margin-bottom: 10px;
    color: var(--text-secondary); /* #A7D9B8 */
}

.page-about__value-list li strong {
    color: var(--text-main); /* #F2FFF6 */
}

/* Why Choose Us Section */
.page-about__why-choose-us {
    background-color: var(--background); /* #08160F */
}

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

.page-about__feature-item {
    background-color: var(--card-bg); /* #11271B */
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--divider); /* #1E3A2A */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-about__feature-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Min size */
    min-height: 200px; /* Min size */
}

.page-about__feature-title {
    font-size: 1.3rem;
    color: var(--text-main); /* #F2FFF6 */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about__feature-description {
    font-size: 0.95rem;
    color: var(--text-secondary); /* #A7D9B8 */
}

/* Milestones Section */
.page-about__milestones {
    background-color: var(--background); /* #08160F */
}

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

.page-about__milestone-item {
    background-color: var(--card-bg); /* #11271B */
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--divider); /* #1E3A2A */
}

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

/* Responsible Gaming Section */
.page-about__responsible-gaming {
    background-color: var(--card-bg); /* #11271B */
}

/* Join Us Section */
.page-about__join-us {
    padding: 80px 0;
    text-align: center;
}

.page-about__dark-section {
    background: var(--deep-green); /* #0A4B2C */
    padding: 60px 40px;
    border-radius: 15px;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--divider); /* #1E3A2A */
}

.page-about__section-title--light {
    color: var(--text-main); /* #F2FFF6 */
}

.page-about__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* FAQ Section */
.page-about__faq-section {
    background-color: var(--background); /* #08160F */
}

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

.page-about__faq-item {
    background-color: var(--card-bg); /* #11271B */
    border: 1px solid var(--divider); /* #1E3A2A */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    color: var(--text-main); /* #F2FFF6 */
    font-weight: 600;
    cursor: pointer;
    list-style: none; /* For <summary> */
    user-select: none;
}

.page-about__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for <summary> */
}

.page-about__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--glow); /* #57E38D */
    margin-left: 15px;
}

.page-about__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: var(--text-secondary); /* #A7D9B8 */
    line-height: 1.6;
}

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

    .page-about__hero-title {
        font-size: clamp(2rem, 4.5vw, 3.5rem);
    }

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

    .page-about__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }

    .page-about__sub-title {
        font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding: 10px 0 40px 0;
    }
    
    .page-about__hero-content {
        margin-top: 30px;
        padding: 0 15px;
    }

    .page-about__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px; /* Limit button group width */
        margin: 0 auto;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100% !important; /* Force full width on mobile */
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
    }

    .page-about__section {
        padding: 40px 0;
    }

    .page-about__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Image responsiveness */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Image containers */
    .page-about__image-block,
    .page-about__content-block,
    .page-about__feature-item,
    .page-about__milestone-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__content-grid,
    .page-about__feature-grid,
    .page-about__milestone-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-about__dark-section {
        padding: 40px 20px;
    }

    .page-about__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-about__faq-answer {
        padding: 0 20px 15px 20px;
    }
}