.page-casino {
    font-family: Arial, sans-serif;
    color: var(--text-main-color); /* #1F2D3D */
    background-color: var(--background-color); /* #F4F7FB */
    line-height: 1.6;
    padding-bottom: 40px; /* Add some padding at the bottom */
}

.page-casino__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--primary-color); /* Fallback/background for hero */
    color: #FFFFFF;
    text-align: center;
    padding-bottom: 40px; /* Padding below hero image */
}

.page-casino__hero-image {
    width: 100%;
    height: auto;
    max-width: 1920px;
    display: block;
    margin: 0 auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px; /* Space between image and content */
}

.page-casino__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-casino__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-casino__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-casino__cta-button {
    display: inline-block;
    background: var(--button-gradient); /* linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%) */
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-casino__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-casino__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    font-weight: 700;
    text-align: center;
    margin: 60px 0 40px;
    color: var(--text-main-color); /* #1F2D3D */
}

.page-casino__games-section,
.page-casino__features-section,
.page-casino__guide-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 60px;
}

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

.page-casino__game-card {
    background-color: var(--card-bg-color); /* #FFFFFF */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: 20px;
}

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

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

.page-casino__game-title {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--custom-color-1776249996415); /* #000000 */
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-casino__game-description {
    font-size: 0.95em;
    color: var(--text-main-color); /* #1F2D3D */
    margin-bottom: 20px;
    padding: 0 15px;
}

.page-casino__game-link {
    display: inline-block;
    color: var(--primary-color); /* #2F6BFF */
    text-decoration: none;
    font-weight: bold;
    border: 2px solid var(--primary-color); /* #2F6BFF */
    padding: 10px 20px;
    border-radius: 50px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-casino__game-link:hover {
    background-color: var(--primary-color); /* #2F6BFF */
    color: #FFFFFF;
}

.page-casino__view-all-button {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
    background: var(--button-gradient); /* linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%) */
    color: #FFFFFF;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-casino__view-all-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

.page-casino__feature-item {
    background-color: var(--card-bg-color); /* #FFFFFF */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
}

.page-casino__feature-title {
    font-size: 1.4em;
    font-weight: 600;
    color: var(--custom-color-1776249996415); /* #000000 */
    margin-bottom: 15px;
}

.page-casino__feature-description {
    font-size: 0.95em;
    color: var(--text-main-color); /* #1F2D3D */
}

.page-casino__promotions-button {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
    background: var(--button-gradient); /* linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%) */
    color: #FFFFFF;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-casino__promotions-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

.page-casino__step-item {
    background-color: var(--card-bg-color); /* #FFFFFF */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
}

.page-casino__step-title {
    font-size: 1.4em;
    font-weight: 600;
    color: var(--custom-color-1776249996415); /* #000000 */
    margin-bottom: 15px;
}

.page-casino__step-description {
    font-size: 0.95em;
    color: var(--text-main-color); /* #1F2D3D */
    margin-bottom: 20px;
}

.page-casino__step-link {
    display: inline-block;
    color: var(--primary-color); /* #2F6BFF */
    text-decoration: none;
    font-weight: bold;
    border: 2px solid var(--primary-color); /* #2F6BFF */
    padding: 10px 20px;
    border-radius: 50px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-casino__step-link:hover {
    background-color: var(--primary-color); /* #2F6BFF */
    color: #FFFFFF;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-casino__hero-image {
        border-radius: 0; /* Remove border-radius on small screens for full width look */
    }
    .page-casino__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-casino__description {
        font-size: 1em;
    }
    .page-casino__section-title {
        font-size: clamp(1.5em, 6vw, 2em);
        margin: 40px 0 25px;
    }
    .page-casino__games-grid,
    .page-casino__features-list,
    .page-casino__guide-steps {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }
    .page-casino__game-image {
        height: 180px; /* Adjust height for smaller screens */
    }
    /* Mobile content area image overflow prevention */
    .page-casino img {
        max-width: 100%;
        height: auto;
    }
}

/* Color variables from prompt */
:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg-color: #FFFFFF;
    --background-color: #F4F7FB;
    --text-main-color: #1F2D3D;
    --custom-color-1776249996415: #000000;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
}

/* Ensure minimum image display size for content area */
.page-casino img:not(.page-casino__hero-image) { /* Exclude hero image for this specific rule if it's too large to be constrained */
    min-width: 200px;
    min-height: 200px;
}

/* Specific rule for game images to ensure they meet the 200x200px minimum display size when the card is smaller */
.page-casino__game-image {
    min-width: 200px;
    min-height: 200px;
}