/* style/live.css */

:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --background-dark: #0A0A0A;
    --card-background: #111111;
    --text-main: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --header-offset: 120px; /* Default for desktop, adjusted by shared.css media queries */
}

.page-live {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* Default text color for the page content */
    background-color: var(--background-dark);
    line-height: 1.6;
}

.page-live__section-spacing {
    padding: 60px 0;
}

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

.page-live__section-title {
    font-size: clamp(2em, 4vw, 2.8em);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.page-live__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-live__hero-section {
    background: var(--background-dark);
    padding-top: var(--header-offset, 120px); /* Desktop padding-top for fixed header */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.page-live__hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.page-live__hero-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
}

.page-live__hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.page-live__hero-title {
    font-size: clamp(2.5em, 5vw, 3.5em);
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.page-live__hero-description {
    font-size: 1.3em;
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.page-live__btn-primary,
.page-live__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-live__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-live__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-live__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.page-live__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--background-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(242, 193, 78, 0.3);
}

.page-live__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Dark Section */
.page-live__dark-section {
    background-color: var(--card-background);
}

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

.page-live__card {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
}

.page-live__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px var(--glow-color);
}

.page-live__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-live__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-live__card-description {
    font-size: 0.95em;
    color: var(--text-main);
    margin-bottom: 20px;
    padding: 0 15px;
}

.page-live__card-button {
    margin-top: auto; /* Push button to bottom */
    padding: 10px 20px;
    font-size: 1em;
}

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

.page-live__feature-item {
    text-align: center;
    padding: 20px;
    background: var(--card-background);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 10px var(--glow-color);
}

.page-live__feature-icon {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-live__feature-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-live__feature-description {
    font-size: 1em;
    color: var(--text-main);
}

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

.page-live__promo-card .page-live__card-image {
    height: 250px; /* Taller images for promos */
}

/* Why Choose Section */
.page-live__bullet-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-live__bullet-list li {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.1em;
    color: var(--text-main);
    transition: transform 0.2s ease;
}

.page-live__bullet-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-live__bullet-list li strong {
    color: var(--primary-color);
    flex-shrink: 0;
}

.page-live__bullet-list li::before {
    content: '✓';
    color: var(--glow-color);
    font-weight: bold;
    font-size: 1.2em;
    margin-right: 10px;
    flex-shrink: 0;
}

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

.page-live__step-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--card-background);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    position: relative;
    padding-top: 70px;
}

.page-live__step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--button-gradient);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.5);
}

.page-live__step-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-live__step-description {
    font-size: 1em;
    color: var(--text-main);
}

/* FAQ Section */
.page-live__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-live__faq-item {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-live__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font-size: 1.2em;
    font-weight: bold;
    transition: background 0.3s ease;
}

.page-live__faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

.page-live__faq-q-title {
    margin: 0;
    color: var(--primary-color);
    font-size: 1em; /* Relative to parent font-size */
}

.page-live__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--glow-color);
    transition: transform 0.3s ease;
}

.page-live__faq-item.active .page-live__faq-toggle {
    transform: rotate(45deg);
}

.page-live__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-main);
}

.page-live__faq-item.active .page-live__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 20px !important;
}

.page-live__faq-a-text {
    margin: 0;
    font-size: 1em;
    color: var(--text-main);
}

/* Final CTA Section */
.page-live__final-cta-section {
    background: var(--button-gradient);
    padding: 80px 0;
    text-align: center;
    color: #ffffff;
}

.page-live__final-cta-section .page-live__section-title {
    color: #ffffff;
}

.page-live__final-cta-section .page-live__text-block {
    color: #ffffff;
    margin-bottom: 40px;
}

.page-live__final-cta-section .page-live__btn-primary {
    background: #ffffff;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-live__final-cta-section .page-live__btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
}

.page-live__final-cta-section .page-live__btn-secondary {
    border-color: #ffffff;
    color: #ffffff;
}

.page-live__final-cta-section .page-live__btn-secondary:hover {
    background: #ffffff;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-live__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile padding-top */
        min-height: auto;
        padding-bottom: 40px;
    }

    .page-live__hero-title {
        font-size: 2.2em;
        line-height: 1.2;
    }

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

    .page-live__hero-image {
        margin-bottom: 30px;
    }

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

    .page-live__btn-primary,
    .page-live__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-live__section-spacing {
        padding: 40px 0;
    }

    .page-live__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-live__text-block {
        font-size: 0.95em;
    }

    .page-live__game-cards,
    .page-live__features-grid,
    .page-live__promo-cards,
    .page-live__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-live__card-image {
        height: 180px;
    }

    .page-live__feature-icon {
        width: 150px;
        height: 150px;
    }

    .page-live__bullet-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }

    .page-live__bullet-list li::before {
        margin-right: 0;
        margin-bottom: 10px;
    }

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

    .page-live__faq-q-title {
        font-size: 1em;
    }

    .page-live__faq-answer {
        padding: 15px;
    }

    /* Mobile image responsiveness */
    .page-live img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    .page-live__section,
    .page-live__card,
    .page-live__container,
    .page-live__cta-buttons,
    .page-live__button-group,
    .page-live__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-live__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
}