.page-slot-games {
  padding-top: 10px; /* Small top padding for content below header */
  background-color: #F4F7FB;
  color: #1F2D3D;
  font-family: Arial, sans-serif;
}

.page-slot-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0 40px;
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

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

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  max-width: 1200px; /* Ensure image does not exceed wrapper max-width */
}

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

.page-slot-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 15px;
  max-width: 600px; /* Constrain H1 width to avoid excessively long lines */
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
}

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

.page-slot-games__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

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

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

.page-slot-games__btn--promotions {
  background-color: #FFFFFF;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}

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

.page-slot-games__section-title {
  font-size: 2.2em;
  font-weight: bold;
  color: #1F2D3D;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 40px;
  line-height: 1.3;
}

.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: 0 auto;
  padding: 20px;
}

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

.page-slot-games__card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-slot-games__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__card-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #000000;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-slot-games__card-title a {
  color: #000000;
  text-decoration: none;
}

.page-slot-games__card-title a:hover {
  color: #2F6BFF;
  text-decoration: underline;
}

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

.page-slot-games__cta-full-width {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 50px;
}

.page-slot-games__btn--full-width {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  padding: 15px 40px;
  font-size: 1.1em;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__btn--small {
  display: inline-block;
  padding: 8px 15px;
  margin-top: 15px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

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

.page-slot-games__faq-list {
  margin-top: 30px;
}

.page-slot-games__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
}

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

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

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding: 15px 0 30px;
  }

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

  .page-slot-games__main-title {
    font-size: clamp(1.8em, 5vw, 2.5em);
  }

  .page-slot-games__description {
    font-size: 1em;
  }

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

  .page-slot-games__btn {
    width: 80%;
    margin: 0 auto;
  }

  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 25px;
  }

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

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

  .page-slot-games__card-image {
    max-width: 100%;
    height: auto;
  }

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

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

  .page-slot-games__btn {
    width: 90%;
  }

  .page-slot-games__section-title {
    font-size: 1.6em;
  }
}