.page-casino {
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-casino__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Ensure hero section has a minimum height */
}

.page-casino__hero-container {
    position: relative;
    width: 100%;
    max-width: 100%; /* Prevent overflow */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-casino__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    filter: brightness(0.6);
}

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

.page-casino__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-casino__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #F0F0F0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

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

.page-casino__btn {
    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;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-casino__btn--primary {
    background-color: #FCBC45; /* Login color for primary action */
    color: #000000;
}

.page-casino__btn--primary:hover {
    background-color: #e6a73c;
    transform: translateY(-2px);
}

.page-casino__btn--secondary {
    background-color: #FFFFFF; /* Register color for secondary action */
    color: #000000;
    border: 2px solid #FCBC45;
}

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

.page-casino__btn--link {
    background: none;
    color: #FCBC45;
    padding: 0;
    font-size: 1em;
    border: none;
    text-decoration: underline;
}

.page-casino__btn--link:hover {
    color: #e6a73c;
}

.page-casino__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-casino__container {
    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__section-text {
    font-size: 1.1em;
    color: #333333;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 20px auto;
}

.page-casino__about-section, .page-casino__promo-section, .page-casino__why-choose-section, .page-casino__faq-section {
    padding: 60px 0;
    background-color: #F8F8F8;
}

.page-casino__games-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

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

.page-casino__game-card:hover {
    transform: translateY(-10px);
}

.page-casino__game-card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-casino__game-card-title {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-casino__game-card-title a {
    color: #000000;
    text-decoration: none;
}

.page-casino__game-card-title a:hover {
    color: #FCBC45;
}

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

.page-casino__promo-card {
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 40px auto;
    max-width: 900px;
    text-align: left;
}

.page-casino__promo-image {
    width: 100%;
    height: 300px; /* Fixed height */
    object-fit: cover;
    display: block;
}

.page-casino__promo-content {
    padding: 30px;
}

.page-casino__promo-title {
    font-size: 2em;
    color: #000000;
    margin-bottom: 15px;
}

.page-casino__promo-title a {
    color: #000000;
    text-decoration: none;
}

.page-casino__promo-title a:hover {
    color: #FCBC45;
}

.page-casino__promo-description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 25px;
}

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

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

.page-casino__feature-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
}

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

.page-casino__download-cta {
    background-color: #000000; /* Main color for dark background */
    color: #FFFFFF;
    padding: 80px 20px;
    text-align: center;
}

.page-casino__download-content {
    max-width: 800px;
}

.page-casino__download-cta .page-casino__section-title {
    color: #FFFFFF;
}

.page-casino__download-cta .page-casino__section-text {
    color: #F0F0F0;
    margin-bottom: 40px;
}

.page-casino__download-small-text {
    font-size: 0.9em;
    margin-top: 20px;
    color: #CCCCCC;
}

.page-casino__faq-items {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino__faq-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-casino__faq-question {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-casino__faq-answer {
    font-size: 1em;
    color: #555555;
    display: none; /* Hidden by default, toggled by JS */
    margin-top: 15px;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .page-casino__hero-title {
        font-size: 3em;
    }
    .page-casino__hero-description {
        font-size: 1.2em;
    }
    .page-casino__section-title {
        font-size: 2em;
    }
    .page-casino__game-card-title {
        font-size: 1.4em;
    }
    .page-casino__promo-title {
        font-size: 1.8em;
    }
    .page-casino__promo-card {
        flex-direction: column;
    }
    .page-casino__promo-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .page-casino__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px); /* Ensure mobile also respects header offset */
    }
    .page-casino__hero-title {
        font-size: 2.2em;
    }
    .page-casino__hero-description {
        font-size: 1em;
    }
    .page-casino__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-casino__btn {
        width: 80%;
        margin: 0 auto;
    }
    .page-casino__section-title {
        font-size: 1.8em;
    }
    .page-casino__section-text {
        font-size: 0.95em;
    }
    .page-casino__game-categories, .page-casino__features {
        grid-template-columns: 1fr;
    }
    .page-casino__game-card-image, .page-casino__promo-image {
        height: 200px; /* Adjust height for smaller screens, still >= 200px */
    }
    .page-casino__promo-image {
        height: 250px; /* Adjusted height for smaller screens, still >= 200px */
    }
    .page-casino__promo-content {
        padding: 20px;
    }
    .page-casino__faq-question {
        font-size: 1.2em;
    }
    .page-casino img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-casino__hero-title {
        font-size: 1.8em;
    }
    .page-casino__hero-description {
        font-size: 0.9em;
    }
    .page-casino__btn {
        width: 90%;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-casino__section-title {
        font-size: 1.5em;
    }
    .page-casino__game-card-title {
        font-size: 1.2em;
    }
    .page-casino__promo-title {
        font-size: 1.5em;
    }
    .page-casino__feature-title {
        font-size: 1.4em;
    }
    .page-casino__faq-question {
        font-size: 1.1em;
    }
}

/* Ensure all images within .page-casino are not smaller than 200px for content sections */
.page-casino img:not(.page-casino__hero-image) {
    min-width: 200px;
    min-height: 200px;
}

/* Specific override for image card and promo image to meet 200x200 min size in content */
.page-casino__game-card-image {
    width: 100%; /* Ensure it fills card width */
    height: 250px; /* Keep fixed height as it's > 200px */
}

.page-casino__promo-image {
    width: 100%; /* Ensure it fills promo card width */
    height: 300px; /* Keep fixed height as it's > 200px */
}

/* Mobile specific image adjustments (must be inside media query) */
@media (max-width: 768px) {
    .page-casino__hero-image, .page-casino__game-card-image, .page-casino__promo-image, .page-casino img {
        max-width: 100%;
        height: auto;
        /* min-width and min-height are unset to allow max-width: 100% to scale down, but fixed heights are kept for specific elements if they remain >=200px */
        min-width: unset;
        min-height: unset;
    }
    .page-casino__game-card-image {
        height: 200px; /* Adjusted fixed height for smaller screens, still >= 200px */
    }
    .page-casino__promo-image {
        height: 250px; /* Adjusted fixed height for smaller screens, still >= 200px */
    }
}