:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --button-gradient-start: #FFD86A;
    --button-gradient-end: #DDA11D;
    --card-bg: #111111;
    --background: #0A0A0A;
    --text-main: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
}

/* Ensure text is visible on dark background */
.page-live {
    color: var(--text-main); /* Light text for dark body background */
    background-color: var(--background); /* This will be overridden by body from shared.css */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.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);
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.page-live__text-block {
    text-align: center;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-live__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    box-sizing: border-box;
}

.page-live__hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.page-live__hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken video for text readability */
}

.page-live__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 20px;
    color: var(--text-main);
}

.page-live__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-live__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

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

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

.page-live__btn-primary,
.page-live__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
}

.page-live__btn-primary {
    background: var(--button-gradient-start);
    background-image: linear-gradient(180deg, var(--button-gradient-start) 0%, var(--button-gradient-end) 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

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

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

.page-live__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.2);
}

/* Dark Sections */
.page-live__dark-section {
    background-color: var(--card-bg);
    padding: 60px 0;
}

/* About Section */
.page-live__about-section {
    padding: 60px 0;
}

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

.page-live__feature-item {
    background-color: var(--background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.page-live__feature-item:hover {
    transform: translateY(-5px);
}

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

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

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

/* Games Section */
.page-live__games-section {
    padding: 60px 0;
}

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

.page-live__game-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

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

.page-live__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-live__game-title {
    font-size: 1.4em;
    font-weight: bold;
    padding: 15px 20px 5px;
}

.page-live__game-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-live__game-title a:hover {
    text-decoration: underline;
}

.page-live__game-description {
    font-size: 0.9em;
    color: var(--text-main);
    padding: 0 20px 20px;
}

/* Technology Section */
.page-live__technology-section {
    padding: 60px 0;
}

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

.page-live__tech-item {
    background-color: var(--background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.page-live__tech-item:hover {
    transform: translateY(-5px);
}

.page-live__tech-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

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

/* Promotions Section */
.page-live__promotions-section {
    padding: 60px 0;
}

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

.page-live__promo-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.page-live__promo-card:hover {
    transform: translateY(-5px);
}

.page-live__promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-live__promo-title {
    font-size: 1.4em;
    font-weight: bold;
    padding: 15px 20px 5px;
}

.page-live__promo-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-live__promo-title a:hover {
    text-decoration: underline;
}

.page-live__promo-description {
    font-size: 0.9em;
    color: var(--text-main);
    padding: 0 20px 20px;
}

/* Mobile Section */
.page-live__mobile-section {
    padding: 60px 0;
}

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

.page-live__mobile-image {
    flex: 1 1 400px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    display: block;
}

.page-live__mobile-text {
    flex: 1 1 400px;
    color: var(--text-main);
}

.page-live__mobile-subtitle {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Responsible Gaming Section */
.page-live__responsible-gaming-section {
    padding: 60px 0;
    text-align: center;
}

/* Get Started Section */
.page-live__get-started-section {
    padding: 60px 0;
}

.page-live__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-live__step-item {
    background-color: var(--background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-live__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

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

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

/* FAQ Section */
.page-live__faq-section {
    padding: 60px 0;
}

.page-live__faq-list {
    margin-top: 40px;
}

.page-live__faq-item {
    background-color: var(--card-bg);
    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-color: var(--background);
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1em;
}

.page-live__faq-question:hover {
    background-color: rgba(242, 193, 78, 0.1);
}

.page-live__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    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 to contain content */
    padding: 20px !important;
}

.page-live__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

/* Conclusion Section */
.page-live__conclusion-section {
    padding: 60px 0;
    text-align: center;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-live__container {
        padding: 0 15px;
    }

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

    .page-live__hero-section {
        padding-bottom: 40px;
    }

    .page-live__main-title {
        font-size: 2.2em;
    }

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

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

    .page-live__btn-primary,
    .page-live__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-live__mobile-image {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
    }

    .page-live__mobile-subtitle {
        font-size: 1.5em;
        text-align: center;
    }

    .page-live__mobile-text {
        text-align: center;
    }

    /* Ensure all images are responsive */
    .page-live img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    /* Ensure all containers are responsive */
    .page-live__section,
    .page-live__card,
    .page-live__container,
    .page-live__hero-video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-live__hero-video-wrapper {
        padding: 0;
    }

    /* Video specific mobile styles */
    .page-live__hero-video {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
    }

    .page-live__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles --header-offset */
        padding-left: 0;
        padding-right: 0;
    }

    .page-live__video-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    
    .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;
        flex-wrap: wrap !important;
        gap: 10px;
    }

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