/* style/live.css */

/* Base styles for the live casino page */
.page-live {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #f8f8f8; /* Slightly off-white background for sections */
}

/* Ensure main content area respects fixed header offset */
.page-live__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply header offset to the first section */
    position: relative;
    overflow: hidden; /* Prevent image overflow */
}

.page-live__hero-container {
    position: relative;
    width: 100%;
    max-width: 1600px; /* Limit hero container width */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px; /* Horizontal padding */
}

.page-live__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
}

.page-live__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 30px;
    background: rgba(26, 35, 126, 0.9); /* #1A237E with transparency */
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-top: -80px; /* Overlap with image */
    max-width: 800px;
    width: 100%;
}

.page-live__hero-title {
    font-size: 2.8em;
    color: #FFD700; /* Auxiliary color for emphasis */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-live__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-live__hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.page-live__btn {
    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;
    cursor: pointer;
    text-align: center;
    white-space: nowrap; /* Prevent text wrapping */
}

.page-live__btn--primary {
    background-color: #FFD700; /* Auxiliary color */
    color: #1A237E; /* Main color for text */
    border: 2px solid #FFD700;
}

.page-live__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-live__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Auxiliary color */
    border: 2px solid #FFD700;
}

.page-live__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A237E;
    transform: translateY(-3px);
}

.page-live__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

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

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

.page-live__content-area--centered {
    text-align: center;
}

.page-live__section-title {
    font-size: 2.5em;
    color: #1A237E; /* Main color */
    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: #FFD700; /* Auxiliary color */
    border-radius: 2px;
}

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

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

/* Games Section */
.page-live__games-section {
    background-color: #f0f0f0;
    padding: 80px 0;
}

.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-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-live__game-title {
    font-size: 1.6em;
    color: #1A237E;
    margin: 0 20px 15px 20px;
}

.page-live__game-text {
    font-size: 1em;
    color: #666666;
    margin: 0 20px 25px 20px;
    flex-grow: 1; /* Allow text to grow */
}

/* Why Choose Section */
.page-live__why-choose-section {
    background-color: #1A237E; /* Main color as background */
    padding: 80px 0;
    color: #ffffff;
}

.page-live__why-choose-section .page-live__section-title {
    color: #FFD700; /* Auxiliary color for title */
}

.page-live__why-choose-section .page-live__section-description {
    color: #f0f0f0;
}

.page-live__why-choose-section .page-live__section-title::after {
    background-color: #FFD700;
}

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

.page-live__feature-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-live__feature-item:hover {
    transform: translateY(-5px);
}

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

.page-live__feature-text {
    font-size: 1em;
    color: #e0e0e0;
}

/* Promotions CTA Section */
.page-live__promotions-cta-section {
    background-color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.page-live__promo-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    margin: 40px auto;
    display: block;
}

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

/* Final CTA Section */
.page-live__final-cta-section {
    background-color: #1A237E; /* Main color as background */
    padding: 80px 0;
    color: #ffffff;
}

.page-live__final-cta-section .page-live__section-title {
    color: #FFD700;
}

.page-live__final-cta-section .page-live__section-description {
    color: #f0f0f0;
}

.page-live__final-cta-section .page-live__section-title::after {
    background-color: #FFD700;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-live__hero-title {
        font-size: 2.2em;
    }
    .page-live__hero-description {
        font-size: 1.1em;
    }
    .page-live__section-title {
        font-size: 2em;
    }
    .page-live__game-image {
        height: 200px; /* Adjust height for smaller screens */
    }
}

@media (max-width: 768px) {
    .page-live__hero-content {
        margin-top: -50px; /* Adjust overlap */
        padding: 20px;
    }
    .page-live__hero-title {
        font-size: 1.8em;
    }
    .page-live__hero-description {
        font-size: 1em;
    }
    .page-live__section-title {
        font-size: 1.8em;
    }
    .page-live__section-description {
        font-size: 0.95em;
    }
    .page-live__btn {
        width: 100%; /* Full width buttons on mobile */
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-live__btn--large {
        padding: 15px 25px;
        font-size: 1.1em;
    }
    .page-live__game-grid {
        grid-template-columns: 1fr; /* Single column layout */
    }
    .page-live__features-grid {
        grid-template-columns: 1fr;
    }
    .page-live__game-image {
        max-width: 100%; /* Ensure images don't overflow */
        height: auto;
    }
    /* Ensure all content area images are responsive and don't overflow */
    .page-live img {
        max-width: 100%;
        height: auto;
    }
    /* Ensure content area does not cause horizontal scroll */
    .page-live {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-live__hero-title {
        font-size: 1.5em;
    }
    .page-live__hero-content {
        padding: 15px;
    }
    .page-live__section-title {
        font-size: 1.5em;
    }
    .page-live__content-area {
        padding: 40px 15px;
    }
}