.page-slot-games {
  background-color: #F4F7FB;
  color: #1F2D3D;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-slot-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 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; /* Constrain image width */
  margin-bottom: 20px;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-slot-games__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-slot-games__hero-button {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__hero-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.page-slot-games__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #1F2D3D;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.page-slot-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #2F6BFF;
  border-radius: 2px;
}

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

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

.page-slot-games__feature-card:hover,
.page-slot-games__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-slot-games__feature-icon,
.page-slot-games__game-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too wide in cards */
  height: auto;
  min-height: 200px; /* Minimum size requirement */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-slot-games__feature-title,
.page-slot-games__game-title {
  font-size: 1.5rem;
  color: #1F2D3D;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-slot-games__feature-description,
.page-slot-games__game-description {
  font-size: 1rem;
  color: #1F2D3D;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__game-button {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.95rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.page-slot-games__game-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__content-block {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  color: #1F2D3D;
}

.page-slot-games__content-block p {
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-slot-games__tips-list li {
  background-color: #FFFFFF;
  border-left: 5px solid #2F6BFF;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
}

.page-slot-games__tips-list li strong {
  color: #2F6BFF;
}

.page-slot-games__promotions-cta-section {
  background-color: #E6F0FF;
  padding: 50px 20px;
  border-radius: 15px;
  margin-bottom: 60px;
}

.page-slot-games__promotions-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #1F2D3D;
}

.page-slot-games__promotions-button {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__promotions-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__faq-section {
  padding-bottom: 80px;
}

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

.page-slot-games__faq-question {
  font-size: 1.3rem;
  color: #2F6BFF;
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: 600;
}

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

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-slot-games__main-title {
    font-size: 2.2rem;
  }

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

  .page-slot-games__section-title {
    font-size: 2rem;
  }

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

  .page-slot-games__section {
    padding: 40px 15px;
  }

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

  .page-slot-games__feature-icon,
  .page-slot-games__game-image {
    max-width: 100%;
    height: auto;
    width: 100%; /* Ensure images take full width in mobile cards */
    min-height: 200px; /* Maintain minimum height */
    object-fit: cover;
  }

  .page-slot-games__content-block img {
    max-width: 100%;
    height: auto;
  }

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

  .page-slot-games__promotions-cta-section {
    padding: 30px 15px;
  }

  .page-slot-games__promotions-button,
  .page-slot-games__hero-button {
    font-size: 1rem;
    padding: 12px 25px;
  }

  /* Critical: prevent horizontal overflow for all images in content area */
  .page-slot-games img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: 1.8rem;
  }

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