/* style/live.css */

/* Root variables for colors */
:root {
    --bingoplus-primary: #F2C14E;
    --bingoplus-secondary: #FFD36B;
    --bingoplus-card-bg: #111111;
    --bingoplus-bg: #0A0A0A;
    --bingoplus-text-main: #FFF6D6;
    --bingoplus-border: #3A2A12;
    --bingoplus-glow: #FFD36B;
    --bingoplus-btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-live {
    background-color: var(--bingoplus-bg);
    color: var(--bingoplus-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Section styles */
.page-live__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    text-align: center;
    background-color: var(--bingoplus-bg);
    overflow: hidden;
}

.page-live__hero-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    width: 100%; /* Important for desktop flex container */
    gap: 40px;
}

.page-live__hero-text-content {
    max-width: 800px;
}

.page-live__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--bingoplus-primary);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.page-live__hero-description {
    font-size: 1.2rem;
    color: var(--bingoplus-text-main);
    margin-bottom: 30px;
}

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

.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: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
}

.page-live__btn-primary {
    background: var(--bingoplus-btn-gradient);
    color: #ffffff;
    border: none;
}

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

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

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

.page-live__hero-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin-top: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.page-live__video {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.page-live__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--bingoplus-primary);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-live__section-description {
    font-size: 1.1rem;
    color: var(--bingoplus-text-main);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

.page-live__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--bingoplus-bg);
    color: var(--bingoplus-text-main);
}

.page-live__dark-section {
    background-color: var(--bingoplus-bg);
    color: var(--bingoplus-text-main);
    padding: 60px 20px;
}

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

.page-live__feature-card {
    background-color: var(--bingoplus-card-bg);
    border: 1px solid var(--bingoplus-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--bingoplus-text-main);
}

.page-live__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.page-live__feature-icon {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-live__feature-title {
    font-size: 1.5rem;
    color: var(--bingoplus-primary);
    margin-bottom: 15px;
}

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

/* Games Showcase Section */
.page-live__game-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
}

.page-live__category-item {
    text-align: center;
    max-width: 150px;
    color: var(--bingoplus-text-main);
}

.page-live__category-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 5px var(--bingoplus-glow));
}

.page-live__category-title {
    font-size: 1.1rem;
    color: var(--bingoplus-primary);
    font-weight: bold;
}

.page-live__category-description {
    font-size: 0.9rem;
    color: var(--bingoplus-text-main);
}

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

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

.page-live__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

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

.page-live__game-name {
    font-size: 1.3rem;
    color: var(--bingoplus-primary);
    margin: 15px 10px 5px 10px;
}

.page-live__game-provider {
    font-size: 0.9rem;
    color: var(--bingoplus-text-main);
    margin-bottom: 15px;
}

.page-live__btn-play {
    display: inline-block;
    background: var(--bingoplus-btn-gradient);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 20px;
    transition: opacity 0.3s ease;
}

.page-live__btn-play:hover {
    opacity: 0.9;
}

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

.page-live__bonus-card {
    background-color: var(--bingoplus-card-bg);
    border: 1px solid var(--bingoplus-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    color: var(--bingoplus-text-main);
}

.page-live__bonus-image {
    width: 100%;
    max-width: 400px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-live__bonus-title {
    font-size: 1.5rem;
    color: var(--bingoplus-primary);
    margin-bottom: 15px;
}

.page-live__bonus-text {
    font-size: 1rem;
    color: var(--bingoplus-text-main);
    margin-bottom: 25px;
}

/* Mobile App Section */
.page-live__mobile-app-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
}

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

.page-live__mobile-app-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.page-live__download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.page-live__mobile-app-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-live__app-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Providers Section */
.page-live__providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.page-live__provider-item {
    background-color: var(--bingoplus-card-bg);
    border: 1px solid var(--bingoplus-border);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    color: var(--bingoplus-text-main);
}

.page-live__provider-logo {
    width: 100%;
    max-width: 167px;
    height: 127px;
    object-fit: contain;
    margin-bottom: 10px;
}

.page-live__provider-name {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--bingoplus-text-main);
}

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

.page-live__step-card {
    background-color: var(--bingoplus-card-bg);
    border: 1px solid var(--bingoplus-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    color: var(--bingoplus-text-main);
}

.page-live__step-number {
    font-size: 1.6rem;
    color: var(--bingoplus-primary);
    margin-bottom: 15px;
}

.page-live__step-text {
    font-size: 1rem;
    color: var(--bingoplus-text-main);
    margin-bottom: 25px;
}

/* FAQ Section */
.page-live__faq-list {
    max-width: 900px;
    margin: 50px auto 0 auto;
}

.page-live__faq-item {
    background-color: var(--bingoplus-card-bg);
    border: 1px solid var(--bingoplus-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    color: var(--bingoplus-text-main);
}

.page-live__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--bingoplus-primary);
    background-color: var(--bingoplus-card-bg);
    transition: background-color 0.3s ease;
}

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

.page-live__faq-question h3 {
    margin: 0;
    color: var(--bingoplus-primary);
}

.page-live__faq-toggle {
    font-size: 1.5rem;
    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(--bingoplus-text-main);
}

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

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

/* Final CTA Section */
.page-live__cta-final {
    padding-bottom: 80px;
}

/* Responsive Design */
@media (min-width: 769px) {
    .page-live__hero-content-wrapper {
        flex-direction: row; /* Desktop: text and video side-by-side */
        text-align: left;
    }

    .page-live__hero-text-content {
        text-align: left;
        flex: 1;
    }

    .page-live__hero-video-wrapper {
        flex: 1;
        margin-top: 0;
    }

    .page-live__mobile-app-content {
        flex-direction: row;
    }

    .page-live__mobile-app-text {
        order: 1;
    }

    .page-live__mobile-app-image {
        order: 2;
    }
}

@media (max-width: 768px) {
    .page-live {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-live__hero-section {
        padding: 40px 15px; /* Adjust padding for mobile */
        padding-top: 10px !important; /* Ensure small top padding */
    }

    .page-live__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

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

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

    .page-live__btn-primary,
    .page-live__btn-secondary,
    .page-live a[class*="button"],
    .page-live a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-live__hero-content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .page-live__hero-text-content {
        text-align: center;
    }

    .page-live__content-area,
    .page-live__dark-section {
        padding: 40px 15px;
    }

    .page-live__section-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
    }

    .page-live__section-description {
        font-size: 0.95rem;
    }

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

    .page-live__section,
    .page-live__card,
    .page-live__container,
    .page-live__feature-card,
    .page-live__game-card,
    .page-live__bonus-card,
    .page-live__provider-item,
    .page-live__step-card,
    .page-live__faq-item,
    .page-live__mobile-app-content,
    .page-live__download-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Specific adjustments for mobile app section */
    .page-live__mobile-app-content {
        flex-direction: column;
    }

    .page-live__mobile-app-text,
    .page-live__mobile-app-image {
        padding-left: 0;
        padding-right: 0;
    }

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

    /* Ensure video is responsive */
    .page-live__video-container,
    .page-live__hero-video-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
}