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

.page-casino__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px; /* Minimum height for hero */
  background-color: #000; /* Fallback background for hero */
}

.page-casino__hero-container {
  position: relative;
  width: 100%;
  max-width: 1920px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-casino__hero-content {
  position: absolute;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
  z-index: 1;
}

.page-casino__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  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: 30px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.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, transform 0.2s ease;
  cursor: pointer;
  border: none;
}

.page-casino__button--primary {
  background-color: #FFD700; /* Gold primary button */
  color: #8B0000; /* Dark red text for primary button */
}

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

.page-casino__button--secondary {
  background-color: #8B0000; /* Dark red secondary button */
  color: #FFD700; /* Gold text for secondary button */
  border: 2px solid #FFD700;
}

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

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

.page-casino__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-casino__introduction-section,
.page-casino__games-overview,
.page-casino__table-live-section,
.page-casino__promotions-section,
.page-casino__responsible-gaming-section,
.page-casino__mobile-section,
.page-casino__getting-started-section,
.page-casino__faq-section {
  padding: 60px 0;
  background-color: #0d0d0d; /* Slightly lighter black for sections */
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-casino__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-casino__text-content a {
  color: #FFD700;
  text-decoration: underline;
}

.page-casino__text-content a:hover {
  color: #e6c200;
}

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

.page-casino__game-category:nth-child(even) {
  flex-direction: row-reverse;
}

.page-casino__game-image {
  flex: 1;
  min-width: 300px; /* Min width for image, adheres to 200px rule */
  border-radius: 10px;
  object-fit: cover;
  max-width: 600px; /* Example max-width for image */
  height: auto;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-casino__game-details {
  flex: 1;
  min-width: 300px;
}

.page-casino__game-subtitle {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

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

.page-casino__promo-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-casino__promo-card:hover {
  transform: translateY(-10px);
}

.page-casino__promo-image {
  width: 100%;
  max-width: 400px; /* Ensuring image is not too small */
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-casino__promo-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 25px;
}

.page-casino__faq-item {
  background-color: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-casino__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-casino__faq-answer {
  font-size: 1em;
  color: #f0f0f0;
}

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

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

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

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

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

  .page-casino__game-category {
    flex-direction: column;
    gap: 30px;
  }

  .page-casino__game-category:nth-child(even) {
    flex-direction: column; /* Reset for mobile */
  }

  .page-casino__game-image {
    max-width: 100%; /* Ensure images don't overflow */
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
  }

  .page-casino__promo-cards {
    grid-template-columns: 1fr;
  }

  .page-casino__promo-image {
    height: auto; /* Allow height to adjust for mobile */
    max-width: 100%;
    min-width: 200px; /* Ensure images are not too small */
  }

  /* Ensure all images within .page-casino are responsive and meet min-size */
  .page-casino img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Universal minimum width for content images */
    min-height: 200px; /* Universal minimum height for content images */
  }

  .page-casino__hero-section {
    min-height: 400px;
  }
}

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

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

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

  .page-casino__game-subtitle,
  .page-casino__promo-title,
  .page-casino__faq-question {
    font-size: 1.3em;
  }
}