/* style/resources-go88-live-features.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-login-btn-color: #C30808;
    --register-login-font-color: #FFFF00;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-dark: #0a0a0a; /* From shared.css body background */
    --card-bg-dark-mode: rgba(255, 255, 255, 0.1);
    --border-light: #e0e0e0;
}

.page-resources-go88-live-features {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark); /* Inherited from body, but explicitly set for clarity */
}

.page-resources-go88-live-features__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-resources-go88-live-features__section {
    padding: 60px 0;
    text-align: center;
}

.page-resources-go88-live-features__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-resources-go88-live-features__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-resources-go88-live-features__section-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: inherit; /* Inherit from section */
    font-weight: bold;
}

.page-resources-go88-live-features__section-intro {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: inherit;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-resources-go88-live-features__hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 80px 20px;
    min-height: 600px;
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.page-resources-go88-live-features__hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
}

.page-resources-go88-live-features__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

.page-resources-go88-live-features__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
}

.page-resources-go88-live-features__hero-cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-resources-go88-live-features__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
}

.page-resources-go88-live-features__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-resources-go88-live-features__btn-primary,
.page-resources-go88-live-features__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-go88-live-features__btn-primary {
    background-color: var(--register-login-btn-color);
    color: var(--register-login-font-color);
    border: 2px solid var(--register-login-btn-color);
}

.page-resources-go88-live-features__btn-primary:hover {
    background-color: darken(var(--register-login-btn-color), 10%);
    border-color: darken(var(--register-login-btn-color), 10%);
}

.page-resources-go88-live-features__btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.page-resources-go88-live-features__btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    border-color: var(--text-light);
}

/* Feature Grid */
.page-resources-go88-live-features__features-overview .page-resources-go88-live-features__section-title,
.page-resources-go88-live-features__features-overview .page-resources-go88-live-features__section-intro {
    color: var(--text-light);
}

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

.page-resources-go88-live-features__feature-card {
    background-color: var(--card-bg-dark-mode);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.page-resources-go88-live-features__feature-card:hover {
    transform: translateY(-10px);
}

.page-resources-go88-live-features__feature-icon {
    width: 250px; /* Minimum size */
    height: 180px; /* Minimum size */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 10px;
}

.page-resources-go88-live-features__card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--text-light);
}

.page-resources-go88-live-features__card-description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-light);
}

/* Mobile Experience Section */
.page-resources-go88-live-features__mobile-experience .page-resources-go88-live-features__container {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
}

.page-resources-go88-live-features__mobile-experience .page-resources-go88-live-features__section-title,
.page-resources-go88-live-features__mobile-experience .page-resources-go88-live-features__text-block {
    color: var(--text-light);
}

.page-resources-go88-live-features__content-block {
    flex: 1;
}

.page-resources-go88-live-features__list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-resources-go88-live-features__list-item {
    font-size: 1.1em;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
    color: var(--text-light);
}

.page-resources-go88-live-features__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
}

.page-resources-go88-live-features__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-resources-go88-live-features__image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Game Types Section */
.page-resources-go88-live-features__game-types .page-resources-go88-live-features__section-title,
.page-resources-go88-live-features__game-types .page-resources-go88-live-features__section-intro {
    color: var(--text-light);
}

.page-resources-go88-live-features__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-go88-live-features__game-card {
    background-color: var(--card-bg-dark-mode);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-resources-go88-live-features__game-card:hover {
    transform: translateY(-5px);
}

.page-resources-go88-live-features__game-image {
    width: 350px; /* Minimum size */
    height: 250px; /* Minimum size */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.page-resources-go88-live-features__game-card .page-resources-go88-live-features__card-title {
    font-size: 1.5em;
}

.page-resources-go88-live-features__cta-buttons--center {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

/* FAQ Section */
.page-resources-go88-live-features__faq-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-resources-go88-live-features__faq-section .page-resources-go88-live-features__section-title {
    color: var(--text-light);
}

.page-resources-go88-live-features__faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-resources-go88-live-features__faq-item {
    background-color: var(--card-bg-dark-mode);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-go88-live-features__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
    color: var(--text-light);
}

.page-resources-go88-live-features__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-resources-go88-live-features__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-go88-live-features__faq-item.active .page-resources-go88-live-features__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-go88-live-features__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    font-size: 1em;
    color: var(--text-light);
}

.page-resources-go88-live-features__faq-item.active .page-resources-go88-live-features__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px;
}

.page-resources-go88-live-features__faq-answer p {
    margin: 0;
}

/* Bottom CTA Section */
.page-resources-go88-live-features__cta-bottom .page-resources-go88-live-features__container {
    background-color: var(--primary-color);
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-go88-live-features__cta-bottom .page-resources-go88-live-features__section-title,
.page-resources-go88-live-features__cta-bottom .page-resources-go88-live-features__section-intro {
    color: var(--text-light);
}

.page-resources-go88-live-features__cta-bottom .page-resources-go88-live-features__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-go88-live-features__hero-title {
        font-size: 3em;
    }
    .page-resources-go88-live-features__hero-description {
        font-size: 1.1em;
    }
    .page-resources-go88-live-features__section-title {
        font-size: 2.2em;
    }
    .page-resources-go88-live-features__hero-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }
    .page-resources-go88-live-features__hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }
    .page-resources-go88-live-features__hero-cta-buttons {
        justify-content: center;
    }
    .page-resources-go88-live-features__mobile-experience .page-resources-go88-live-features__container {
        flex-direction: column;
    }
    .page-resources-go88-live-features__container--reverse-on-mobile {
        flex-direction: column-reverse;
    }
}

@media (max-width: 768px) {
    .page-resources-go88-live-features {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-go88-live-features__hero-title {
        font-size: 2.5em;
    }
    .page-resources-go88-live-features__section-title {
        font-size: 1.8em;
    }
    .page-resources-go88-live-features__section {
        padding: 40px 0;
    }
    .page-resources-go88-live-features__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile Image Adaption */
    .page-resources-go88-live-features img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-go88-live-features__section,
    .page-resources-go88-live-features__card,
    .page-resources-go88-live-features__container,
    .page-resources-go88-live-features__hero-section,
    .page-resources-go88-live-features__mobile-experience .page-resources-go88-live-features__container,
    .page-resources-go88-live-features__cta-bottom .page-resources-go88-live-features__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Mobile Video Adaption (if any video) */
    .page-resources-go88-live-features video,
    .page-resources-go88-live-features__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-go88-live-features__video-section,
    .page-resources-go88-live-features__video-container,
    .page-resources-go88-live-features__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-resources-go88-live-features__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    /* Mobile Button Adaption */
    .page-resources-go88-live-features__btn-primary,
    .page-resources-go88-live-features__btn-secondary,
    .page-resources-go88-live-features a[class*="button"],
    .page-resources-go88-live-features 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-resources-go88-live-features__hero-cta-buttons,
    .page-resources-go88-live-features__cta-buttons,
    .page-resources-go88-live-features__button-group,
    .page-resources-go88-live-features__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        flex-direction: column !important;
        gap: 10px !important;
    }
    .page-resources-go88-live-features__cta-bottom .page-resources-go88-live-features__container {
        padding: 30px 15px;
    }
    .page-resources-go88-live-features__feature-icon,
    .page-resources-go88-live-features__game-image {
        width: 100% !important;
        height: auto !important;
        max-width: 300px !important; /* Ensure they don't look tiny */
        max-height: 200px !important;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .page-resources-go88-live-features__hero-title {
        font-size: 2em;
    }
    .page-resources-go88-live-features__section-title {
        font-size: 1.5em;
    }
    .page-resources-go88-live-features__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-resources-go88-live-features__faq-answer {
        padding: 0 15px;
    }
    .page-resources-go88-live-features__faq-item.active .page-resources-go88-live-features__faq-answer {
        padding: 10px 15px 15px;
    }
}