.page-live-dealer-games {
    background-color: #0A0A0A;
    color: #FFF6D6;
    font-family: Arial, sans-serif; /* Placeholder, assume a modern font */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.page-live-dealer-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    margin-bottom: 40px;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    text-align: center;
}

.page-live-dealer-games__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for the image container */
    margin-bottom: 20px; /* Space between image and text content */
}

.page-live-dealer-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.page-live-dealer-games__hero-content {
    max-width: 900px;
    padding: 0 20px;
    margin: 0 auto;
}

.page-live-dealer-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    color: #FFD36B; /* Glow color for emphasis */
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: 1px;
}

.page-live-dealer-games__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #FFF6D6;
}

.page-live-dealer-games__hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.page-live-dealer-games__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    color: #111111; /* Dark text for contrast on golden buttons */
}

.page-live-dealer-games__button--primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
}

.page-live-dealer-games__button--primary:hover {
    opacity: 0.9;
    box-shadow: 0 0 15px #FFD36B;
}

.page-live-dealer-games__button--secondary {
    background-color: transparent;
    border: 2px solid #F2C14E;
    color: #F2C14E;
}

.page-live-dealer-games__button--secondary:hover {
    background-color: #F2C14E;
    color: #111111;
    box-shadow: 0 0 10px #F2C14E;
}

.page-live-dealer-games__button--small {
    padding: 8px 18px;
    font-size: 0.9rem;
}

.page-live-dealer-games__introduction-section,
.page-live-dealer-games__game-types-section,
.page-live-dealer-games__features-section,
.page-live-dealer-games__cta-section,
.page-live-dealer-games__faq-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-live-dealer-games__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #F2C14E;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
}

.page-live-dealer-games__section-description {
    font-size: 1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px auto;
    color: #FFF6D6;
}

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

.page-live-dealer-games__game-card {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live-dealer-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 211, 107, 0.2);
}

.page-live-dealer-games__game-card-image {
    width: 100%;
    height: 200px; /* Min height for content images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure no extra space below image */
}

.page-live-dealer-games__game-card-title {
    font-size: 1.5rem;
    color: #F2C14E;
    margin-bottom: 10px;
}

.page-live-dealer-games__game-card-description {
    font-size: 0.95rem;
    color: #FFF6D6;
    margin-bottom: 20px;
    flex-grow: 1; /* Push button to bottom */
}

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

.page-live-dealer-games__feature-item {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.page-live-dealer-games__feature-item:hover {
    box-shadow: 0 0 20px rgba(255, 211, 107, 0.3);
}

.page-live-dealer-games__feature-title {
    font-size: 1.4rem;
    color: #FFD36B;
    margin-bottom: 15px;
}

.page-live-dealer-games__feature-description {
    font-size: 0.95rem;
    color: #FFF6D6;
}

.page-live-dealer-games__cta-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #111111;
    border-top: 1px solid #3A2A12;
    border-bottom: 1px solid #3A2A12;
    margin-top: 40px;
}

.page-live-dealer-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.page-live-dealer-games__faq-list {
    margin-top: 30px;
}

.page-live-dealer-games__faq-item {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 20px 25px;
    transition: border-color 0.3s ease;
}

.page-live-dealer-games__faq-item:hover {
    border-color: #FFD36B;
}

.page-live-dealer-games__faq-question {
    font-size: 1.25rem;
    color: #F2C14E;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px; /* Space for an eventual icon */
}

.page-live-dealer-games__faq-answer {
    font-size: 1rem;
    color: #FFF6D6;
    line-height: 1.7;
    /* Initially hidden, can be toggled with JS */
    display: block; /* For now, show all answers */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-live-dealer-games__hero-section {
        padding-top: 10px;
        margin-bottom: 30px;
    }

    .page-live-dealer-games__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .page-live-dealer-games__hero-description {
        font-size: 1rem;
    }

    .page-live-dealer-games__hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-live-dealer-games__button {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }

    .page-live-dealer-games__section-title {
        font-size: clamp(1.6rem, 5vw, 2.5rem);
    }

    .page-live-dealer-games__introduction-section,
    .page-live-dealer-games__game-types-section,
    .page-live-dealer-games__features-section,
    .page-live-dealer-games__cta-section,
    .page-live-dealer-games__faq-section {
        padding: 30px 15px;
    }

    .page-live-dealer-games__game-cards-grid,
    .page-live-dealer-games__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-live-dealer-games__game-card-image {
        max-width: 100%;
        height: auto;
        min-height: 150px; /* Still a substantial size for mobile cards */
    }

    .page-live-dealer-games__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    /* Ensure content area images do not overflow */
    .page-live-dealer-games__hero-image,
    .page-live-dealer-games__game-card-image {
        max-width: 100%;
        height: auto;
    }
}

/* Content area images CSS dimensions check - for desktop/larger screens */
.page-live-dealer-games img {
    /* This ensures no image is designed or forced to display smaller than 200px in CSS on larger screens */
    min-width: 200px;
    min-height: 200px;
}

/* Override min-width/height for mobile to prioritize max-width: 100% and prevent horizontal scrolling */
@media (max-width: 768px) {
    .page-live-dealer-games img {
        min-width: unset; /* Allow natural scaling down to prevent overflow */
        min-height: unset; /* Allow natural scaling down to prevent overflow */
    }
    .page-live-dealer-games__game-card-image {
        min-height: 150px; /* Re-apply a sensible minimum for cards, if they naturally scale too small */
    }
}