/* style/index-about-yoo-88.css */

/* General page styling */
.page-index-about-yoo-88 {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

.page-index-about-yoo-88__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-index-about-yoo-88__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-index-about-yoo-88__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
    text-align: justify;
}

/* Hero Section */
.page-index-about-yoo-88__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    overflow: hidden;
    background-color: #017439; /* Brand color for hero background */
    color: #ffffff;
    text-align: center;
}

.page-index-about-yoo-88__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    margin-bottom: 20px;
}

.page-index-about-yoo-88__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFF00; /* Use custom font color for main titles */
    line-height: 1.2;
}

.page-index-about-yoo-88__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-index-about-yoo-88__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-index-about-yoo-88__btn-primary,
.page-index-about-yoo-88__btn-secondary,
.page-index-about-yoo-88__faq-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-index-about-yoo-88__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-index-about-yoo-88__btn-primary:hover {
    background-color: #e02a2a;
    border-color: #e02a2a;
}

.page-index-about-yoo-88__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-index-about-yoo-88__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
}

.page-index-about-yoo-88__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-index-about-yoo-88__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    filter: none; /* No filter for color change */
}

/* About Section */
.page-index-about-yoo-88__about-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
    color: #ffffff;
}

/* Mission & Vision Section */
.page-index-about-yoo-88__mission-vision-section {
    padding: 80px 0;
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
}

.page-index-about-yoo-88__cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-index-about-yoo-88__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: #ffffff;
}

.page-index-about-yoo-88__card-title {
    font-size: 1.8em;
    color: #FFFF00; /* Yellow for card titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-about-yoo-88__card-text {
    font-size: 1.05em;
    color: #f0f0f0;
}

.page-index-about-yoo-88__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 40px;
    border-radius: 10px;
    filter: none; /* No filter for color change */
}

/* Why Choose Us Section */
.page-index-about-yoo-88__why-choose-us {
    padding: 80px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background */
    color: #ffffff;
}

.page-index-about-yoo-88__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-about-yoo-88__feature-card {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-index-about-yoo-88__feature-title {
    font-size: 1.6em;
    color: #FFFF00;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-about-yoo-88__feature-description {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-index-about-yoo-88__feature-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 15px;
    filter: none; /* No filter for color change */
}

.page-index-about-yoo-88__cta-buttons--center {
    margin-top: 50px;
    text-align: center;
}

/* Responsible Gaming Section */
.page-index-about-yoo-88__responsible-gaming {
    padding: 80px 0;
    background-color: #017439; /* Brand color background */
    color: #ffffff;
    text-align: center;
}

/* FAQ Section */
.page-index-about-yoo-88__faq-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background */
    color: #ffffff;
}

.page-index-about-yoo-88__faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.page-index-about-yoo-88__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-index-about-yoo-88__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-index-about-yoo-88__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-index-about-yoo-88__faq-question h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.2em;
}

.page-index-about-yoo-88__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #FFFF00;
    transition: transform 0.3s ease;
}

.page-index-about-yoo-88__faq-item.active .page-index-about-yoo-88__faq-toggle {
    transform: rotate(45deg);
}

.page-index-about-yoo-88__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    color: #f0f0f0;
}

.page-index-about-yoo-88__faq-item.active .page-index-about-yoo-88__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px 25px;
}

.page-index-about-yoo-88__faq-answer p {
    margin-top: 0;
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-index-about-yoo-88__faq-btn {
    background-color: #017439;
    color: #ffffff;
    border: 1px solid #017439;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
}

.page-index-about-yoo-88__faq-btn:hover {
    background-color: #005f2e;
    border-color: #005f2e;
}

/* CTA Section */
.page-index-about-yoo-88__cta-section {
    padding: 80px 0;
    background-color: #0a0a0a;
    color: #ffffff;
    text-align: center;
}

.page-index-about-yoo-88__cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-index-about-yoo-88__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-index-about-yoo-88__hero-title {
        font-size: 3em;
    }
    .page-index-about-yoo-88__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-index-about-yoo-88__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
    }
    .page-index-about-yoo-88__hero-title {
        font-size: 2.2em;
    }
    .page-index-about-yoo-88__hero-description {
        font-size: 1em;
    }
    .page-index-about-yoo-88__section-title {
        font-size: 1.8em;
    }
    .page-index-about-yoo-88__text-block {
        font-size: 1em;
    }

    /* Image responsive */
    .page-index-about-yoo-88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-index-about-yoo-88__hero-image-wrapper,
    .page-index-about-yoo-88__mission-vision-section,
    .page-index-about-yoo-88__why-choose-us,
    .page-index-about-yoo-88__responsible-gaming,
    .page-index-about-yoo-88__faq-section,
    .page-index-about-yoo-88__cta-section,
    .page-index-about-yoo-88__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    /* Button responsive */
    .page-index-about-yoo-88__btn-primary,
    .page-index-about-yoo-88__btn-secondary,
    .page-index-about-yoo-88__faq-btn,
    .page-index-about-yoo-88 a[class*="button"],
    .page-index-about-yoo-88 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; */ /* Handled by container padding */
        /* padding-right: 15px; */ /* Handled by container padding */
    }

    .page-index-about-yoo-88__hero-buttons,
    .page-index-about-yoo-88__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
    }

    .page-index-about-yoo-88__cards-grid,
    .page-index-about-yoo-88__features-grid {
        grid-template-columns: 1fr;
    }

    .page-index-about-yoo-88__card,
    .page-index-about-yoo-88__feature-card {
        padding: 20px;
    }
    .page-index-about-yoo-88__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-index-about-yoo-88__faq-question h3 {
        font-size: 1.1em;
    }
    .page-index-about-yoo-88__faq-answer {
        padding: 0 20px;
    }
    .page-index-about-yoo-88__faq-item.active .page-index-about-yoo-88__faq-answer {
        padding: 10px 20px 20px 20px;
    }
}

/* Ensure contrast for specific elements on dark backgrounds */
.page-index-about-yoo-88__dark-bg {
    background-color: #0a0a0a; /* Default dark background */
    color: #ffffff;
}
.page-index-about-yoo-88__light-bg {
    background-color: #1a1a1a; /* Slightly lighter dark background */
    color: #ffffff;
}

/* Specific button styles for contrast */
.page-index-about-yoo-88__btn-primary {
    background: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}
.page-index-about-yoo-88__btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}
.page-index-about-yoo-88__faq-btn {
    background-color: #017439;
    color: #ffffff;
    border: 1px solid #017439;
}

/* Ensure no image filters */
.page-index-about-yoo-88 img {
    filter: none;
}