/* style/live.css */
.page-live {
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-live__section-padding {
    padding: 60px 20px;
}

.page-live__container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-live__bg-dark {
    background-color: #000000;
    color: #FFFFFF;
}

.page-live__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-live__section-title--light {
    color: #FFFFFF;
}

.page-live__section-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-live__section-text--light {
    color: #F0F0F0;
}

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

.page-live__inline-link--light {
    color: #FCBC45;
}

.page-live__inline-link:hover {
    color: #FCBC45;
}

.page-live__inline-link--light:hover {
    color: #FFFFFF;
}

/* Hero Section */
.page-live__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
}

.page-live__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Darken image slightly for text readability */
}

.page-live__hero-container {
    position: relative;
}

.page-live__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #FFFFFF;
    z-index: 10;
    max-width: 90%;
}

.page-live__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-live__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-live__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-live__button {
    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;
}

.page-live__button--register {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-live__button--register:hover {
    background-color: transparent;
    color: #FFFFFF;
}

.page-live__button--login {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-live__button--login:hover {
    background-color: transparent;
    color: #FCBC45;
}

/* Games Section */
.page-live__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-live__game-card {
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-live__game-card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-live__game-card-title {
    font-size: 1.8em;
    color: #FCBC45;
    margin: 20px 15px 10px;
    font-weight: bold;
}

.page-live__game-card-description {
    color: #E0E0E0;
    font-size: 1em;
    padding: 0 20px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-live__button--play {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
    margin-top: auto; /* Push button to bottom */
}

.page-live__button--play:hover {
    background-color: transparent;
    color: #FCBC45;
}

/* Benefits Section */
.page-live__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.page-live__benefit-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #E0E0E0;
}

.page-live__benefit-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-live__benefit-description {
    font-size: 1em;
    color: #555555;
}

/* Promotions Section */
.page-live__promo-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.page-live__cta-center {
    text-align: center;
    margin-top: 30px;
}

.page-live__button--view-promos {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-live__button--view-promos:hover {
    background-color: transparent;
    color: #FCBC45;
}

/* Get Started Section */
.page-live__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-live__step-item {
    background-color: #F8F8F8;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #EAEAEA;
}

.page-live__step-title {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-live__step-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

.page-live__button--register-small {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
}

.page-live__button--register-small:hover {
    background-color: #FCBC45;
    color: #000000;
    border-color: #FCBC45;
}

/* Responsible Gaming Section */
.page-live__responsible-gaming-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

/* FAQ Section */
.page-live__faq-accordion {
    margin-top: 40px;
}

.page-live__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-live__faq-question {
    font-size: 1.3em;
    color: #000000;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.page-live__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-live__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-live__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-live__faq-answer.open {
    max-height: 300px; /* Adjust as needed */
    padding: 15px 25px 25px;
}

.page-live__faq-answer p {
    font-size: 1em;
    color: #555555;
    margin: 0;
}

/* CTA Section */
.page-live__cta-content {
    text-align: center;
    padding: 60px 20px;
}

.page-live__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #000000;
}

.page-live__cta-title--light {
    color: #FFFFFF;
}

.page-live__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #333333;
}

.page-live__cta-description--light {
    color: #F0F0F0;
}

.page-live__cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-live__button--register-large {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-live__button--register-large:hover {
    background-color: transparent;
    color: #FFFFFF;
}

.page-live__button--login-large {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-live__button--login-large:hover {
    background-color: transparent;
    color: #FCBC45;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-live__hero-title {
        font-size: 3em;
    }

    .page-live__section-title {
        font-size: 2em;
    }

    .page-live__benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

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

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

    .page-live__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-live__button {
        width: 80%;
        max-width: 300px;
    }

    .page-live__section-padding {
        padding: 40px 15px;
    }

    .page-live__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-live__section-text {
        font-size: 0.95em;
    }

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

    .page-live__game-card-title {
        font-size: 1.5em;
    }

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

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

    .page-live__step-title {
        font-size: 1.4em;
    }

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

    .page-live__cta-title {
        font-size: 2em;
    }

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

    .page-live__cta-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-live__button--register-large, .page-live__button--login-large {
        width: 80%;
        max-width: 300px;
    }

    /* Critical: Ensure images do not overflow on mobile */
    .page-live img {
        max-width: 100%;
        height: auto;
    }
    .page-live__hero-image {
        min-height: 300px; /* Ensure hero image is not too small on mobile */
    }
    .page-live__game-card-image {
        height: 200px; /* Adjust for mobile if needed */
    }

    /* Ensure content area does not cause horizontal scroll */
    .page-live {
        overflow-x: hidden;
    }
}