/* style/casino.css */

/* Base styles for the page-casino scope */
.page-casino {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

/* Ensure headings and paragraphs use appropriate colors for contrast */
.page-casino h1,
.page-casino h2,
.page-casino h3,
.page-casino h4,
.page-casino h5,
.page-casino h6 {
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
}

.page-casino p {
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 15px;
}

.page-casino a {
    color: #22C768; /* Auxiliary color for links */
    text-decoration: none;
}

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

/* Hero Section */
.page-casino__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    overflow: hidden;
}

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

.page-casino__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability */
}

.page-casino__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(8, 22, 15, 0.7); /* Card BG with transparency */
    border-radius: 10px;
}

.page-casino__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #F2FFF6; /* Text Main */
}

.page-casino__description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #A7D9B8; /* Text Secondary */
}

.page-casino__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-casino__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #ffffff;
    border: none;
}

.page-casino__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

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

.page-casino__btn-secondary:hover {
    background: rgba(42, 209, 111, 0.1);
    transform: translateY(-2px);
}

/* Sections */
.page-casino__section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-casino__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 40px;
    color: #F2FFF6; /* Text Main */
    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: #2AD16F; /* Button color for highlight */
    border-radius: 2px;
}

.page-casino__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #A7D9B8; /* Text Secondary */
    text-align: justify;
}

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

.page-casino__card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #2E7A4E; /* Border color */
}

.page-casino__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-height: 200px; /* Enforce min size */
}

.page-casino__card-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #F2FFF6; /* Text Main */
}

.page-casino__card-text {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Overview Section */
.page-casino__image-full-width {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 40px;
    min-height: 200px; /* Enforce min size */
}

.page-casino__feature-list {
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-casino__feature-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #F2FFF6; /* Text Main */
    text-align: center;
}

.page-casino__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-casino__list-item {
    background-color: #0A4B2C; /* Deep Green */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 1.1rem;
    color: #A7D9B8; /* Text Secondary */
    border-left: 5px solid #2AD16F;
}

.page-casino__list-item strong {
    color: #F2FFF6; /* Text Main */
}

/* Benefits Section (Dark Background) */
.page-casino__dark-section {
    background-color: #0A4B2C; /* Deep Green */
    color: #F2FFF6; /* Text Main */
    padding: 80px 20px;
    text-align: center;
}

.page-casino__dark-section .page-casino__section-title {
    color: #F2FFF6; /* Text Main */
}

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

.page-casino__dark-bg {
    background-color: #11271B; /* Card BG */
    color: #F2FFF6; /* Text Main */
    border: 1px solid #2E7A4E; /* Border color */
}

.page-casino__dark-bg .page-casino__card-title {
    color: #F2FFF6; /* Text Main */
}

.page-casino__dark-bg .page-casino__card-text {
    color: #A7D9B8; /* Text Secondary */
}

/* Registration Guide */
.page-casino__registration-guide {
    text-align: center;
}

.page-casino__step-by-step {
    counter-reset: step-counter; /* Initialize counter */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-casino__step-item {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    padding: 25px;
    text-align: left;
    border: 1px solid #2E7A4E; /* Border color */
}

.page-casino__step-title {
    font-size: 1.3rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
    position: relative;
    padding-left: 35px; /* Adjust padding for counter */
}

.page-casino__step-title::before {
    counter-increment: step-counter; /* Increment counter for each step-title */
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #2AD16F;
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

.page-casino__step-text {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
}

/* FAQ Section */
.page-casino__faq-section {
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-casino__faq-list {
    margin-top: 40px;
}

.page-casino__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-casino__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    user-select: none;
    background-color: #0A4B2C; /* Deep Green */
    transition: background-color 0.3s ease;
}

.page-casino__faq-question:hover {
    background-color: #1E3A2A; /* Divider color for hover */
}

.page-casino__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: #2AD16F;
}

.page-casino__faq-item[open] .page-casino__faq-toggle {
    content: '−';
}

.page-casino__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-casino__hero-content {
        padding: 15px;
    }
    .page-casino__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-casino__description {
        font-size: 1.1rem;
    }
    .page-casino__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .page-casino__hero-section {
        padding: 40px 15px;
        min-height: 400px;
    }
    .page-casino__hero-content {
        max-width: 100%;
        padding: 15px;
    }
    .page-casino__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-casino__description {
        font-size: 1rem;
    }
    .page-casino__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-casino__btn-primary,
    .page-casino__btn-secondary {
        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__section {
        padding: 40px 15px;
    }
    .page-casino__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .page-casino__promo-cards,
    .page-casino__benefit-grid,
    .page-casino__step-by-step {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-casino__card-image,
    .page-casino__image-full-width {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important; /* Ensure min size */
        display: block !important;
    }

    .page-casino__card,
    .page-casino__feature-list,
    .page-casino__step-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__dark-section {
        padding: 40px 15px;
    }

    .page-casino__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-casino__faq-answer {
        padding: 0 20px 15px;
    }
}

/* Ensure all images are responsive and meet min size requirements */
.page-casino img {
    max-width: 100%;
    height: auto;
    display: block; /* Prevents extra space below images */
}

/* For containers that hold images/videos, ensure no overflow */
.page-casino__section,
.page-casino__card,
.page-casino__container,
.page-casino__promo-cards,
.page-casino__benefit-grid,
.page-casino__step-by-step,
.page-casino__faq-list {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden; /* Important for containing responsive elements */
}

/* Video specific CSS - if there were any videos, they would follow this pattern */
.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 (max-width: 768px) {
  .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__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-casino__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}