.page-casino {
    background-color: #0A0A0A;
    color: #FFF6D6;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for first section to prevent header overlap */
}

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

.page-casino__hero-section {
    position: relative;
    text-align: center;
    overflow: hidden;
    padding-bottom: 40px;
}

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

.page-casino__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    min-width: 1200px; /* Ensure minimum width to avoid small images on large screens */
    min-height: 600px;
}

.page-casino__hero-content {
    position: relative;
    padding: 40px 20px;
    max-width: 800px;
    margin: 20px auto 0 auto; /* Margin top to separate from image */
    background: rgba(10, 10, 10, 0.7); /* Slight overlay for readability */
    border-radius: 10px;
}

.page-casino__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Using clamp for responsive font size */
    color: #FFD36B; /* Using glow color for main title */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-casino__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-casino__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1em;
    border: none;
}

.page-casino__btn--primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #0A0A0A;
}

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

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

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

.page-casino__btn--tertiary {
    background-color: #111111;
    border: 1px solid #3A2A12;
    color: #FFF6D6;
    padding: 10px 20px;
}

.page-casino__btn--tertiary:hover {
    background-color: #3A2A12;
}

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

.page-casino__section-title {
    font-size: 2.5em;
    color: #FFD36B;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    padding-top: 40px; /* Padding for sections below hero */
}

.page-casino__text-content {
    font-size: 1.05em;
    margin-bottom: 15px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-casino__game-card {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-casino__game-card-image {
    width: 100%;
    height: 267px; /* Based on 400x267 aspect ratio for 600x400 source */
    object-fit: cover;
    margin-bottom: 15px;
    min-width: 280px;
    min-height: 200px; /* Minimum display size for content images */
}

.page-casino__game-card-title {
    font-size: 1.5em;
    color: #FFD36B;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-casino__game-card-description {
    font-size: 0.95em;
    color: #FFF6D6;
    margin-bottom: 20px;
    padding: 0 15px;
}

.page-casino__view-all-games {
    text-align: center;
    margin-top: 20px;
}

.page-casino__live-casino-content,
.page-casino__promotions-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
}

.page-casino__live-casino-image,
.page-casino__promotions-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px; /* Minimum display size for content images */
}

.page-casino__live-casino-text,
.page-casino__promotions-text {
    max-width: 800px;
    text-align: center;
}

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

.page-casino__faq-item {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-casino__faq-question {
    background-color: #111111;
    color: #FFD36B;
    padding: 18px 25px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-casino__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-casino__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-casino__faq-answer {
    padding: 0 25px;
    background-color: #0A0A0A;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-casino__faq-answer.active {
    max-height: 200px; /* Sufficient height for typical answers */
    padding: 15px 25px;
}

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

.page-casino__faq-answer a {
    color: #FFD36B;
    text-decoration: none;
}

.page-casino__faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (min-width: 769px) {
    .page-casino__live-casino-content,
    .page-casino__promotions-content {
        flex-direction: row;
        text-align: left;
    }

    .page-casino__live-casino-text,
    .page-casino__promotions-text {
        text-align: left;
        align-self: flex-start;
    }
}

@media (max-width: 1024px) {
    .page-casino__hero-image-wrapper {
        height: 500px;
    }
    .page-casino__hero-image {
        min-width: 1000px;
        min-height: 500px;
    }
    .page-casino__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-casino__hero-image-wrapper {
        height: 300px;
    }
    .page-casino__hero-image {
        min-width: 768px;
        min-height: 300px;
    }
    .page-casino__hero-content {
        padding: 20px;
    }
    .page-casino__main-title {
        font-size: 2em;
    }
    .page-casino__description {
        font-size: 1em;
    }
    .page-casino__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-casino__btn {
        width: 100%;
        max-width: 300px;
    }
    .page-casino__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-casino__game-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-casino__live-casino-content,
    .page-casino__promotions-content {
        flex-direction: column;
        text-align: center;
    }
    .page-casino__live-casino-text,
    .page-casino__promotions-text {
        text-align: center;
    }
    /* Ensure all images in content area are responsive and meet min size */
    .page-casino img {
        max-width: 100%;
        height: auto;
    }
    .page-casino__game-card-image {
        min-width: 200px; /* Ensure min size for mobile card images */
        min-height: 150px; /* Adjust min height for mobile cards */
    }
    .page-casino__live-casino-image,
    .page-casino__promotions-image {
        min-width: 200px; /* Ensure min size for mobile content images */
        min-height: 200px;
    }
    .page-casino__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-casino__faq-answer.active {
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .page-casino__hero-image-wrapper {
        height: 250px;
    }
    .page-casino__hero-image {
        min-width: 480px;
        min-height: 250px;
    }
    .page-casino__main-title {
        font-size: 1.8em;
    }
    .page-casino__section-title {
        font-size: 1.5em;
    }
    .page-casino__game-grid {
        grid-template-columns: 1fr;
    }
}