/* style/index-about-bet-888.css */

.page-index-about-bet-888 {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is dark #1a1a2e, so text should be light */
    background-color: transparent; /* inherited from body */
}

.page-index-about-bet-888__hero-section {
    position: relative;
    width: 100%;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #017439; /* Primary brand color for hero */
    color: #ffffff;
    overflow: hidden;
}

.page-index-about-bet-888__hero-content {
    max-width: 900px;
    z-index: 1;
    position: relative;
    margin-bottom: 40px;
}

.page-index-about-bet-888__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-index-about-bet-888__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-index-about-bet-888__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-top: 40px;
    position: relative;
    z-index: 0;
}

.page-index-about-bet-888__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-index-about-bet-888__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: transparent; /* Inherited from body */
    color: #ffffff; /* Consistent light text on dark body background */
}

.page-index-about-bet-888__container {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.page-index-about-bet-888__section-title {
    font-size: 2.5em;
    color: #017439; /* Primary brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.page-index-about-bet-888__text-block {
    font-size: 1.1em;
    margin-bottom: 30px;
    text-align: justify;
    color: #ffffff;
}

.page-index-about-bet-888__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-index-about-bet-888__values-grid,
.page-index-about-bet-888__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.page-index-about-bet-888__value-card,
.page-index-about-bet-888__benefit-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-about-bet-888__value-card:hover,
.page-index-about-bet-888__benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-index-about-bet-888__value-title,
.page-index-about-bet-888__benefit-title {
    font-size: 1.6em;
    color: #017439;
    margin-bottom: 15px;
}

.page-index-about-bet-888__value-description,
.page-index-about-bet-888__benefit-description {
    font-size: 1em;
    color: #f0f0f0;
}

.page-index-about-bet-888__benefit-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: inline-block;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px;
}

.page-index-about-bet-888__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-index-about-bet-888__light-bg {
    background-color: transparent;
    color: #ffffff;
}

/* Buttons */
.page-index-about-bet-888__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-index-about-bet-888__btn-primary,
.page-index-about-bet-888__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
}

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

.page-index-about-bet-888__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
}

.page-index-about-bet-888__btn-secondary {
    background-color: transparent;
    color: #017439;
    border: 2px solid #017439;
}

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

.page-index-about-bet-888__cta-buttons--bottom {
    margin-top: 60px;
}

/* FAQ Section */
.page-index-about-bet-888__faq-list {
    max-width: 800px;
    margin: 40px auto 60px auto;
}

.page-index-about-bet-888__faq-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark background */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-about-bet-888__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transition: background-color 0.3s ease;
}

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

.page-index-about-bet-888__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: #ffffff;
}

.page-index-about-bet-888__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #017439;
}

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-about-bet-888__hero-title {
        font-size: 2.8em;
    }
    .page-index-about-bet-888__section-title {
        font-size: 2em;
    }
    .page-index-about-bet-888__values-grid,
    .page-index-about-bet-888__benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-index-about-bet-888 {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-index-about-bet-888__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
    }
    .page-index-about-bet-888__hero-title {
        font-size: 2.2em;
    }
    .page-index-about-bet-888__hero-description {
        font-size: 1em;
    }
    .page-index-about-bet-888__content-area {
        padding: 40px 15px;
    }
    .page-index-about-bet-888__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-index-about-bet-888__text-block {
        font-size: 0.95em;
    }
    .page-index-about-bet-888__values-grid,
    .page-index-about-bet-888__benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-index-about-bet-888__value-card,
    .page-index-about-bet-888__benefit-card {
        padding: 25px;
    }
    .page-index-about-bet-888__value-title,
    .page-index-about-bet-888__benefit-title {
        font-size: 1.4em;
    }
    .page-index-about-bet-888__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }
    .page-index-about-bet-888__btn-primary,
    .page-index-about-bet-888__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
    }

    /* Mobile image and video responsiveness */
    .page-index-about-bet-888 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-index-about-bet-888 video,
    .page-index-about-bet-888__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-index-about-bet-888__section,
    .page-index-about-bet-888__card,
    .page-index-about-bet-888__container,
    .page-index-about-bet-888__hero-section,
    .page-index-about-bet-888__image-content,
    .page-index-about-bet-888__video-section,
    .page-index-about-bet-888__video-container,
    .page-index-about-bet-888__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-index-about-bet-888__faq-question,
    .page-index-about-bet-888__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-index-about-bet-888__hero-title {
        font-size: 1.8em;
    }
    .page-index-about-bet-888__section-title {
        font-size: 1.5em;
    }
    .page-index-about-bet-888__btn-primary,
    .page-index-about-bet-888__btn-secondary {
        font-size: 1em;
        padding: 12px 20px;
    }
    .page-index-about-bet-888__faq-title {
        font-size: 1.1em;
    }
    .page-index-about-bet-888__faq-toggle {
        font-size: 1.5em;
    }
}