/* General styles for .page-casino content */
.page-casino {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    background-color: #f8f8f8; /* A light background for the main content area */
}

.page-casino__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-casino__section-description {
    font-size: 18px;
    color: #555555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

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

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

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

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

.page-casino__btn-secondary:hover {
    background-color: #f0f8ff;
    color: #1a8ccb;
    border-color: #1a8ccb;
    transform: translateY(-2px);
}

.page-casino__btn-small {
    padding: 8px 15px;
    font-size: 14px;
    background-color: #26A9E0;
    color: #ffffff;
    border: 1px solid #26A9E0;
    border-radius: 5px;
}

.page-casino__btn-small:hover {
    background-color: #1a8ccb;
    border-color: #1a8ccb;
}

/* Hero Section */
.page-casino__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
    background-color: #f0f8ff; /* Light blue background for hero */
}

.page-casino__hero-section img {
    width: 100%;
    height: 600px; /* Fixed height for desktop */
    object-fit: cover;
    display: block;
}

.page-casino__hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-casino__main-title {
    font-size: 48px;
    font-weight: 800;
    color: #26A9E0;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-casino__hero-description {
    font-size: 20px;
    color: #555555;
    max-width: 900px;
    margin: 0 auto 30px;
}

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

/* Features Section */
.page-casino__features-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-casino__features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-casino__feature-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-casino__feature-card:hover {
    transform: translateY(-8px);
}

.page-casino__feature-card img {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-casino__feature-title {
    font-size: 22px;
    font-weight: 700;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-casino__feature-card p {
    font-size: 16px;
    color: #666666;
}

/* Games Section */
.page-casino__games-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-casino__games-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 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-casino__game-card:hover {
    transform: translateY(-8px);
}

.page-casino__game-card img {
    width: 100%;
    height: 220px; /* Fixed height for game cards */
    object-fit: cover;
    display: block;
}

.page-casino__game-title {
    font-size: 20px;
    font-weight: 700;
    margin: 20px 15px 10px;
}

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

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

.page-casino__game-card p {
    font-size: 15px;
    color: #666666;
    padding: 0 15px 20px;
}

.page-casino__game-card .page-casino__btn-small {
    margin-bottom: 20px;
}

/* Promotions Section */
.page-casino__promotions-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-casino__promotions-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 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-casino__promo-card:hover {
    transform: translateY(-8px);
}

.page-casino__promo-card img {
    width: 100%;
    height: 200px; /* Fixed height for promo cards */
    object-fit: cover;
    display: block;
}

.page-casino__promo-title {
    font-size: 20px;
    font-weight: 700;
    color: #26A9E0;
    margin: 20px 15px 10px;
}

.page-casino__promo-card p {
    font-size: 15px;
    color: #666666;
    padding: 0 15px 20px;
}

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

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

.page-casino__cta-content {
    max-width: 800px;
    margin: 0 auto;
    color: #ffffff;
}

.page-casino__cta-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-casino__cta-description {
    font-size: 18px;
    margin-bottom: 40px;
    color: #f0f8ff;
}

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

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

details.page-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-casino__faq-item summary.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-casino__faq-item summary.page-casino__faq-question::-webkit-details-marker {
  display: none;
}
details.page-casino__faq-item summary.page-casino__faq-question:hover {
  background: #f5f5f5;
}
.page-casino__faq-qtext {
  flex: 1;
  font-size: 18px; /* Slightly larger for better readability */
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333; /* Dark text */
}
.page-casino__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-casino__faq-item .page-casino__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

.page-casino__faq-answer p {
    margin: 0;
}


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

    .page-casino__section-title {
        font-size: 28px;
        padding-top: 30px;
    }

    .page-casino__section-description {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    /* Buttons */
    .page-casino__btn-primary,
    .page-casino__btn-secondary,
    .page-casino__btn-small,
    .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__hero-cta-group, /* Button containers */
    .page-casino__button-group,
    .page-casino__btn-container,
    .page-casino__cta-center {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-direction: column !important; /* Stack buttons vertically */
      gap: 15px;
    }

    /* Images */
    .page-casino img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important; /* Ensure images scale */
    }

    /* Hero Section */
    .page-casino__hero-section {
        padding-top: 10px; /* Small top padding for mobile as well */
    }
    .page-casino__hero-section img {
        height: 250px;
        object-fit: contain; /* Banner 849px contain */
    }
    .page-casino__hero-content {
        padding: 30px 15px;
    }
    .page-casino__main-title {
        font-size: 32px;
    }
    .page-casino__hero-description {
        font-size: 16px;
    }
    .page-casino__hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }

    /* Features Section */
    .page-casino__features-section {
        padding: 40px 15px;
    }
    .page-casino__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-casino__feature-card {
        padding: 20px;
    }
    .page-casino__feature-title {
        font-size: 20px;
    }

    /* Games Section */
    .page-casino__games-section {
        padding: 40px 15px;
    }
    .page-casino__games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-casino__game-card img {
         /* Adjust height for mobile game cards */
    }
    .page-casino__game-title {
        font-size: 18px;
    }
    .page-casino__game-card p {
        font-size: 14px;
    }

    /* Promotions Section */
    .page-casino__promotions-section {
        padding: 40px 15px;
    }
    .page-casino__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-casino__promo-card img {
         /* Adjust height for mobile promo cards */
    }
    .page-casino__promo-title {
        font-size: 18px;
    }
    .page-casino__promo-card p {
        font-size: 14px;
    }
    .page-casino__cta-center {
        margin-top: 30px;
    }

    /* CTA Section */
    .page-casino__cta-section {
        padding: 50px 15px;
    }
    .page-casino__cta-title {
        font-size: 30px;
    }
    .page-casino__cta-description {
        font-size: 16px;
    }

    /* FAQ Section */
    details.page-casino__faq-item summary.page-casino__faq-question { padding: 15px; }
    .page-casino__faq-qtext { font-size: 16px; }
    details.page-casino__faq-item .page-casino__faq-answer { padding: 0 15px 15px; }
    .page-casino__faq-section {
        padding: 40px 15px;
    }
    .page-casino__faq-qtext {
        font-size: 16px;
    }
    .page-casino__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
}