/* General styles for the casino page */
.page-casino {
    background-color: #F4F7FB;
    color: #1F2D3D;
    font-family: Arial, sans-serif;
}

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

/* Hero Section */
.page-casino__hero-section {
    background-color: #0a0909; /* Dark background as per 3WIN style */
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-casino__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Adjust as needed */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-casino__hero-content {
    position: relative;
    z-index: 1;
    color: #FFFFFF;
    max-width: 900px;
    margin: 30px auto 0 auto;
    padding: 0 20px;
}

.page-casino__hero-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #d6d604; /* Yellow-green accent */
    margin-bottom: 20px;
}

.page-casino__hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #FFFFFF;
}

.page-casino__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background 0.3s ease, transform 0.3s ease;
    min-width: 200px; /* Ensure button itself is not too small */
}

.page-casino__cta-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    transform: translateY(-2px);
}

/* Section Titles */
.page-casino__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 40px;
    color: #1F2D3D;
}

/* Games Section */
.page-casino__games-section {
    padding: 50px 0;
    background-color: #F4F7FB;
}

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

.page-casino__game-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    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 10px 25px rgba(0, 0, 0, 0.15);
}

.page-casino__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-casino__game-title {
    font-size: 1.5em;
    color: #1F2D3D;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-casino__game-description {
    font-size: 0.95em;
    color: #000000;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0 15px;
}

.page-casino__game-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
}

.page-casino__game-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    transform: translateY(-1px);
}

/* Why Choose Section */
.page-casino__why-choose-section {
    background-color: #FFFFFF;
    padding: 50px 0;
    border-top: 1px solid #D6E2FF;
}

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

.page-casino__feature-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background-color: #F4F7FB;
    border: 1px solid #D6E2FF;
}

.page-casino__feature-title {
    font-size: 1.3em;
    color: #2F6BFF; /* Primary blue for feature titles */
    margin-bottom: 10px;
}

.page-casino__feature-description {
    font-size: 0.9em;
    color: #000000;
    line-height: 1.6;
}

/* Promotions Section */
.page-casino__promotions-section {
    padding: 50px 0;
    text-align: center;
    background-color: #F4F7FB;
}

.page-casino__promotions-description {
    font-size: 1.1em;
    color: #000000;
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-casino__promotions-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background 0.3s ease, transform 0.3s ease;
}

.page-casino__promotions-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-casino__hero-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

    .page-casino__hero-description {
        font-size: 1em;
    }

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

    .page-casino__games-grid {
        grid-template-columns: 1fr;
    }

    .page-casino__features-grid {
        grid-template-columns: 1fr;
    }

    .page-casino__game-image {
        height: auto; /* Allow height to adjust */
    }

    .page-casino__hero-image,
    .page-casino__game-image {
        max-width: 100%;
        height: auto;
    }

    /* Ensure content images are not too small on mobile */
    .page-casino img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum width even on mobile */
        min-height: 200px; /* Enforce minimum height even on mobile */
    }
}

@media (max-width: 480px) {
    .page-casino__hero-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }

    .page-casino__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

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