.page-casino {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--bg-color, #ffffff); /* Inherit from shared or default to white */
}

.page-casino__section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-casino__dark-bg,
.page-casino__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom */
  overflow: hidden;
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px; /* Space between image and content */
  box-sizing: border-box;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-casino__hero-content {
  position: relative; /* Ensure content is above any potential background overlap, but not 'on' the image */
  max-width: 900px;
  text-align: center;
  z-index: 10;
  color: #ffffff; /* Text color for dark hero section */
}

.page-casino__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
}

.page-casino__lead-paragraph {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 30px;
  color: inherit; /* Inherit color from parent section */
}

.page-casino__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
}

.page-casino__paragraph {
  font-size: 1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-casino__highlight {
  color: inherit;
  font-weight: bold;
}

.page-casino__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-casino__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1e87b7;
}

.page-casino__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 30px auto;
  object-fit: cover;
}

.page-casino__image-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
}

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

.page-casino__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-casino__dark-section .page-casino__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1.1em;
  color: #333333; /* Default for light FAQ */
  list-style: none;
}

.page-casino__dark-section .page-casino__faq-question {
  color: #ffffff; /* For dark section FAQ */
}

.page-casino__faq-item[open] .page-casino__faq-question {
  border-bottom: 1px solid #e0e0e0;
}

.page-casino__dark-section .page-casino__faq-item[open] .page-casino__faq-question {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.page-casino__faq-question::-webkit-details-marker {
  display: none;
}

.page-casino__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-casino__faq-item[open] .page-casino__faq-toggle {
  transform: rotate(45deg);
}

.page-casino__faq-answer {
  padding: 0 25px 18px;
  font-size: 0.95em;
  color: #555555; /* Default for light FAQ answer */
}

.page-casino__dark-section .page-casino__faq-answer {
  color: #f0f0f0; /* For dark section FAQ answer */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-casino__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }
  .page-casino__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-casino__section {
    padding: 40px 15px;
  }

  .page-casino__hero-section {
    padding: 10px 15px 40px;
  }

  .page-casino__main-title {
    font-size: clamp(1.5em, 6vw, 2.2em);
  }

  .page-casino__lead-paragraph {
    font-size: 1em;
  }

  .page-casino__section-title {
    font-size: 1.8em;
  }

  .page-casino__sub-title {
    font-size: 1.5em;
  }

  .page-casino__paragraph {
    font-size: 0.95em;
  }

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

  .page-casino__btn-primary,
  .page-casino__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

  .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-image-wrapper,
  .page-casino__image-wrapper,
  .page-casino__faq-list {
    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 {
    padding: 15px 20px;
    font-size: 1em;
  }

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