.page-live {
    color: #333333; /* Dark text for light body background */
}

.page-live__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
    overflow: hidden;
    background-color: #000000; /* Dark background for hero section */
    color: #ffffff;
}

.page-live__hero-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.page-live__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.4); /* Darken image for text readability */
    z-index: 0;
}

.page-live__hero-image img {
    width: 100%;
    height: 100%;
    display: block;
}

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

.page-live__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

.page-live__hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    line-height: 1.5;
    color: #f0f0f0;
}

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

.page-live__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.page-live__button--register {
    background-color: #FCBC45; /* Login color */
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-live__button--register:hover {
    background-color: #e0a53a;
    transform: translateY(-2px);
}

.page-live__button--login {
    background-color: transparent;
    color: #FCBC45;
    border: 2px solid #FCBC45;
}

.page-live__button--login:hover {
    background-color: #FCBC45;
    color: #000000;
    transform: translateY(-2px);
}

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

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

.page-live__text-content {
    font-size: 1.1em;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 20px;
    color: #333333;
}

.page-live__about-section {
    background-color: #ffffff;
}

.page-live__games-section {
    background-color: #f8f8f8;
}

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

.page-live__game-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-live__game-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.page-live__game-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-live__game-description {
    font-size: 0.95em;
    color: #555555;
    line-height: 1.6;
    padding: 0 15px;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-live__button--play {
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    padding: 10px 20px;
    font-size: 1em;
    margin-top: auto; /* Pushes button to bottom */
}

.page-live__button--play:hover {
    background-color: #333333;
    border-color: #333333;
}

.page-live__more-games-cta {
    text-align: center;
    margin-top: 50px;
}

.page-live__button--view-all {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
    padding: 15px 35px;
    font-size: 1.1em;
}

.page-live__button--view-all:hover {
    background-color: #e0a53a;
    border-color: #e0a53a;
}

.page-live__features-section {
    background-color: #ffffff;
}

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

.page-live__feature-item {
    text-align: center;
    padding: 25px;
    background-color: #f8f8f8;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-live__feature-icon {
    width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

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

.page-live__feature-description {
    font-size: 0.95em;
    color: #555555;
    line-height: 1.6;
}

.page-live__cta-section {
    background-color: #000000;
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

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

.page-live__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 700;
}

.page-live__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #f0f0f0;
}

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

.page-live__faq-section {
    background-color: #f8f8f8;
}

.page-live__faq-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.page-live__faq-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-live__faq-question {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-live__faq-answer {
    font-size: 1em;
    color: #555555;
    line-height: 1.6;
}

.page-live__testimonials-section {
    background-color: #ffffff;
}

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

.page-live__testimonial-card {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-live__testimonial-text {
    font-style: italic;
    font-size: 1.05em;
    line-height: 1.7;
    color: #444444;
    margin-bottom: 20px;
}

.page-live__testimonial-author {
    font-weight: 600;
    color: #000000;
    font-size: 1.1em;
}

.page-live__final-cta-section {
    background-color: #FCBC45;
    color: #000000;
    padding: 80px 20px;
    text-align: center;
}

.page-live__final-cta-content {
    max-width: 900px;
}

.page-live__final-cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #000000;
    font-weight: 700;
}

.page-live__final-cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #333333;
}

.page-live__button--hero {
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    padding: 18px 45px;
    font-size: 1.3em;
}

.page-live__button--hero:hover {
    background-color: #333333;
    border-color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-live__hero-title {
        font-size: 3em;
    }
    .page-live__hero-description {
        font-size: 1.3em;
    }
    .page-live__section-title {
        font-size: 2.2em;
    }
    .page-live__cta-title {
        font-size: 2.5em;
    }
    .page-live__final-cta-title {
        font-size: 2.8em;
    }
}

@media (max-width: 768px) {
    .page-live {
        padding-top: var(--header-offset, 80px); /* Adjust padding for smaller header on mobile */
    }
    .page-live__hero-content {
        padding: 40px 15px;
    }
    .page-live__hero-title {
        font-size: 2.5em;
    }
    .page-live__hero-description {
        font-size: 1.1em;
    }
    .page-live__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-live__button {
        width: 100%;
        max-width: 300px;
    }
    .page-live__container {
        padding: 30px 15px;
    }
    .page-live__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-live__game-grid, .page-live__features-grid, .page-live__testimonial-grid {
        grid-template-columns: 1fr;
    }
    .page-live__game-image, .page-live__feature-icon {
        max-width: 100%;
        height: auto; /* Ensures images are responsive and don't overflow */
        min-height: 200px; /* Minimum height for content images */
    }
    .page-live__cta-title {
        font-size: 2em;
    }
    .page-live__cta-description {
        font-size: 1em;
    }
    .page-live__final-cta-title {
        font-size: 2.2em;
    }
    .page-live__final-cta-description {
        font-size: 1.1em;
    }
    .page-live__button--large, .page-live__button--hero {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-live__text-content img,
    .page-live__game-card img,
    .page-live__feature-item img,
    .page-live__faq-item img,
    .page-live__testimonial-card img {
        max-width: 100%;
        height: auto;
    }
    /* Ensure all content area images are not smaller than 200px on mobile */
    .page-live img {
        min-width: 200px;
        min-height: 200px;
    }
}

@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.8em;
    }
    .page-live__cta-title {
        font-size: 1.8em;
    }
    .page-live__final-cta-title {
        font-size: 2em;
    }
}