/* style/live.css */

.page-live {
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
    background-color: #FFFFFF; /* Default light background */
    color: #333333; /* Dark text for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-live__hero-section {
    position: relative;
    overflow: hidden;
    text-align: center;
    background-color: #000000; /* Dark background for hero */
    padding: 0;
}

.page-live__hero-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Minimum height for hero section */
    padding: 40px 20px;
}

.page-live__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.7; /* Slightly dim the background image for text readability */
}

.page-live__hero-content {
    position: relative;
    z-index: 2;
    color: #FFFFFF; /* Light text for dark hero background */
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-live__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FCBC45; /* Login color for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

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

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

.page-live__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 200px; /* Ensure buttons are not too small */
    text-align: center;
}

.page-live__button--register {
    background-color: #FFFFFF; /* Register color */
    color: #000000; /* Dark text for white button */
}

.page-live__button--register:hover {
    background-color: #e0e0e0;
}

.page-live__button--login,
.page-live__button--play,
.page-live__button--play-now,
.page-live__button--large-cta,
.page-live__button--browse {
    background-color: #FCBC45; /* Login color */
    color: #000000; /* Dark text for yellow button */
}

.page-live__button--login:hover,
.page-live__button--play:hover,
.page-live__button--play-now:hover,
.page-live__button--large-cta:hover,
.page-live__button--browse:hover {
    background-color: #e6a83a;
}

.page-live__section-title {
    font-size: 2.5em;
    color: #000000; /* Main color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

.page-live__about-section,
.page-live__games-section,
.page-live__technology-section,
.page-live__how-to-play-section,
.page-live__promotions-section,
.page-live__faq-section,
.page-live__cta-final-section {
    padding: 80px 0;
    background-color: #f8f8f8;
    border-bottom: 1px solid #eeeeee;
}

.page-live__about-section:nth-child(odd),
.page-live__technology-section:nth-child(odd),
.page-live__faq-section:nth-child(odd) {
    background-color: #FFFFFF;
}

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

.page-live__feature-card,
.page-live__game-card,
.page-live__tech-item,
.page-live__step-card,
.page-live__promo-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 450px; /* Ensure cards have enough height for content and image */
}

.page-live__feature-card:hover,
.page-live__game-card:hover,
.page-live__tech-item:hover,
.page-live__step-card:hover,
.page-live__promo-card:hover {
    transform: translateY(-10px);
}

.page-live__feature-icon,
.page-live__game-image,
.page-live__tech-icon,
.page-live__step-icon,
.page-live__promo-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-height: 200px; /* Enforce minimum image size */
    object-fit: cover;
}

.page-live__feature-title,
.page-live__game-title,
.page-live__tech-title,
.page-live__step-title,
.page-live__promo-title {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-live__feature-text,
.page-live__game-text,
.page-live__tech-text,
.page-live__step-text,
.page-live__promo-text {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-live__button--register-small,
.page-live__button--deposit,
.page-live__button--view-promo,
.page-live__button--all-promos {
    background-color: #000000;
    color: #FFFFFF;
    padding: 10px 20px;
    font-size: 0.95em;
    min-width: unset;
}

.page-live__button--register-small:hover,
.page-live__button--deposit:hover,
.page-live__button--view-promo:hover,
.page-live__button--all-promos:hover {
    background-color: #333333;
}

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

.page-live__cta-text {
    font-size: 1.2em;
    color: #000000;
    margin-bottom: 20px;
}

.page-live__faq-accordion {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-live__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-live__faq-question {
    font-size: 1.3em;
    color: #000000;
    padding: 20px 30px;
    cursor: pointer;
    position: relative;
    margin: 0;
    background-color: #fcfcfc;
    transition: background-color 0.3s ease;
}

.page-live__faq-question::after {
    content: '+';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-live__faq-item.active .page-live__faq-question::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-live__faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    color: #555555;
}

.page-live__faq-item.active .page-live__faq-answer {
    max-height: 200px; /* Adjust as needed */
    padding: 20px 30px;
}

.page-live__faq-answer p {
    margin: 0;
}

.page-live__cta-final-section {
    background-color: #000000; /* Dark background for final CTA */
    text-align: center;
    padding: 100px 20px;
}

.page-live__cta-final-container {
    max-width: 900px;
}

.page-live__cta-final-title {
    font-size: 3em;
    color: #FCBC45; /* Login color for emphasis */
    margin-bottom: 25px;
    font-weight: bold;
    line-height: 1.2;
}

.page-live__cta-final-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

@media (max-width: 768px) {
    .page-live__hero-title {
        font-size: 2.5em;
    }
    .page-live__hero-description {
        font-size: 1.2em;
    }
    .page-live__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-live__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-live__section-title {
        font-size: 1.8em;
    }
    .page-live__section-description {
        font-size: 1em;
    }
    .page-live__feature-card,
    .page-live__game-card,
    .page-live__tech-item,
    .page-live__step-card,
    .page-live__promo-card {
        min-height: unset; /* Allow height to adjust on mobile */
        padding: 20px;
    }
    .page-live__feature-icon,
    .page-live__game-image,
    .page-live__tech-icon,
    .page-live__step-icon,
    .page-live__promo-image {
        max-width: 100%;
        height: auto;
        min-height: 200px; /* Still enforce minimum size */
    }
    .page-live__cta-final-title {
        font-size: 2em;
    }
    .page-live__cta-final-description {
        font-size: 1.1em;
    }

    /* Ensure content area images do not cause horizontal scrolling */
    .page-live img {
        max-width: 100%;
        height: auto;
    }
    .page-live {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-live__hero-title {
        font-size: 2em;
    }
    .page-live__hero-description {
        font-size: 1em;
    }
    .page-live__section-title {
        font-size: 1.5em;
    }
    .page-live__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-live__faq-question::after {
        right: 20px;
    }
    .page-live__faq-answer {
        padding: 15px 20px;
    }
    .page-live__cta-final-title {
        font-size: 1.8em;
    }
}