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

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

.page-live__hero-section {
    position: relative;
    width: 100%;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    overflow: hidden;
    color: #FFFFFF;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-live__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-live__hero-container {
    position: relative;
    z-index: 2;
    padding: 80px 20px;
    max-width: 900px;
}

.page-live__hero-content {
    position: relative;
    z-index: 2;
}

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

.page-live__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #F0F0F0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.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, transform 0.3s 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(-3px);
}

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

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

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

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

.page-live__features-section, .page-live__games-showcase, .page-live__jili-integration-section, .page-live__mobile-experience-section, .page-live__bonuses-section, .page-live__cta-section {
    padding: 60px 0;
}

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

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

.page-live__feature-card:hover, .page-live__game-card:hover, .page-live__bonus-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-live__feature-icon, .page-live__game-image, .page-live__bonus-icon {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min width */
    min-height: 200px; /* Enforce min height */
}

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

.page-live__feature-text, .page-live__game-description, .page-live__bonus-text {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
}

.page-live__jili-integration-section, .page-live__mobile-experience-section {
    background-color: #F8F8F8;
}

.page-live__jili-content, .page-live__mobile-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-live__jili-image, .page-live__mobile-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min width */
    min-height: 200px; /* Enforce min height */
}

.page-live__jili-text-content, .page-live__mobile-text-content {
    flex: 1;
    font-size: 1.1em;
    color: #444444;
}

.page-live__jili-text-content p, .page-live__mobile-text-content p {
    margin-bottom: 20px;
}

.page-live__cta-section {
    background: linear-gradient(90deg, #000000, #333333);
    color: #FFFFFF;
    text-align: center;
    padding: 80px 20px;
}

.page-live__cta-container {
    max-width: 800px;
}

.page-live__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-live__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #F0F0F0;
}

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

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-live__hero-title {
        font-size: 2.5em;
    }

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

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

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

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

    .page-live__jili-content, .page-live__mobile-content {
        flex-direction: column;
        text-align: center;
    }

    .page-live__jili-image, .page-live__mobile-image {
        max-width: 100%;
        width: 100%; /* Ensure full width on mobile */
        height: auto; /* Maintain aspect ratio */
    }
    
    .page-live__jili-text-content, .page-live__mobile-text-content {
        font-size: 1em;
    }

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

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

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

    /* Prevent horizontal scrolling */
    .page-live {
        overflow-x: hidden;
    }
}