/* style/casino.css */

.page-casino {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #1a1a1a; /* Inherited from shared, but explicitly stated for context */
}

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

.page-casino__dark-bg {
    background-color: #1a1a1a;
    color: #ffffff;
}

.page-casino__light-bg {
    background-color: #263238; /* A darker shade for contrast against #1a1a1a, while still being dark */
    color: #ffffff;
}

.page-casino__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-casino__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

.page-casino__sub-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 20px;
}

.page-casino__text-block,
.page-casino__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino__text-block a,
.page-casino__paragraph a {
    color: #26A9E0;
    text-decoration: underline;
}

/* Hero Section */
.page-casino__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1a1a, #26A9E0);
    position: relative;
    overflow: hidden;
}

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

.page-casino__hero-title {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-casino__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 40px;
}

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

.page-casino__btn-primary,
.page-casino__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    text-align: center;
}

.page-casino__btn-primary {
    background-color: #EA7C07; /* Login color for primary CTA */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-casino__btn-primary:hover {
    background-color: #d16b06;
    border-color: #d16b06;
}

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

.page-casino__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

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

.page-casino__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

/* About Section */
.page-casino__about-section {
    padding: 80px 0;
}

.page-casino__image-content-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-casino__content-image {
    flex: 1;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    height: auto;
    display: block;
}

.page-casino__content-text {
    flex: 1;
    text-align: left;
}

/* Games Section */
.page-casino__games-section {
    padding: 80px 0;
}

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

.page-casino__game-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    display: block;
}

.page-casino__card-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-casino__card-title a {
    color: #26A9E0;
    text-decoration: none;
}

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

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

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

/* Advantages Section */
.page-casino__advantages-section {
    padding: 80px 0;
}

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

.page-casino__advantage-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-casino__advantage-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-casino__advantage-description {
    color: #cccccc;
}

.page-casino__advantage-description a {
    color: #26A9E0;
    text-decoration: underline;
}

/* How To Join Section */
.page-casino__how-to-join-section {
    padding: 80px 0;
}

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

.page-casino__step-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-casino__step-title {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-casino__step-description {
    color: #cccccc;
    margin-bottom: 20px;
}

.page-casino__step-description a {
    color: #26A9E0;
    text-decoration: underline;
}

/* Promotions Section */
.page-casino__promotions-section {
    padding: 80px 0;
}

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

.page-casino__promo-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-casino__faq-section {
    padding: 80px 0;
}

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

.page-casino__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-casino__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background-color: #26A9E0;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.page-casino__faq-question:hover {
    background-color: #1d82b0;
}

.page-casino__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-casino__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #cccccc;
    background-color: rgba(255, 255, 255, 0.05);
}

.page-casino__faq-item.active .page-casino__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 20px !important;
}

.page-casino__faq-answer p {
    margin: 0;
    font-size: 1em;
}

.page-casino__faq-answer a {
    color: #26A9E0;
    text-decoration: underline;
}

/* Final CTA Section */
.page-casino__cta-final-section {
    padding: 80px 0;
    text-align: center;
}

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

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

    .page-casino__section-title {
        font-size: 2em;
    }

    .page-casino__image-content-layout {
        flex-direction: column;
        text-align: center;
    }

    .page-casino__content-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-casino {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-casino__hero-section {
        padding: 60px 15px;
    }

    .page-casino__hero-title {
        font-size: 2.2em;
    }

    .page-casino__hero-description {
        font-size: 1.1em;
    }

    .page-casino__hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .page-casino__btn-primary,
    .page-casino__btn-secondary {
        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: 1.8em;
        margin-bottom: 30px;
    }

    .page-casino__sub-title {
        font-size: 1.5em;
    }

    .page-casino__text-block,
    .page-casino__paragraph {
        font-size: 1em;
        padding: 0 15px;
    }

    .page-casino__container {
        padding: 0 15px;
    }

    .page-casino__content-image,
    .page-casino__card-image,
    .page-casino__hero-image,
    .page-casino img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-casino__hero-image-wrapper,
    .page-casino__image-content-layout,
    .page-casino__games-grid,
    .page-casino__advantages-grid,
    .page-casino__steps-grid,
    .page-casino__promo-cards,
    .page-casino__faq-list,
    .page-casino__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-casino__cta-buttons {
        flex-direction: column;
    }

    .page-casino__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

    .page-casino__faq-answer {
        padding: 15px !important;
    }

    .page-casino__faq-answer p {
        font-size: 0.95em;
    }

    .page-casino__hero-section {
        padding-top: var(--header-offset, 120px) !important; 
    }
}

@media (max-width: 480px) {
    .page-casino__hero-title {
        font-size: 1.8em;
    }

    .page-casino__hero-description {
        font-size: 1em;
    }

    .page-casino__section-title {
        font-size: 1.5em;
    }
}