/* style/live.css */

.page-live {
    /* Body background is default white, so text should be dark */
    color: #333333;
}

.page-live__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px; /* Ensure hero section has a minimum height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop and mobile */
}

.page-live__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6);
}

.page-live__hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-live__hero-content {
    color: #ffffff; /* White text on dark overlay */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

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

.page-live__hero-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-live__hero-button--primary {
    background-color: #FFD700; /* Gold primary button */
    color: #4B0082; /* Royal Purple text */
}

.page-live__hero-button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-live__hero-button--secondary {
    background-color: #4B0082; /* Royal Purple secondary button */
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-live__hero-button--secondary:hover {
    background-color: #6a00b0;
    transform: translateY(-3px);
}

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

.page-live__about-section, .page-live__games-section, .page-live__how-to-play-section, .page-live__features-section, .page-live__promotions-section, .page-live__faq-section, .page-live__final-cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-live__section-title {
    font-size: 2.8em;
    color: #4B0082; /* Royal Purple for section titles */
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.page-live__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Gold underline */
    border-radius: 2px;
}

.page-live__section-paragraph {
    font-size: 1.1em;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #555555;
}

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

.page-live__game-card, .page-live__feature-item, .page-live__promotion-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 450px; /* Ensure cards have enough height */
}

.page-live__game-card:hover, .page-live__feature-item:hover, .page-live__promotion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

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

.page-live__game-card-title, .page-live__feature-title, .page-live__promotion-card-title {
    font-size: 1.6em;
    color: #4B0082; /* Royal Purple for card titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-live__game-card-title a, .page-live__promotion-card-title a {
    color: #4B0082;
    text-decoration: none;
}

.page-live__game-card-title a:hover, .page-live__promotion-card-title a:hover {
    color: #FFD700;
}

.page-live__game-card-description, .page-live__feature-description, .page-live__promotion-card-description {
    font-size: 1em;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-live__game-card-button, .page-live__promotion-card-button {
    display: inline-block;
    padding: 10px 25px;
    background-color: #FFD700; /* Gold button */
    color: #4B0082; /* Royal Purple text */
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: auto;
}

.page-live__game-card-button:hover, .page-live__promotion-card-button:hover {
    background-color: #4B0082;
    color: #FFD700;
}

.page-live__steps-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 60px auto;
    max-width: 900px;
    text-align: left;
}

.page-live__step-item {
    background-color: #f9f9f9;
    border-left: 5px solid #FFD700; /* Gold accent */
    margin-bottom: 20px;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-live__step-title {
    font-size: 1.5em;
    color: #4B0082; /* Royal Purple for step titles */
    margin-top: 0;
    margin-bottom: 10px;
}

.page-live__step-description {
    font-size: 1.05em;
    line-height: 1.7;
    color: #666666;
}

.page-live__step-description a {
    color: #4B0082;
    text-decoration: none;
    font-weight: bold;
}

.page-live__step-description a:hover {
    text-decoration: underline;
    color: #FFD700;
}

.page-live__cta-wrapper {
    margin-top: 50px;
}

.page-live__cta-button {
    display: inline-block;
    padding: 18px 40px;
    background-color: #FFD700; /* Gold CTA button */
    color: #4B0082; /* Royal Purple text */
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-live__cta-button:hover {
    background-color: #4B0082;
    color: #FFD700;
    transform: translateY(-5px);
}

.page-live__cta-button--large {
    font-size: 1.4em;
    padding: 20px 50px;
}

.page-live__feature-icon {
    width: 250px; /* Feature icons should be larger than 200px */
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
}

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

.page-live__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-live__faq-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    padding: 25px 30px;
    text-align: left;
}

.page-live__faq-question {
    font-size: 1.4em;
    color: #4B0082; /* Royal Purple for FAQ questions */
    margin-top: 0;
    margin-bottom: 10px;
}

.page-live__faq-answer {
    font-size: 1.05em;
    line-height: 1.7;
    color: #666666;
}

.page-live__faq-answer a {
    color: #4B0082;
    text-decoration: none;
    font-weight: bold;
}

.page-live__faq-answer a:hover {
    text-decoration: underline;
    color: #FFD700;
}

.page-live__final-cta-section {
    background-color: #4B0082; /* Royal Purple background */
    color: #ffffff; /* White text */
    padding: 100px 0;
}

.page-live__final-cta-section .page-live__section-title {
    color: #FFD700; /* Gold title */
}

.page-live__final-cta-section .page-live__section-title::after {
    background-color: #ffffff; /* White underline */
}

.page-live__final-cta-section .page-live__section-paragraph {
    color: #f0f0f0;
}

.page-live__final-cta-button {
    display: inline-block;
    padding: 20px 50px;
    background-color: #FFD700; /* Gold button */
    color: #4B0082; /* Royal Purple text */
    border-radius: 10px;
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
    margin-top: 40px;
}

.page-live__final-cta-button:hover {
    background-color: #ffffff;
    color: #4B0082;
    transform: translateY(-7px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-live__hero-title {
        font-size: 3em;
    }
    .page-live__section-title {
        font-size: 2.5em;
    }
    .page-live__game-card, .page-live__feature-item, .page-live__promotion-card {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .page-live__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px);
    }
    .page-live__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-live__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-live__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-live__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-live__about-section, .page-live__games-section, .page-live__how-to-play-section, .page-live__features-section, .page-live__promotions-section, .page-live__faq-section, .page-live__final-cta-section {
        padding: 60px 0;
    }
    .page-live__section-title {
        font-size: 2em;
        margin-bottom: 25px;
    }
    .page-live__section-paragraph {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-live__game-grid, .page-live__feature-grid, .page-live__promotion-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-live__game-card, .page-live__feature-item, .page-live__promotion-card {
        padding: 25px;
        min-height: auto;
    }
    .page-live__game-card-image, .page-live__feature-icon {
        height: 200px;
        min-width: 200px;
        min-height: 200px;
    }
    .page-live__game-card-title, .page-live__feature-title, .page-live__promotion-card-title {
        font-size: 1.4em;
    }
    .page-live__game-card-description, .page-live__feature-description, .page-live__promotion-card-description {
        font-size: 0.9em;
    }
    .page-live__steps-list {
        margin: 30px auto 40px auto;
    }
    .page-live__step-item {
        padding: 20px 25px;
    }
    .page-live__step-title {
        font-size: 1.3em;
    }
    .page-live__step-description {
        font-size: 0.95em;
    }
    .page-live__cta-button {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-live__cta-button--large {
        font-size: 1.2em;
        padding: 18px 40px;
    }
    .page-live__faq-question {
        font-size: 1.2em;
    }
    .page-live__faq-answer {
        font-size: 0.95em;
    }
    .page-live__final-cta-section {
        padding: 80px 0;
    }
    .page-live__final-cta-button {
        padding: 15px 35px;
        font-size: 1.2em;
    }
    /* Ensure content images do not overflow on mobile */
    .page-live img {
        max-width: 100%;
        height: auto;
    }
    .page-live__container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .page-live__hero-title {
        font-size: 1.8em;
    }
    .page-live__hero-description {
        font-size: 0.9em;
    }
    .page-live__section-title {
        font-size: 1.8em;
    }
    .page-live__final-cta-button {
        font-size: 1em;
        padding: 12px 25px;
    }
}