.page-casino {
  color: #333333; /* Dark text for light body background */
}

.page-casino__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-casino__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF;
  max-width: 900px;
  width: 90%;
  z-index: 2;
}

.page-casino__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login color for emphasis */
}

.page-casino__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
}

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

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

.page-casino__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.page-casino__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 15px auto 0;
}

.page-casino__text-content {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-casino__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px;
  text-align: center;
}

.page-casino__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-casino__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FCBC45;
}

.page-casino__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-casino__button--login:hover {
  background-color: #FFD700;
  border-color: #FFD700;
}

.page-casino__button--primary {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-casino__button--primary:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-casino__button--secondary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-casino__button--secondary:hover {
  background-color: #FFD700;
  border-color: #FFD700;
}

.page-casino__button--tertiary {
  background-color: #333333;
  color: #FFFFFF;
  border: 2px solid #333333;
}

.page-casino__button--tertiary:hover {
  background-color: #555555;
  border-color: #555555;
}

.page-casino__button--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

.page-casino__button--full-width {
  width: 100%;
  max-width: 400px;
  margin: 20px auto;
}

.page-casino__games-section,
.page-casino__promo-section,
.page-casino__login-guide-section,
.page-casino__responsible-gaming-section,
.page-casino__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Light background for content sections */
}

.page-casino__games-section {
  background-color: #f8f8f8;
}

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

.page-casino__category-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-casino__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-casino__card-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-casino__card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-casino__card-title a:hover {
  color: #FCBC45;
}

.page-casino__card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 25px;
  padding: 0 20px;
}

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

.page-casino__guide-card {
  background-color: #f0f0f0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease;
}

.page-casino__guide-card:hover {
  background-color: #e8e8e8;
}

.page-casino__responsible-gaming-section {
  background-color: #f0f0f0;
}

.page-casino__cta-section {
  text-align: center;
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
}

.page-casino__cta-section .page-casino__section-title {
  color: #FCBC45;
}

.page-casino__cta-section .page-casino__text-content {
  color: #e0e0e0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-casino__hero-title {
    font-size: 3em;
  }
  .page-casino__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-title {
    font-size: 2.5em;
  }
  .page-casino__hero-description {
    font-size: 1em;
  }
  .page-casino__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__button {
    min-width: unset;
    width: 100%;
  }
  .page-casino__section-title {
    font-size: 2em;
  }
  .page-casino__text-content {
    font-size: 0.95em;
  }
  .page-casino__card-image {
    height: 200px; /* Ensure images are not too small */
  }
  .page-casino__category-card, .page-casino__guide-card {
    padding-bottom: 20px;
  }
  .page-casino__card-title {
    font-size: 1.5em;
  }
  .page-casino__button--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
  /* Mobile images must not overflow */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }
  /* Ensure content area images are not smaller than 200px */
  .page-casino__category-card img, .page-casino__guide-card img {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 2em;
  }
  .page-casino__hero-description {
    font-size: 0.9em;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__container {
    padding: 30px 15px;
  }
  .page-casino__game-categories,
  .page-casino__guide-cards {
    grid-template-columns: 1fr;
  }
}