/* 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: transparent; /* Body background is handled by shared.css */
}

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

.page-casino__dark-bg {
    background-color: #1a1a2e; /* Matches body background */
    color: #ffffff;
}

.page-casino__light-bg {
    background-color: #f8f9fa;
    color: #333333;
}

.page-casino__section-title {
    font-size: 2.8em;
    color: #017439;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-casino__section-description,
.page-casino__text-block {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: inherit;
}

.page-casino__text-block {
    text-align: left;
    margin-bottom: 20px;
}

.page-casino__cta-center {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-casino__btn-primary,
.page-casino__btn-secondary {
    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;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-casino__btn-primary {
    background-color: #017439;
    color: #ffffff; /* Ensure contrast */
    border: 2px solid #017439;
    margin: 0 10px;
}

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

.page-casino__btn-secondary {
    background-color: transparent;
    color: #017439;
    border: 2px solid #017439;
    margin: 0 10px;
}

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

.page-casino__btn-link {
    display: inline-block;
    color: #017439;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-casino__btn-link:hover {
    color: #005f2e;
    text-decoration: underline;
}

/* Hero Section */
.page-casino__hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    position: relative;
    overflow: hidden;
    text-align: center;
}

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

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

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

.page-casino__hero-title {
    font-size: 3.8em;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-casino__hero-description {
    font-size: 1.4em;
    color: #f0f0f0;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* Game Types Section */
.page-casino__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

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

.page-casino__card-title {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 15px;
    padding: 0 15px;
}

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

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

.page-casino__card-text {
    font-size: 1em;
    color: #555555;
    padding: 0 15px;
}

/* Live Casino Section */
.page-casino__live-casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-casino__live-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    color: #ffffff;
}

.page-casino__live-card .page-casino__card-image {
    height: 250px;
}

.page-casino__live-card .page-casino__card-title {
    color: #ffffff;
}

.page-casino__live-card .page-casino__card-text {
    color: #f0f0f0;
}

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

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

.page-casino__promo-card .page-casino__card-image {
    height: 250px;
}

.page-casino__promo-card .page-casino__card-title {
    color: #017439;
}

.page-casino__promo-card .page-casino__card-text {
    color: #555555;
}

/* Security Section */
.page-casino__security-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 800px;
    text-align: left;
}

.page-casino__security-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 5px solid #017439;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #ffffff;
}

.page-casino__security-item strong {
    color: #FFFF00;
}

/* Guide Section */
.page-casino__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-casino__guide-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    color: #333333;
}

.page-casino__guide-icon {
    margin-bottom: 20px;
}

.page-casino__guide-icon img {
    
    
    object-fit: contain;
}

.page-casino__guide-title {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 15px;
}

.page-casino__guide-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 15px;
}

/* Tips Section */
.page-casino__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-casino__tip-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    color: #ffffff;
    text-align: left;
}

.page-casino__tip-title {
    font-size: 1.8em;
    color: #FFFF00;
    margin-bottom: 15px;
}

.page-casino__tip-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* Support Section */
.page-casino__support-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-casino__channel-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    color: #333333;
}

.page-casino__channel-title {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 15px;
}

.page-casino__channel-text {
    font-size: 1em;
    color: #555555;
}

/* FAQ Section */
.page-casino__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

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

.page-casino__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background-color: #017439; /* Brand green for question background */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.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); /* Plus sign to X or minus */
}

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

.page-casino__faq-item.active .page-casino__faq-answer {
    max-height: 1000px !important; /* Sufficient height for content */
    padding: 20px 25px;
}

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

/* Conclusion Section */
.page-casino__conclusion-section .page-casino__section-title {
    color: #017439;
}

.page-casino__conclusion-section .page-casino__text-block {
    color: #333333;
}

/* Global Image, Video, Button Responsive Styles */
.page-casino img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-casino video,
.page-casino__video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

.page-casino__video-section,
.page-casino__video-container,
.page-casino__video-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .page-casino {
        font-size: 15px;
        line-height: 1.5;
    }

    .page-casino__hero-section {
        flex-direction: column;
        text-align: center;
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-casino__hero-content {
        padding: 15px;
    }

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

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

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

    .page-casino__btn-primary,
    .page-casino__btn-secondary,
    .page-casino a[class*="button"],
    .page-casino a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        margin: 0 !important;
    }

    .page-casino__section-title {
        font-size: 2em;
        margin-bottom: 20px;
    }

    .page-casino__section-description,
    .page-casino__text-block {
        font-size: 1em;
        margin-bottom: 20px;
        text-align: left;
    }

    .page-casino__content-area {
        padding: 30px 15px;
    }

    .page-casino__game-grid,
    .page-casino__live-casino-grid,
    .page-casino__promo-grid,
    .page-casino__guide-steps,
    .page-casino__tips-grid,
    .page-casino__support-channels {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-casino img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-casino__section,
    .page-casino__card,
    .page-casino__container,
    .page-casino__game-card,
    .page-casino__live-card,
    .page-casino__promo-card,
    .page-casino__guide-item,
    .page-casino__tip-item,
    .page-casino__channel-item,
    .page-casino__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .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;
    }

    .page-casino__cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .page-casino__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-casino__faq-answer {
        padding: 0 20px;
    }

    .page-casino__faq-item.active .page-casino__faq-answer {
        padding: 15px 20px;
    }
}