/* style/live.css */
.page-live {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-live__hero-section {
    background-color: #000000;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.page-live__hero-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-live__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Limit height for hero image */
    filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-live__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    max-width: 800px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
}

.page-live__hero-title {
    font-size: 3.2em;
    margin-bottom: 15px;
    color: #FCBC45;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-live__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

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

.page-live__button--register:hover {
    background-color: transparent;
    color: #FFFFFF;
    transform: translateY(-2px);
}

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

.page-live__button--play:hover {
    background-color: transparent;
    color: #FCBC45;
    transform: translateY(-2px);
}

.page-live__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 60px;
}

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

.page-live__about-section, .page-live__features-section, .page-live__games-section, .page-live__promotions-section, .page-live__get-started-section, .page-live__responsible-gaming-section, .page-live__faq-section, .page-live__cta-section {
    padding: 40px 0;
}

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

.page-live__feature-card {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-live__feature-card:hover {
    transform: translateY(-5px);
}

.page-live__feature-icon {
    width: 200px; /* Min size */
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
    object-fit: cover;
}

.page-live__feature-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 10px;
}

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

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

.page-live__game-card {
    background-color: #000000;
    color: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.page-live__game-card:hover {
    transform: translateY(-8px);
}

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

.page-live__game-card h3 {
    font-size: 1.8em;
    padding: 20px 20px 10px;
    color: #FCBC45;
}

.page-live__game-description {
    font-size: 1em;
    padding: 0 20px 20px;
    color: #e0e0e0;
}

.page-live__button--play-game {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    background-color: #FCBC45;
    color: #000000;
    text-align: center;
    border: none;
    padding: 12px 0;
}

.page-live__button--play-game:hover {
    background-color: #e0a53b;
    color: #000000;
}

.page-live__section-text--more-games {
    text-align: center;
    margin-top: 40px;
    font-style: italic;
    color: #555555;
}

/* Promotions Section */
.page-live__promotions-section {
    background-color: #f8f8f8;
}

.page-live__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.page-live__promo-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-left: 5px solid #FCBC45;
    border-radius: 8px;
    padding: 20px;
    font-size: 1.1em;
    color: #333333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.page-live__promo-item strong {
    color: #000000;
}

.page-live__button--view-all-promos {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
    margin-top: 40px;
    text-align: center;
}

.page-live__button--view-all-promos:hover {
    background-color: #333333;
    border-color: #333333;
}

/* Get Started Section */
.page-live__get-started-section {
    background-color: #FFFFFF;
}

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

.page-live__step-card {
    background-color: #f0f0f0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.page-live__step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FCBC45;
    color: #000000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    border: 3px solid #FFFFFF;
}

.page-live__step-title {
    font-size: 1.6em;
    color: #000000;
    margin-top: 20px;
    margin-bottom: 10px;
}

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

.page-live__button--step {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
    width: calc(100% - 40px);
    margin: 0 auto;
}

.page-live__button--step:hover {
    background-color: #333333;
    border-color: #333333;
}

.page-live__mobile-gaming-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    display: block;
    margin: 60px auto 0;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Responsible Gaming Section */
.page-live__responsible-gaming-section {
    background-color: #000000;
    color: #FFFFFF;
}

.page-live__responsible-gaming-section .page-live__section-title {
    color: #FCBC45;
}

.page-live__responsible-gaming-section .page-live__section-text {
    color: #e0e0e0;
}

.page-live__button--learn-more {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
    margin-top: 30px;
    text-align: center;
}

.page-live__button--learn-more:hover {
    background-color: #e0a53b;
    border-color: #e0a53b;
}

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

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

.page-live__faq-question {
    background-color: #f8f8f8;
    padding: 20px;
    font-size: 1.2em;
    color: #000000;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

.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 20px;
    background-color: #FFFFFF;
    color: #555555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-live__faq-answer.open {
    max-height: 200px; /* Adjust as needed */
    padding: 20px;
}

.page-live__button--view-all-faq {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
    margin-top: 40px;
    text-align: center;
}

.page-live__button--view-all-faq:hover {
    background-color: #333333;
    border-color: #333333;
}

/* CTA Section */
.page-live__cta-section {
    background-color: #FCBC45;
    color: #000000;
    text-align: center;
    padding: 60px 0;
}

.page-live__cta-section .page-live__section-title {
    color: #000000;
}

.page-live__cta-section .page-live__section-text {
    color: #333333;
    max-width: 800px;
    margin: 0 auto 30px;
}

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

.page-live__button--register-cta:hover {
    background-color: #333333;
    border-color: #333333;
}

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

.page-live__button--login-cta:hover {
    background-color: transparent;
    color: #000000;
    border-color: #000000;
}

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

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

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

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

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

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

    .page-live__button {
        width: 80%;
        margin: 0 auto;
    }

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

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

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

    .page-live__feature-icon, .page-live__game-image, .page-live__mobile-gaming-image {
        max-width: 100%;
        height: auto; /* Ensures images are responsive and do not overflow */
    }

    .page-live__container {
        padding: 0 15px;
    }

    /* Ensure content area images are responsive and do not overflow */
    .page-live img {
        max-width: 100%;
        height: auto;
    }

    .page-live__button--register-cta, .page-live__button--login-cta {
        margin-right: 0;
        margin-bottom: 15px;
        width: 80%;
    }
    .page-live__cta-section .page-live__button {
        width: calc(100% - 40px);
    }
}

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

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

    .page-live__hero-content {
        padding: 15px;
    }

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

    .page-live__button {
        padding: 10px 20px;
    }

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