.page-casino {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

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

.page-casino__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
  background-color: #0A192F; /* Fallback background if image fails */
}

.page-casino__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6; /* Slightly dim the background image for text readability */
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-casino__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.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-buttons {
  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;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

.page-casino__button--primary {
  background-color: #FFD700;
  color: #0A192F;
  border: 2px solid #FFD700;
}

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

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

.page-casino__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.page-casino__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  min-width: 120px; /* Smaller min-width for category cards */
}

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

.page-casino__button--cta {
  padding: 20px 40px;
  font-size: 1.3em;
  min-width: 300px;
  margin-top: 30px;
}

.page-casino__button--link {
  background-color: transparent;
  color: #0A192F;
  border: 2px solid #0A192F;
  padding: 12px 25px;
  min-width: unset;
}

.page-casino__button--link:hover {
  background-color: #0A192F;
  color: #FFD700;
}

.page-casino__section-title {
  font-size: 2.5em;
  color: #0A192F;
  text-align: center;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.page-casino__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

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

.page-casino__game-categories,
.page-casino__why-choose,
.page-casino__responsible-gaming,
.page-casino__faq,
.page-casino__cta-section {
  padding: 60px 0;
  background-color: #F8F8F8;
}

.page-casino__game-categories {
  background-color: #ffffff;
}

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

.page-casino__category-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

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

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

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

.page-casino__feature-item {
  text-align: center;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.page-casino__feature-icon {
  width: 250px; /* Minimum 200px, chosen 250px for better visual */
  height: 187px; /* Maintain aspect ratio */
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 8px;
}

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

.page-casino__feature-description {
  font-size: 1em;
  color: #555555;
}

.page-casino__cta-center {
  text-align: center;
  margin-top: 60px;
}

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

.page-casino__responsible-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-casino__responsible-list li {
  background-color: #ffffff;
  padding: 15px 25px;
  margin-bottom: 15px;
  border-left: 5px solid #FFD700;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  color: #333333;
}

.page-casino__responsible-list li strong {
  color: #0A192F;
}

.page-casino__responsible-text {
  text-align: center;
  font-size: 1.1em;
  margin-top: 30px;
  color: #555555;
}

.page-casino__faq {
  background-color: #ffffff;
}

.page-casino__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 20px 25px;
  transition: background-color 0.3s ease;
}

.page-casino__faq-item:hover {
  background-color: #f3f3f3;
}

.page-casino__faq-question {
  font-size: 1.4em;
  color: #0A192F;
  margin-bottom: 10px;
}

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

.page-casino__cta-section {
  background-color: #0A192F;
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

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

.page-casino__cta-section .page-casino__section-title::after {
  background-color: #ffffff;
}

.page-casino__cta-section .page-casino__section-intro {
  color: #f0f0f0;
}

@media (max-width: 992px) {
  .page-casino__hero-title {
    font-size: 2.5em;
  }
  .page-casino__hero-description {
    font-size: 1.1em;
  }
  .page-casino__section-title {
    font-size: 2em;
  }
  .page-casino__category-grid,
  .page-casino__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-casino {
    padding-top: var(--header-offset, 80px); /* Adjust offset for mobile header */
  }
  .page-casino__hero-section {
    padding: 60px 0;
  }
  .page-casino__hero-title {
    font-size: 2em;
  }
  .page-casino__hero-description {
    font-size: 1em;
  }
  .page-casino__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-casino__button--small {
    width: 90%;
  }
  .page-casino__button--large {
    width: 90%;
  }
  .page-casino__button--cta {
    width: 90%;
  }
  .page-casino__container {
    padding: 0 15px;
  }
  .page-casino__category-grid,
  .page-casino__features-grid {
    grid-template-columns: 1fr;
  }
  .page-casino__category-image, .page-casino__feature-icon {
    max-width: 100%;
    height: auto;
  }
  /* Ensure all content area images are responsive and don't overflow */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }
  .page-casino__responsible-list {
    padding: 0 15px;
  }
  .page-casino__faq-question {
    font-size: 1.2em;
  }
}