.page-casino-games {
    background-color: #000000; /* Main background color */
    color: #f5f5f5; /* High contrast text */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scrolling on mobile */
}

.page-casino-games__hero-section {
    display: flex;
    flex-direction: column; /* Enforce image above text */
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
    background-color: #0d0d0d;
}

.page-casino-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure it spans full width */
    position: relative;
    overflow: hidden;
}

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

.page-casino-games__hero-content {
    padding: 20px 20px 0;
    max-width: 900px;
    width: 100%; /* Flex item needs width */
    box-sizing: border-box;
}

.page-casino-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FCBC45; /* Gold accent */
}

.page-casino-games__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #e5e5e5;
}

.page-casino-games__hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-casino-games__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 120px; /* Ensure buttons are not too small */
    text-align: center;
    font-size: 1rem;
}

.page-casino-games__button--primary {
    background-color: #FCBC45; /* Login color */
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-casino-games__button--primary:hover {
    background-color: #e0a53c;
    border-color: #e0a53c;
}

.page-casino-games__button--secondary {
    background-color: transparent;
    color: #FFFFFF; /* Register color */
    border: 2px solid #FFFFFF;
}

.page-casino-games__button--secondary:hover {
    background-color: #FFFFFF;
    color: #000000;
}

.page-casino-games__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-top: 60px;
    margin-bottom: 20px;
    color: #FCBC45;
}

.page-casino-games__section-description {
    font-size: 1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #e5e5e5;
}

/* Game Showcase */
.page-casino-games__games-showcase {
    padding: 40px 20px;
    background-color: #1a1a1a;
}

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

.page-casino-games__category-card {
    background-color: #0d0d0d;
    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;
}

.page-casino-games__category-card:hover {
    transform: translateY(-5px);
}

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

.page-casino-games__category-title {
    font-size: 1.5rem;
    margin: 20px 15px 10px;
    color: #FCBC45;
}
.page-casino-games__category-title a {
    color: #FCBC45;
    text-decoration: none;
}
.page-casino-games__category-title a:hover {
    text-decoration: underline;
}

.page-casino-games__category-text {
    font-size: 0.95rem;
    color: #cccccc;
    padding: 0 15px 20px;
}

.page-casino-games__button--small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

.page-casino-games__game-trial-section {
    max-width: 900px;
    margin: 60px auto 0;
    text-align: center;
    background-color: #0d0d0d;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-casino-games__game-trial-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #FCBC45;
    margin-bottom: 25px;
}

.page-casino-games__game-trial-frame {
    width: 100%;
    height: 450px; /* Fixed height for iframe */
    border: none;
    border-radius: 8px;
    margin-bottom: 30px;
    background-color: #000;
}

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

/* Promotions Section */
.page-casino-games__promotions-section {
    padding: 60px 20px;
    background-color: #000000;
}

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

.page-casino-games__promo-card {
    background-color: #0d0d0d;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 20px;
}

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

.page-casino-games__promo-title {
    font-size: 1.4rem;
    color: #FCBC45;
    margin: 20px 15px 10px;
}

.page-casino-games__promo-text {
    font-size: 0.95rem;
    color: #cccccc;
    padding: 0 15px 20px;
}

.page-casino-games__center-button {
    text-align: center;
    margin-top: 30px;
}

/* Why Choose Us Section */
.page-casino-games__why-choose-us {
    padding: 60px 20px;
    background-color: #1a1a1a;
}

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

.page-casino-games__feature-item {
    text-align: center;
    background-color: #0d0d0d;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-casino-games__feature-icon {
    width: 200px; /* Minimum size requirement */
    height: 200px; /* Minimum size requirement */
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-casino-games__feature-title {
    font-size: 1.3rem;
    color: #FCBC45;
    margin-bottom: 10px;
}

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

/* FAQ Section */
.page-casino-games__faq-section {
    padding: 60px 20px;
    background-color: #000000;
}

.page-casino-games__faq-list {
    max-width: 900px;
    margin: 0 auto 40px;
}

.page-casino-games__faq-item {
    background-color: #0d0d0d;
    margin-bottom: 15px;
    border-radius: 8px;
    padding: 20px 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-casino-games__faq-question {
    font-size: 1.2rem;
    color: #FCBC45;
    margin-bottom: 10px;
    cursor: pointer;
}

.page-casino-games__faq-answer {
    font-size: 1rem;
    color: #e5e5e5;
    display: none; /* Hidden by default, will be toggled by JS */
}
.page-casino-games__faq-question.active + .page-casino-games__faq-answer {
    display: block;
}


/* CTA Section */
.page-casino-games__cta-section {
    padding: 60px 20px;
    background-color: #1a1a1a;
    text-align: center;
}

.page-casino-games__cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: #0d0d0d;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-casino-games__cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #FCBC45;
    margin-bottom: 20px;
}

.page-casino-games__cta-description {
    font-size: 1.1rem;
    color: #e5e5e5;
    margin-bottom: 30px;
}

.page-casino-games__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-casino-games__hero-content {
        padding: 20px;
    }
    .page-casino-games__main-title {
        font-size: clamp(2rem, 7vw, 3rem);
    }
    .page-casino-games__hero-description {
        font-size: 1rem;
    }
    .page-casino-games__hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-casino-games__button {
        width: 80%;
        max-width: 300px;
    }
    .page-casino-games__section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-casino-games__game-categories {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
    .page-casino-games__promotions-grid {
        grid-template-columns: 1fr;
    }
    .page-casino-games__features-grid {
        grid-template-columns: 1fr;
    }
    .page-casino-games__game-trial-frame {
        height: 300px; /* Adjust iframe height for mobile */
    }

    /* Important: Content area images must be constrained for mobile */
    .page-casino-games img {
        max-width: 100%;
        height: auto;
    }
}