/* style/live.css */

/* Ensure the main content area respects the fixed header */
.page-live {
    padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
    background-color: #FFFFFF; /* Light background as per shared.css body background */
    color: #333333; /* Dark text for contrast on light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.page-live__hero-section {
    position: relative;
    text-align: center;
    padding: 80px 20px;
    overflow: hidden; /* Ensure no overflow from image */
    background-color: #000000; /* Dark background for hero to make text pop */
    color: #FFFFFF;
}

.page-live__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-live__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Overlay for text readability */
    display: block;
}

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

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

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

.page-live__hero-buttons {
    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;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 180px; /* Ensure buttons are not too small */
    text-align: center;
    font-size: 1.1em;
}

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

.page-live__button--primary:hover {
    background-color: #e0a538;
    border-color: #e0a538;
    color: #000000;
}

.page-live__button--secondary {
    background-color: transparent;
    color: #FFFFFF; /* Register button color as white */
    border: 2px solid #FFFFFF;
}

.page-live__button--secondary:hover {
    background-color: #FFFFFF;
    color: #000000;
}

/* General Sections */
.page-live__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.page-live__section-description {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}

/* About Section */
.page-live__about-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

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

.page-live__grid-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-live__grid-image {
    width: 100%; /* Ensure images are not small */
    max-width: 400px; /* Max width for consistency */
    height: auto;
    min-height: 250px; /* Min height to prevent small images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

.page-live__grid-text {
    color: #666666;
    line-height: 1.7;
}

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

.page-live__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.page-live__feature-item {
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

.page-live__feature-text {
    color: #555555;
    line-height: 1.7;
}

/* Games Section */
.page-live__games-section {
    padding: 60px 0;
    background-color: #000000; /* Dark background for games section */
    color: #FFFFFF;
}

.page-live__games-section .page-live__section-title,
.page-live__games-section .page-live__section-description {
    color: #FFFFFF;
}

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

.page-live__game-card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-live__game-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    min-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-live__game-title {
    font-size: 1.5em;
    color: #FCBC45; /* Gold accent for game titles */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-live__game-text {
    color: #f0f0f0;
    line-height: 1.7;
    flex-grow: 1; /* Push button to bottom */
    margin-bottom: 20px;
}

.page-live__game-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    background-color: #FCBC45;
    color: #000000;
    transition: background-color 0.3s ease;
}

.page-live__game-button:hover {
    background-color: #e0a538;
}

/* Experience Section */
.page-live__experience-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

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

/* Promo Section */
.page-live__promo-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

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

.page-live__promo-card {
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-live__promo-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    min-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-live__promo-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-live__promo-text {
    color: #666666;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-live__promo-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    background-color: #FCBC45;
    color: #000000;
    transition: background-color 0.3s ease;
}

.page-live__promo-button:hover {
    background-color: #e0a538;
}

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

.page-live__cta-text a {
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
}

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

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

.page-live__responsible-gaming-section .page-live__section-title,
.page-live__responsible-gaming-section .page-live__section-description {
    color: #FFFFFF;
}

.page-live__responsible-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-live__responsible-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-live__responsible-title {
    font-size: 1.6em;
    color: #FCBC45;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-live__responsible-text {
    color: #f0f0f0;
    line-height: 1.7;
}

/* Get Started Section */
.page-live__get-started-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

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

.page-live__step-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-live__step-number {
    font-size: 3em;
    color: #FCBC45;
    font-weight: bold;
    margin-bottom: 15px;
}

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

.page-live__step-text {
    color: #666666;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-live__step-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    background-color: #FCBC45;
    color: #000000;
    transition: background-color 0.3s ease;
}

.page-live__step-button:hover {
    background-color: #e0a538;
}

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

.page-live__faq-list {
    margin-top: 40px;
}

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

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

.page-live__faq-answer {
    color: #555555;
    line-height: 1.7;
    display: none; /* Hidden by default, toggled by JS */
}

/* Final CTA Section */
.page-live__cta-final-section {
    padding: 80px 0;
    background-color: #000000; /* Dark background */
    color: #FFFFFF;
    text-align: center;
}

.page-live__cta-final-section .page-live__section-title,
.page-live__cta-final-section .page-live__section-description {
    color: #FFFFFF;
}

.page-live__cta-final-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

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

@media (max-width: 768px) {
    .page-live {
        padding-top: var(--header-offset, 120px); /* Ensure mobile padding-top is also set */
    }
    .page-live__hero-section {
        padding: 60px 20px;
    }
    .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: 300px;
        margin: 0 auto;
    }
    .page-live__section-title {
        font-size: 1.8em;
    }
    .page-live__section-description {
        font-size: 0.95em;
    }

    /* Mobile image rules */
    .page-live img {
        max-width: 100%;
        height: auto;
        /* Ensure content images are not too small, but also fit the screen */
        min-width: 200px; /* Enforce minimum width for content images */
        min-height: 200px; /* Enforce minimum height for content images */
    }
    .page-live__grid-image,
    .page-live__game-image,
    .page-live__promo-image {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Apply minimum size to specific image types */
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-live__hero-title {
        font-size: 2em;
    }
    .page-live__section-title {
        font-size: 1.5em;
    }
    .page-live__grid-item,
    .page-live__feature-item,
    .page-live__game-card,
    .page-live__promo-card,
    .page-live__responsible-item,
    .page-live__step-card {
        padding: 20px;
    }
    .page-live__grid-title,
    .page-live__feature-title,
    .page-live__game-title,
    .page-live__promo-title,
    .page-live__responsible-title,
    .page-live__step-title {
        font-size: 1.3em;
    }
}