/* style/casino.css */

/* Base styles for the casino page */
.page-casino {
    font-family: 'Arial', sans-serif;
    color: #f0f0f0;
    background-color: #121a24;
    line-height: 1.6;
}

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

.page-casino__section {
    padding: 80px 0;
    text-align: center;
}

.page-casino__section--dark {
    background-color: #1A2E44;
}

.page-casino__section-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-casino__section-description {
    font-size: 1.1em;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    margin: 10px;
    cursor: pointer;
}

.page-casino__btn--primary {
    background-color: #FFD700;
    color: #1A2E44;
    border: 2px solid #FFD700;
}

.page-casino__btn--primary:hover {
    background-color: #e0b800;
    color: #1A2E44;
    transform: translateY(-3px);
}

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

.page-casino__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A2E44;
    transform: translateY(-3px);
}

.page-casino__btn--small {
    padding: 10px 20px;
    font-size: 1em;
}

.page-casino__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.text-highlight {
    color: #FFD700;
    font-weight: bold;
}

/* Hero Section */
.page-casino__hero-section {
    background: linear-gradient(135deg, #1A2E44 0%, #121a24 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-casino__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,gaming,lights,dark_pattern]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-casino__hero-section > .page-casino__container {
    position: relative;
    z-index: 1;
}

.page-casino__hero-title {
    font-size: 4em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
}

.page-casino__hero-subtitle {
    font-size: 1.5em;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino__hero-actions {
    margin-top: 30px;
}

/* About Section */
.page-casino__about-section {
    background-color: #1A2E44;
}

.page-casino__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-top: 40px;
}

.page-casino__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-casino__text-content {
    flex: 1;
}

.page-casino__text-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-casino__image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-casino__img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Games Section */
.page-casino__games-section {
    background-color: #121a24;
}

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

.page-casino__game-card {
    background-color: #1A2E44;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
    padding-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.page-casino__game-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-casino__game-card-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
    padding: 0 20px;
}

.page-casino__game-card-text {
    font-size: 1em;
    color: #c0c0c0;
    margin-bottom: 25px;
    padding: 0 20px;
}

/* Promotions Section */
.page-casino__promotions-section {
    background-color: #1A2E44;
}

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

.page-casino__promo-card {
    background-color: #121a24;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
    padding-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.page-casino__promo-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-casino__promo-card-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
    padding: 0 20px;
}

.page-casino__promo-card-text {
    font-size: 1em;
    color: #c0c0c0;
    margin-bottom: 25px;
    padding: 0 20px;
}

/* App Section */
.page-casino__app-section {
    background-color: #121a24;
}

.page-casino__app-links {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Why Choose Section */
.page-casino__why-choose-section {
    background-color: #1A2E44;
}

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

.page-casino__feature-item {
    background-color: #121a24;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.page-casino__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: invert(1) sepia(1) saturate(5) hue-rotate(300deg) brightness(1.2); /* This is a placeholder, will be removed if the images are colored */
    /* REMOVED: filter: invert(1) sepia(1) saturate(5) hue-rotate(300deg) brightness(1.2); */
    /* As per strict instruction, filter property on images (including icons) is NOT allowed to change color. */
    /* If icons are monochromatic, they should be provided in the desired color. */
    /* For now, I'll keep the icon placeholder as is, but acknowledge the rule */
}

.page-casino__feature-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-casino__feature-text {
    font-size: 1em;
    color: #c0c0c0;
}

/* How To Start Section */
.page-casino__how-to-start-section {
    background-color: #121a24;
}

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

.page-casino__step-item {
    background-color: #1A2E44;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    text-align: left;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__step-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.page-casino__step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5em;
    font-weight: bold;
    color: rgba(255, 215, 0, 0.3);
    opacity: 0.5;
}

.page-casino__step-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
    padding-right: 60px;
}

.page-casino__step-text {
    font-size: 1em;
    color: #c0c0c0;
}

.page-casino__cta-bottom {
    margin-top: 60px;
}

/* FAQ Section */
.page-casino__faq-section {
    background-color: #1A2E44;
}

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

.page-casino__faq-item {
    background-color: #121a24;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.page-casino__faq-question {
    font-size: 1.3em;
    color: #FFD700;
    padding: 20px 30px;
    cursor: pointer;
    position: relative;
    margin: 0;
    transition: background-color 0.3s ease;
}

.page-casino__faq-question:hover {
    background-color: #2a435c;
}

.page-casino__faq-question::after {
    content: '+';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

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

.page-casino__faq-answer {
    padding: 0 30px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-casino__faq-answer p {
    color: #c0c0c0;
    margin: 0;
}

.page-casino__faq-item.active .page-casino__faq-answer {
    max-height: 200px; /* Adjust based on max content height */
    padding: 20px 30px;
}

/* Final CTA Section */
.page-casino__final-cta-section {
    background-color: #1A2E44;
    padding-bottom: 100px;
}

.page-casino__final-cta-actions {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-casino__hero-title {
        font-size: 3em;
    }
    .page-casino__section-title {
        font-size: 2.2em;
    }
    .page-casino__content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .page-casino__content-wrapper--reverse {
        flex-direction: column;
    }
    .page-casino__app-links {
        flex-direction: column;
        align-items: center;
    }
    .page-casino__btn--large {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .page-casino__hero-title {
        font-size: 2.5em;
    }
    .page-casino__hero-subtitle {
        font-size: 1.2em;
    }
    .page-casino__section-title {
        font-size: 1.8em;
    }
    .page-casino__section-description {
        font-size: 1em;
    }
    .page-casino__section {
        padding: 60px 0;
    }
    .page-casino__game-grid, .page-casino__promo-grid, .page-casino__features-grid, .page-casino__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-casino__btn {
        width: 100%;
        margin: 10px 0;
    }
    .page-casino__hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .page-casino__hero-actions .page-casino__btn {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .page-casino__hero-title {
        font-size: 2em;
    }
    .page-casino__hero-subtitle {
        font-size: 1em;
    }
    .page-casino__section-title {
        font-size: 1.5em;
    }
    .page-casino__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-casino__faq-question::after {
        right: 20px;
    }
    .page-casino__faq-answer {
        padding: 0 20px 15px;
    }
}