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

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

.page-casino__hero-section {
  position: relative;
  background-color: #0d0d0d; /* Dark background for hero to contrast with content */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
  overflow: hidden;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  min-height: 100%;
  opacity: 0.4;
}

.page-casino__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 100px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-casino__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffc107; /* Auxiliary color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-casino__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-casino__btn {
  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, transform 0.2s ease;
  white-space: nowrap;
}

.page-casino__btn--primary {
  background-color: #ffc107; /* Auxiliary color */
  color: #007bff; /* Main color for text */
  border: 2px solid #ffc107;
}

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

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

.page-casino__btn--secondary:hover {
  background-color: #ffc107;
  color: #007bff;
  transform: translateY(-2px);
}

.page-casino__section-title {
  font-size: 2.5em;
  color: #007bff; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 60px;
}

.page-casino__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-casino__features-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

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

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

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

.page-casino__feature-icon {
  width: 100%; /* Ensure image fills card width for larger display */
  max-width: 400px; /* Max width to prevent stretching */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
  object-fit: cover;
}

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

.page-casino__feature-text {
  font-size: 1em;
  color: #666666;
}

.page-casino__games-overview {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-casino__game-category {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 80px;
}

.page-casino__game-category--reverse {
  flex-direction: row-reverse;
}

.page-casino__game-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
  object-fit: cover;
}

.page-casino__game-content {
  flex: 1;
}

.page-casino__game-title {
  font-size: 2em;
  color: #007bff;
  margin-bottom: 20px;
}

.page-casino__game-text {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

.page-casino__promotions-section {
  padding: 80px 0;
  background-color: #f0f8ff; /* Light blue tint */
}

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

.page-casino__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-casino__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

.page-casino__promo-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-casino__promo-text {
  font-size: 0.95em;
  color: #666666;
}

.page-casino__promotions-action {
  text-align: center;
  margin-top: 40px;
}

.page-casino__getting-started {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-casino__step-card {
  background-color: #fefefe;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.page-casino__step-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-casino__step-icon {
  width: 100%; /* Ensure image fills card width for larger display */
  max-width: 400px; /* Max width to prevent stretching */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
  object-fit: cover;
}

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

.page-casino__step-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
}

.page-casino__responsible-gaming,
.page-casino__support-cta,
.page-casino__join-us-cta {
  padding: 80px 0;
  text-align: center;
  background-color: #f8f9fa;
}

.page-casino__responsible-gaming .page-casino__btn,
.page-casino__support-cta .page-casino__btn {
  margin-top: 30px;
}

.page-casino__support-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-casino__join-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.page-casino__btn--large {
  padding: 18px 40px;
  font-size: 1.2em;
  min-width: 250px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-casino__hero-title {
    font-size: 2.8em;
  }

  .page-casino__game-category {
    flex-direction: column;
    text-align: center;
  }

  .page-casino__game-category--reverse {
    flex-direction: column;
  }

  .page-casino__game-image {
    max-width: 100%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-content {
    padding: 80px 15px;
  }

  .page-casino__hero-title {
    font-size: 2.2em;
  }

  .page-casino__hero-description {
    font-size: 1.1em;
  }

  .page-casino__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-casino__btn {
    width: 100%;
    max-width: 300px;
  }

  .page-casino__section-title {
    font-size: 2em;
    padding-top: 40px;
  }

  .page-casino__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-casino__game-category {
    gap: 20px;
    margin-bottom: 60px;
  }

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

  .page-casino__game-text {
    font-size: 1em;
  }

  /* Ensure all images within .page-casino are responsive and not smaller than 200px */
  .page-casino img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
  }

  .page-casino__join-actions .page-casino__btn--large {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 1.8em;
  }

  .page-casino__hero-description {
    font-size: 0.95em;
  }

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

  .page-casino__feature-title,
  .page-casino__game-title,
  .page-casino__promo-title,
  .page-casino__step-title {
    font-size: 1.3em;
  }
}