.page-casino {
    background-color: #140C0C; /* Background */
    color: #FFF1E8; /* Text Main */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.page-casino__hero-section {
    position: relative;
    padding-bottom: 10px; /* Small top padding as per rule 5 */
}

.page-casino__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
}

.page-casino__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    min-height: 200px; /* Ensure images are not too small */
}

.page-casino__hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.page-casino__hero-title {
    font-size: clamp(2rem, 5vw, 3rem); /* H1 font size clamp */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFF1E8; /* Text Main */
}

.page-casino__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-casino__btn {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-width: 150px;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.page-casino__btn--primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
    color: #140C0C; /* Dark text for contrast */
}

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

.page-casino__btn--secondary {
    background-color: transparent;
    border: 2px solid #6A1E1E; /* Border color */
    color: #FFF1E8; /* Text Main */
}

.page-casino__btn--secondary:hover {
    background-color: #7E0D0D; /* Deep Red */
    transform: translateY(-2px);
}

/* General Section Styling */
.page-casino__games-overview,
.page-casino__advantages,
.page-casino__cta-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #2A1212; /* Card BG */
    border-radius: 10px;
    border: 1px solid #6A1E1E; /* Border color */
}

.page-casino__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #FFF1E8; /* Text Main */
}

.page-casino__section-title--gradient {
    background: linear-gradient(to right, #F3C54D, #FFB04A); /* Gold to Button top color for gradient effect */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback for non-webkit browsers */
}

.page-casino__section-description {
    font-size: 1rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: #FFF1E8; /* Text Main */
}

/* Game Categories Grid */
.page-casino__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-casino__game-card {
    background-color: #140C0C; /* Background */
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #FFF1E8; /* Text Main */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #6A1E1E; /* Border color */
}

.page-casino__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.page-casino__game-card-image {
    width: 100%;
    height: 250px; /* Adjusted to ensure it's >200px in height, given width can be variable */
    object-fit: cover;
    object-position: center;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
    display: block;
}

.page-casino__game-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 15px 10px;
    text-align: center;
    color: #F3C54D; /* Gold */
}

/* Advantages Grid */
.page-casino__advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-casino__advantage-item {
    background-color: #140C0C; /* Background */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    border: 1px solid #6A1E1E; /* Border color */
}

.page-casino__advantage-icon {
    width: 200px; /* Adjusted to meet min-size display rule */
    height: 200px; /* Adjusted to meet min-size display rule */
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-casino__advantage-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFB04A; /* From Button gradient */
}

.page-casino__advantage-description {
    font-size: 0.95rem;
    color: #FFF1E8; /* Text Main */
}

/* CTA Section */
.page-casino__cta-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #2A1212; /* Card BG */
    border-radius: 10px;
    border: 1px solid #6A1E1E; /* Border color */
    margin-bottom: 40px;
}

.page-casino__cta-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFF1E8; /* Text Main */
}

.page-casino__cta-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #FFF1E8; /* Text Main */
}

.page-casino__cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-casino__hero-section {
        flex-direction: column; /* Ensure image is above text on mobile */
    }

    .page-casino__hero-image-wrapper {
        order: 1; /* Image first */
    }

    .page-casino__hero-content {
        order: 2; /* Content second */
        padding: 20px 15px;
    }

    .page-casino__hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .page-casino__section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    .page-casino__games-overview,
    .page-casino__advantages,
    .page-casino__cta-section {
        margin-left: 15px;
        margin-right: 15px;
        padding: 15px;
    }

    .page-casino__game-categories,
    .page-casino__advantage-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .page-casino__btn {
        width: 100%;
        max-width: 250px; /* Constrain button width on mobile */
    }

    .page-casino__hero-actions,
    .page-casino__cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 549px) {
    .page-casino__hero-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }

    .page-casino__section-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }

    .page-casino__game-categories,
    .page-casino__advantage-grid {
        grid-template-columns: 1fr; /* Single column layout for very small screens */
    }

    .page-casino__game-card-image,
    .page-casino__advantage-icon {
        max-width: 100%; /* Ensure images don't overflow */
        height: auto;
    }

    /* Content area images must not be smaller than 200px display size */
    .page-casino__games-overview img,
    .page-casino__advantages img,
    .page-casino__cta-section img {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
}

/* Ensure all images within .page-casino are responsive and meet min-size requirements */
.page-casino img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Default for most images */
    min-width: 200px; /* Global minimum display size for content images */
    min-height: 200px; /* Global minimum display size for content images */
}