/* style/live.css */
.page-live {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-live__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 0;
}

.page-live__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-live__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 900px;
    width: 90%;
    padding: 20px;
    box-sizing: border-box;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
    border-radius: 10px;
}

.page-live__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-live__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

.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;
    white-space: nowrap;
}

.page-live__button--register, .page-live__button--register-step, .page-live__button--register-large {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
}

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

.page-live__button--login, .page-live__button--deposit-step {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-live__button--login:hover, .page-live__button--deposit-step:hover {
    background-color: #e6a73c;
}

.page-live__button--play-now, .page-live__button--explore-step, .page-live__button--download-app, .page-live__button--claim-bonus, .page-live__button--view-details, .page-live__button--view-all, .page-live__button--download-large {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
}

.page-live__button--play-now:hover, .page-live__button--explore-step:hover, .page-live__button--download-app:hover, .page-live__button--claim-bonus:hover, .page-live__button--view-details:hover, .page-live__button--view-all:hover, .page-live__button--download-large:hover {
    background-color: #333333;
    border-color: #333333;
}

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

.page-live__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
}

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

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

.page-live__feature-card, .page-live__game-card, .page-live__step-card, .page-live__promo-card, .page-live__security-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-live__game-image, .page-live__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-live__card-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 15px;
}

.page-live__card-title a {
    text-decoration: none;
    color: #000000;
}

.page-live__card-title a:hover {
    color: #FCBC45;
}

.page-live__card-description {
    color: #666666;
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-live__mobile-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    padding: 80px 20px;
    background-color: #f8f8f8;
    border-radius: 10px;
    margin-top: 50px;
}

.page-live__mobile-image {
    max-width: 450px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

.page-live__mobile-text {
    max-width: 500px;
    text-align: left;
}

.page-live__mobile-text .page-live__card-title {
    font-size: 2em;
    margin-bottom: 15px;
}

.page-live__mobile-text .page-live__card-description {
    font-size: 1.1em;
    margin-bottom: 30px;
}

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

.page-live__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.page-live__faq-question {
    font-size: 1.2em;
    color: #000000;
    margin-bottom: 10px;
    cursor: pointer;
}

.page-live__faq-answer {
    font-size: 1em;
    color: #555555;
    display: none;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.page-live__faq-item.active .page-live__faq-answer {
    display: block;
}

.page-live__cta-section {
    background-color: #000000;
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    border-radius: 10px;
    margin-top: 50px;
}

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

.page-live__cta-section .page-live__section-intro {
    color: #f0f0f0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-live__hero-title {
        font-size: 2.5em;
    }
    .page-live__hero-description {
        font-size: 1.1em;
    }
    .page-live__section-title {
        font-size: 2em;
    }
    .page-live__mobile-section {
        flex-direction: column;
        text-align: center;
    }
    .page-live__mobile-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-live__hero-title {
        font-size: 2em;
    }
    .page-live__hero-description {
        font-size: 1em;
    }
    .page-live__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-live__button {
        width: 100%;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-live__content-area {
        padding: 40px 15px;
    }
    .page-live__section-title {
        font-size: 1.8em;
    }
    .page-live__section-intro {
        font-size: 0.95em;
    }
    .page-live__game-image, .page-live__promo-image, .page-live__mobile-image {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
    .page-live__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-live__faq-question {
        font-size: 1.1em;
    }
    .page-live__faq-answer {
        font-size: 0.9em;
    }
    /* Ensure content area images do not overflow */
    .page-live img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-live__hero-title {
        font-size: 1.8em;
    }
    .page-live__hero-description {
        font-size: 0.9em;
    }
    .page-live__card-title {
        font-size: 1.3em;
    }
    .page-live__card-description {
        font-size: 0.9em;
    }
}