.page-casino {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #ffffff; /* Default background for sections without specific color */
}

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

.page-casino__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    background-color: #08160F; /* Custom Background color */
    color: #F2FFF6; /* Custom Text Main color */
    text-align: center;
    overflow: hidden;
}

.page-casino__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-casino__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Slightly dim the image to make text pop */
}

.page-casino__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
}

.page-casino__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #F2C14E; /* Custom Gold color */
}

.page-casino__description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #F2FFF6; /* Custom Text Main color */
}

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

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

.page-casino__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: none;
}

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

.page-casino__btn-secondary {
    background-color: #ffffff;
    color: #11A84E;
    border: 2px solid #11A84E;
}

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

.page-casino__btn-large {
    padding: 18px 40px;
    font-size: 1.3rem;
}

.page-casino__btn-full-width {
    width: 100%;
    max-width: 400px; /* Limit max width for better aesthetics */
    margin-top: 30px;
}

.page-casino__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #11A84E;
}

.page-casino__dark-section .page-casino__section-title {
    color: #F2C14E; /* Gold color for titles on dark sections */
}

.page-casino__text-block {
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: justify;
    color: #333333;
}

.page-casino__dark-section .page-casino__text-block {
    color: #F2FFF6; /* Text Main color for text on dark sections */
}

.page-casino__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

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

.page-casino__game-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

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

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

.page-casino__game-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 15px 10px 10px;
    color: #11A84E;
}

.page-casino__game-title a {
    text-decoration: none;
    color: inherit;
}

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

.page-casino__game-description {
    font-size: 0.95rem;
    color: #555555;
    padding: 0 15px 20px;
}

.page-casino__promotions-section {
    background-color: #08160F; /* Custom Background color */
    padding: 60px 20px;
    color: #F2FFF6; /* Custom Text Main color */
}

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

.page-casino__promo-card {
    background-color: #11271B; /* Custom Card BG color */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 20px;
}

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

.page-casino__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
}

.page-casino__promo-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 15px 10px;
    color: #F2C14E; /* Custom Gold color */
}

.page-casino__promo-description {
    font-size: 0.95rem;
    color: #A7D9B8; /* Custom Text Secondary color */
    padding: 0 15px 20px;
}

.page-casino__mobile-section {
    background-color: #08160F; /* Custom Background color */
    padding: 60px 20px;
    color: #F2FFF6; /* Custom Text Main color */
}

.page-casino__app-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 40px auto;
    max-width: 800px;
}

.page-casino__app-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

.page-casino__app-info {
    text-align: center;
}

.page-casino__app-title {
    font-size: 2rem;
    font-weight: 600;
    color: #F2C14E;
    margin-bottom: 15px;
}

.page-casino__app-description {
    font-size: 1.1rem;
    color: #A7D9B8;
    margin-bottom: 30px;
}

.page-casino__contact-info p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-align: center;
}

.page-casino__contact-info a {
    color: #11A84E;
    text-decoration: none;
    font-weight: bold;
}

.page-casino__contact-info a:hover {
    text-decoration: underline;
}

.page-casino__faq-section {
    background-color: #08160F; /* Custom Background color */
    padding: 60px 20px;
    color: #F2FFF6; /* Custom Text Main color */
}

.page-casino__faq-list {
    margin-top: 40px;
}

.page-casino__faq-item {
    background-color: #11271B; /* Custom Card BG color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-casino__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #F2FFF6; /* Custom Text Main color */
    cursor: pointer;
    border-bottom: 1px solid #2E7A4E; /* Custom Border color */
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-casino__faq-item[open] .page-casino__faq-question {
    background-color: #11A84E; /* Primary color when open */
}

.page-casino__faq-question:hover {
    background-color: #11A84E; /* Primary color on hover */
}

.page-casino__faq-qtext {
    flex-grow: 1;
}

.page-casino__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 15px;
    color: #F2C14E; /* Custom Gold color */
}

.page-casino__faq-item[open] .page-casino__faq-toggle {
    content: '−'; /* Change to minus sign when open */
}

.page-casino__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    color: #A7D9B8; /* Custom Text Secondary color */
}

.page-casino__cta-final-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #ffffff;
}

.page-casino__cta-final-section .page-casino__section-title {
    color: #11A84E;
}

.page-casino__cta-final-section .page-casino__text-block {
    max-width: 800px;
    margin: 0 auto 40px;
    color: #333333;
}

/* Responsive styles */
@media (min-width: 769px) {
    .page-casino__app-cta {
        flex-direction: row;
        text-align: left;
    }
    .page-casino__app-info {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .page-casino {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-casino__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-casino__hero-section {
        padding: 10px 0 40px 0;
    }
    .page-casino__main-title {
        font-size: 2rem;
    }
    .page-casino__description {
        font-size: 1rem;
    }
    .page-casino__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-casino__btn-primary,
    .page-casino__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-casino__section-title {
        font-size: 1.8rem;
    }
    .page-casino__text-block {
        font-size: 0.95rem;
    }
    .page-casino__game-grid,
    .page-casino__promo-cards {
        grid-template-columns: 1fr;
    }
    .page-casino__game-image,
    .page-casino__promo-image {
        height: 180px; /* Adjust height for smaller screens */
    }
    .page-casino__app-cta {
        flex-direction: column;
    }
    .page-casino__app-title {
        font-size: 1.6rem;
    }
    .page-casino__app-image {
        max-width: 100%;
    }
    .page-casino__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-casino__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.9rem;
    }
    .page-casino img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: unset !important;
        min-height: unset !important;
    }
    .page-casino__section,
    .page-casino__card,
    .page-casino__container,
    .page-casino__hero-image-wrapper,
    .page-casino__game-card,
    .page-casino__promo-card,
    .page-casino__app-cta,
    .page-casino__app-info,
    .page-casino__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-casino__hero-image-wrapper {
        position: relative; /* Adjust for mobile to allow content to flow */
        height: 250px; /* Smaller height on mobile */
    }
    .page-casino__hero-content {
        padding: 20px 0;
    }
    .page-casino__video-section {
        padding-top: 10px !important;
    }
}