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

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

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

.page-slot-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding to respect header offset from body */
  background-color: #2F6BFF;
  color: #FFFFFF;
  text-align: center;
  padding-bottom: 40px;
}

.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;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  color: #FFFFFF;
  max-width: 100%;
  /* No fixed font-size, rely on clamp if needed, or default browser scaling */
}

.page-slot-games__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-slot-games__hero-button,
.page-slot-games__game-button,
.page-slot-games__cta-button,
.page-slot-games__step-link {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Ensure button is not too small */
  text-align: center;
}

.page-slot-games__hero-button:hover,
.page-slot-games__game-button:hover,
.page-slot-games__cta-button:hover,
.page-slot-games__step-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  background: linear-gradient(180deg, #6FA3FF 0%, #4A8BFF 100%); /* Lighter hover */
}

.page-slot-games__section-title {
  font-size: 2.2em;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-slot-games__paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #1F2D3D;
}

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

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

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

.page-slot-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency in card grid */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-slot-games__game-title {
  font-size: 1.4em;
  color: #1F2D3D;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__game-title a {
  color: #1F2D3D;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games__game-title a:hover {
  color: #2F6BFF;
}

.page-slot-games__game-description {
  font-size: 0.95em;
  color: #1F2D3D;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__game-button {
  margin-top: auto; /* Push button to bottom */
}

.page-slot-games__cta-section {
  text-align: center;
  margin-top: 40px;
}

.page-slot-games__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games__feature-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 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__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__feature-title {
  font-size: 1.3em;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-slot-games__feature-description {
  font-size: 0.95em;
  color: #1F2D3D;
}

.page-slot-games__how-to-play .page-slot-games__section-title {
  margin-bottom: 40px;
}

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

.page-slot-games__step-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__step-title {
  font-size: 1.25em;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-slot-games__step-description {
  font-size: 0.95em;
  color: #1F2D3D;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__step-link {
  margin-top: auto; /* Push link to bottom */
  width: auto;
  min-width: unset;
  padding: 10px 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-slot-games__main-title {
    font-size: 2em; /* Adjust H1 for mobile */
  }

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

  .page-slot-games__hero-description,
  .page-slot-games__paragraph {
    font-size: 1em;
  }

  .page-slot-games__game-grid,
  .page-slot-games__feature-list,
  .page-slot-games__step-list {
    grid-template-columns: 1fr;
  }

  .page-slot-games__hero-button,
  .page-slot-games__cta-button {
    width: 100%;
    max-width: 300px;
  }

  .page-slot-games__game-image {
    height: 250px; /* Make card images slightly taller on mobile */
  }

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

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

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

  .page-slot-games__hero-button,
  .page-slot-games__game-button,
  .page-slot-games__cta-button,
  .page-slot-games__step-link {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}