.page-casino {
    font-family: Arial, sans-serif;
    color: #e5e5e5; /* Light text for dark background */
    background-color: #0d0d0d; /* Dark background */
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for non-homepage, as body will handle header offset */
}

.page-casino__hero-section {
    position: relative;
    background-color: #1A2E44; /* Primary color for hero background */
    padding: 20px 0 40px;
    text-align: center;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-casino__hero-image {
    display: block;
    width: 100%;
    max-width: 1200px; /* Max width for the image */
    height: auto;
    margin: 0 auto 20px; /* Center image, add space below */
    border-radius: 8px;
    object-fit: cover;
}

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

.page-casino__main-title {
    color: #FFD700; /* Accent color for title */
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Using clamp for responsive H1 */
}

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

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

.page-casino__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.page-casino__btn--primary {
    background-color: #FFD700; /* Accent color */
    color: #1A2E44; /* Primary color */
    border: 2px solid #FFD700;
}

.page-casino__btn--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

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

.page-casino__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A2E44;
}

.page-casino__section-title {
    color: #FFD700;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 20px;
    padding: 0 20px;
}

.page-casino__section-description {
    font-size: 1.05rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 20px;
    color: #cccccc;
}

.page-casino__games-overview {
    padding: 40px 20px;
    background-color: #111111;
}

.page-casino__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-casino__game-card {
    background-color: #1A2E44;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino__game-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    border-bottom: 2px solid #FFD700;
}

.page-casino__game-card-title {
    color: #FFD700;
    font-size: 1.8rem;
    margin: 20px 0 10px;
    padding: 0 15px;
}

.page-casino__game-card-text {
    font-size: 0.95rem;
    color: #cccccc;
    margin-bottom: 20px;
    padding: 0 15px;
}

.page-casino__btn--small {
    padding: 8px 18px;
    font-size: 0.9rem;
    border: 2px solid #FFD700;
    color: #FFD700;
    background-color: transparent;
}

.page-casino__btn--small:hover {
    background-color: #FFD700;
    color: #1A2E44;
}

.page-casino__why-choose-us {
    padding: 60px 20px;
    background-color: #0d0d0d;
}

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

.page-casino__feature-item {
    background-color: #1A2E44;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-casino__feature-icon {
    max-width: 200px; /* Ensure display size is at least 200px */
    height: auto;
    object-fit: contain;
    margin: 0 auto 20px; /* Center image, add space below */
    border-radius: 50%;
    background-color: #FFD700; /* Background for the icon area */
    padding: 10px;
    display: block; /* To apply margin: auto */
}

.page-casino__feature-title {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.page-casino__feature-description {
    font-size: 0.95rem;
    color: #cccccc;
}

.page-casino__cta-section {
    background-color: #1A2E44;
    padding: 60px 20px;
    text-align: center;
}

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

.page-casino__btn--large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.page-casino__btn--outline {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-casino__btn--outline:hover {
    background-color: #FFD700;
    color: #1A2E44;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-casino__main-title {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }

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

    .page-casino__hero-actions,
    .page-casino__cta-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-casino__btn,
    .page-casino__btn--large {
        width: 100%;
        max-width: 300px; /* Constrain button width on mobile */
        margin: 0 auto;
    }

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

    /* Mobile content area image constraint */
    .page-casino__hero-image,
    .page-casino__games-overview img,
    .page-casino__why-choose-us img {
        max-width: 100%;
        height: auto;
    }

    .page-casino__feature-icon {
        max-width: 200px; /* Keep at least 200px as per rules */
        height: auto;
    }
}