/* style/casino.css */

/* Base Styles */
.page-casino {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background */
    background-color: var(--background-color, #FFFFFF);
}

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

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

.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__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

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

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino__btn-tertiary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

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

.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__btn-tertiary {
    background-color: #EA7C07;
    color: #ffffff;
    border: 2px solid #EA7C07;
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-casino__btn-tertiary:hover {
    background-color: #c96800;
    border-color: #c96800;
}

/* Hero Section */
.page-casino__hero-section {
    position: relative;
    width: 100%;
    height: 700px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #ffffff;
    z-index: 1;
    padding-top: var(--header-offset, 120px);
}

.page-casino__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.page-casino__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

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

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

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

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

/* Intro Section */
.page-casino__intro-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

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

.page-casino__feature-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-casino__feature-item:hover {
    transform: translateY(-10px);
}

.page-casino__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

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

/* Games Section */
.page-casino__games-section {
    padding: 80px 0;
    background-color: #26A9E0;
    color: #ffffff;
}

.page-casino__games-section .page-casino__section-title {
    color: #ffffff;
}

.page-casino__games-section .page-casino__section-title::after {
    background-color: #ffffff;
}

.page-casino__games-section .page-casino__text-block {
    color: #f0f0f0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

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

.page-casino__game-card {
    background: #ffffff;
    color: #333333;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-align: center;
    padding-bottom: 20px;
}

.page-casino__game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
}

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

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

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

.page-casino__game-card p {
    padding: 0 15px;
    margin-bottom: 20px;
}

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

.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: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding-bottom: 20px;
}

.page-casino__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

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

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

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

.page-casino__promo-card p {
    padding: 0 15px;
    margin-bottom: 20px;
}

/* Guide Section */
.page-casino__guide-section {
    padding: 80px 0;
    background-color: #26A9E0;
    color: #ffffff;
}

.page-casino__guide-section .page-casino__section-title {
    color: #ffffff;
}

.page-casino__guide-section .page-casino__section-title::after {
    background-color: #ffffff;
}

.page-casino__guide-section .page-casino__text-block {
    color: #f0f0f0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

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

.page-casino__step-card {
    background: #ffffff;
    color: #333333;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.page-casino__step-number {
    font-size: 3em;
    font-weight: bold;
    color: rgba(38, 169, 224, 0.2);
    position: absolute;
    top: 10px;
    left: 20px;
    z-index: 0;
}

.page-casino__step-card h3,
.page-casino__step-card p {
    position: relative;
    z-index: 1;
}

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

/* Features Section */
.page-casino__features-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.page-casino__feature-list {
    margin-top: 50px;
}

.page-casino__feature-item-large {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-casino__feature-item-large.page-casino__feature-item-reverse {
    flex-direction: row-reverse;
}

.page-casino__feature-image {
    width: 50%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
}

.page-casino__feature-content {
    width: 50%;
}

.page-casino__feature-list-title {
    font-size: 2em;
    color: #26A9E0;
    margin-bottom: 20px;
}

/* Tips Section */
.page-casino__tips-section {
    padding: 80px 0;
    background-color: #26A9E0;
    color: #ffffff;
}

.page-casino__tips-section .page-casino__section-title {
    color: #ffffff;
}

.page-casino__tips-section .page-casino__section-title::after {
    background-color: #ffffff;
}

.page-casino__tips-section .page-casino__text-block {
    color: #f0f0f0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

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

.page-casino__tip-card {
    background: #ffffff;
    color: #333333;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
}

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

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

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

.page-casino__faq-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-casino__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
}

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

.page-casino__faq-question h3 {
    margin: 0;
    font-size: 1.3em;
    color: #333333;
}

.page-casino__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #26A9E0;
    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 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-casino__faq-item.active .page-casino__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px 25px;
}

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

/* CTA Section */
.page-casino__cta-section {
    padding: 80px 0;
    background-color: #26A9E0;
    color: #ffffff;
    text-align: center;
}

.page-casino__cta-section .page-casino__section-title {
    color: #ffffff;
}

.page-casino__cta-section .page-casino__section-title::after {
    background-color: #ffffff;
}

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

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

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

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

    .page-casino__feature-item-large {
        flex-direction: column;
        text-align: center;
    }

    .page-casino__feature-item-large.page-casino__feature-item-reverse {
        flex-direction: column;
    }

    .page-casino__feature-image,
    .page-casino__feature-content {
        width: 100%;
    }

    .page-casino__feature-image {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .page-casino__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-casino__hero-section {
        height: 600px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

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

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

    .page-casino__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-casino__btn-primary,
    .page-casino__btn-secondary,
    .page-casino__btn-tertiary,
    .page-casino a[class*="button"],
    .page-casino a[class*="btn"] {
        max-width: 100% !important;
        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__cta-buttons,
    .page-casino__button-group,
    .page-casino__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

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

    .page-casino__intro-section,
    .page-casino__games-section,
    .page-casino__promotions-section,
    .page-casino__guide-section,
    .page-casino__features-section,
    .page-casino__tips-section,
    .page-casino__faq-section,
    .page-casino__cta-section {
        padding: 40px 0;
    }

    .page-casino__intro-features,
    .page-casino__game-categories,
    .page-casino__promo-grid,
    .page-casino__steps-grid,
    .page-casino__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-casino__feature-item-large {
        padding: 20px;
    }

    .page-casino__feature-image {
        height: 250px;
    }

    .page-casino__feature-list-title {
        font-size: 1.6em;
    }

    .page-casino__faq-question {
        padding: 15px 20px;
    }

    .page-casino__faq-question h3 {
        font-size: 1.1em;
    }

    .page-casino__faq-toggle {
        font-size: 1.5em;
    }

    /* Ensure all images are responsive and do not overflow */
    .page-casino img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-casino__section,
    .page-casino__card,
    .page-casino__container,
    .page-casino__hero-section,
    .page-casino__intro-section,
    .page-casino__games-section,
    .page-casino__promotions-section,
    .page-casino__guide-section,
    .page-casino__features-section,
    .page-casino__tips-section,
    .page-casino__faq-section,
    .page-casino__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    .page-casino video,
    .page-casino__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-casino__video-section,
    .page-casino__video-container,
    .page-casino__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

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

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

    .page-casino__hero-section {
        height: 500px;
    }

    .page-casino__feature-icon {
        width: 80px;
        height: 80px;
    }
}