.page-casino-live {
    padding-top: 10px; /* Small top padding for the first section */
    background-color: #140C0C; /* Overall background */
    color: #FFF1E8; /* Main text color */
}

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

/* Hero Section */
.page-casino-live__hero-section {
    padding-bottom: 40px;
    text-align: center;
}

.page-casino-live__hero-image-wrapper {
    width: 100%;
    margin: 0;
    overflow: hidden;
}

.page-casino-live__hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9; /* Use 16:9 for content image */
    object-fit: cover;
    object-position: center;
    min-width: 600px; /* Example min width for hero on larger screens */
    min-height: 337px; /* Corresponding min-height for 16:9 */
    display: block;
    filter: none; /* No CSS filter */
}

.page-casino-live__hero-content {
    padding: 20px 0;
}

.page-casino-live__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFF1E8;
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    /* No fixed font-size for desktop, rely on shared or browser default */
}

.page-casino-live__hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

/* General Buttons */
.page-casino-live__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    font-size: 1rem;
}

.page-casino-live__button--primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #140C0C;
    border: none;
}

.page-casino-live__button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 176, 74, 0.4);
}

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

.page-casino-live__button--secondary:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 176, 74, 0.1);
}

.page-casino-live__button--gold {
    background: linear-gradient(180deg, #F3C54D 0%, #D86A14 100%);
    color: #140C0C;
    border: none;
}

.page-casino-live__button--gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(243, 197, 77, 0.4);
}

.page-casino-live__button--small {
    padding: 8px 18px;
    font-size: 0.9rem;
}

/* Section Titles */
.page-casino-live__section-title {
    font-weight: bold;
    color: #FFF1E8;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-top: 20px;
}

.page-casino-live__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #F3C54D;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Why Choose Section */
.page-casino-live__why-choose-section {
    padding: 60px 0;
    background-color: #2A1212; /* Card BG color */
}

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

.page-casino-live__feature-card {
    background-color: #140C0C; /* Background color for inner card */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 1px solid #6A1E1E; /* Border color */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

.page-casino-live__feature-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px; /* Enforce minimum display size on larger screens if container allows */
    min-height: 150px; /* Corresponding min-height for 4:3 aspect ratio */
    display: block;
    filter: none; /* No CSS filter */
}

.page-casino-live__feature-title {
    color: #FFB04A; /* Gold-like color for emphasis */
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.page-casino-live__feature-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #FFF1E8;
}

.page-casino-live__cta-wrapper {
    text-align: center;
    margin-top: 30px;
}

/* Game Types Section */
.page-casino-live__game-types-section {
    padding: 60px 0;
}

.page-casino-live__game-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.page-casino-live__game-item {
    background-color: #2A1212;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #6A1E1E;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-casino-live__game-name {
    color: #FFB04A;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.page-casino-live__game-description {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #FFF1E8;
}

/* How To Play Section */
.page-casino-live__how-to-play-section {
    padding: 60px 0;
    background-color: #2A1212;
}

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

.page-casino-live__step-card {
    background-color: #140C0C;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 1px solid #6A1E1E;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-casino-live__step-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #F3C54D;
    margin-bottom: 15px;
    line-height: 1;
}

.page-casino-live__step-title {
    color: #FFB04A;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.page-casino-live__step-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #FFF1E8;
}

/* FAQ Section */
.page-casino-live__faq-section {
    padding: 60px 0;
}

.page-casino-live__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-casino-live__faq-item {
    background-color: #2A1212;
    border: 1px solid #6A1E1E;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-casino-live__faq-question {
    display: block;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    color: #FFB04A;
    font-size: 1.1rem;
    position: relative;
    user-select: none;
}

.page-casino-live__faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: #F3C54D;
    font-size: 1.5rem;
    line-height: 1;
}

.page-casino-live__faq-item[open] .page-casino-live__faq-question::after {
    content: '-';
    transform: translateY(-50%) rotate(0deg);
}

.page-casino-live__faq-answer {
    padding: 0 25px 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #FFF1E8;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.page-casino-live__faq-item[open] .page-casino-live__faq-answer {
    max-height: 200px; /* Adjust as needed for content */
    transition: max-height 0.5s ease-in;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-casino-live__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-casino-live__button {
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-casino-live__main-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem); /* Apply clamp for h1 on mobile */
    }

    .page-casino-live__section-title {
        font-size: clamp(1.5rem, 4.5vw, 2rem);
    }

    .page-casino-live__feature-card,
    .page-casino-live__game-item,
    .page-casino-live__step-card {
        padding: 20px;
    }

    /* For mobile, ensure all images scale down but don't cause overflow */
    .page-casino-live img {
        max-width: 100%;
        height: auto;
        /* Allow images to shrink below 200px if the viewport is smaller, */
        /* as max-width: 100% is a higher priority for preventing overflow. */
        /* The min-size rule primarily targets *intrinsic* image size and */
        /* desktop layout to avoid using small icons. */
        min-width: unset; /* Remove min-width constraint for responsive scaling */
        min-height: unset; /* Remove min-height constraint for responsive scaling */
        display: block;
        filter: none;
    }

    /* Re-apply aspect ratios for consistent scaling */
    .page-casino-live__hero-image {
        aspect-ratio: 16/9;
    }
    .page-casino-live__feature-image,
    .page-casino-live__game-item img,
    .page-casino-live__step-card img {
        aspect-ratio: 4/3;
    }
}

@media (max-width: 549px) {
    .page-casino-live__main-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    .page-casino-live__section-title {
        font-size: clamp(1.3rem, 5.5vw, 1.8rem);
    }
    .page-casino-live__hero-description {
        font-size: 0.9rem;
    }
    .page-casino-live__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-casino-live__faq-question::after {
        right: 20px;
    }
    .page-casino-live__faq-answer {
        padding: 0 20px 15px;
    }
}

/* Ensure images within .page-casino-live respect min-size on desktop, but scale on mobile */
/* The min-width/height here is for the *rendered* size on larger screens, 
   preventing content images from being too small when their container is wide. */
.page-casino-live img:not(.page-casino-live__hero-image) {
    /* This general rule applies to all non-hero images in the content area */
    /* It ensures they are not used as small decorative icons */
    min-width: 200px; 
    min- /* Assuming a general 4:3 aspect ratio for content images */
}

/* Override for mobile to allow proper scaling */
@media (max-width: 768px) {
    .page-casino-live img:not(.page-casino-live__hero-image) {
        min-width: unset;
        min-height: unset;
    }
}