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

.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #08160F; /* Dark background for hero section */
  overflow: hidden;
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 300px; /* Ensure minimum size */
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  color: #F2FFF6; /* Light text for dark background */
  margin-top: -150px; /* Adjust to slightly overlap the image for visual flow */
}

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

.page-casino__tagline {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 30px;
  color: #A7D9B8;
}

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

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

.page-casino__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff; /* White text for dark button */
  border: 2px solid transparent;
}

.page-casino__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

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

.page-casino__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6; /* Light text on hover */
  transform: translateY(-2px);
}

.page-casino__section {
  padding: 60px 0;
}

.page-casino__section--dark {
  background-color: #0A4B2C; /* Deep Green background */
  color: #F2FFF6; /* Light text for dark background */
}

.page-casino__section--light {
  background-color: #f8f9fa; /* Light background */
  color: #333333; /* Dark text for light background */
}

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

.page-casino__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit from section for contrast */
}

.page-casino__sub-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 20px;
  color: inherit; /* Inherit from section for contrast */
}

.page-casino__text-block p,
.page-casino__text-block ul,
.page-casino__text-block ol {
  margin-bottom: 15px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: inherit; /* Inherit from section for contrast */
}

.page-casino__text-block ul,
.page-casino__text-block ol {
  padding-left: 25px;
}

.page-casino__text-block li {
  margin-bottom: 8px;
}

.page-casino__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-casino__link {
  color: #2AD16F; /* Brand color for links */
  text-decoration: underline;
}

.page-casino__link:hover {
  color: #13994A;
}

.page-casino__cta-final {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}

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

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

  .page-casino__hero-content {
    margin-top: -80px; /* Less overlap on mobile */
  }

  .page-casino__main-title {
    font-size: 2rem;
  }

  .page-casino__tagline {
    font-size: 1rem;
  }

  .page-casino__cta-buttons,
  .page-casino__cta-final {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-casino__btn-primary,
  .page-casino__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino__section {
    padding: 30px 0;
  }

  .page-casino__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-casino__sub-title {
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-casino__container {
    padding: 0 15px;
  }

  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-casino__section,
  .page-casino__container,
  .page-casino__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-casino__hero-image-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
  }
  
  .page-casino__hero-image {
      min-height: 250px; /* Adjust min height for mobile hero */
  }
}

/* Ensure all images meet minimum size requirements */
.page-casino img {
    min-width: 200px;
    min-height: 200px;
}

/* Contrast fixes for specific elements if needed - based on body light background */
.page-casino__section--dark p,
.page-casino__section--dark ul,
.page-casino__section--dark ol,
.page-casino__section--dark li {
  color: #F2FFF6; /* Light text on dark background */
}

.page-casino__section--light p,
.page-casino__section--light ul,
.page-casino__section--light ol,
.page-casino__section--light li {
  color: #333333; /* Dark text on light background */
}

.page-casino__section--dark .page-casino__link {
    color: #57E38D; /* Glow color for links on dark background */
}

.page-casino__section--dark .page-casino__link:hover {
    color: #2AD16F;
}

.page-casino__section--light .page-casino__link {
    color: #13994A; /* Darker green for links on light background */
}

.page-casino__section--light .page-casino__link:hover {
    color: #2AD16F;
}