/* 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); /* Fixed header offset */
}

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

.page-live__hero-section {
    background-color: #0A2463; /* Dark blue background for hero */
    color: #ffffff; /* White text for dark background */
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-live__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for emphasis */
    font-weight: bold;
    line-height: 1.2;
}

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

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

.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;
    cursor: pointer;
}

.page-live__button--primary {
    background-color: #FFD700; /* Gold button */
    color: #0A2463; /* Dark blue text */
    border: 2px solid #FFD700;
}

.page-live__button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-live__button--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-live__button--secondary:hover {
    background-color: #FFD700;
    color: #0A2463;
    transform: translateY(-2px);
}

.page-live__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
    background-color: #0A2463;
    color: #FFD700;
    border: 1px solid #FFD700;
}

.page-live__button--small:hover {
    background-color: #FFD700;
    color: #0A2463;
}

.page-live__button--large {
    padding: 18px 40px;
    font-size: 1.3em;
    border-radius: 10px;
    background-color: #FFD700;
    color: #0A2463;
    border: 2px solid #FFD700;
}

.page-live__button--large:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-live__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    z-index: 1;
}

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

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

/* Features Section */
.page-live__features-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.page-live__feature-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-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

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

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

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

/* Games Section */
.page-live__games-section {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.page-live__game-card {
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-live__game-image {
    width: 100%;
    height: 200px; /* Example height for game images */
    object-fit: cover;
    border-bottom: 3px solid #FFD700;
}

.page-live__game-title {
    font-size: 1.6em;
    color: #0A2463;
    margin: 20px 0 10px;
    padding: 0 15px;
}

.page-live__game-description {
    font-size: 0.95em;
    color: #666666;
    padding: 0 15px 20px;
}

/* Bonuses Section */
.page-live__bonuses-section {
    padding: 80px 0;
    background-color: #0A2463;
    color: #ffffff;
}

.page-live__bonuses-section .page-live__section-title,
.page-live__bonuses-section .page-live__section-intro {
    color: #ffffff;
}

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

.page-live__bonus-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-live__bonus-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-live__bonus-image {
    width: 100%;
    height: 225px; /* Example height for bonus images */
    object-fit: cover;
    border-bottom: 3px solid #FFD700;
}

.page-live__bonus-title {
    font-size: 1.7em;
    color: #FFD700;
    margin: 20px 0 10px;
    padding: 0 15px;
}

.page-live__bonus-description {
    font-size: 1em;
    color: #f0f0f0;
    padding: 0 15px 20px;
}

/* Getting Started Section */
.page-live__getting-started-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.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: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 5px solid #0A2463;
}

.page-live__step-card:hover {
    transform: translateY(-10px);
}

.page-live__step-title {
    font-size: 1.6em;
    color: #0A2463;
    margin-bottom: 15px;
}

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

/* CTA Section */
.page-live__cta-section {
    background-color: #FFD700; /* Gold background for CTA */
    color: #0A2463; /* Dark blue text for gold background */
    padding: 80px 20px;
    text-align: center;
}

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

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

/* Animation for sections */
.page-live--fade-init {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.page-live--fade-in {
    opacity: 1;
    transform: translateY(0);
}

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

@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: 100%;
        max-width: 300px;
    }
    .page-live__section-title {
        font-size: 1.8em;
    }
    .page-live__section-intro {
        font-size: 0.95em;
        margin-bottom: 40px;
    }
    .page-live__feature-grid,
    .page-live__game-grid,
    .page-live__bonus-cards,
    .page-live__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-live__feature-card,
    .page-live__game-card,
    .page-live__bonus-card,
    .page-live__step-card {
        padding: 20px;
    }
    
    /* Ensure all images within .page-live are responsive and don't overflow */
    .page-live img {
        max-width: 100%;
        height: auto;
    }
    /* Specific override to enforce minimum content image sizes */
    .page-live__feature-icon,
    .page-live__game-image,
    .page-live__bonus-image {
        min-width: 200px; /* Enforce minimum size for display */
        min-height: 200px; /* Enforce minimum size for display */
        width: 100%; /* Take full width of parent */
        height: auto; /* Maintain aspect ratio */
        object-fit: cover;
    }

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

@media (max-width: 480px) {
    .page-live__hero-title {
        font-size: 1.8em;
    }
    .page-live__hero-description {
        font-size: 0.9em;
    }
    .page-live__button {
        font-size: 1em;
        padding: 12px 25px;
    }
    .page-live__section-title {
        font-size: 1.5em;
    }
    .page-live__cta-title {
        font-size: 1.8em;
    }
    .page-live__cta-description {
        font-size: 1em;
    }
    .page-live__button--large {
        font-size: 1.1em;
        padding: 15px 30px;
    }
}