/* style/about.css */

/* --- General Styles & Body Background Adaptations --- */
/* body background is #0a0a0a (dark), so main text color should be light */
.page-about {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Rely on body background from shared.css */
}

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

.page-about__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #26A9E0; /* Brand color for titles */
    line-height: 1.2;
}

.page-about__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Slightly off-white for body text on dark background */
}

/* --- Color Theme Sections --- */
.page-about__dark-bg {
    background-color: #0a0a0a; /* Ensure dark sections maintain dark background */
    color: #ffffff;
}

.page-about__light-bg {
    background-color: #1a1a1a; /* Slightly lighter dark for contrast sections */
    color: #ffffff;
}

/* --- Buttons --- */
.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    cursor: pointer;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    box-sizing: border-box;
}

.page-about__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

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

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

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

/* --- Hero Section --- */
.page-about__hero-section {
    position: relative;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    margin-bottom: 30px;
    border-radius: 10px;
    min-width: 200px;
    min-height: 200px;
}

.page-about__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-about__hero-title {
    font-size: clamp(2em, 4vw, 3.2em);
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-about__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

/* --- Introduction Section --- */
.page-about__introduction-section {
    padding: 80px 0;
}
.page-about__introduction-section .page-about__text-block {
    color: #f0f0f0;
}

/* --- Mission & Vision Section --- */
.page-about__mission-vision-section {
    padding: 80px 0;
}

.page-about__grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.page-about__card {
    background-color: #1f1f1f;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #ffffff;
    min-width: 200px;
    min-height: 200px;
}

.page-about__card-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-about__card-text {
    font-size: 1em;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-about__card-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

/* --- Values Section --- */
.page-about__values-section {
    padding: 80px 0;
}

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

.page-about__value-item {
    background-color: #1f1f1f;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    text-align: center;
    color: #ffffff;
}

.page-about__value-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-about__value-description {
    font-size: 0.95em;
    color: #e0e0e0;
}

/* --- Why Choose Us Section --- */
.page-about__why-choose-us {
    padding: 80px 0;
}

.page-about__flex-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

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

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

.page-about__image-right {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

.page-about__feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.page-about__feature-item {
    background-color: #1f1f1f;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-about__feature-title {
    font-size: 1.3em;
    color: #26A9E0;
    margin-bottom: 8px;
}

.page-about__feature-description {
    font-size: 0.95em;
    color: #e0e0e0;
}

.page-about__cta-button {
    margin-top: 20px;
    display: block;
    width: fit-content;
    margin-left: 0;
    margin-right: auto;
}

/* --- Responsible Gaming Section --- */
.page-about__responsible-gaming {
    padding: 80px 0;
}
.page-about__responsible-gaming .page-about__text-block {
    color: #f0f0f0;
}

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

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

.page-about__faq-item {
    background-color: #1f1f1f;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    background-color: #1f1f1f;
    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-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
    transform: rotate(45deg);
}

.page-about__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: #e0e0e0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.page-about__faq-link {
    color: #EA7C07;
    text-decoration: underline;
    font-weight: bold;
}

.page-about__faq-link:hover {
    color: #ff912b;
}

/* --- Call to Action Section --- */
.page-about__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-about__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-about__cta-title {
    font-size: 2.2em;
    color: #26A9E0;
    margin-bottom: 20px;
}

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

.page-about__cta-section .page-about__btn-primary,
.page-about__cta-section .page-about__btn-secondary {
    margin: 10px;
}


/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-about__grid-layout {
        grid-template-columns: 1fr;
    }

    .page-about__flex-layout {
        flex-direction: column;
        text-align: center;
    }

    .page-about__image-column {
        margin-top: 40px;
    }

    .page-about__cta-button {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .page-about__section-title {
        font-size: 2em;
    }

    .page-about__hero-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }

    .page-about__hero-description {
        font-size: 1em;
    }

    .page-about__hero-buttons {
        flex-direction: column;
        gap: 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__cta-buttons,
    .page-about__button-group,
    .page-about__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column;
    }

    .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__introduction-section,
    .page-about__mission-vision-section,
    .page-about__values-section,
    .page-about__why-choose-us,
    .page-about__responsible-gaming,
    .page-about__faq-section,
    .page-about__cta-section {
        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;
        padding-bottom: 40px !important;
    }

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

@media (max-width: 480px) {
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__hero-title {
        font-size: clamp(1.6em, 7vw, 2.2em);
    }
    .page-about__cta-title {
        font-size: 1.8em;
    }
}