.page-casino {
    color: #333333; /* Dark text for light body background */
}

.page-casino__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
    background-color: #000000; /* Main color for hero background */
    color: #FFFFFF; /* Light text for dark background */
    text-align: center;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.page-casino__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.page-casino__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: #FFFFFF;
}

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

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

.page-casino__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.page-casino__button--register {
    background-color: #FFFFFF; /* Custom color for register */
    color: #000000; /* Dark text for white button */
    border: 2px solid #FFFFFF;
}

.page-casino__button--register:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.page-casino__button--login {
    background-color: #FCBC45; /* Custom color for login */
    color: #000000; /* Dark text for yellow button */
    border: 2px solid #FCBC45;
}

.page-casino__button--login:hover {
    background-color: #e0a73b;
    transform: translateY(-2px);
}

.page-casino__hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-casino__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    /* filter: brightness(0.6); */ /* Removed filter to comply with rules */
}

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

.page-casino__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-casino__text-content {
    font-size: 1.1em;
    line-height: 1.7;
    color: #333333;
    text-align: center;
    margin-bottom: 30px;
}

.page-casino__link-button {
    display: block;
    width: fit-content;
    margin: 0 auto 30px auto;
    padding: 12px 25px;
    background-color: #FCBC45;
    color: #000000;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-casino__link-button:hover {
    background-color: #e0a73b;
}

.page-casino__about-section,
.page-casino__games-section,
.page-casino__promotions-section,
.page-casino__security-section,
.page-casino__mobile-section,
.page-casino__cta-section {
    padding: 60px 0;
    background-color: #FFFFFF; /* Light background for content sections */
}

.page-casino__games-section {
    background-color: #f8f8f8;
}

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

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

.page-casino__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

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

.page-casino__game-card-title {
    font-size: 1.6em;
    color: #000000;
    margin: 20px 15px 10px 15px;
    font-weight: bold;
}

.page-casino__game-card-description {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px 20px 15px;
    line-height: 1.6;
}

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

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

.page-casino__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

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

.page-casino__promo-card-title {
    font-size: 1.6em;
    color: #000000;
    margin: 20px 15px 10px 15px;
    font-weight: bold;
}

.page-casino__promo-card-description {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px 20px 15px;
    line-height: 1.6;
}

.page-casino__mobile-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.page-casino__mobile-image {
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.page-casino__button--download {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-casino__button--download:hover {
    background-color: #e0a73b;
    transform: translateY(-2px);
}

.page-casino__button--play-browser {
    background-color: transparent;
    color: #000000;
    border: 2px solid #000000;
}

.page-casino__button--play-browser:hover {
    background-color: #000000;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.page-casino__cta-section {
    background-color: #000000; /* Dark background for CTA */
    color: #FFFFFF;
}

.page-casino__cta-content .page-casino__section-title,
.page-casino__cta-content .page-casino__text-content {
    color: #FFFFFF;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .page-casino__hero-title {
        font-size: 2.2em;
    }

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

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

    .page-casino__text-content {
        font-size: 0.95em;
    }

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

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

    .page-casino__game-card-image,
    .page-casino__promo-image {
        height: 180px; /* Adjusted for smaller screens */
    }

    .page-casino__content-wrapper img,
    .page-casino__games-section img,
    .page-casino__promotions-section img,
    .page-casino__mobile-section img {
        max-width: 100%;
        height: auto;
    }
    
    .page-casino__mobile-image {
        max-width: 100%;
    }

    .page-casino__hero-section {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
    }
}

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

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

    .page-casino__hero-buttons .page-casino__button {
        width: 90%;
    }
}