:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background-dark: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
    --color-light-text: #333333; /* For light backgrounds */
    --color-white: #ffffff;
    --color-light-grey: #f5f5f5;
}

.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--color-light-text); /* Default text color for light body background */
    background-color: var(--color-white); /* Assuming body has default white background */
}

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

.page-about__section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-primary);
}

.page-about__text-block {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: justify;
}

.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* body handles padding-top, so only small decorative top padding */
    overflow: hidden;
    background-color: var(--color-background-dark); /* Ensure background for text readability */
}

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

.page-about__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    color: var(--color-text-main);
}

.page-about__main-title {
    font-size: clamp(32px, 5vw, 56px); /* H1 font size with clamp */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-gold);
    letter-spacing: 1px;
}

.page-about__hero-description {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 30px;
    color: var(--color-text-secondary);
}

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

.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: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-about__btn-primary {
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: var(--color-white);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.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-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.page-about__btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-about__btn-primary--large {
    padding: 18px 40px;
    font-size: 20px;
    min-width: 250px;
}


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

.page-about__introduction-section .page-about__section-title {
    color: var(--color-gold);
}

.page-about__introduction-section .page-about__text-block {
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

.page-about__image-content {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about__mission-vision-values-section {
    padding: 80px 0;
    background-color: var(--color-light-grey); /* Light background for contrast */
    color: var(--color-light-text);
}

.page-about__mission-vision-values-section .page-about__section-title {
    color: var(--color-primary);
}

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

.page-about__card {
    background-color: var(--color-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--color-text-main);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-about__card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--color-gold);
    text-align: center;
}

.page-about__card-text {
    font-size: 16px;
    color: var(--color-text-secondary);
    flex-grow: 1;
    text-align: justify;
}

.page-about__value-list {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.page-about__value-item {
    font-size: 16px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    color: var(--color-text-secondary);
}

.page-about__value-item::before {
    content: '✓';
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-about__why-choose-us-section {
    padding: 80px 0;
    background-color: var(--color-white); /* Light background */
    color: var(--color-light-text);
}

.page-about__why-choose-us-section .page-about__section-title {
    color: var(--color-primary);
}

.page-about__why-choose-us-section .page-about__text-block {
    color: var(--color-light-text);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

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

.page-about__feature-card {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid var(--color-border);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-about__feature-icon {
    width: 200px; /* Min size */
    height: 150px; /* Min size */
    object-fit: contain;
    margin: 0 auto 20px auto;
    border-radius: 8px;
}

.page-about__feature-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--color-deep-green);
}

.page-about__feature-description {
    font-size: 15px;
    color: var(--color-light-text);
    flex-grow: 1;
}

.page-about__responsible-gaming-section {
    padding: 80px 0;
    background-color: var(--color-background-dark);
    color: var(--color-text-main);
}

.page-about__responsible-gaming-section .page-about__section-title {
    color: var(--color-gold);
}

.page-about__responsible-gaming-section .page-about__text-block {
    color: var(--color-text-secondary);
}

.page-about__responsibility-list {
    list-style: none;
    padding-left: 0;
    margin-top: 30px;
}

.page-about__responsibility-item {
    font-size: 16px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 35px;
    color: var(--color-text-secondary);
}

.page-about__responsibility-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    font-size: 20px;
    line-height: 1;
}

.page-about__faq-section {
    padding: 80px 0;
    background-color: var(--color-light-grey);
    color: var(--color-light-text);
}

.page-about__faq-section .page-about__section-title {
    color: var(--color-primary);
}

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

.page-about__faq-item {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-about__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    color: var(--color-deep-green);
    list-style: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.page-about__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-about__faq-qtext {
    flex-grow: 1;
}

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

.page-about__faq-item[open] .page-about__faq-toggle {
    content: '−';
}

.page-about__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 16px;
    color: var(--color-light-text);
    text-align: justify;
}

.page-about__cta-section {
    padding: 80px 0;
    background-color: var(--color-background-dark);
    text-align: center;
    color: var(--color-text-main);
}

.page-about__cta-section .page-about__section-title--cta {
    color: var(--color-gold);
    margin-bottom: 20px;
}

.page-about__cta-section .page-about__text-block--cta {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--color-text-secondary);
}

@media (max-width: 1024px) {
    .page-about__hero-content {
        padding: 0 40px;
    }
    .page-about__introduction-section,
    .page-about__mission-vision-values-section,
    .page-about__why-choose-us-section,
    .page-about__responsible-gaming-section,
    .page-about__faq-section,
    .page-about__cta-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding-bottom: 40px;
    }

    .page-about__hero-image {
        max-height: 400px;
        margin-bottom: 20px;
    }

    .page-about__main-title {
        font-size: clamp(28px, 6vw, 40px);
    }

    .page-about__hero-description {
        font-size: clamp(15px, 3vw, 18px);
    }

    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
    }

    .page-about__btn-primary--large {
        padding: 15px 30px;
        font-size: 18px;
        min-width: unset;
    }

    .page-about__section-title {
        font-size: clamp(24px, 5vw, 36px);
        margin-bottom: 30px;
    }

    .page-about__text-block {
        font-size: 15px;
    }

    .page-about__image-content {
        margin-top: 30px;
    }

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

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

    .page-about__feature-icon {
        width: 150px;
        height: 120px;
    }

    .page-about__faq-item summary {
        font-size: 16px;
        padding: 15px 20px;
    }

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

    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-about__container,
    .page-about__hero-content,
    .page-about__cta-buttons,
    .page-about__faq-list,
    .page-about__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-about__hero-section {
        padding-top: 10px !important;
    }
}