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

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

.page-casino__hero-section {
  position: relative;
  background-color: #003366; /* Dark blue background for hero text area */
  color: #ffffff;
  padding: 80px 20px 0; /* Padding above image */
  text-align: center;
  overflow: hidden;
}

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

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

.page-casino__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-casino__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  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: #FFCC00; /* Gold button */
  color: #003366; /* Dark blue text */
  border: 2px solid #FFCC00;
}

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

.page-casino__btn--secondary {
  background-color: transparent;
  color: #FFCC00; /* Gold text */
  border: 2px solid #FFCC00;
}

.page-casino__btn--secondary:hover {
  background-color: #FFCC00;
  color: #003366;
  transform: translateY(-2px);
}

.page-casino__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-casino__btn--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-casino__hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-top: -60px; /* Overlap with content above for visual flow */
  position: relative;
  z-index: 1;
}

.page-casino__section {
  padding: 80px 0;
}

.page-casino__section:nth-of-type(even) {
  background-color: #f8f8f8;
}

.page-casino__section-title {
  font-size: 2.8em;
  color: #003366; /* Dark blue for section titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

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

.page-casino__feature-card, .page-casino__game-card, .page-casino__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 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;
  justify-content: space-between;
}

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

.page-casino__feature-icon, .page-casino__game-image, .page-casino__promo-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure content images are not too small */
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 25px;
  display: block;
}

.page-casino__card-title {
  font-size: 1.6em;
  color: #003366;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-casino__card-description a {
  color: #003366;
  text-decoration: underline;
}

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

.page-casino__mobile-flex {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-casino__mobile-content {
  flex: 1;
  min-width: 300px;
}

.page-casino__mobile-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-casino__mobile-image {
  max-width: 400px; /* HTML width/height set to 400x500 */
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

.page-casino__mobile-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-casino__mobile-features li {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #333333;
  display: flex;
  align-items: center;
}

.page-casino__icon--check {
  color: #FFCC00;
  font-size: 1.5em;
  margin-right: 10px;
}

.page-casino__icon--check::before {
  content: '✔';
}

.page-casino__responsible-gaming .page-casino__rg-points {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.page-casino__rg-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  color: #555555;
}

.page-casino__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-casino__faq-question {
  font-size: 1.4em;
  color: #003366;
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: bold;
}

.page-casino__faq-answer {
  font-size: 1em;
  color: #666666;
  line-height: 1.8;
}

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

@media (max-width: 768px) {
  .page-casino__hero-section {
    padding: 60px 20px 0;
  }
  .page-casino__hero-title {
    font-size: 2.2em;
  }
  .page-casino__hero-description {
    font-size: 1.1em;
  }
  .page-casino__hero-actions {
    flex-direction: column;
  }
  .page-casino__btn {
    width: 100%;
    max-width: 300px;
  }
  .page-casino__section {
    padding: 60px 0;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__section-intro {
    margin-bottom: 40px;
  }
  .page-casino__features-grid, .page-casino__game-categories, .page-casino__promo-cards {
    grid-template-columns: 1fr;
  }
  .page-casino__mobile-flex {
    flex-direction: column;
  }
  .page-casino__mobile-image {
    max-width: 100%; /* Ensures mobile image does not overflow */
    height: auto;
  }
  .page-casino__faq-question {
    font-size: 1.2em;
  }
  /* Ensure all content images are responsive and do not overflow */
  .page-casino img {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px; /* Maintain minimum size */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 1.8em;
  }
  .page-casino__hero-description {
    font-size: 1em;
  }
  .page-casino__btn--large {
    font-size: 1.1em;
    padding: 15px 25px;
  }
  .page-casino__section-title {
    font-size: 1.6em;
  }
  .page-casino__feature-card, .page-casino__game-card, .page-casino__promo-card {
    padding: 20px;
  }
  .page-casino__card-title {
    font-size: 1.4em;
  }
  .page-casino__faq-question {
    font-size: 1.1em;
  }
}