.page-casino {
  color: #333333; /* Default text color for light body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-casino__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #ffffff;
  gap: 40px;
}

.page-casino__hero-content {
  max-width: 800px;
}

.page-casino__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-casino__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

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

.page-casino__hero-image {
  width: 100%;
  max-width: 1000px;
  margin-top: 40px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-casino__hero-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

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

.page-casino__section--dark-bg {
  background-color: #f8f9fa; /* Light grey background for contrast */
  color: #333333;
}

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

.page-casino__section-title {
  font-size: 2.8em;
  margin-bottom: 25px;
  color: #007bff;
}

.page-casino__section-description {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #555555;
}

.page-casino__section-description--highlight {
  font-weight: bold;
  color: #333333;
  margin-top: 40px;
  border-left: 5px solid #ffc107;
  padding-left: 20px;
  text-align: left;
}

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

.page-casino__category-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino__category-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-casino__category-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-casino__category-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

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

.page-casino__button--primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  transform: translateY(-2px);
}

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

.page-casino__button--secondary:hover {
  background-color: #ffc107;
  color: #000000;
  transform: translateY(-2px);
}

.page-casino__button--small {
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-casino__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.page-casino__feature-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-casino__feature-item img {
  width: 250px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 25px;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.05)); /* Allowed for shadows */
}

.page-casino__feature-title {
  font-size: 1.9em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-casino__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
}

.page-casino__cta-section {
  background: linear-gradient(45deg, #007bff, #0056b3);
  color: #ffffff;
  padding: 100px 20px;
}

.page-casino__cta-content {
  max-width: 900px;
}

.page-casino__cta-content .page-casino__section-title {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-casino__cta-content .page-casino__section-description {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 50px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__hero-title {
    font-size: 2.8em;
  }
  .page-casino__section-title {
    font-size: 2.4em;
  }
  .page-casino__hero-section {
    padding: 50px 20px;
  }
  .page-casino__section {
    padding: 60px 20px;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    flex-direction: column;
    padding: 40px 15px;
  }
  .page-casino__hero-title {
    font-size: 2.2em;
  }
  .page-casino__hero-description {
    font-size: 1.1em;
  }
  .page-casino__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__button {
    width: 100%;
    max-width: 300px;
  }
  .page-casino__section {
    padding: 40px 15px;
  }
  .page-casino__section-title {
    font-size: 2em;
  }
  .page-casino__section-description {
    font-size: 1em;
  }
  .page-casino__game-categories-grid,
  .page-casino__features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-casino__category-card img,
  .page-casino__feature-item img {
    max-width: 100%;
    height: auto;
  }
  .page-casino__category-title,
  .page-casino__feature-title {
    font-size: 1.5em;
  }
  .page-casino__cta-section {
    padding: 70px 15px;
  }

  /* Mobile content image scaling */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 1.8em;
  }
  .page-casino__section-title {
    font-size: 1.6em;
  }
  .page-casino__category-title,
  .page-casino__feature-title {
    font-size: 1.3em;
  }
  .page-casino__button {
    padding: 12px 25px;
    font-size: 1em;
  }
}