/* style/casino.css */
.page-casino {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #ffffff; /* Default body background */
}

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

/* Hero Section */
.page-casino__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    text-align: center;
    padding: 100px 20px;
    padding-top: var(--header-offset, 120px);
    overflow: hidden;
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
}

.page-casino__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

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

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

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

.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; /* Slightly transparent to let content stand out */
}

/* General Section Styling */
.page-casino__intro-section, 
.page-casino__games-section, 
.page-casino__live-casino-section, 
.page-casino__features-section, 
.page-casino__promotions-section, 
.page-casino__guide-section, 
.page-casino__faq-section, 
.page-casino__conclusion-section {
    padding: 60px 0;
}

.page-casino__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    color: #26A9E0; /* Brand primary color */
}

.page-casino__dark-bg .page-casino__section-title {
    color: #ffffff;
}

.page-casino__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary,
.page-casino a[class*="button"],
.page-casino a[class*="btn"] {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-casino__btn-primary:hover {
    background-color: #cc6c06;
    transform: translateY(-2px);
}

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

.page-casino__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
    transform: translateY(-2px);
}

.page-casino__cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-casino__cta-buttons--center {
    justify-content: center;
}

/* Grid Layout */
.page-casino__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-casino__game-card, .page-casino__feature-card, .page-casino__step-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.page-casino__dark-bg .page-casino__game-card,
.page-casino__dark-bg .page-casino__feature-card,
.page-casino__dark-bg .page-casino__step-card {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.page-casino__dark-bg .page-casino__card-title {
    color: #ffffff;
}

.page-casino__game-card:hover, .page-casino__feature-card:hover, .page-casino__step-card:hover {
    transform: translateY(-5px);
}

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

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

.page-casino__card-description {
    font-size: 1em;
    color: #555555;
    flex-grow: 1;
}

.page-casino__dark-bg .page-casino__card-description {
    color: #cccccc;
}

/* Live Casino Section */
.page-casino__live-casino-section .page-casino__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-casino__live-casino-section .page-casino__text-content {
    flex: 1;
}

.page-casino__live-casino-section .page-casino__image-wrapper {
    flex: 1;
    text-align: center;
}

.page-casino__image-full {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Promotions Section */
.page-casino__promo-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-casino__promo-item {
    background-color: #f9f9f9;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid #26A9E0;
    border-radius: 5px;
    font-size: 1.1em;
    color: #333333;
}

.page-casino__dark-bg .page-casino__promo-item {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-left-color: #EA7C07;
}

.page-casino__image-wrapper--center {
    text-align: center;
    margin-top: 40px;
}

.page-casino__image-centered {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

.page-casino__step-card .page-casino__cta-button {
    margin-top: 20px;
}

/* FAQ Section */
.page-casino__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

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

.page-casino__dark-bg .page-casino__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
}

.page-casino__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: #333333;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
}

.page-casino__dark-bg .page-casino__faq-question {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

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

.page-casino__dark-bg .page-casino__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.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 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
    background-color: #ffffff;
}

.page-casino__dark-bg .page-casino__faq-answer {
    color: #cccccc;
    background-color: rgba(255, 255, 255, 0.08);
}

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

.page-casino__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

/* Conclusion Section */
.page-casino__conclusion-section {
    text-align: center;
}

/* Background colors */
.page-casino__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
}

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

/* Image specific styles */
.page-casino img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-casino__hero-title {
        font-size: 3em;
    }
    .page-casino__hero-description {
        font-size: 1.1em;
    }
    .page-casino__section-title {
        font-size: 2em;
    }
    .page-casino__live-casino-section .page-casino__content-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-casino {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-casino__hero-section {
        min-height: 500px;
        padding: 80px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-casino__hero-title {
        font-size: 2.5em;
    }
    .page-casino__hero-description {
        font-size: 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;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-casino__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-casino__cta-buttons--center {
        align-items: center;
    }
    .page-casino__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-casino__intro-section, 
    .page-casino__games-section, 
    .page-casino__live-casino-section, 
    .page-casino__features-section, 
    .page-casino__promotions-section, 
    .page-casino__guide-section, 
    .page-casino__faq-section, 
    .page-casino__conclusion-section {
        padding: 40px 0;
    }
    .page-casino__game-card, .page-casino__feature-card, .page-casino__step-card {
        padding: 20px;
    }
    .page-casino__game-image {
        height: 200px;
    }
    .page-casino__image-full, .page-casino__image-centered {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-casino img {
        max-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__live-casino-section,
    .page-casino__features-section,
    .page-casino__promotions-section,
    .page-casino__guide-section,
    .page-casino__faq-section,
    .page-casino__conclusion-section,
    .page-casino__image-wrapper,
    .page-casino__video-section,
    .page-casino__video-container,
    .page-casino__video-wrapper,
    .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;
      overflow: hidden !important;
    }
    .page-casino__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-casino__faq-answer {
        padding: 10px 20px;
    }
}