/* style/live.css */

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

.page-live__section {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 20px;
    background-color: #ffffff; /* White background for sections */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-live__section-title {
    font-size: 2.5em;
    color: #0A192F; /* Dark blue from primary color palette */
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.page-live__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Gold accent color */
    border-radius: 2px;
}

.page-live__section-intro,
.page-live__content-paragraph {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

/* Hero Section */
.page-live__hero-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
    background-color: #0A192F; /* Dark blue background for hero */
    padding: 0; /* No padding on the section itself, content inside handles it */
}

.page-live__hero-image {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
}

.page-live__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 0.7; /* Slightly dim the image for text readability */
}

.page-live__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    color: #ffffff; /* White text for dark background */
    padding: 20px;
    max-width: 90%;
}

.page-live__hero-title {
    font-size: 3.5em;
    margin-bottom: 15px;
    color: #FFD700; /* Gold for main title */
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-live__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* Buttons */
.page-live__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.page-live__button--primary {
    background-color: #FFD700; /* Gold */
    color: #0A192F; /* Dark blue text */
    border: 2px solid #FFD700;
}

.page-live__button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-live__button--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-live__button--secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
}

.page-live__button--small {
    padding: 10px 20px;
    font-size: 1em;
}

.page-live__button--large {
    padding: 18px 35px;
    font-size: 1.2em;
}


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

.page-live__feature-card {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

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

.page-live__feature-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    object-fit: cover;
}

.page-live__card-title {
    font-size: 1.5em;
    color: #0A192F;
    margin-bottom: 10px;
}

.page-live__card-description {
    font-size: 1em;
    color: #666666;
}

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

.page-live__game-card {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

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

.page-live__game-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    object-fit: cover;
}

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

.page-live__step-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-live__step-title {
    font-size: 1.6em;
    color: #0A192F;
    margin-bottom: 10px;
}

.page-live__step-description {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
}

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

.page-live__bonus-card {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

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

.page-live__bonus-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    object-fit: cover;
}

.page-live__cta-promo {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: #0A192F;
    border-radius: 8px;
    color: #ffffff;
}

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

/* FAQ Section */
.page-live__faq-list {
    margin-top: 40px;
}

.page-live__faq-item {
    background-color: #f9f9f9;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-live__faq-question {
    font-size: 1.3em;
    color: #0A192F;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

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

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

.page-live__faq-answer {
    font-size: 1em;
    color: #666666;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
    padding-top: 0;
}

.page-live__faq-answer.active {
    max-height: 200px; /* Adjust based on expected content length */
    opacity: 1;
    padding-top: 10px;
}

/* Final CTA Section */
.page-live__section--cta-final {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #0A192F;
    color: #ffffff;
    padding: 60px 20px;
    margin-bottom: 0; /* Last section */
}

.page-live__cta-content {
    max-width: 800px;
    margin-bottom: 30px;
}

.page-live__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-live__cta-description {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.page-live__cta-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-live__hero-title {
        font-size: 3em;
    }
    .page-live__hero-description {
        font-size: 1.1em;
    }
    .page-live__section-title {
        font-size: 2em;
    }
    .page-live__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-live__hero-title {
        font-size: 2.5em;
    }
    .page-live__hero-description {
        font-size: 1em;
    }
    .page-live__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-live__button {
        width: 80%;
        margin: 0 auto;
    }
    .page-live__section {
        margin-bottom: 40px;
        padding: 15px;
    }
    .page-live__section-title {
        font-size: 1.8em;
    }
    .page-live__section-intro,
    .page-live__content-paragraph {
        font-size: 0.95em;
    }
    .page-live__feature-grid,
    .page-live__game-grid,
    .page-live__steps-list,
    .page-live__bonus-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-live__feature-card img,
    .page-live__game-card img,
    .page-live__bonus-card img,
    .page-live__cta-image img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum size for mobile */
        min-height: 200px; /* Enforce minimum size for mobile */
        object-fit: cover;
    }
    .page-live__cta-title {
        font-size: 1.8em;
    }
    .page-live__cta-description {
        font-size: 1em;
    }
    .page-live__faq-item {
        padding: 15px;
    }
    .page-live__faq-question {
        font-size: 1.2em;
    }
    .page-live__faq-answer.active {
        max-height: 300px; /* Adjust for potentially longer mobile content */
    }
}

@media (max-width: 480px) {
    .page-live__hero-title {
        font-size: 2em;
    }
    .page-live__hero-description {
        font-size: 0.9em;
    }
    .page-live__button {
        width: 90%;
    }
    .page-live__section-title {
        font-size: 1.5em;
    }
    .page-live__cta-title {
        font-size: 1.6em;
    }
    .page-live__cta-description {
        font-size: 0.9em;
    }
    .page-live__faq-question {
        font-size: 1.1em;
    }
}

/* Ensure all images within .page-live respect the minimum size and responsive rules */
.page-live img {
    /* General rules for all content area images */
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

@media (max-width: 768px) {
    /* Override any specific fixed widths for images in mobile */
    .page-live img {
        max-width: 100%;
        height: auto;
    }
    .page-live {
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
}