.page-lottery-games-how-to-play {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0;
  line-height: 1.6;
  background-color: #0F1D33; /* Slightly lighter than main color for background contrast */
}

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

.page-lottery-games-how-to-play__hero {
  background: linear-gradient(135deg, #1A2B4C, #0F1D33); /* Dark blue gradient */
  padding: 100px 0;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-lottery-games-how-to-play__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('[GALLERY:bg:abstract,geometric,pattern]'); /* Abstract pattern for hero */
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.page-lottery-games-how-to-play__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #F0B90B; /* Accent color for title */
  position: relative;
  z-index: 1;
}

.page-lottery-games-how-to-play__hero-subtitle {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #D3D3D3;
  position: relative;
  z-index: 1;
}

.page-lottery-games-how-to-play__section {
  padding: 60px 0;
  background-color: #0F1D33;
  color: #E0E0E0;
}

.page-lottery-games-how-to-play__section:nth-of-type(even) {
  background-color: #1A2B4C; /* Main color for alternating sections */
}

.page-lottery-games-how-to-play__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #F0B90B; /* Accent color */
  position: relative;
  padding-bottom: 15px;
}

.page-lottery-games-how-to-play__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #F0B90B;
  border-radius: 2px;
}

.page-lottery-games-how-to-play__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: -20px auto 50px auto;
  color: #B0B0B0;
}

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

.page-lottery-games-how-to-play__btn--primary {
  background-color: #F0B90B; /* Accent color */
  color: #1A2B4C;
  margin: 0 10px;
}

.page-lottery-games-how-to-play__btn--primary:hover {
  background-color: #FFD700;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(240, 185, 11, 0.4);
}

.page-lottery-games-how-to-play__btn--secondary {
  background-color: transparent;
  color: #F0B90B;
  border: 2px solid #F0B90B;
  margin: 0 10px;
}

.page-lottery-games-how-to-play__btn--secondary:hover {
  background-color: #F0B90B;
  color: #1A2B4C;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(240, 185, 11, 0.4);
}

.page-lottery-games-how-to-play__btn--link {
  background-color: transparent;
  color: #F0B90B;
  text-decoration: underline;
  padding: 5px 0;
  font-size: 1em;
  margin-top: 15px;
  display: inline-block;
}

.page-lottery-games-how-to-play__btn--link:hover {
  color: #FFD700;
}

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

.page-lottery-games-how-to-play__feature-item {
  background-color: #1A2B4C; /* Main color */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery-games-how-to-play__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-lottery-games-how-to-play__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(240, 185, 11, 0.6));
}

.page-lottery-games-how-to-play__feature-title {
  font-size: 1.5em;
  color: #F0B90B; /* Accent color */
  margin-bottom: 15px;
}

.page-lottery-games-how-to-play__game-type-card {
  display: flex;
  flex-direction: column;
  background-color: #1A2B4C;
  border-radius: 12px;
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-lottery-games-how-to-play__game-type-card:nth-child(odd) {
  flex-direction: row;
}

.page-lottery-games-how-to-play__game-type-card:nth-child(even) {
  flex-direction: row-reverse;
}

.page-lottery-games-how-to-play__game-type-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
}

.page-lottery-games-how-to-play__game-type-content {
  padding: 30px;
  flex-grow: 1;
}

.page-lottery-games-how-to-play__game-type-title {
  font-size: 2em;
  color: #F0B90B;
  margin-bottom: 15px;
}

.page-lottery-games-how-to-play__game-type-content ul {
  list-style: disc inside;
  margin-top: 15px;
  padding-left: 20px;
  color: #B0B0B0;
}

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

.page-lottery-games-how-to-play__game-type-content strong {
  color: #F0B90B;
}

.page-lottery-games-how-to-play__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-lottery-games-how-to-play__step-item {
  background-color: #1A2B4C;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  position: relative;
}

.page-lottery-games-how-to-play__step-number {
  width: 50px;
  height: 50px;
  background-color: #F0B90B;
  color: #1A2B4C;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin: -55px auto 20px auto;
  border: 4px solid #0F1D33;
  box-shadow: 0 0 10px rgba(240, 185, 11, 0.8);
}

.page-lottery-games-how-to-play__step-title {
  font-size: 1.6em;
  color: #F0B90B;
  margin-bottom: 15px;
}

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

.page-lottery-games-how-to-play__tip-item {
  background-color: #1A2B4C;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-lottery-games-how-to-play__tip-title {
  font-size: 1.5em;
  color: #F0B90B;
  margin-bottom: 15px;
}

.page-lottery-games-how-to-play__faq-item {
  background-color: #1A2B4C;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-lottery-games-how-to-play__faq-question {
  font-size: 1.4em;
  color: #F0B90B;
  margin-bottom: 10px;
  cursor: pointer;
}

.page-lottery-games-how-to-play__faq-answer {
  color: #B0B0B0;
  font-size: 1.1em;
}

.page-lottery-games-how-to-play__cta-section {
  background-color: #1A2B4C; /* Main color */
  padding: 80px 0;
  text-align: center;
  color: #FFFFFF;
  border-top: 5px solid #F0B90B;
}

.page-lottery-games-how-to-play__cta-title {
  font-size: 2.8em;
  color: #F0B90B;
  margin-bottom: 20px;
}

.page-lottery-games-how-to-play__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-lottery-games-how-to-play__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-lottery-games-how-to-play .highlight {
  color: #F0B90B;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-lottery-games-how-to-play__hero-title {
    font-size: 2.8em;
  }
  .page-lottery-games-how-to-play__hero-subtitle {
    font-size: 1.2em;
  }
  .page-lottery-games-how-to-play__section-title {
    font-size: 2em;
  }
  .page-lottery-games-how-to-play__game-type-card {
    flex-direction: column !important;
  }
  .page-lottery-games-how-to-play__game-type-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-lottery-games-how-to-play__hero {
    padding: 80px 0;
  }
  .page-lottery-games-how-to-play__hero-title {
    font-size: 2.2em;
  }
  .page-lottery-games-how-to-play__hero-subtitle {
    font-size: 1em;
  }
  .page-lottery-games-how-to-play__section {
    padding: 40px 0;
  }
  .page-lottery-games-how-to-play__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-lottery-games-how-to-play__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-lottery-games-how-to-play__cta-title {
    font-size: 2em;
  }
  .page-lottery-games-how-to-play__cta-description {
    font-size: 1.1em;
  }
  .page-lottery-games-how-to-play__feature-item, .page-lottery-games-how-to-play__tip-item, .page-lottery-games-how-to-play__faq-item {
    padding: 20px;
  }
  .page-lottery-games-how-to-play__step-number {
    margin-top: -45px;
  }
}

@media (max-width: 480px) {
  .page-lottery-games-how-to-play__hero-title {
    font-size: 1.8em;
  }
  .page-lottery-games-how-to-play__hero-subtitle {
    font-size: 0.9em;
  }
  .page-lottery-games-how-to-play__section-title {
    font-size: 1.5em;
  }
  .page-lottery-games-how-to-play__btn {
    width: 100%;
    margin: 10px 0;
  }
  .page-lottery-games-how-to-play__cta-buttons {
    flex-direction: column;
  }
  .page-lottery-games-how-to-play__game-type-content {
    padding: 20px;
  }
  .page-lottery-games-how-to-play__game-type-title {
    font-size: 1.5em;
  }
  .page-lottery-games-how-to-play__feature-title, .page-lottery-games-how-to-play__step-title, .page-lottery-games-how-to-play__tip-title, .page-lottery-games-how-to-play__faq-question {
    font-size: 1.2em;
  }
}