.page-slots-games-how-to-play {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text */
  background-color: #0A192F; /* Primary dark background */
  line-height: 1.6;
}

.page-slots-games-how-to-play__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-slots-games-how-to-play__hero {
  background: linear-gradient(135deg, #0A192F 0%, #1a3a60 100%); /* Gradient with primary color */
  color: #FFFFFF;
  padding: 80px 0 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-slots-games-how-to-play__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px; /* Adjust as needed */
  height: auto;
  opacity: 0.2; /* Subtle background image */
  z-index: 0;
}

.page-slots-games-how-to-play__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-slots-games-how-to-play__title,
.page-slots-games-how-to-play__subtitle {
  position: relative;
  z-index: 1;
}

.page-slots-games-how-to-play__title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Secondary color for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slots-games-how-to-play__subtitle {
  font-size: 1.25em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #B0B0B0;
}

.page-slots-games-how-to-play__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.page-slots-games-how-to-play__button--primary {
  background-color: #FFD700; /* Secondary color for primary button */
  color: #0A192F; /* Primary dark for text */
}

.page-slots-games-how-to-play__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-slots-games-how-to-play__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  margin-left: 20px;
}

.page-slots-games-how-to-play__button--secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-2px);
}

/* General Section Styling */
.page-slots-games-how-to-play__section {
  padding: 60px 0;
}

.page-slots-games-how-to-play__section:nth-of-type(even) {
  background-color: #0F2038; /* Slightly lighter dark background */
}

.page-slots-games-how-to-play__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Secondary color for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-slots-games-how-to-play__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

.page-slots-games-how-to-play__section-title--light {
    color: #FFFFFF;
}

.page-slots-games-how-to-play__section-title--light::after {
    background-color: #FFFFFF;
}

.page-slots-games-how-to-play__description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #B0B0B0;
}

.page-slots-games-how-to-play__description--light {
    color: #E0E0E0;
}

/* Why Choose Section */
.page-slots-games-how-to-play__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slots-games-how-to-play__feature-item {
  background-color: #1A2A42; /* Darker blue for cards */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-slots-games-how-to-play__feature-item:hover {
  transform: translateY(-10px);
  background-color: #2A3A52;
}

.page-slots-games-how-to-play__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700);
}

.page-slots-games-how-to-play__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-slots-games-how-to-play__feature-item p {
  color: #B0B0B0;
}

/* Game Types Section */
.page-slots-games-how-to-play__game-type {
  background-color: #1A2A42;
  border-radius: 12px;
  margin-bottom: 50px;
  padding: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-slots-games-how-to-play__game-type-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 30px;
  text-align: center;
}

.page-slots-games-how-to-play__game-type-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-slots-games-how-to-play__game-type--reversed .page-slots-games-how-to-play__game-type-content {
  flex-direction: row-reverse;
}

.page-slots-games-how-to-play__game-type-image {
  width: 45%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.page-slots-games-how-to-play__game-type-text {
  flex-grow: 1;
}

.page-slots-games-how-to-play__game-type-text p {
  margin-bottom: 15px;
  color: #E0E0E0;
}

.page-slots-games-how-to-play__game-type-subtitle {
  font-size: 1.3em;
  color: #FFD700;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-slots-games-how-to-play__game-type-text ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #E0E0E0;
}

.page-slots-games-how-to-play__game-type-text ul li {
  margin-bottom: 8px;
}

/* Get Started Section */
.page-slots-games-how-to-play__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slots-games-how-to-play__step-item {
  background-color: #1A2A42;
  padding: 35px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.page-slots-games-how-to-play__step-number {
  font-size: 3em;
  font-weight: bold;
  color: rgba(255, 215, 0, 0.2); /* Semi-transparent secondary color */
  position: absolute;
  top: 15px;
  left: 15px;
  line-height: 1;
  z-index: 0;
}

.page-slots-games-how-to-play__step-item h3,
.page-slots-games-how-to-play__step-item p,
.page-slots-games-how-to-play__step-item .page-slots-games-how-to-play__button {
  position: relative;
  z-index: 1;
}

.page-slots-games-how-to-play__step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  margin-top: 20px;
}

.page-slots-games-how-to-play__step-item p {
  color: #B0B0B0;
  margin-bottom: 25px;
}

.page-slots-games-how-to-play__step-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Tips Section */
.page-slots-games-how-to-play__tip-item {
  background-color: #1A2A42;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slots-games-how-to-play__tip-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 3px #FFD700);
}

.page-slots-games-how-to-play__tip-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-slots-games-how-to-play__tip-item p {
  color: #B0B0B0;
}

/* Safety Section */
.page-slots-games-how-to-play__safety-image {
  display: block;
  max-width: 800px;
  width: 100%;
  margin: 40px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* CTA Section */
.page-slots-games-how-to-play__section--cta {
  background: linear-gradient(90deg, #0A192F, #2A3A52); /* Darker gradient for CTA */
  text-align: center;
  padding: 80px 0;
}

.page-slots-games-how-to-play__cta-content {
  max-width: 900px;
}

.page-slots-games-how-to-play__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-slots-games-how-to-play__title {
    font-size: 2.5em;
  }
  .page-slots-games-how-to-play__section-title {
    font-size: 2em;
  }
  .page-slots-games-how-to-play__game-type-content {
    flex-direction: column;
    text-align: center;
  }
  .page-slots-games-how-to-play__game-type--reversed .page-slots-games-how-to-play__game-type-content {
    flex-direction: column;
  }
  .page-slots-games-how-to-play__game-type-image {
    width: 80%;
    margin-bottom: 30px;
  }
  .page-slots-games-how-to-play__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slots-games-how-to-play__button--secondary {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .page-slots-games-how-to-play__title {
    font-size: 2em;
  }
  .page-slots-games-how-to-play__subtitle {
    font-size: 1.1em;
  }
  .page-slots-games-how-to-play__section-title {
    font-size: 1.8em;
  }
  .page-slots-games-how-to-play__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-slots-games-how-to-play__grid,
  .page-slots-games-how-to-play__steps {
    grid-template-columns: 1fr;
  }
  .page-slots-games-how-to-play__game-type {
    padding: 30px;
  }
  .page-slots-games-how-to-play__step-number {
      font-size: 2.5em;
  }
}

@media (max-width: 480px) {
  .page-slots-games-how-to-play__hero {
    padding: 60px 0 30px 0;
  }
  .page-slots-games-how-to-play__title {
    font-size: 1.8em;
  }
  .page-slots-games-how-to-play__subtitle {
    font-size: 1em;
  }
  .page-slots-games-how-to-play__section {
    padding: 40px 0;
  }
  .page-slots-games-how-to-play__section-title {
    font-size: 1.5em;
  }
  .page-slots-games-how-to-play__feature-item,
  .page-slots-games-how-to-play__tip-item,
  .page-slots-games-how-to-play__step-item {
    padding: 25px;
  }
  .page-slots-games-how-to-play__game-type-image {
    width: 100%;
  }
  .page-slots-games-how-to-play__cta-buttons {
      flex-direction: column;
      gap: 10px;
  }
}