.page-casino {
    font-family: 'Arial', sans-serif;
    color: var(--text-main, #333333);
    background-color: var(--body-bg, #F5F7FA);
}

.page-casino__section-padding {
    padding: 60px 20px;
}

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

.page-casino__text-center {
    text-align: center;
}

.page-casino__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #E53935;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.2;
}

.page-casino__section-subtitle {
    font-size: 18px;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
}

.page-casino__light-bg {
    background-color: var(--card-bg, #FFFFFF);
    color: var(--text-main, #333333);
}

.page-casino__dark-bg {
    background-color: #E53935;
    color: #ffffff;
}

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-tertiary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-casino__btn-primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
}

.page-casino__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-casino__btn-secondary {
    background: #ffffff;
    color: #E53935;
    border: 2px solid #E53935;
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.1);
}

.page-casino__btn-secondary:hover {
    background: #E53935;
    color: #ffffff;
}

.page-casino__btn-tertiary {
    background: none;
    color: #E53935;
    border: 1px solid #E53935;
    padding: 8px 15px;
    font-size: 14px;
}

.page-casino__btn-tertiary:hover {
    background: #E53935;
    color: #ffffff;
}

/* Hero Section */
.page-casino__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small padding, assuming body handles main offset */
}

.page-casino__hero-image-wrapper {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-casino__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Desktop: cover to fill space */
}

.page-casino__hero-content {
    padding: 40px 15px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-main, #333333); /* Default text color */
    background-color: var(--card-bg, #FFFFFF); /* Ensure readability */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative; /* Ensure content is above the image but not overlapping */
    z-index: 10;
    transform: translateY(-50px); /* Slightly pull up for visual connection */
    margin-bottom: -50px; /* Counteract transform */
}

.page-casino__hero-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: #E53935;
    margin-bottom: 15px;
    line-height: 1.2;
}

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

.page-casino__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* About Section */
.page-casino__about-section .page-casino__section-title {
    color: #E53935;
}

.page-casino__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-casino__text-block p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--text-main, #333333);
}

.page-casino__image-block img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 200px;
    min-height: 200px;
}

/* Game Categories */
.page-casino__game-categories .page-casino__section-title,
.page-casino__game-categories .page-casino__section-subtitle {
    color: #ffffff;
}

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

.page-casino__game-tile {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-casino__game-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.page-casino__game-tile img {
    width: 100%;
    height: 250px; /* Fixed height for consistent grid */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 200px;
    min-height: 200px;
}

.page-casino__game-title {
    font-size: 22px;
    font-weight: 700;
    margin: 15px 10px 5px;
    color: #FFD700; /* Gold color for game titles */
}

.page-casino__game-description {
    font-size: 14px;
    line-height: 1.5;
    padding: 0 15px 15px;
    color: #f0f0f0;
    flex-grow: 1;
}

/* Promotions Section */
.page-casino__promotions-section .page-casino__section-title {
    color: #E53935;
}

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

.page-casino__promotion-card {
    background-color: var(--card-bg, #FFFFFF);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.page-casino__promotion-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-casino__promotion-content {
    padding: 20px;
}

.page-casino__promotion-title {
    font-size: 20px;
    font-weight: 700;
    color: #E53935;
    margin-bottom: 10px;
}

.page-casino__promotion-description {
    font-size: 15px;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 20px;
}

.page-casino__full-promotions-cta {
    text-align: center;
}

/* Why Choose Section */
.page-casino__why-choose-section .page-casino__section-title {
    color: #ffffff;
}

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

.page-casino__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-casino__feature-icon {
    width: 200px;
    height: 200px;
    min-width: 200px;
    min-height: 200px;
    object-fit: contain;
    margin: 0 auto 20px auto; /* Center the icon */
    display: block; /* Ensure it respects margin auto */
}

.page-casino__feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FFD700;
}

.page-casino__feature-description {
    font-size: 15px;
    line-height: 1.6;
    color: #f0f0f0;
}

/* Payment Section */
.page-casino__payment-section .page-casino__section-title {
    color: #E53935;
}

.page-casino__payment-methods-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-casino__payment-logo {
    width: 200px;
    height: 200px;
    min-width: 200px;
    min-height: 200px;
    object-fit: contain;
    border: 1px solid var(--border-color, #E0E0E0);
    border-radius: 8px;
    padding: 10px;
    background-color: #fefefe;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-casino__payment-cta {
    text-align: center;
}

/* FAQ Section */
.page-casino__faq-section .page-casino__section-title {
    color: #E53935;
}

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

.page-casino__faq-item {
    background-color: var(--card-bg, #FFFFFF);
    border: 1px solid var(--border-color, #E0E0E0);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.page-casino__faq-item[open] {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.page-casino__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    list-style: none;
    position: relative;
}

.page-casino__faq-question::-webkit-details-marker {
    display: none;
}

.page-casino__faq-question::marker {
    display: none;
}

.page-casino__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #E53935;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-casino__faq-item[open] .page-casino__faq-toggle {
    transform: rotate(45deg); /* Plus to X */
}

.page-casino__faq-answer {
    padding: 0 25px 20px;
    font-size: 16px;
    line-height: 1.7;
    color: #555555;
    border-top: 1px solid var(--border-color, #E0E0E0);
}

/* Final CTA Section */
.page-casino__final-cta .page-casino__section-title,
.page-casino__final-cta .page-casino__section-subtitle {
    color: #ffffff;
}

.page-casino__final-cta .page-casino__cta-buttons {
    margin-top: 30px;
}

/* Media Queries for Responsiveness */

/* Tablet and Mobile */
@media (max-width: 1024px) {
    .page-casino__section-title {
        font-size: 30px;
    }

    .page-casino__hero-content {
        padding: 30px 15px;
        transform: translateY(-30px);
        margin-bottom: -30px;
    }

    .page-casino__hero-title {
        font-size: clamp(24px, 5vw, 40px);
    }

    .page-casino__hero-description {
        font-size: 16px;
    }

    .page-casino__content-grid {
        grid-template-columns: 1fr;
    }

    .page-casino__image-block {
        order: -1; /* Image first on smaller screens */
        margin-bottom: 30px;
    }

    .page-casino__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .page-casino__game-tile img {
        height: 200px;
    }

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

    .page-casino__promotion-card img {
        
    }

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

    .page-casino__feature-icon {
        width: 200px;
        height: 200px;
    }

    .page-casino__payment-logo {
        width: 200px;
        height: 200px;
    }

    .page-casino__faq-question {
        padding: 18px 20px;
        font-size: 16px;
    }

    .page-casino__faq-answer {
        padding: 0 20px 18px;
        font-size: 15px;
    }
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
    .page-casino__section-padding {
        padding: 40px 15px;
    }

    .page-casino__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .page-casino__section-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    /* Hero Section - Mobile */
    .page-casino__hero-section {
        padding-top: 10px !important;
    }

    .page-casino__hero-image {
        object-fit: contain !important; /* Mobile: contain to prevent cropping */
        aspect-ratio: unset !important;
        max-height: none !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-casino__hero-content {
        transform: translateY(0);
        margin-bottom: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 25px 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-casino__hero-title {
        font-size: 26px;
    }

    .page-casino__hero-description {
        font-size: 15px;
    }

    .page-casino__hero-cta-buttons,
    .page-casino__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-casino__btn-primary,
    .page-casino__btn-secondary,
    .page-casino__btn-tertiary,
    .page-casino a[class*="button"],
    .page-casino a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}