/* style/live.css */
.page-live {
    color: #333333; /* Dark text for readability on light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #FFFFFF; /* Explicitly setting page background to white */
    padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

/* Ensure content area images are responsive and not small */
.page-live img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    /* Ensure no small images or filters */
    min-width: 200px;
    min-height: 200px;
    filter: none; /* Absolutely no filter to change image color */
}

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

.page-live__hero-section {
    background-color: #000000; /* Dark background for hero for high contrast */
    color: #FFFFFF; /* Light text on dark background */
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-live__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* Slightly dim the background image for text readability */
    z-index: 1;
}

.page-live__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-live__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-live__intro-text {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

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

.page-live__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    min-width: 150px; /* Ensure buttons are not too small */
    text-align: center;
}

.page-live__button--register {
    background-color: #FFFFFF; /* Register button color */
    color: #000000; /* Dark text on white button */
    border: 2px solid #FFFFFF;
}

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

.page-live__button--play {
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Dark text on gold button */
    border: 2px solid #FCBC45;
}

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

.page-live__section-title {
    font-size: 2.5em;
    color: #000000; /* Dark text for section titles */
    text-align: center;
    margin-bottom: 20px;
    margin-top: 60px;
}

.page-live__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #555555;
}

.page-live__features-grid,
.page-live__game-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-live__feature-card,
.page-live__game-card {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__feature-card:hover,
.page-live__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-live__feature-title,
.page-live__game-title {
    font-size: 1.8em;
    color: #000000;
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-live__feature-text,
.page-live__game-description {
    color: #666666;
    font-size: 1em;
}

.page-live__game-image {
    width: 100%;
    height: 250px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
}

.page-live__button--learn-more {
    background-color: #000000;
    color: #FFFFFF;
    border: none;
    margin-top: 20px;
    padding: 12px 25px;
    font-size: 0.95em;
    border-radius: 8px;
}

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

.page-live__promotions-section {
    background-color: #000000; /* Dark background for promotions */
    color: #FFFFFF; /* Light text */
    padding: 60px 20px;
    margin-top: 60px;
}

.page-live__promotions-section .page-live__section-title,
.page-live__promotions-section .page-live__section-description {
    color: #FFFFFF;
}

.page-live__promo-banner {
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
    min-width: 200px;
    min-height: 200px;
}

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

.page-live__promo-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-live__promo-title {
    font-size: 1.6em;
    color: #FCBC45; /* Gold for promo titles */
    margin-bottom: 10px;
}

.page-live__promo-text {
    color: #f0f0f0;
    font-size: 1em;
    flex-grow: 1; /* Allow text to take up available space */
    margin-bottom: 20px;
}

.page-live__button--claim {
    background-color: #FCBC45;
    color: #000000;
    border: none;
    padding: 12px 25px;
    font-size: 0.95em;
    border-radius: 8px;
    margin-top: auto; /* Push button to bottom */
}

.page-live__button--claim:hover {
    background-color: #e0a030;
}

.page-live__mobile-section {
    padding: 60px 20px;
    margin-top: 60px;
    background-color: #f0f0f0; /* Light grey background for mobile section */
}

.page-live__mobile-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-live__mobile-content {
    flex: 1;
    min-width: 300px; /* Ensure content doesn't get too squeezed */
}

.page-live__mobile-content .page-live__section-title {
    text-align: left;
}

.page-live__mobile-content .page-live__section-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-live__button--download,
.page-live__button--mobile-play {
    background-color: #000000;
    color: #FFFFFF;
    border: none;
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 1.1em;
    border-radius: 50px;
    margin-right: 15px;
}

.page-live__button--download:hover,
.page-live__button--mobile-play:hover {
    background-color: #333333;
}

.page-live__mobile-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px; /* Ensure image wrapper has minimum width */
}

.page-live__mobile-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

.page-live__security-section {
    padding: 60px 20px;
    margin-top: 60px;
}

.page-live__security-links {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-live__link {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border: 2px solid #000000;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-live__link:hover {
    background-color: #000000;
    color: #FFFFFF;
}

.page-live__faq-section {
    padding: 60px 20px;
    margin-top: 60px;
    background-color: #f8f8f8;
}

.page-live__faq-item {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-live__faq-question {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 10px;
    cursor: pointer;
}

.page-live__faq-answer {
    color: #555555;
    font-size: 1em;
    display: none; /* Hidden by default, JS will toggle */
    padding-top: 10px;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

.page-live__cta-section {
    background-color: #000000;
    color: #FFFFFF;
    padding: 80px 20px;
    text-align: center;
    margin-top: 60px;
}

.page-live__cta-section .page-live__section-title,
.page-live__cta-section .page-live__section-description {
    color: #FFFFFF;
}

.page-live__button--large-cta {
    background-color: #FCBC45;
    color: #000000;
    border: none;
    padding: 20px 40px;
    font-size: 1.4em;
    border-radius: 50px;
    margin-top: 40px;
}

.page-live__button--large-cta:hover {
    background-color: #e0a030;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-live__main-title {
        font-size: 3em;
    }
    .page-live__section-title {
        font-size: 2em;
    }
    .page-live__hero-section {
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .page-live__hero-section {
        padding: 40px 15px;
    }
    .page-live__main-title {
        font-size: 2.5em;
    }
    .page-live__intro-text {
        font-size: 1.1em;
    }
    .page-live__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-live__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

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

    .page-live__features-grid,
    .page-live__game-cards-grid,
    .page-live__promo-details {
        grid-template-columns: 1fr;
    }

    .page-live__mobile-flex {
        flex-direction: column;
    }

    .page-live__mobile-content .page-live__section-title,
    .page-live__mobile-content .page-live__section-description {
        text-align: center;
    }

    .page-live__button--download,
    .page-live__button--mobile-play {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 20px auto 0 auto;
    }
    .page-live__button--mobile-play {
        margin-top: 15px;
    }

    /* Content area images must not cause horizontal scroll */
    .page-live img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure images are not too small */
        min-height: 200px;
    }

    .page-live__game-image {
        height: 200px; /* Adjust height for smaller screens */
    }
}

@media (max-width: 480px) {
    .page-live__main-title {
        font-size: 2em;
    }
    .page-live__section-title {
        font-size: 1.5em;
    }
    .page-live__button--large-cta {
        font-size: 1.2em;
        padding: 15px 30px;
    }
}