.page-about {
    color: #ffffff; /* Dark body background, so light text */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Rely on shared.css body background */
}

.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom */
    text-align: center;
    background-color: rgba(0, 0, 0, 0.4); /* Slightly dark overlay for text readability */
    overflow: hidden;
}

.page-about__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Image behind content */
}

.page-about__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-about__hero-content {
    max-width: 900px;
    margin-top: 20px;
    padding: 20px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.6); /* Darker background for content on image */
    color: #ffffff;
}

.page-about__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 700;
}

.page-about__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-about__section {
    padding: 60px 0;
    background-color: transparent; /* Default, will be overridden by specific sections */
}

.page-about__about-intro {
    background-color: #1a1a2e; /* Dark background */
    color: #ffffff;
}

.page-about__mission-vision {
    background-color: #0d0d1e; /* Slightly different dark background */
}

.page-about__why-choose {
    background-color: #1a1a2e;
}

.page-about__game-overview {
    background-color: #0d0d1e;
}

.page-about__responsible-gaming {
    background-color: #1a1a2e;
}

.page-about__customer-support {
    background-color: #0d0d1e;
}

.page-about__faq-section {
    background-color: #1a1a2e;
}

.page-about__cta-bottom {
    background-color: #26A9E0; /* Brand color background */
    padding: 80px 0;
    text-align: center;
}

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

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

.page-about__container--reverse-desktop {
    flex-direction: row-reverse;
}

.page-about__content-block {
    flex: 1;
}

.page-about__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: block; /* Ensure it behaves as a block element for max-width */
}

.page-about__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #26A9E0; /* Brand color for titles */
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.page-about__section-title--left {
    text-align: left;
}

.page-about__sub-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: #ffffff;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about__text-block {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-about__text-block a {
    color: #26A9E0; /* Brand color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-about__text-block a:hover {
    color: #ffffff;
    text-decoration: underline;
}

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

.page-about__feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-about__feature-card:hover {
    transform: translateY(-5px);
}

.page-about__feature-icon {
    width: 100%; /* Max-width 100% is important for images */
    height: auto; /* Height auto for aspect ratio */
    max-width: 250px; /* Example max width for feature icons */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-about__feature-title {
    font-size: 1.5rem;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-about__feature-text {
    font-size: 1rem;
    color: #f0f0f0;
}

.page-about__game-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-about__game-list li {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 5px;
    color: #f0f0f0;
    font-size: 1.05rem;
}

.page-about__game-list li strong {
    color: #26A9E0;
}

.page-about__game-list li a {
    color: #26A9E0;
    text-decoration: none;
}

.page-about__game-list li a:hover {
    text-decoration: underline;
}

.page-about__support-channels {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-about__support-channels li {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 4px solid #26A9E0;
    border-radius: 5px;
    color: #f0f0f0;
    font-size: 1.05rem;
}

.page-about__faq-list {
    margin-top: 40px;
}

.page-about__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    color: #ffffff;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #26A9E0; /* Brand color for question */
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-about__faq-question::marker {
    display: none;
}

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

.page-about__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-about__faq-item[open] .page-about__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-about__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    color: #f0f0f0;
    line-height: 1.6;
}

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

.page-about__faq-answer a {
    color: #26A9E0;
    text-decoration: none;
}

.page-about__faq-answer a:hover {
    text-decoration: underline;
}

.page-about__cta-content {
    color: #ffffff;
}

.page-about__cta-bottom .page-about__section-title {
    color: #ffffff;
    margin-bottom: 20px;
}

.page-about__cta-bottom .page-about__description {
    color: #f0f0f0;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.page-about__cta-bottom .page-about__description a {
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.page-about__cta-bottom .page-about__description a:hover {
    text-decoration: underline;
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%; /* Ensure container takes full width for responsive */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* For responsive buttons */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background-color: #EA7C07; /* Login color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-about__btn-primary:hover {
    background-color: #d16b06;
    border-color: #d16b06;
}

.page-about__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-about__btn-secondary:hover {
    background-color: #ffffff;
    color: #26A9E0; /* Brand color */
    border-color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-about__container--flex {
        flex-direction: column;
    }
    .page-about__container--reverse-desktop {
        flex-direction: column; /* Revert for smaller screens */
    }
    .page-about__image-block {
        margin-top: 30px;
    }
}

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

    .page-about__hero-content {
        padding: 15px;
    }

    .page-about__main-title {
        font-size: 2rem;
    }

    .page-about__description {
        font-size: 1rem;
    }

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

    .page-about__container {
        padding: 0 15px;
    }

    .page-about__section-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }

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

    .page-about__text-block,
    .page-about__feature-text,
    .page-about__game-list li,
    .page-about__support-channels li,
    .page-about__faq-answer {
        font-size: 0.95rem;
    }

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

    .page-about__feature-card {
        padding: 20px;
    }

    .page-about__feature-title {
        font-size: 1.3rem;
    }

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

    .page-about__cta-bottom {
        padding: 60px 0;
    }

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

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

    /* Images responsiveness for mobile */
    .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__hero-section,
    .page-about__hero-content,
    .page-about__cta-bottom {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

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

    /* Ensure .page-about__image-block itself also handles width */
    .page-about__image-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0; /* Already handled by container */
        padding-right: 0; /* Already handled by container */
    }
}

/* Ensure content area images are not too small */
.page-about__image,
.page-about__feature-icon {
    min-width: 200px;
    min-height: 200px;
}
.page-about__feature-icon {
    max-width: 250px; /* Specific max-width for these icons */
    min-width: 200px;
}