.page-casino {
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
    padding-top: 10px; /* Small top padding, body will handle --header-offset */
    overflow-x: hidden; /* Prevent horizontal scroll on main */
}

.page-casino__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Hero Section */
.page-casino__hero-section {
    display: flex;
    flex-direction: column; /* Default to column for mobile */
    align-items: center;
    padding: 20px 0 40px;
    background-color: #08160F; /* Background */
}

.page-casino__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px; /* Space between image and content */
}

.page-casino__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9; /* Default aspect ratio for hero */
    border-radius: 8px;
}

.page-casino__hero-content {
    text-align: center;
    max-width: 800px;
}

.page-casino__main-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem); 
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #F2C14E; /* Gold */
}

.page-casino__description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #A7D9B8; /* Text Secondary */
}

.page-casino__hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on small screens */
}

.page-casino__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 150px; /* Ensure buttons are not too small */
    text-align: center;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.page-casino__btn--primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    color: #F2FFF6; /* Text Main */
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-casino__btn--primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-casino__btn--secondary {
    background-color: transparent;
    border: 2px solid #2AD16F; /* Button color border */
    color: #2AD16F;
}

.page-casino__btn--secondary:hover {
    background-color: rgba(42, 209, 111, 0.1);
    color: #F2FFF6; /* Text Main */
}

.page-casino__btn--small {
    padding: 8px 15px;
    font-size: 0.9rem;
    min-width: unset; /* Override min-width for small buttons */
}

/* Section Titles */
.page-casino__section-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-casino__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #2AD16F; /* Button highlight color */
    border-radius: 2px;
}

.page-casino__section-title--gold {
    color: #F2C14E; /* Gold */
}

.page-casino__section-title--gold::after {
    background-color: #F2C14E; /* Gold */
}

/* Features Section */
.page-casino__features-section {
    padding: 60px 0;
    background-color: #0A4B2C; /* Deep Green */
}

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

.page-casino__feature-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Border */
}

.page-casino__feature-icon {
    width: 100%; /* Ensure images take full width of card */
    max-width: 250px; /* Max size for feature icon images */
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/3; /* Example aspect ratio */
    margin: 0 auto 20px;
    border-radius: 8px;
    display: block; /* Ensure block for margin auto */
    min-width: 200px;
    min-height: 200px;
}

.page-casino__feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
}

.page-casino__feature-text {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.5;
}

/* Games Overview Section */
.page-casino__games-overview {
    padding: 60px 0;
    background-color: #08160F; /* Background */
}

.page-casino__game-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-casino__game-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid #2E7A4E; /* Border */
    display: flex;
    flex-direction: column;
}

.page-casino__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency in grid */
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-casino__game-card .page-casino__game-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    margin: 20px 20px 10px;
}

.page-casino__game-card .page-casino__game-description {
    font-size: 0.95rem;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.5;
    margin: 0 20px 20px;
    flex-grow: 1; /* Push button to bottom */
}

.page-casino__game-card .page-casino__btn {
    margin: 0 20px 20px;
    align-self: flex-start; /* Align button to start */
}


/* Promotions CTA Section */
.page-casino__promotions-cta {
    padding: 80px 0;
    text-align: center;
    background-image: linear-gradient(rgba(17, 39, 27, 0.8), rgba(17, 39, 27, 0.8)), url('[GALLERY:bg:1920x600:tilekeo88,casino,promotions_bg]'); /* Placeholder background image for effect */
    background-size: cover;
    background-position: center;
    background-color: #0A4B2C; /* Deep Green as fallback */
}

.page-casino__promotions-cta .page-casino__section-title {
    margin-bottom: 20px;
}

.page-casino__promotions-cta .page-casino__description {
    max-width: 700px;
    margin: 0 auto 40px;
}

/* FAQ Section */
.page-casino__faq-section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
}

.page-casino__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-casino__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 20px;
}

.page-casino__faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
}

.page-casino__faq-answer {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.6;
}

/* Responsive adjustments */
@media (min-width: 769px) {
    .page-casino__main-title {
        font-size: clamp(2.5rem, 4.5vw, 3.5rem); /* Larger on desktop */
    }
}

@media (max-width: 768px) {
    .page-casino__hero-image {
        aspect-ratio: 16/10; /* Slightly taller on mobile */
    }
    .page-casino__btn {
        padding: 10px 20px;
        font-size: 0.95rem;
        min-width: 130px;
    }
    .page-casino__hero-actions {
        flex-direction: column;
        gap: 10px;
    }
    .page-casino__hero-actions .page-casino__btn {
        width: 100%;
        max-width: 250px;
    }
    .page-casino__section-title {
        font-size: clamp(1.3rem, 5vw, 2rem);
    }
    .page-casino__features-grid,
    .page-casino__game-cards-grid {
        grid-template-columns: 1fr; /* Single column on small mobile */
    }
    .page-casino__feature-card,
    .page-casino__game-card,
    .page-casino__faq-item {
        padding: 20px;
    }
    .page-casino__feature-title {
        font-size: 1.2rem;
    }
    .page-casino__game-title {
        font-size: 1.15rem;
    }
    .page-casino__game-image {
        height: 180px; /* Slightly smaller fixed height on mobile */
    }
    /* Ensure all content area images are responsive */
    .page-casino img {
        max-width: 100%;
        height: auto;
    }
    /* Remove min-width/height for content images on mobile to allow full responsiveness */
    .page-casino__feature-icon,
    .page-casino__game-image {
        min-width: unset; /* Allow to scale down if container is smaller than 200px */
        min-height: unset;
    }
}

/* Ensure all content area images have a minimum size when not on mobile */
/* This applies to img elements within .page-casino directly, ensuring no small icons are used */
.page-casino img {
    min-width: 200px;
    min-height: 200px;
}

/* Override for images that are explicitly meant to be smaller, if any, or to allow responsiveness */
@media (max-width: 768px) {
    .page-casino img {
        min-width: unset; /* Allow images to scale down on small screens */
        min-height: unset;
    }
}