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

    font-family: Arial, sans-serif;
    color: var(--text-main-color); /* Main text color for dark background */
    background-color: var(--background-color); /* Body background color */
    line-height: 1.6;
}

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

.page-about__section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-about__section-title {
    font-size: clamp(28px, 4vw, 48px);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

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

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

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

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

.page-about__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 40px 20px;
}

.page-about__main-title {
    font-size: clamp(32px, 5vw, 60px);
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

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

.page-about__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 15px;
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-about__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main-color);
    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: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.2);
}

.page-about__btn-secondary:hover {
    background: rgba(17, 168, 78, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.4);
}

.page-about__btn-text {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
    transition: color 0.3s ease;
}

.page-about__btn-text:hover {
    color: var(--gold-color);
}

/* About Us Intro Section */
.page-about__about-us-intro {
    background-color: var(--background-color);
}

.page-about__grid-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-about__text-content p {
    margin-bottom: 15px;
    color: var(--text-main-color);
}

.page-about__image-block {
    text-align: center;
}

.page-about__image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

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

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

.page-about__feature-card {
    background-color: var(--deep-green-color);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-about__feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

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

.page-about__feature-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-about__feature-description {
    font-size: 16px;
    color: var(--text-secondary-color);
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Featured Games Section */
.page-about__featured-games {
    background-color: var(--background-color);
}

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

.page-about__game-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-about__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

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

.page-about__game-title {
    font-size: 20px;
    color: var(--gold-color);
    padding: 15px 20px 5px;
    font-weight: 700;
}

.page-about__game-description {
    font-size: 16px;
    color: var(--text-secondary-color);
    padding: 0 20px 15px;
    flex-grow: 1;
}

.page-about__game-card .page-about__btn-primary {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
}

/* Promotions Section */
.page-about__promotions {
    background-color: var(--deep-green-color);
}

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

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

.page-about__promo-title {
    font-size: 24px;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-about__promo-text {
    font-size: 16px;
    color: var(--text-secondary-color);
    flex-grow: 1;
    margin-bottom: 25px;
}

/* Responsible Gambling Section */
.page-about__responsible-gambling {
    background-color: var(--background-color);
}

.page-about__content-flex {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
}

.page-about__text-block {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

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

.page-about__text-block ul {
    list-style: none;
    padding-left: 0;
}

.page-about__text-block li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    color: var(--text-main-color);
}

.page-about__text-block li::before {
    content: '✓';
    color: var(--glow-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-about__btn-center {
    display: block;
    margin: 40px auto 0 auto;
    width: fit-content;
}

/* FAQ Section */
.page-about__faq-section {
    background-color: var(--card-bg);
}

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

.page-about__faq-item {
    background-color: var(--deep-green-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-main-color);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-main-color);
    background-color: var(--deep-green-color);
    border-bottom: 1px solid var(--divider-color);
    list-style: none;
}

.page-about__faq-question::-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(--glow-color);
}

.page-about__faq-answer {
    padding: 15px 25px 20px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary-color);
}

.page-about__faq-answer p {
    margin-bottom: 10px;
}

.page-about__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-about__faq-answer a:hover {
    color: var(--gold-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about__grid-two-cols {
        grid-template-columns: 1fr;
    }
    .page-about__hero-content {
        padding: 30px 15px;
    }
    .page-about__main-title {
        font-size: clamp(30px, 6vw, 50px);
    }
    .page-about__intro-text {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .page-about__section {
        padding: 40px 0;
    }

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

    .page-about__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    /* Images */
    .page-about img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__hero-section,
    .page-about__hero-content,
    .page-about__image-block,
    .page-about__feature-card,
    .page-about__game-card,
    .page-about__promo-card,
    .page-about__text-block,
    .page-about__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    /* Buttons */
    .page-about__cta-buttons {
        flex-direction: column !important;
        gap: 15px;
        padding: 0 15px;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary,
    .page-about a[class*="button"],
    .page-about a[class*="btn"] {
        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;
    }

    .page-about__btn-center {
        width: 100% !important;
        padding: 0 15px;
    }

    .page-about__content-flex {
        flex-direction: column;
        gap: 30px;
    }

    .page-about__text-block {
        min-width: unset;
        max-width: 100%;
    }

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

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