/* style/casino.css */
.page-casino {
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-casino__hero-section {
    background-color: #007bff; /* Main brand color */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-casino__hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

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

.page-casino__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino__hero-actions .page-casino__btn {
    margin: 0 10px;
}

.page-casino__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

.page-casino__section-title {
    font-size: 2.5em;
    color: #007bff;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
}

.page-casino__section-intro {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

.page-casino__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.page-casino__btn--primary {
    background-color: #28a745; /* Auxiliary color */
    color: #ffffff;
    border: 2px solid #28a745;
}

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

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

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

.page-casino__btn--large {
    padding: 15px 35px;
    font-size: 1.1em;
}

.page-casino__btn--small {
    padding: 8px 15px;
    font-size: 0.9em;
}

/* Features Section */
.page-casino__features-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

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

.page-casino__feature-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-casino__feature-icon {
    width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-casino__feature-title {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 15px;
}

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

/* Games Overview Section */
.page-casino__games-overview {
    padding: 60px 0;
}

.page-casino__game-category {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.page-casino__category-title {
    font-size: 2em;
    color: #007bff;
    margin-bottom: 25px;
}

.page-casino__category-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-casino__category-description {
    font-size: 1.05em;
    color: #555555;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino__game-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.page-casino__game-list li {
    background-color: #e9f7ef; /* Light green for list items */
    color: #28a745;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.95em;
}

/* Guide Section */
.page-casino__guide-section {
    padding: 60px 0;
    background-color: #f0f8ff; /* Light blue background */
}

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

.page-casino__guide-step {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
}

.page-casino__guide-icon {
    width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-casino__step-title {
    font-size: 1.4em;
    color: #007bff;
    margin-bottom: 15px;
}

.page-casino__step-description {
    color: #555555;
    font-size: 0.9em;
    margin-bottom: 20px;
}

/* Promotions Section */
.page-casino__promotions-section {
    padding: 60px 0;
}

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

.page-casino__promo-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-casino__promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-casino__promo-title {
    font-size: 1.6em;
    color: #007bff;
    margin-bottom: 15px;
}

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

/* Mobile Section */
.page-casino__mobile-section {
    padding: 60px 0;
    background-color: #e9f7ef; /* Light green background */
}

.page-casino__mobile-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.page-casino__mobile-text {
    flex: 1;
    text-align: left;
}

.page-casino__mobile-image {
    flex: 1;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-casino__mobile-features {
    list-style: disc;
    padding-left: 20px;
    margin-top: 20px;
    margin-bottom: 30px;
    color: #555555;
}

.page-casino__mobile-features li {
    margin-bottom: 10px;
}

/* FAQ Section */
.page-casino__faq-section {
    padding: 60px 0;
}

.page-casino__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-casino__faq-item {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-casino__faq-question {
    font-size: 1.3em;
    color: #007bff;
    margin-bottom: 10px;
    cursor: pointer;
}

.page-casino__faq-answer {
    font-size: 1em;
    color: #555555;
    display: none; /* Hidden by default, toggle with JS */
}

.page-casino__faq-question.active + .page-casino__faq-answer {
    display: block;
}

/* CTA Section */
.page-casino__cta-section {
    background-color: #007bff; /* Main brand color */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    margin-top: 60px;
}

.page-casino__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
}

.page-casino__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-casino__hero-title {
        font-size: 2.8em;
    }
    .page-casino__section-title {
        font-size: 2em;
    }
    .page-casino__features-grid, .page-casino__promo-grid, .page-casino__guide-steps {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-casino__mobile-content {
        flex-direction: column;
        text-align: center;
    }
    .page-casino__mobile-text {
        text-align: center;
    }
    .page-casino__mobile-features {
        text-align: left;
        margin: 0 auto 20px auto;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .page-casino {
        padding-top: var(--header-offset, 80px);
    }
    .page-casino__hero-section {
        padding: 60px 0;
    }
    .page-casino__hero-title {
        font-size: 2.2em;
    }
    .page-casino__hero-description {
        font-size: 1em;
    }
    .page-casino__hero-actions .page-casino__btn {
        display: block;
        margin: 15px auto;
    }
    .page-casino__section-title {
        font-size: 1.8em;
    }
    .page-casino__features-grid, .page-casino__promo-grid, .page-casino__guide-steps {
        grid-template-columns: 1fr;
    }
    .page-casino__category-title {
        font-size: 1.8em;
    }
    .page-casino__game-list li {
        width: 100%;
    }
    .page-casino__cta-title {
        font-size: 2em;
    }
    .page-casino__cta-description {
        font-size: 1em;
    }
    /* Mobile image overflow prevention */
    .page-casino img {
        max-width: 100%;
        height: auto;
    }
    .page-casino__hero-image {
        height: 100%; /* Adjust for mobile hero image */
    }
    .page-casino__feature-icon, .page-casino__guide-icon {
        width: 150px;
        height: auto;
    }
    .page-casino__promo-image {
        height: 200px;
    }
    .page-casino__mobile-image {
        max-width: 100%;
    }
    /* Ensure content images are not smaller than 200px if their natural size is larger */
    .page-casino__feature-icon, .page-casino__guide-icon, .page-casino__promo-image, .page-casino__category-image, .page-casino__mobile-image {
        min-width: 200px;
        min-height: 150px; /* Adjust min-height as appropriate, maintaining aspect ratio */
    }
    .page-casino__feature-icon[width="400"][height="300"], .page-casino__guide-icon[width="400"][height="300"] {
        width: 100%; /* Allow image to scale down */
        height: auto;
        max-width: 400px; /* But don't let it get smaller than its HTML defined width if possible */
    }

}

@media (max-width: 480px) {
    .page-casino__hero-title {
        font-size: 1.8em;
    }
    .page-casino__section-title {
        font-size: 1.6em;
    }
    .page-casino__cta-title {
        font-size: 1.8em;
    }
    .page-casino__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-casino__hero-actions .page-casino__btn {
        margin: 10px auto;
    }
    .page-casino__faq-question {
        font-size: 1.1em;
    }
    .page-casino__faq-answer {
        font-size: 0.9em;
    }
}