.page-slot-games {
  padding-top: 10px;
  background-color: #F4F7FB;
  color: #1F2D3D;
}

.page-slot-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1390px;
  margin: 0 auto 40px auto;
  padding: 20px;
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-slot-games__hero-content {
  max-width: 900px;
  padding: 0 15px;
}

.page-slot-games__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #000000;
  margin-bottom: 15px;
  font-size: clamp(2.2rem, 4vw, 3rem); /* Clamp for responsive H1 */
}

.page-slot-games__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #1F2D3D;
}

.page-slot-games__hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.page-slot-games__btn {
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.page-slot-games__btn--primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.4);
}

.page-slot-games__btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-slot-games__btn--secondary {
  background-color: #FFFFFF;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.1);
}

.page-slot-games__btn--secondary:hover {
  background-color: #2F6BFF;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.page-slot-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  padding: 0 15px;
}

.page-slot-games__features-section,
.page-slot-games__popular-games-section,
.page-slot-games__how-to-play-section,
.page-slot-games__faq-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

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

.page-slot-games__feature-card,
.page-slot-games__game-card,
.page-slot-games__step-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__feature-card:hover,
.page-slot-games__game-card:hover,
.page-slot-games__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__feature-icon {
  width: 100%; /* Ensure images are large */
  max-width: 250px;
  height: auto;
  min-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-slot-games__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 10px;
}

.page-slot-games__card-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #1F2D3D;
}

.page-slot-games__game-thumbnail {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min width */
  min-height: 200px; /* Enforce min height */
}

.page-slot-games__game-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.page-slot-games__game-title a {
  color: #2F6BFF;
  text-decoration: none;
}

.page-slot-games__game-title a:hover {
  text-decoration: underline;
}

.page-slot-games__game-provider {
  font-size: 0.95rem;
  color: #6FA3FF;
  margin-bottom: 20px;
}

.page-slot-games__btn--play {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(47, 107, 255, 0.3);
}

.page-slot-games__btn--play:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.page-slot-games__view-all-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-slot-games__step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 15px;
  line-height: 1;
}

.page-slot-games__btn--small {
  padding: 8px 18px;
  font-size: 0.9rem;
  border-radius: 6px;
  margin-top: 15px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  box-shadow: 0 3px 8px rgba(47, 107, 255, 0.3);
}

.page-slot-games__btn--small:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.page-slot-games__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-slot-games__faq-question {
  font-size: 1.2rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 10px;
}

.page-slot-games__faq-answer {
  font-size: 1rem;
  line-height: 1.6;
  color: #1F2D3D;
}

.page-slot-games__faq-answer a {
  color: #2F6BFF;
  text-decoration: none;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-slot-games__hero-section {
    margin-bottom: 30px;
    padding: 15px;
  }

  .page-slot-games__main-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

  .page-slot-games__hero-description {
    font-size: 1rem;
  }

  .page-slot-games__hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

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

  .page-slot-games__section-title {
    font-size: clamp(1.6rem, 5vw, 2rem);
    margin-bottom: 30px;
  }

  .page-slot-games__features-section,
  .page-slot-games__popular-games-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__faq-section {
    margin: 40px auto;
    padding: 0 15px;
  }

  .page-slot-games__features-grid,
  .page-slot-games__game-grid,
  .page-slot-games__step-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__feature-card,
  .page-slot-games__game-card,
  .page-slot-games__step-card {
    padding: 25px;
  }

  .page-slot-games__feature-icon,
  .page-slot-games__game-thumbnail {
    min-width: 200px;
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
  }

  .page-slot-games__game-thumbnail {
    height: 200px;
  }

  .page-slot-games__faq-item {
    padding: 20px;
  }

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

  /* Ensure all content images in .page-slot-games are responsive */
  .page-slot-games img {
    max-width: 100%;
    height: auto;
  }
}