.page-casino {
  color: #333333; /* Default text color for light body background */
}

.page-casino__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  background-color: #1A202C; /* Auxiliary dark background for hero */
  color: #ffffff;
}

.page-casino__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  z-index: 2;
  padding: 20px;
  max-width: 1400px;
}

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

.page-casino__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
}

.page-casino__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  color: #FFD700; /* Gold color 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.4em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #e0e0e0;
}

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

.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;
  white-space: nowrap;
}

.page-casino__button--primary {
  background-color: #FFD700;
  color: #1A202C;
  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: #FFD700;
  color: #1A202C;
  transform: translateY(-2px);
}

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

.page-casino__button--cta {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
  padding: 18px 40px;
  font-size: 1.3em;
  margin-top: 30px;
}

.page-casino__button--cta:hover {
  background-color: #e6c200;
  transform: translateY(-3px) scale(1.02);
}

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

.page-casino__section-title {
  font-size: 2.8em;
  color: #1A202C; /* Dark text for light background */
  text-align: center;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.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;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-casino__why-choose-section {
  background-color: #f8f8f8;
  padding: 80px 0;
}

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

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

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

.page-casino__feature-icon {
  width: 200px; /* Minimum size requirement */
  height: 150px; /* Minimum size requirement */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-casino__feature-title {
  font-size: 1.5em;
  color: #1A202C;
  margin-bottom: 15px;
}

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

.page-casino__game-categories-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-casino__category-card {
  background-color: #1A202C;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.page-casino__category-card:hover {
  transform: translateY(-8px);
}

.page-casino__category-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-casino__category-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

.page-casino__category-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-casino__category-title a:hover {
  color: #e6c200;
}

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

.page-casino__promotions-section {
  background-color: #f8f8f8;
  padding: 80px 0;
}

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

.page-casino__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-casino__promo-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.page-casino__promo-title {
  font-size: 1.6em;
  color: #1A202C;
  margin: 25px 20px 15px 20px;
}

.page-casino__promo-description {
  font-size: 1em;
  line-height: 1.7;
  color: #666666;
  padding: 0 20px 25px 20px;
}

.page-casino__cta-text {
  text-align: center;
  font-size: 1.2em;
  margin-top: 50px;
  color: #1A202C;
}

.page-casino__cta-text a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-casino__cta-text a:hover {
  text-decoration: underline;
}

.page-casino__mobile-experience-section {
  padding: 80px 0;
  background-color: #1A202C;
  color: #ffffff;
}

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

.page-casino__mobile-text {
  flex: 1;
}

.page-casino__mobile-subtitle {
  font-size: 2.2em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-casino__mobile-description {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-casino__small-text {
  font-size: 0.9em;
  color: #aaaaaa;
  margin-top: 15px;
}

.page-casino__mobile-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-casino__mobile-image {
  width: 400px; /* Example display size */
  height: 533px; /* Corresponds to 600x800 aspect ratio for 400px width */
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-casino__responsible-gaming-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-casino__responsible-content {
  text-align: center;
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-casino__responsible-description {
  font-size: 1.1em;
  line-height: 1.8;
  color: #555555;
  margin-bottom: 30px;
}

.page-casino__faq-section {
  background-color: #f8f8f8;
  padding: 80px 0;
}

.page-casino__faq-list {
  margin-top: 40px;
}

.page-casino__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  padding: 25px;
}

.page-casino__faq-question {
  font-size: 1.3em;
  color: #1A202C;
  margin-bottom: 10px;
  cursor: pointer; /* Indicate it's clickable */
}

.page-casino__faq-answer {
  font-size: 1em;
  line-height: 1.7;
  color: #666666;
  display: none; /* Hidden by default */
}

.page-casino__faq-answer a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-casino__faq-answer a:hover {
  text-decoration: underline;
}

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

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

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

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

  .page-casino__mobile-content {
    flex-direction: column;
    text-align: center;
  }

  .page-casino__mobile-image {
    width: 350px;
    height: 467px; /* Adjust height based on new width and original ratio */
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    min-height: 500px;
    padding: 40px 15px;
  }

  .page-casino__hero-title {
    font-size: 2.2em; /* Adjusted for mobile */
    margin-bottom: 15px;
  }

  .page-casino__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

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

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

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

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

  .page-casino__feature-card,
  .page-casino__category-card,
  .page-casino__promo-card {
    padding: 20px;
  }

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

  .page-casino__feature-description,
  .page-casino__category-description,
  .page-casino__promo-description {
    font-size: 0.9em;
  }

  .page-casino__mobile-image {
    width: 300px; /* Adjusted for mobile */
    height: 400px; /* Adjust height based on new width and original ratio */
  }

  .page-casino__faq-question {
    font-size: 1.1em;
  }

  .page-casino__faq-answer {
    font-size: 0.9em;
  }

  /* CRITICAL: Specific rule for content images to prevent overflow on mobile */
  .page-casino__features-grid img,
  .page-casino__categories-grid img,
  .page-casino__promo-cards img,
  .page-casino__mobile-image-wrapper img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 1.8em;
  }
  .page-casino__hero-description {
    font-size: 0.9em;
  }
  .page-casino__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-casino__button--cta {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-casino__section-title {
    font-size: 1.6em;
  }
  .page-casino__mobile-subtitle {
    font-size: 1.8em;
  }
}