/* style/casino.css */
.page-casino {
    background-color: #F4F7FB; /* Custom color from prompt */
    color: #1F2D3D; /* Custom color from prompt */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-casino__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-casino__hero-section {
    position: relative;
    overflow: hidden;
    background-color: #2F6BFF;
    padding-bottom: 40px; /* Space below content */
    display: flex;
    flex-direction: column; /* Enforce image above text */
    align-items: center;
    text-align: center;
}

.page-casino__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height of the image wrapper */
    overflow: hidden;
    margin-bottom: 20px; /* Space between image and text */
}

.page-casino__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-casino__hero-content {
    max-width: 800px;
    padding: 0 20px;
    color: #FFFFFF; /* White text on blue background */
    z-index: 1; /* Ensure content is above any potential background elements */
}

.page-casino__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: #FFFFFF;
    /* No fixed font-size, rely on responsive scaling */
}

.page-casino__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #E0E0E0;
}

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

.page-casino__btn {
    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;
    cursor: pointer;
    font-size: 1em;
    text-align: center;
    border: none; /* Remove default button border */
}

.page-casino__btn--primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
}

.page-casino__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-casino__btn--secondary {
    background-color: transparent;
    color: #6FA3FF;
    border: 2px solid #6FA3FF;
}

.page-casino__btn--secondary:hover {
    background-color: #6FA3FF;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* General Section Styling */
.page-casino__section-title {
    font-size: 2.2em;
    font-weight: bold;
    color: #1F2D3D;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 20px;
}

.page-casino__section-description {
    font-size: 1.1em;
    color: #1F2D3D;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

/* Games Section */
.page-casino__games-section {
    padding: 60px 0;
    background-color: #FFFFFF; /* Card BG */
}

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

.page-casino__game-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #D6E2FF;
}

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

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

.page-casino__game-title {
    font-size: 1.4em;
    font-weight: bold;
    margin: 20px 15px 10px 15px;
    color: #000000; /* Custom color for title */
}

.page-casino__game-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-casino__game-title a:hover {
    color: #2F6BFF;
}

.page-casino__game-text {
    font-size: 0.95em;
    color: #1F2D3D;
    padding: 0 15px 20px 15px;
}

.page-casino__button-wrapper {
    text-align: center;
    margin-top: 20px;
}

/* Why Choose Us Section */
.page-casino__why-choose-us {
    padding: 60px 0;
    background-color: #F4F7FB;
}

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

.page-casino__feature-item {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #D6E2FF;
}

.page-casino__feature-title {
    font-size: 1.3em;
    font-weight: bold;
    color: #2F6BFF;
    margin-bottom: 15px;
}

.page-casino__feature-description {
    font-size: 0.95em;
    color: #1F2D3D;
}

/* Responsible Gambling Section */
.page-casino__responsible-gambling {
    padding: 60px 0;
    background-color: #FFFFFF;
    text-align: center;
}

/* CTA Section */
.page-casino__cta-section {
    padding: 80px 0;
    background-color: #2F6BFF;
    color: #FFFFFF;
    text-align: center;
}

.page-casino__cta-section .page-casino__section-title,
.page-casino__cta-section .page-casino__section-description {
    color: #FFFFFF;
}

.page-casino__cta-section .page-casino__section-description {
    margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-casino__hero-section {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .page-casino__main-title {
        font-size: 2em; /* Adjust for mobile, but avoid fixed large size */
        margin-bottom: 10px;
    }

    .page-casino__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-casino__hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

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

    .page-casino__section-title {
        font-size: 1.8em;
        margin-top: 40px;
    }

    .page-casino__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    /* Ensure content area images are responsive */
    .page-casino img {
        max-width: 100%;
        height: auto;
    }

    /* Specific for game cards, ensuring image is not tiny */
    .page-casino__game-image {
        height: 200px; /* Maintain minimum height */
    }
}

@media (max-width: 480px) {
    .page-casino__main-title {
        font-size: 1.7em;
    }

    .page-casino__section-title {
        font-size: 1.5em;
    }
}