.page-casino {
    background-color: #08160F;
    color: #F2FFF6;
    font-family: Arial, sans-serif;
}

.page-casino__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 40px;
    text-align: center;
    overflow: hidden;
}

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

.page-casino__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Ensure image is not too small */
}

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

.page-casino__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #F2FFF6;
    margin-bottom: 15px;
}

.page-casino__description {
    font-size: 1.1em;
    line-height: 1.6;
    color: #A7D9B8;
    margin-bottom: 30px;
}

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

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

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

.page-casino__button--primary:hover {
    opacity: 0.9;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

.page-casino__button--secondary:hover {
    background-color: rgba(42, 209, 111, 0.1);
    color: #F2FFF6;
}

.page-casino__section-title {
    font-weight: 700;
    font-size: 2.2em;
    color: #F2FFF6;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

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

.page-casino__about-section {
    padding: 60px 20px;
    background-color: #08160F;
}

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

.page-casino__about-text {
    flex: 1;
    min-width: 300px;
    color: #A7D9B8;
}

.page-casino__about-text p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.page-casino__about-text strong {
    color: #F2FFF6;
}

.page-casino__about-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-casino__about-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    min-height: 200px;
}

.page-casino__button--text {
    background: none;
    border: none;
    color: #2AD16F;
    padding: 0;
    margin-top: 20px;
    font-weight: 600;
    text-decoration: underline;
}

.page-casino__button--text:hover {
    color: #F2FFF6;
}

.page-casino__games-section {
    padding: 60px 20px;
    background-color: #11271B;
}

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

.page-casino__game-card {
    background-color: #0A4B2C;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2E7A4E;
}

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

.page-casino__game-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    min-height: 200px; /* Ensure card images are not too small */
}

.page-casino__game-card-title {
    font-size: 1.3em;
    color: #F2FFF6;
    margin: 15px 10px 10px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.page-casino__game-card-title a:hover {
    color: #2AD16F;
}

.page-casino__button--play {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    border: none;
    padding: 10px 20px;
    margin-bottom: 20px;
    margin-top: 10px;
    border-radius: 6px;
}

.page-casino__button--play:hover {
    opacity: 0.9;
    box-shadow: 0 2px 10px rgba(42, 209, 111, 0.4);
}

.page-casino__promotions-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 60px 20px;
    background-color: #08160F;
    max-width: 1200px;
    margin: 0 auto;
}

.page-casino__promotions-content {
    flex: 1;
    min-width: 300px;
}

.page-casino__promotions-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-casino__promotions-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    min-height: 200px;
}

.page-casino__promotions-content .page-casino__section-title,
.page-casino__promotions-content .page-casino__section-subtitle {
    text-align: left;
}

.page-casino__promotions-content .page-casino__section-title {
    padding-top: 0;
}

.page-casino__why-choose-section {
    padding: 60px 20px;
    background-color: #11271B;
}

.page-casino__why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-casino__why-choose-item {
    background-color: #0A4B2C;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #2E7A4E;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-casino__why-choose-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px #57E38D);
    min-width: 200px; /* Enforce min size even for 'icons' */
    min-height: 200px;
}

.page-casino__why-choose-heading {
    font-size: 1.5em;
    color: #F2FFF6;
    margin-bottom: 10px;
}

.page-casino__why-choose-item p {
    color: #A7D9B8;
    line-height: 1.5;
}

.page-casino__faq-section {
    padding: 60px 20px;
    background-color: #08160F;
}

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

.page-casino__faq-item {
    background-color: #11271B;
    border: 1px solid #2E7A4E;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-casino__faq-question {
    font-size: 1.2em;
    color: #F2FFF6;
    padding: 18px 25px;
    cursor: pointer;
    margin: 0;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

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

.page-casino__faq-answer p {
    padding-bottom: 15px;
    margin-top: 0;
    line-height: 1.6;
}

.page-casino__faq-answer.active {
    max-height: 200px; /* Adjust as needed for content */
    padding-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-casino__main-title {
        font-size: 2.8em;
    }
}

@media (max-width: 768px) {
    .page-casino__main-title {
        font-size: 2.2em;
    }
    .page-casino__description {
        font-size: 1em;
    }
    .page-casino__hero-actions {
        flex-direction: column;
    }
    .page-casino__button {
        width: 100%;
        max-width: 280px;
    }
    .page-casino__section-title {
        font-size: 1.8em;
    }
    .page-casino__section-subtitle {
        font-size: 0.95em;
    }
    .page-casino__about-content {
        flex-direction: column;
    }
    .page-casino__promotions-section {
        flex-direction: column;
    }
    .page-casino__promotions-content .page-casino__section-title,
    .page-casino__promotions-content .page-casino__section-subtitle {
        text-align: center;
    }
    .page-casino__games-grid,
    .page-casino__why-choose-grid {
        grid-template-columns: 1fr;
    }
    .page-casino__game-card-image {
        height: 200px;
    }
    .page-casino__hero-image,
    .page-casino__about-image,
    .page-casino__promotions-image,
    .page-casino__game-card-image,
    .page-casino__why-choose-icon {
        max-width: 100%;
        height: auto;
    }
    /* Ensure all content images maintain min-height, but scale down */
    .page-casino__hero-image,
    .page-casino__about-image,
    .page-casino__promotions-image,
    .page-casino__game-card-image {
        min-height: 200px;
    }
    .page-casino__why-choose-icon {
        min-width: 80px; /* allow icon to be smaller on mobile if it was originally an icon */
        min-height: 80px;
        width: 80px; /* Fixed small size for icon */
        height: 80px;
    }
}

@media (max-width: 480px) {
    .page-casino__main-title {
        font-size: 1.8em;
    }
    .page-casino__section-title {
        font-size: 1.5em;
    }
    .page-casino__faq-question {
        font-size: 1em;
    }
    .page-casino__faq-question::after {
        font-size: 1.2em;
    }
    .page-casino__why-choose-icon {
        min-width: 80px; /* Re-affirm small size for icon */
        min-height: 80px;
        width: 80px; /* Fixed small size for icon */
        height: 80px;
    }
}