.page-casino {
  background-color: #0D0E12;
  color: #FFF3E6;
  font-family: sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

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

.page-casino__hero-section {
  display: flex;
  flex-direction: column; /* Stacks image wrapper and content block vertically */
  align-items: center;
  text-align: center;
  padding: 0;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  background-color: #0D0E12; /* Ensure background color behind hero content */
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain max width of image if needed */
}

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

.page-casino__hero-content {
  padding: 40px 20px;
  width: 100%;
  max-width: 900px;
  border-radius: 0 0 8px 8px;
  margin-top: 0; /* No negative margin to prevent overlay */
  background-color: #0D0E12; /* Explicit background for content block */
}

.page-casino__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FF8C1A;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-casino__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #FFF3E6;
}

.page-casino__hero-button,
.page-casino__game-button,
.page-casino__promotion-button,
.page-casino__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-casino__hero-button:hover,
.page-casino__game-button:hover,
.page-casino__promotion-button:hover,
.page-casino__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-casino__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.page-casino__section-title--gradient {
  background: linear-gradient(90deg, #FFB04D, #FFA53A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.page-casino__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FFA53A, #D96800);
  border-radius: 2px;
}

.page-casino__section-text {
  font-size: 1.05rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
  color: #FFF3E6;
}

.page-casino__intro-section,
.page-casino__games-section,
.page-casino__features-section,
.page-casino__promotions-section,
.page-casino__cta-section {
  padding: 40px 0;
  margin-bottom: 20px;
}

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

.page-casino__game-card,
.page-casino__feature-item,
.page-casino__promotion-card {
  background-color: #17191F;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid #A84F0C;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__game-card:hover,
.page-casino__feature-item:hover,
.page-casino__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-casino__game-image,
.page-casino__feature-icon,
.page-casino__promotion-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-bottom: 1px solid #A84F0C;
}

.page-casino__game-image {
  height: 200px; /* Fixed height for consistency */
}

.page-casino__feature-icon {
  height: 150px;
  object-fit: contain;
  padding: 20px;
}

.page-casino__promotion-image {
  height: 180px;
}

.page-casino__game-title,
.page-casino__feature-title,
.page-casino__promotion-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #FF8C1A;
  margin: 20px 15px 10px 15px;
}

.page-casino__game-description,
.page-casino__feature-description,
.page-casino__promotion-description {
  font-size: 0.95rem;
  color: #FFF3E6;
  margin: 0 15px 20px 15px;
}

.page-casino__update-info {
  text-align: center;
  font-size: 0.9rem;
  color: #FFF3E6;
  margin-top: 40px;
  opacity: 0.7;
}

.text-highlight {
  color: #FFA53A;
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-casino__hero-content {
    padding: 25px 15px;
  }

  .page-casino__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-casino__hero-description {
    font-size: 1rem;
  }

  .page-casino__hero-button,
  .page-casino__game-button,
.page-casino__promotion-button,
.page-casino__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

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

  .page-casino__game-image,
  .page-casino__feature-icon,
  .page-casino__promotion-image {
    max-width: 100%;
    height: auto;
  }

  /* Ensure all content area images are responsive and meet min size */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }

  .page-casino__game-image {
    min-width: 200px; /* Ensure minimum display size */
    min-height: 150px; /* Maintain aspect ratio, but ensure a min height if width is constrained */
  }

  .page-casino__feature-icon {
    min-width: 200px;
    min-height: 133px; /* 200 * (400/600) */
  }

  .page-casino__promotion-image {
    min-width: 200px;
    min-height: 112px; /* 200 * (450/800) */
  }
}

@media (max-width: 480px) {
  .page-casino__hero-content {
    padding: 20px 10px;
  }

  .page-casino__hero-title {
    font-size: clamp(1.8rem, 10vw, 2.2rem);
  }

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

  .page-casino__games-grid,
  .page-casino__features-grid,
  .page-casino__promotions-grid {
    grid-template-columns: 1fr;
  }
}