/* style/live.css */

/* Base styles for the live casino page content */
.page-live {
    color: #333333; /* Dark text on default light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

/* Section padding */
.page-live__section--padded {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Dark background sections for contrast */
.page-live__section--dark-bg {
    background-color: #0056B3; /* Primary dark blue */
    color: #ffffff; /* Light text for dark background */
}

.page-live__section--dark-bg .page-live__section-title {
    color: #FFD700; /* Gold title on dark background */
}

.page-live__section--gradient-bg {
    background: linear-gradient(135deg, #0056B3, #003366); /* Dark blue gradient */
    color: #ffffff;
}

/* Titles */
.page-live__section-title {
    font-size: 2.8em;
    color: #0056B3; /* Primary dark blue for titles on light background */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-live__section-intro {
    font-size: 1.2em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-live__section-text {
    font-size: 1.1em;
    margin-bottom: 20px;
}

/* Hero Section */
.page-live__hero-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Ensure hero section has a minimum height */
    background-color: #003366; /* Dark background for hero content area */
    color: #ffffff;
}

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

.page-live__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.4; /* Slightly dim the image to make text readable */
    filter: brightness(0.7); /* Darken image for better contrast with text */
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

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

.page-live__hero-title {
    font-size: 3.8em;
    color: #FFD700; /* Gold for hero title */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-live__hero-description {
    font-size: 1.5em;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* Buttons */
.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;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.page-live__button--primary {
    background-color: #FFD700; /* Gold button */
    color: #0056B3; /* Dark blue text */
    border: 2px solid #FFD700;
}

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

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

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

.page-live__button--card {
    padding: 10px 20px;
    font-size: 1em;
    margin-top: 15px;
}

.page-live__button--detail {
    background-color: #0056B3;
    color: #ffffff;
    border: 2px solid #0056B3;
    padding: 10px 20px;
    font-size: 1em;
    margin-top: 15px;
}

.page-live__button--detail:hover {
    background-color: #003366;
    border-color: #003366;
}

.page-live__button--center {
    display: block;
    margin: 40px auto 0 auto;
    max-width: 300px;
}

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

.page-live__game-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 500px; /* Ensure cards are tall enough */
}

.page-live__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.page-live__game-card img {
    width: 100%;
    max-width: 400px; /* Ensure content images are at least 200px */
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 2px solid #FFD700; /* Gold border for images */
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-live__game-card .page-live__card-title {
    font-size: 1.8em;
    color: #0056B3;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-live__game-card .page-live__card-title a {
    color: #0056B3;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-live__game-card .page-live__card-description {
    font-size: 1em;
    color: #555555;
    flex-grow: 1; /* Allow description to take available space */
}

/* Flex Container for text and image */
.page-live__flex-container {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
}

.page-live__flex-container--reverse {
    flex-direction: row-reverse;
}

.page-live__text-content {
    flex: 1;
}

.page-live__image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-live__image-content img {
    width: 100%;
    max-width: 600px; /* Ensure content images are at least 200px */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 3px solid #FFD700; /* Gold border for images */
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

/* Promo Cards */
.page-live__promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-live__promo-card {
    background-color: #f8f8f8;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-live__promo-card h3 {
    font-size: 1.6em;
    color: #0056B3;
    margin-bottom: 15px;
}

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

/* Steps List */
.page-live__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-live__steps-list li {
    background-color: rgba(255, 255, 255, 0.1); /* Light background for list items on dark section */
    border-left: 5px solid #FFD700; /* Gold accent */
    margin-bottom: 20px;
    padding: 20px 25px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #ffffff;
}

.page-live__steps-list li strong {
    color: #FFD700;
}

/* Detailed Game List */
.page-live__detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-live__detail-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-live__detail-title {
    font-size: 1.8em;
    color: #0056B3;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-live__detail-title a {
    color: #0056B3;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

/* Advantages List */
.page-live__advantages-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-live__advantages-list li {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 4px solid #FFD700;
    padding: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.page-live__advantages-list li:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-live__advantages-list li strong {
    color: #FFD700;
    display: block;
    margin-bottom: 5px;
    font-size: 1.2em;
}

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

.page-live__faq-question {
    font-size: 1.4em;
    color: #0056B3;
    margin-bottom: 10px;
    font-weight: bold;
}

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

/* CTA Banner Section */
.page-live__cta-banner {
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-live__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3; /* Dim the image */
    filter: brightness(0.6); /* Darken image for better contrast */
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

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

.page-live__cta-title {
    font-size: 3em;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-live__cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-live__cta-buttons {
    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.3em;
    }
    .page-live__section-title {
        font-size: 2.2em;
    }
    .page-live__cta-title {
        font-size: 2.5em;
    }
    .page-live__flex-container {
        flex-direction: column;
        text-align: center;
    }
    .page-live__flex-container--reverse {
        flex-direction: column; /* Reset to column for mobile */
    }
    .page-live__image-content {
        margin-top: 30px;
    }
    .page-live__image-content img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .page-live__hero-section {
        padding: 60px 15px;
        min-height: 500px;
    }
    .page-live__hero-title {
        font-size: 2.5em;
    }
    .page-live__hero-description {
        font-size: 1.1em;
    }
    .page-live__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-live__button {
        width: 100%;
        max-width: 280px;
    }
    .page-live__section--padded {
        padding: 40px 15px;
    }
    .page-live__section-title {
        font-size: 1.8em;
    }
    .page-live__section-intro, .page-live__section-text {
        font-size: 1em;
    }
    .page-live__game-grid, .page-live__promo-cards, .page-live__detail-list, .page-live__advantages-list {
        grid-template-columns: 1fr;
    }
    .page-live__game-card, .page-live__promo-card, .page-live__detail-item {
        padding: 20px;
    }
    .page-live__game-card img {
        max-width: 100%;
        height: auto; /* Allow height to adjust */
        min-height: 200px; /* Ensure minimum size */
    }
    .page-live__cta-title {
        font-size: 2em;
    }
    .page-live__cta-description {
        font-size: 1.1em;
    }
    .page-live__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    /* Ensure content images are responsive and don't overflow */
    .page-live img {
        max-width: 100%;
        height: auto;
        display: block; /* To remove extra space below image */
        min-width: 200px; /* Enforce min width */
        min-height: 200px; /* Enforce min height */
    }
}

/* Ensure all images under .page-live are at least 200px wide/high */
.page-live img {
    min-width: 200px;
    min-height: 200px;
}