/* How to Play Section Styles */
.how-to-play-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.how-to-play-header {
  margin-bottom: 40px;
}

.how-to-play-title {
  font-family: "Poppins-Black", sans-serif;
  font-size: 32px;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 20px;
}

.how-to-play-subtitle {
  font-family: "Poppins-Regular", sans-serif;
  font-size: 18px;
  color: #17161c;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Support both OL-based and div-based steps markup */
.how-to-play-steps {
  margin-bottom: 40px;
}

.how-to-play-steps li,
.how-to-play-steps .step-item {
  font-family: "Cairo-Black", sans-serif;
  font-size: 24px;
  text-transform: uppercase;
  color: #e7a711;
  margin-bottom: 20px;
  position: relative;
  padding-left: 60px;
  line-height: 1.5;
}

/* Numbering for OL items */
.how-to-play-steps { counter-reset: steps-counter; }
.how-to-play-steps li::before {
  counter-increment: steps-counter;
  content: counter(steps-counter);
}

/* Numbering for div.step-item blocks */
.how-to-play-steps .step-item::before {
  counter-increment: steps-counter;
  content: counter(steps-counter);
}

.how-to-play-steps li::before,
.how-to-play-steps .step-item::before {
  background-color: #e7a711;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0.4em;
  transform: translateY(0);
}

.how-to-play-steps .step-item h3 {
  font-size: 18px;
  color: #000;
  margin: 0 0 10px;
  text-transform: none;
}

.how-to-play-steps .step-item p {
  font-family: "Poppins-Regular", sans-serif;
  font-size: 16px;
  color: #17161c;
  line-height: 1.6;
  margin: 0;
  padding-left: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .how-to-play-section {
    padding: 40px 20px;
  }
}
