.page-casino {
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-casino__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    margin-bottom: 40px;
    background-color: #08160F; /* Fallback for image loading */
}

.page-casino__hero-image-wrapper {
    width: 100%;
    max-height: 675px;
    overflow: hidden;
}

.page-casino__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-casino__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -150px;
    background-color: rgba(17, 40, 27, 0.9); /* Card BG with transparency */
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    z-index: 10;
    position: relative;
    border: 1px solid #2E7A4E; /* Border */
}

.page-casino__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-casino__description {
    font-size: 1.1rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-play,
.page-casino__btn-read-more {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
    width: auto;
    min-width: 180px;
}

.page-casino__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    color: #F2FFF6; /* Text Main for contrast */
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-casino__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.page-casino__btn-secondary {
    background-color: transparent;
    color: #2AD16F; /* Button highlight color */
    border: 2px solid #2AD16F;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-casino__btn-secondary:hover {
    background-color: #2AD16F;
    color: #F2FFF6;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.page-casino__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
    font-weight: bold;
    line-height: 1.3;
}

.page-casino__content-area {
    max-width: 1000px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
    color: #F2FFF6; /* Text Main */
}

.page-casino__content-area p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.page-casino__content-area a {
    color: #2AD16F; /* Link color */
    text-decoration: underline;
}

.page-casino__content-area a:hover {
    color: #57E38D; /* Glow */
}

.page-casino__highlight {
    color: #57E38D; /* Glow */
    font-weight: bold;
}

/* Features Section */
.page-casino__features-section {
    padding: 60px 20px;
    background-color: #11271B; /* Card BG */
    margin-bottom: 40px;
    border-top: 1px solid #1E3A2A; /* Divider */
    border-bottom: 1px solid #1E3A2A; /* Divider */
}

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

.page-casino__feature-card {
    background-color: rgba(17, 40, 27, 0.8); /* Slightly darker for card */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 1px solid #2E7A4E; /* Border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #F2FFF6; /* Text Main */
}

.page-casino__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.page-casino__feature-icon {
    width: 100px; /* Display width, actual image will be larger */
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px; /* Enforce minimum size for actual image, will be scaled by object-fit */
    min-height: 200px;
    object-fit: contain;
}

.page-casino__feature-title {
    font-size: 1.5rem;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-casino__feature-description {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
}

/* Games Section */
.page-casino__games-section {
    padding: 60px 20px;
    margin-bottom: 40px;
}

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

.page-casino__game-card {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 1px solid #2E7A4E; /* Border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #F2FFF6; /* Text Main */
}

.page-casino__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

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

.page-casino__game-title {
    font-size: 1.3rem;
    color: #F2C14E; /* Gold */
    padding: 15px 20px 0;
    font-weight: bold;
}

.page-casino__game-title a {
    color: #F2C14E; /* Gold */
    text-decoration: none;
}

.page-casino__game-title a:hover {
    text-decoration: underline;
}

.page-casino__game-description {
    font-size: 0.95rem;
    color: #A7D9B8; /* Text Secondary */
    padding: 10px 20px;
    flex-grow: 1;
}

.page-casino__btn-play {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    color: #F2FFF6; /* Text Main */
    border: none;
    margin: 0 20px 20px;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    font-size: 1rem;
    align-self: center;
    width: calc(100% - 40px);
}

.page-casino__btn-play:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-1px);
}

.page-casino__cta-center {
    text-align: center;
    margin-top: 20px;
}

/* Promotions Section */
.page-casino__promotions-section {
    padding: 60px 20px;
    background-color: #11271B; /* Card BG */
    margin-bottom: 40px;
    border-top: 1px solid #1E3A2A; /* Divider */
    border-bottom: 1px solid #1E3A2A; /* Divider */
}

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

.page-casino__promo-card {
    background-color: rgba(17, 40, 27, 0.8); /* Slightly darker for card */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 1px solid #2E7A4E; /* Border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #F2FFF6; /* Text Main */
}

.page-casino__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

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

.page-casino__promo-title {
    font-size: 1.3rem;
    color: #F2C14E; /* Gold */
    padding: 15px 20px 0;
    font-weight: bold;
}

.page-casino__promo-description {
    font-size: 0.95rem;
    color: #A7D9B8; /* Text Secondary */
    padding: 10px 20px;
    flex-grow: 1;
}

.page-casino__btn-read-more {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    color: #F2FFF6; /* Text Main */
    border: none;
    margin: 0 20px 20px;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    font-size: 1rem;
    align-self: center;
    width: calc(100% - 40px);
}

.page-casino__btn-read-more:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-1px);
}

/* App Download Section */
.page-casino__app-download-section {
    padding: 60px 20px;
    margin-bottom: 40px;
}

.page-casino__app-download-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-casino__app-text {
    flex: 1;
    min-width: 300px;
    color: #F2FFF6; /* Text Main */
}

.page-casino__app-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-casino__app-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    min-width: 200px;
    min-height: 200px;
}

/* FAQ Section */
.page-casino__faq-section {
    padding: 60px 20px;
    background-color: #11271B; /* Card BG */
    margin-bottom: 40px;
    border-top: 1px solid #1E3A2A; /* Divider */
    border-bottom: 1px solid #1E3A2A; /* Divider */
}

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

.page-casino__faq-item {
    background-color: rgba(17, 40, 27, 0.8); /* Slightly darker for card */
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #2E7A4E; /* Border */
    overflow: hidden;
    color: #F2FFF6; /* Text Main */
}

.page-casino__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15rem;
    font-weight: bold;
    cursor: pointer;
    color: #F2C14E; /* Gold */
    background-color: rgba(17, 40, 27, 0.9);
}

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

.page-casino__faq-question:hover {
    background-color: rgba(34, 55, 41, 0.9); /* Darker hover */
}

.page-casino__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: #57E38D; /* Glow */
    transition: transform 0.3s ease;
}

.page-casino__faq-item[open] .page-casino__faq-toggle {
    transform: rotate(45deg);
}

.page-casino__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.7;
}

.page-casino__faq-answer p {
    margin-bottom: 10px;
}

/* Contact Section */
.page-casino__contact-section {
    padding: 60px 20px;
}

/* Global link styling for main content area */
.page-casino a {
    color: #2AD16F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-casino a:hover {
    color: #57E38D;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-casino__hero-content {
        margin-top: -100px;
    }
}

@media (max-width: 768px) {
    .page-casino__hero-content {
        margin-top: 0;
        width: calc(100% - 40px);
        padding: 30px 15px;
        box-shadow: none;
        border: none;
        background-color: transparent;
    }

    .page-casino__hero-image-wrapper {
        max-height: 400px;
    }

    .page-casino__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-casino__description {
        font-size: 1rem;
    }

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

    .page-casino__btn-primary,
    .page-casino__btn-secondary,
    .page-casino__btn-play,
    .page-casino__btn-read-more {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-casino__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-casino__content-area,
    .page-casino__features-section,
    .page-casino__games-section,
    .page-casino__promotions-section,
    .page-casino__app-download-section,
    .page-casino__faq-section,
    .page-casino__contact-section {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }

    .page-casino img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-casino__feature-icon {
        width: 100px; /* Still display as 100px, but ensure the source image is large */
        height: auto;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-casino__game-image,
    .page-casino__promo-image {
        height: auto !important;
        min-height: 200px !important;
    }

    .page-casino__app-download-content {
        flex-direction: column;
        gap: 30px;
    }

    .page-casino__app-text,
    .page-casino__app-image-wrapper {
        min-width: unset;
        width: 100%;
    }

    .page-casino__faq-question {
        font-size: 1rem;
        padding: 15px;
    }

    .page-casino__faq-answer {
        font-size: 0.95rem;
        padding: 0 15px 15px 15px;
    }
    .page-casino__video-section {
        padding-top: 10px !important;
    }
}

/* Ensure content area images are not too small */
.page-casino__content-area img,
.page-casino__feature-card img,
.page-casino__game-card img,
.page-casino__promo-card img,
.page-casino__app-download-section img {
    min-width: 200px;
    min-height: 200px;
}