/* style/live.css */

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

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

/* Hero Section */
.page-live__hero-section {
    position: relative;
    overflow: hidden;
    color: #FFFFFF; /* Light text for hero content over dark/rich image */
    text-align: center;
    padding: 80px 0; /* Adjust padding as needed, but not padding-top for header offset */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

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

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

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

.page-live__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* General Section Styling */
.page-live__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-live__section-subtitle {
    font-size: 1.2em;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
}

.page-live__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-live__text-content--callout {
    font-style: italic;
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border-left: 5px solid #FCBC45;
}

/* Buttons */
.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;
    font-size: 1.1em;
    text-align: center;
    white-space: nowrap;
}

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

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

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

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

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

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

/* Game Categories Section */
.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: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    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 8px 25px rgba(0, 0, 0, 0.15);
}

.page-live__game-card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-live__game-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-live__game-card-title {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #000000;
}

.page-live__game-card-link {
    text-decoration: none;
    color: #000000;
    transition: color 0.3s ease;
}

.page-live__game-card-link:hover {
    color: #FCBC45;
}

.page-live__game-card-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

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

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

.page-live__feature-icon {
    width: 200px; /* Enforcing minimum 200px display width */
    height: 150px; /* Enforcing minimum 150px display height, maintaining aspect ratio */
    object-fit: cover; /* Use cover to fill the space */
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

.page-live__step-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

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

/* Bonuses Section */
.page-live__bonuses-section .page-live__text-link {
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
}

.page-live__bonuses-section .page-live__text-link:hover {
    text-decoration: underline;
}

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

/* Responsible Gaming Section */
.page-live__responsible-gaming-section {
    text-align: center;
}
.page-live__responsible-gaming-section .page-live__button {
    margin-top: 20px;
}

/* FAQ Section */
.page-live__faq-section {
    margin-top: 60px;
}

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

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

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

.page-live__faq-item .page-live__button {
    margin-top: 15px;
    display: inline-block;
}

/* Call to Action Section (final) */
.page-live__cta-section {
    background-color: #000000; /* Dark background for final CTA */
    color: #FFFFFF; /* Light text */
    padding: 60px 20px;
    text-align: center;
    margin-top: 60px;
}

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

.page-live__cta-section .page-live__text-content {
    color: #f0f0f0;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

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

@media (max-width: 768px) {
    .page-live {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }
    .page-live__hero-section {
        padding: 60px 0;
        min-height: 400px;
    }
    .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: 80%;
        max-width: 300px;
    }
    .page-live__game-grid,
    .page-live__features-grid,
    .page-live__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-live__game-card-image {
        height: 200px;
    }
    /* Enforce max-width for images in content area to prevent overflow */
    .page-live img {
        max-width: 100%;
        height: auto;
    }
    /* Ensure feature icons are not smaller than 200px when selected by specific selectors */
    .page-live__feature-item .page-live__feature-icon {
        width: 200px; /* Enforcing minimum 200px display width */
        height: 150px; /* Enforcing minimum 150px display height */
    }
    .page-live__game-card-image {
        min-width: 200px;
        min-height: 200px;
    }
    .page-live__cta-buttons,
    .page-live__cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-live__container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .page-live__hero-title {
        font-size: 2em;
    }
    .page-live__section-title {
        font-size: 1.8em;
    }
    .page-live__hero-description {
        font-size: 1em;
    }
}