/* 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); /* Account for fixed header */
}

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

/* Hero Section */
.page-live__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #1A2E44; /* Fallback background */
}

.page-live__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.6;
}

.page-live__hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 60px 20px;
}

.page-live__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-live__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    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;
}

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

.page-live__button--primary {
    background-color: #FFD700;
    color: #1A2E44;
    border: 2px solid #FFD700;
}

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

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

.page-live__button--secondary:hover {
    background-color: #FFD700;
    color: #1A2E44;
    transform: translateY(-2px);
}

/* General Section Styling */
.page-live__section-title {
    font-size: 2.8em;
    color: #1A2E44;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 60px;
}

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

/* Why Choose Section */
.page-live__why-choose-section {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.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: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-live__feature-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-live__feature-title {
    font-size: 1.8em;
    color: #1A2E44;
    margin-bottom: 15px;
}

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

/* Featured Games Section */
.page-live__featured-games-section {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-live__game-card {
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

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

.page-live__game-title {
    font-size: 1.6em;
    color: #1A2E44;
    margin-bottom: 10px;
}

.page-live__game-title a {
    color: #1A2E44;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-live__game-title a:hover {
    color: #FFD700;
}

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

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

/* Get Started Section */
.page-live__get-started-section {
    background-color: #1A2E44;
    padding: 80px 0;
    color: #ffffff;
}

.page-live__get-started-section .page-live__section-title,
.page-live__get-started-section .page-live__section-intro {
    color: #ffffff;
}

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

.page-live__step-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-live__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #FFD700;
    color: #1A2E44;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.page-live__step-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

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

.page-live__button--inline {
    padding: 10px 25px;
    font-size: 0.95em;
    background-color: #FFD700;
    color: #1A2E44;
    border: 2px solid #FFD700;
}

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

/* Responsible Gaming Section */
.page-live__responsible-gaming-section {
    padding: 60px 0;
    background-color: #f0f0f0;
}

.page-live__responsible-gaming-section .page-live__section-text {
    text-align: left;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: #444444;
}

.page-live__responsible-gaming-section .page-live__button--secondary {
    display: block;
    margin: 40px auto 0 auto;
    max-width: 350px;
    text-align: center;
}

/* FAQ Section */
.page-live__faq-section {
    padding: 60px 0;
    background-color: #ffffff;
}

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

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

.page-live__faq-question {
    font-size: 1.4em;
    color: #1A2E44;
    padding: 20px 25px;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f0f0f0;
    transition: background-color 0.3s ease;
}

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

.page-live__faq-item.active .page-live__faq-question::after {
    transform: rotate(45deg);
}

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

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

.page-live__faq-answer p {
    margin-bottom: 10px;
}

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

.page-live__faq-answer a {
    color: #1A2E44;
    text-decoration: underline;
}

.page-live__faq-answer a:hover {
    color: #FFD700;
}

.page-live__faq-cta {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    color: #444444;
}

.page-live__faq-cta a {
    color: #1A2E44;
    text-decoration: underline;
    font-weight: bold;
}

.page-live__faq-cta a:hover {
    color: #FFD700;
}

/* CTA Section */
.page-live__cta-section {
    background-color: #FFD700;
    padding: 80px 0;
    text-align: center;
}

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

.page-live__cta-section .page-live__section-intro {
    color: #333333;
    margin-bottom: 40px;
}

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

.page-live__cta-buttons .page-live__button--primary {
    background-color: #1A2E44;
    color: #FFD700;
    border-color: #1A2E44;
}

.page-live__cta-buttons .page-live__button--primary:hover {
    background-color: #0d1e2e;
    border-color: #0d1e2e;
}

.page-live__cta-buttons .page-live__button--secondary {
    background-color: transparent;
    color: #1A2E44;
    border-color: #1A2E44;
}

.page-live__cta-buttons .page-live__button--secondary:hover {
    background-color: #1A2E44;
    color: #FFD700;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-live__hero-title {
        font-size: 3em;
    }
    .page-live__section-title {
        font-size: 2.2em;
    }
    .page-live__feature-image, .page-live__game-image {
        height: 200px;
    }
}

@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: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    .page-live__section-title {
        font-size: 1.8em;
    }
    .page-live__section-intro, .page-live__section-text {
        font-size: 0.95em;
    }
    .page-live__feature-grid, .page-live__game-list, .page-live__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-live__feature-image, .page-live__game-image {
        height: 250px;
    }
    /* Ensure content images are responsive and don't overflow */
    .page-live img {
        max-width: 100%;
        height: auto; /* Important for preventing overflow */
    }
    .page-live__faq-question {
        font-size: 1.2em;
        padding: 15px 20px;
    }
    .page-live__faq-answer {
        padding: 15px 20px;
    }
    .page-live__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-live__responsible-gaming-section .page-live__button--secondary {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .page-live__hero-title {
        font-size: 2em;
    }
    .page-live__section-title {
        font-size: 1.5em;
    }
    .page-live__feature-image, .page-live__game-image {
        height: 200px;
    }
}