.page-lottery-games {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

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

.page-lottery-games__section-title {
  font-size: 2.5em;
  color: #0D47A1;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-lottery-games__section-title .highlight {
  color: #FFD600;
}

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

.page-lottery-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #555;
}

.page-lottery-games__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  font-size: 1em;
}

.page-lottery-games__btn--primary {
  background-color: #0D47A1;
  color: #FFFFFF;
  border: 2px solid #0D47A1;
}

.page-lottery-games__btn--primary:hover {
  background-color: #0A3A8A;
  border-color: #0A3A8A;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-lottery-games__btn--secondary {
  background-color: transparent;
  color: #0D47A1;
  border: 2px solid #0D47A1;
}

.page-lottery-games__btn--secondary:hover {
  background-color: #0D47A1;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-lottery-games__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-lottery-games__btn--large {
  padding: 15px 35px;
  font-size: 1.2em;
}

/* Hero Section */
.page-lottery-games__hero {
  background: linear-gradient(135deg, #0D47A1, #1A5FB4);
  color: #FFFFFF;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
}

.page-lottery-games__hero-content {
  max-width: 600px;
  text-align: left;
}

.page-lottery-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-lottery-games__hero-title .highlight {
  color: #FFD600;
}

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

.page-lottery-games__hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.page-lottery-games__hero-image-wrapper {
  max-width: 500px;
}

.page-lottery-games__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-lottery-games__introduction {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-lottery-games__feature-item {
  text-align: center;
  padding: 30px;
  background-color: #f1f7ff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery-games__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.page-lottery-games__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.1));
}

.page-lottery-games__feature-title {
  font-size: 1.8em;
  color: #0D47A1;
  margin-bottom: 15px;
}

.page-lottery-games__feature-text {
  font-size: 1em;
  color: #666;
}

/* Game Types Section */
.page-lottery-games__game-types {
  padding: 80px 0;
  background-color: #f8f9fa;
}

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

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

.page-lottery-games__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-lottery-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-lottery-games__game-title {
  font-size: 1.5em;
  color: #0D47A1;
  margin: 20px 0 10px;
  padding: 0 20px;
}

.page-lottery-games__game-text {
  font-size: 0.95em;
  color: #777;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-lottery-games__game-card .page-lottery-games__btn {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
  align-self: center;
}

/* How to Play Section */
.page-lottery-games__how-to-play {
  padding: 80px 0;
  background-color: #E3F2FD;
}

.page-lottery-games__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-lottery-games__step-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-lottery-games__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFD600;
  background-color: #0D47A1;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.page-lottery-games__step-title {
  font-size: 1.6em;
  color: #0D47A1;
  margin-bottom: 10px;
}

.page-lottery-games__step-text {
  font-size: 1em;
  color: #666;
}

.page-lottery-games__action-center {
  text-align: center;
  margin-top: 50px;
}

/* Promotions Section */
.page-lottery-games__promotions {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-lottery-games__promo-card {
  background-color: #f1f7ff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-lottery-games__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.page-lottery-games__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #e0e0e0;
}

.page-lottery-games__promo-title {
  font-size: 1.6em;
  color: #0D47A1;
  margin: 20px 0 10px;
  padding: 0 20px;
}

.page-lottery-games__promo-text {
  font-size: 0.95em;
  color: #666;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-lottery-games__promo-card .page-lottery-games__btn {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
  align-self: center;
}

/* App Download Section */
.page-lottery-games__app-download {
  padding: 80px 0;
  background-color: #0D47A1;
  color: #FFFFFF;
}

.page-lottery-games__app-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-lottery-games__app-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-lottery-games__app-download .page-lottery-games__section-title {
  color: #FFFFFF;
  text-align: left;
}

.page-lottery-games__app-download .page-lottery-games__section-title::after {
  background-color: #FFD600;
  left: 0;
  transform: translateX(0);
}

.page-lottery-games__app-download .page-lottery-games__section-description {
  color: #e0e0e0;
  text-align: left;
  margin-bottom: 30px;
}

.page-lottery-games__download-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-lottery-games__download-buttons .page-lottery-games__btn {
  background-color: #FFD600;
  color: #0D47A1;
  border-color: #FFD600;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
}

.page-lottery-games__download-buttons .page-lottery-games__btn:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  color: #0D47A1;
}

.page-lottery-games__btn-icon {
  width: 24px;
  height: 24px;
  filter: invert(10%) sepia(90%) saturate(6000%) hue-rotate(220deg) brightness(50%) contrast(100%); /* Adjust to match deep blue */
}

.page-lottery-games__app-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-lottery-games__app-image {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-lottery-games__faq {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.page-lottery-games__faq-items {
  margin-top: 40px;
  display: grid;
  gap: 20px;
}

.page-lottery-games__faq-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 25px 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-lottery-games__faq-question {
  font-size: 1.3em;
  color: #0D47A1;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-lottery-games__faq-answer {
  font-size: 1em;
  color: #555;
}

/* CTA Section */
.page-lottery-games__cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #FFD600, #F2C700);
  color: #0D47A1;
  text-align: center;
}

.page-lottery-games__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-lottery-games__cta-title .highlight {
  color: #0D47A1;
}

.page-lottery-games__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #333;
}

.page-lottery-games__cta .page-lottery-games__btn--primary {
  background-color: #0D47A1;
  color: #FFD600;
  border-color: #0D47A1;
}

.page-lottery-games__cta .page-lottery-games__btn--primary:hover {
  background-color: #0A3A8A;
  border-color: #0A3A8A;
  color: #FFD600;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-lottery-games__hero {
    flex-direction: column;
    padding: 60px 20px;
  }

  .page-lottery-games__hero-content {
    text-align: center;
  }

  .page-lottery-games__hero-actions {
    justify-content: center;
  }

  .page-lottery-games__app-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .page-lottery-games__app-download .page-lottery-games__section-title,
  .page-lottery-games__app-download .page-lottery-games__section-description {
    text-align: center;
  }

  .page-lottery-games__app-download .page-lottery-games__section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .page-lottery-games__download-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-lottery-games__hero-title {
    font-size: 2.8em;
  }

  .page-lottery-games__section-title {
    font-size: 2em;
  }

  .page-lottery-games__cta-title {
    font-size: 2.5em;
  }

  .page-lottery-games__hero,
  .page-lottery-games__introduction,
  .page-lottery-games__game-types,
  .page-lottery-games__how-to-play,
  .page-lottery-games__promotions,
  .page-lottery-games__app-download,
  .page-lottery-games__faq,
  .page-lottery-games__cta {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .page-lottery-games__hero-title {
    font-size: 2em;
  }

  .page-lottery-games__hero-description {
    font-size: 1em;
  }

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

  .page-lottery-games__section-description {
    font-size: 0.9em;
  }

  .page-lottery-games__cta-title {
    font-size: 2em;
  }

  .page-lottery-games__hero-actions,
  .page-lottery-games__download-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-lottery-games__btn {
    width: 100%;
    padding: 10px 15px;
  }
  
  .page-lottery-games__btn--large {
    padding: 12px 25px;
  }
}