/* style/live.css */

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

/* Hero Section */
.page-live__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background-color: #000000; /* Primary background for hero */
    color: #FFFFFF; /* Light text for dark background */
    position: relative;
    overflow: hidden;
}

.page-live__hero-image-wrapper {
    width: 100%;
    max-width: 1600px; /* Limit hero image width */
    margin-top: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-live__hero-image {
    width: 100%;
    height: auto;
    display: block;
    /* No filter to change color */
}

.page-live__hero-content {
    max-width: 900px;
    z-index: 1;
    position: relative;
}

.page-live__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FCBC45; /* Accent color for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

/* General Section Styling */
.page-live__section {
    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;
    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: #FCBC45;
    border-radius: 2px;
}

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

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

.page-live__feature-card {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-live__feature-icon {
    width: 200px; /* Min size for content images */
    height: 200px; /* Min size for content images */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    /* No filter */
}

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

.page-live__feature-description {
    color: #666666;
}

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

.page-live__game-card {
    background-color: #F8F8F8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-live__game-image {
    width: 100%;
    height: 250px; /* Consistent height for game images */
    object-fit: cover;
    display: block;
    /* No filter */
}

.page-live__game-title {
    font-size: 1.8em;
    color: #000000;
    padding: 20px 20px 10px;
}

.page-live__game-description {
    color: #666666;
    padding: 0 20px 20px;
}

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

.page-live__promo-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.page-live__promo-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    /* No filter */
}

.page-live__promo-title {
    font-size: 1.6em;
    color: #000000;
    padding: 20px 20px 10px;
}

.page-live__promo-description {
    color: #666666;
    padding: 0 20px 20px;
}

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

.page-live__mobile-text {
    flex: 1;
    min-width: 300px;
}

.page-live__mobile-subtitle {
    font-size: 2em;
    color: #000000;
    margin-bottom: 20px;
}

.page-live__mobile-description {
    color: #666666;
    margin-bottom: 30px;
}

.page-live__mobile-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-live__mobile-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    /* No filter */
}

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

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

.page-live__faq-question {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-live__faq-question::after {
    content: '+';
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-live__faq-question.active::after {
    content: '-'; /* Change to minus when active */
    transform: rotate(0deg);
}

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

.page-live__faq-answer.active {
    max-height: 200px; /* Adjust as needed for content */
    padding-top: 15px;
    padding-bottom: 10px;
}

.page-live__faq-answer a {
    color: #FCBC45;
    text-decoration: none;
}

.page-live__faq-answer a:hover {
    text-decoration: underline;
}

/* Call to Action Section */
.page-live__cta-section {
    background-color: #000000; /* Dark background for CTA */
    color: #FFFFFF;
    text-align: center;
    padding: 80px 20px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.page-live__cta-section .page-live__section-title {
    color: #FCBC45;
}
.page-live__cta-section .page-live__section-title::after {
    background-color: #FCBC45;
}

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

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

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

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

.page-live__button--register:hover {
    background-color: #FCBC45;
    color: #000000;
    border-color: #FCBC45;
    transform: translateY(-3px);
}

.page-live__button--login,
.page-live__button--play,
.page-live__button--claim,
.page-live__button--download {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-live__button--login:hover,
.page-live__button--play:hover,
.page-live__button--claim:hover,
.page-live__button--download:hover {
    background-color: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
    transform: translateY(-3px);
}

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

@media (max-width: 768px) {
    .page-live__hero-section {
        padding: 40px 15px;
    }
    .page-live__hero-title {
        font-size: 2.2em;
    }
    .page-live__hero-description {
        font-size: 1em;
    }
    .page-live__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-live__button {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }

    .page-live__section {
        padding: 40px 15px;
    }
    .page-live__section-title {
        font-size: 1.8em;
    }
    .page-live__section-intro {
        font-size: 0.95em;
    }

    .page-live__features-grid,
    .page-live__game-card-grid,
    .page-live__promo-cards {
        grid-template-columns: 1fr;
    }

    .page-live__mobile-content {
        flex-direction: column;
        gap: 30px;
    }
    .page-live__mobile-image {
        max-width: 100%;
    }

    .page-live__cta-section {
        padding: 60px 15px;
    }
    .page-live__cta-actions {
        flex-direction: column;
        gap: 15px;
    }

    /* IMPORTANT: Mobile content area image responsiveness */
    .page-live img {
        max-width: 100%;
        height: auto;
        /* No filter */
    }
    /* Ensure no content causes horizontal scroll */
    .page-live {
        overflow-x: hidden;
    }

    /* Ensuring no content area images are smaller than 200px */
    /* The width/height attributes in HTML already enforce minimums, this CSS ensures display */
    .page-live__feature-icon,
    .page-live__game-image,
    .page-live__promo-image,
    .page-live__mobile-image {
        min-width: 200px; /* Enforce minimum display width */
        min-height: 200px; /* Enforce minimum display height */
    }
    /* Override for specific aspect ratios if needed, but maintain min-size */
    .page-live__hero-image {
        min-height: 200px; /* Ensure hero image is also not tiny on small screens */
    }
    .page-live__promo-image {
        height: auto; /* Allow auto height for responsiveness */
        min-height: 200px;
    }
    .page-live__game-image {
        height: auto; /* Allow auto height for responsiveness */
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-live__hero-title {
        font-size: 1.8em;
    }
    .page-live__section-title {
        font-size: 1.5em;
    }
    .page-live__hero-actions,
    .page-live__cta-actions {
        gap: 10px;
    }
    .page-live__button {
        padding: 12px 20px;
        font-size: 1em;
    }
}