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

.page-lottery-games-how-to-play h1, .page-lottery-games-how-to-play h2, .page-lottery-games-how-to-play h3 {
  color: #FFD700; /* Gold for headings */
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-lottery-games-how-to-play h1 {
  font-size: 2.8em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-lottery-games-how-to-play h2 {
  font-size: 2.2em;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
  display: inline-block;
}

.page-lottery-games-how-to-play h3 {
  font-size: 1.8em;
  color: #FFD700;
}

.page-lottery-games-how-to-play p {
  text-align: center;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-lottery-games-how-to-play__section {
  padding: 60px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.page-lottery-games-how-to-play__section--overview {
  background-color: #1A344A;
}

.page-lottery-games-how-to-play__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #0A2239 0%, #1A344A 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-lottery-games-how-to-play__hero-content {
  max-width: 800px;
  text-align: center;
  z-index: 1;
}

.page-lottery-games-how-to-play__hero-content h1 {
  color: #FFD700;
  margin-bottom: 20px;
  font-size: 3.5em;
}

.page-lottery-games-how-to-play__hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #E0E0E0;
}

.page-lottery-games-how-to-play__hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  margin-top: 40px;
}

.page-lottery-games-how-to-play__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  margin: 10px;
}

.page-lottery-games-how-to-play__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #0A2239; /* Dark blue */
  border: 2px solid #FFD700;
}

.page-lottery-games-how-to-play__btn--primary:hover {
  background-color: #E0B500;
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-lottery-games-how-to-play__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-lottery-games-how-to-play__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A2239;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

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

.page-lottery-games-how-to-play__feature-card {
  background-color: #1A344A;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-lottery-games-how-to-play__feature-card:hover {
  transform: translateY(-5px);
}

.page-lottery-games-how-to-play__feature-card h3 {
  color: #FFD700;
  margin-bottom: 15px;
}

.page-lottery-games-how-to-play__feature-card p {
  color: #E0E0E0;
  font-size: 0.95em;
}

.page-lottery-games-how-to-play__game-type {
  background-color: #1A344A;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-lottery-games-how-to-play__game-type img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-lottery-games-how-to-play__game-type h3 {
  color: #FFD700;
  margin-top: 0;
  text-align: left;
  border-bottom: 1px solid #FFD700;
  padding-bottom: 10px;
}

.page-lottery-games-how-to-play__game-type p, .page-lottery-games-how-to-play__game-type ul {
  color: #E0E0E0;
  text-align: left;
  margin-bottom: 15px;
}

.page-lottery-games-how-to-play__game-type ul {
  list-style-type: disc;
  margin-left: 20px;
}

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

.page-lottery-games-how-to-play__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-lottery-games-how-to-play__step-card {
  background-color: #1A344A;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-lottery-games-how-to-play__step-card img {
  max-width: 80px;
  height: auto;
  margin-bottom: 20px;
}

.page-lottery-games-how-to-play__step-card h3 {
  color: #FFD700;
  margin-bottom: 15px;
}

.page-lottery-games-how-to-play__step-card p {
  color: #E0E0E0;
  font-size: 0.95em;
}

.page-lottery-games-how-to-play__step-card a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-lottery-games-how-to-play__step-card a:hover {
  text-decoration: underline;
}

.page-lottery-games-how-to-play__section--tips ul {
  list-style-type: decimal;
  text-align: left;
  max-width: 900px;
  margin: 40px auto;
  padding-left: 20px;
  color: #E0E0E0;
}

.page-lottery-games-how-to-play__section--tips ul li {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-lottery-games-how-to-play__section--tips ul li strong {
  color: #FFD700;
}

.page-lottery-games-how-to-play__faq-item {
  background-color: #1A344A;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-lottery-games-how-to-play__faq-item h3 {
  color: #FFD700;
  margin-top: 0;
  margin-bottom: 10px;
  text-align: left;
  border-bottom: none;
}

.page-lottery-games-how-to-play__faq-item p {
  color: #E0E0E0;
  text-align: left;
  margin-bottom: 0;
}

.page-lottery-games-how-to-play__faq-item a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-lottery-games-how-to-play__faq-item a:hover {
  text-decoration: underline;
}

.page-lottery-games-how-to-play__section--cta {
  background-color: #1A344A;
  padding: 80px 20px;
  border-radius: 10px;
  margin-top: 40px;
}

.page-lottery-games-how-to-play__cta-buttons {
  margin-top: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-lottery-games-how-to-play h1 {
    font-size: 2.2em;
  }
  .page-lottery-games-how-to-play h2 {
    font-size: 1.8em;
  }
  .page-lottery-games-how-to-play h3 {
    font-size: 1.5em;
  }
  .page-lottery-games-how-to-play__hero-content p {
    font-size: 1em;
  }
  .page-lottery-games-how-to-play__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-lottery-games-how-to-play__grid, .page-lottery-games-how-to-play__step-by-step {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-lottery-games-how-to-play h1 {
    font-size: 1.8em;
  }
  .page-lottery-games-how-to-play h2 {
    font-size: 1.5em;
  }
  .page-lottery-games-how-to-play__hero {
    padding: 60px 15px;
  }
  .page-lottery-games-how-to-play__section {
    padding: 40px 15px;
  }
  .page-lottery-games-how-to-play__btn {
    display: block;
    width: calc(100% - 20px);
    margin: 10px auto;
  }
}