.page-slot-games {
  color: var(--page-slot-games__text-main);
  background-color: var(--page-slot-games__deep-navy); /* Overall background */
  padding-bottom: 40px; /* Add some bottom padding */
}

/* Variables for colors */
:root {
  --page-slot-games__primary-color: #113B7A;
  --page-slot-games__secondary-color: #1D5FD1;
  --page-slot-games__button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --page-slot-games__card-bg: #10233F;
  --page-slot-games__text-main: #F3F8FF;
  --page-slot-games__text-secondary: #AFC4E8;
  --page-slot-games__border-color: #244D84;
  --page-slot-games__glow-color: #4FA8FF;
  --page-slot-games__gold-color: #F2C14E;
  --page-slot-games__divider-color: #1B3357;
  --page-slot-games__deep-navy: #08162B;
}

.page-slot-games__hero-section {
  padding-top: 10px; /* Small top padding for the first section */
  margin-bottom: 40px;
  background-color: var(--page-slot-games__card-bg); /* Use a background color for the section */
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto; /* Responsive height */
  display: block;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 16/9; /* Default aspect ratio for hero */
}

.page-slot-games__hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px 40px; /* Padding for content */
  text-align: center;
}

.page-slot-games__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--page-slot-games__gold-color); /* Use gold for main title */
  margin-bottom: 15px;
  font-size: clamp(1.8rem, 4.5vw, 3rem); /* H1 font size with clamp */
  max-width: 800px; /* Limit H1 width */
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__description {
  font-size: 1.125rem; /* 18px */
  line-height: 1.6;
  color: var(--page-slot-games__text-secondary);
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-slot-games__btn--primary {
  background: var(--page-slot-games__button-gradient);
  color: var(--page-slot-games__text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn--secondary {
  background-color: transparent;
  color: var(--page-slot-games__gold-color);
  border: 2px solid var(--page-slot-games__gold-color);
  padding: 12px 28px;
}

.page-slot-games__btn--secondary:hover {
  background-color: var(--page-slot-games__gold-color);
  color: var(--page-slot-games__deep-navy);
  transform: translateY(-2px);
}

.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-slot-games__section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--page-slot-games__text-main);
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px; /* Spacing for sections */
}

.page-slot-games__features-section {
  background-color: var(--page-slot-games__deep-navy);
  padding-bottom: 60px;
}

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

.page-slot-games__feature-card {
  background-color: var(--page-slot-games__card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid var(--page-slot-games__border-color);
}

.page-slot-games__feature-image {
  width: 100%;
  height: auto;
  min-height: 200px; /* Enforce min height for content images */
  display: block;
  object-fit: cover;
  object-position: center;
  margin-bottom: 15px;
  aspect-ratio: 4/3; /* Common aspect ratio for content images */
}

.page-slot-games__feature-title {
  font-size: 1.375rem; /* 22px */
  font-weight: 600;
  color: var(--page-slot-games__gold-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__feature-text {
  font-size: 1rem; /* 16px */
  line-height: 1.6;
  color: var(--page-slot-games__text-secondary);
  padding: 0 15px;
}

.page-slot-games__cta-wrapper {
  text-align: center;
  margin-top: 20px;
}

.page-slot-games__how-to-play-section {
  background-color: var(--page-slot-games__deep-navy);
  padding-bottom: 60px;
}

.page-slot-games__step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-slot-games__step-item {
  background-color: var(--page-slot-games__card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--page-slot-games__border-color);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--page-slot-games__button-gradient);
  color: var(--page-slot-games__text-main);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--page-slot-games__gold-color);
  margin-bottom: 10px;
}

.page-slot-games__step-text {
  font-size: 1rem;
  color: var(--page-slot-games__text-secondary);
  line-height: 1.6;
}

.page-slot-games__faq-section {
  background-color: var(--page-slot-games__deep-navy);
  padding-bottom: 60px;
}

.page-slot-games__faq-item {
  background-color: var(--page-slot-games__card-bg);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid var(--page-slot-games__border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-slot-games__faq-question {
  font-size: 1.25rem; /* 20px */
  font-weight: 600;
  color: var(--page-slot-games__text-main);
  margin-bottom: 10px;
}

.page-slot-games__faq-answer {
  font-size: 1rem;
  color: var(--page-slot-games__text-secondary);
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-slot-games__hero-content {
    padding: 0 10px 30px;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem); /* Adjust H1 for smaller screens */
    margin-bottom: 10px;
  }

  .page-slot-games__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-slot-games__section-title {
    font-size: clamp(1.3rem, 5vw, 2rem);
    padding-top: 30px;
  }

  .page-slot-games__features-grid,
  .page-slot-games__step-list {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }

  .page-slot-games__feature-image,
  .page-slot-games__hero-image {
    max-width: 100%;
    height: auto;
  }

  .page-slot-games__btn {
    padding: 12px 25px;
    font-size: 0.95rem;
  }

  .page-slot-games__feature-title {
    font-size: 1.2rem;
  }

  .page-slot-games__step-title {
    font-size: 1.15rem;
  }

  .page-slot-games__faq-question {
    font-size: 1.1rem;
  }

  /* Ensure content area images are responsive and not too small */
  .page-slot-games img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min width */
    min-height: 200px; /* Enforce min height */
  }

  .page-slot-games__feature-image {
    min-height: 200px; /* Specific for feature images */
  }
}

/* Further fine-tuning for very small screens (e.g., < 549px) */
@media (max-width: 549px) {
  .page-slot-games__main-title {
    font-size: clamp(1.3rem, 7vw, 2rem);
  }
  .page-slot-games__description {
    font-size: 0.9rem;
  }
  .page-slot-games__section-title {
    font-size: clamp(1.2rem, 6vw, 1.8rem);
  }
  .page-slot-games__btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Ensure no `filter` is applied to images */
.page-slot-games img {
  filter: none;
}