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

.page-lottery-games__hero {
  background: linear-gradient(135deg, #4B0082, #6A2E9A);
  color: #fff;
  padding: 80px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  text-align: center;
}

.page-lottery-games__hero-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  margin: 0 auto;
}

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

.page-lottery-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-lottery-games__hero-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  margin: 0 auto;
}

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

.page-lottery-games__hero-cta-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.page-lottery-games__section-title {
  font-size: 2.5em;
  color: #4B0082;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-lottery-games__section-description {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-lottery-games__game-card, .page-lottery-games__promo-card, .page-lottery-games__detail-card, .page-lottery-games__step-card, .page-lottery-games__why-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-lottery-games__game-card:hover, .page-lottery-games__promo-card:hover, .page-lottery-games__detail-card:hover, .page-lottery-games__step-card:hover, .page-lottery-games__why-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-lottery-games__game-card-image, .page-lottery-games__promo-image {
  max-width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-lottery-games__game-card-title, .page-lottery-games__promo-title, .page-lottery-games__detail-card-title, .page-lottery-games__step-title, .page-lottery-games__why-item-title {
  font-size: 1.5em;
  color: #4B0082;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-lottery-games__detail-card-title a {
  color: #4B0082;
  text-decoration: none;
}

.page-lottery-games__detail-card-title a:hover {
  text-decoration: underline;
}

.page-lottery-games__game-card-text, .page-lottery-games__promo-text, .page-lottery-games__detail-card-description, .page-lottery-games__step-text, .page-lottery-games__why-item-text {
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-lottery-games__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  border: none;
  font-size: 1em;
}

.page-lottery-games__btn--primary {
  background-color: #FFD700;
  color: #4B0082;
}

.page-lottery-games__btn--primary:hover {
  background-color: #e6c200;
  color: #3a0066;
  transform: translateY(-2px);
}

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

.page-lottery-games__btn--secondary:hover {
  background-color: #FFD700;
  color: #4B0082;
  transform: translateY(-2px);
}

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

.page-lottery-games__cta-center {
  margin-top: 40px;
}

.page-lottery-games__step-icon {
  background-color: #4B0082;
  color: #FFD700;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin: 0 auto 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-lottery-games__why-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-lottery-games__why-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.page-lottery-games__result-analysis {
  background-color: #e6e6fa; /* Light purple for contrast */
}

.page-lottery-games__result-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-lottery-games__result-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-lottery-games__result-text {
  flex: 2;
  min-width: 300px;
}

.page-lottery-games__result-subtitle {
  font-size: 1.8em;
  color: #4B0082;
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-lottery-games__result-text p {
  color: #555;
  margin-bottom: 15px;
}

.page-lottery-games__app-download {
  background: linear-gradient(90deg, #4B0082, #814da8);
  color: #fff;
}

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

.page-lottery-games__app-text {
  flex: 2;
  min-width: 300px;
}

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

.page-lottery-games__app-text .page-lottery-games__section-description {
  color: #e0e0e0;
  text-align: left;
}

.page-lottery-games__app-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

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

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

.page-lottery-games__responsible-gambling {
  background-color: #f0f0f0;
}

.page-lottery-games__responsible-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-lottery-games__responsible-image {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-lottery-games__responsible-text {
  flex: 2;
  min-width: 300px;
}

.page-lottery-games__responsible-text p {
  color: #555;
  margin-bottom: 15px;
}

.page-lottery-games__faq-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-lottery-games__faq-question {
  font-size: 1.3em;
  color: #4B0082;
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: bold;
}

.page-lottery-games__faq-answer {
  color: #666;
  display: none;
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

.page-lottery-games__faq-question.active + .page-lottery-games__faq-answer {
  display: block;
}

.page-lottery-games__floating-ad {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #FFD700;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-lottery-games__ad-text {
  color: #4B0082;
  font-weight: bold;
  font-size: 1.1em;
  margin: 0;
}

.page-lottery-games__btn--ad {
  background-color: #4B0082;
  color: #FFD700;
  padding: 10px 20px;
}

.page-lottery-games__btn--ad:hover {
  background-color: #3a0066;
  color: #fff;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-lottery-games__hero-title {
    font-size: 2.8em;
  }
  .page-lottery-games__section-title {
    font-size: 2em;
  }
  .page-lottery-games__result-content, .page-lottery-games__app-content, .page-lottery-games__responsible-content {
    flex-direction: column;
    text-align: center;
  }
  .page-lottery-games__result-text, .page-lottery-games__app-text, .page-lottery-games__responsible-text {
    text-align: center;
  }
  .page-lottery-games__app-text .page-lottery-games__section-title,
  .page-lottery-games__app-text .page-lottery-games__section-description {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-lottery-games__hero {
    padding: 60px 15px;
  }
  .page-lottery-games__hero-title {
    font-size: 2.2em;
  }
  .page-lottery-games__hero-description {
    font-size: 1em;
  }
  .page-lottery-games__section {
    padding: 40px 15px;
  }
  .page-lottery-games__section-title {
    font-size: 1.8em;
  }
  .page-lottery-games__game-grid, .page-lottery-games__promo-grid, .page-lottery-games__detail-grid, .page-lottery-games__steps-grid, .page-lottery-games__why-grid {
    grid-template-columns: 1fr;
  }
  .page-lottery-games__hero-image-wrapper, .page-lottery-games__result-image, .page-lottery-games__app-image-wrapper, .page-lottery-games__responsible-image {
    order: -1; /* Move images above text on small screens */
  }
  .page-lottery-games__floating-ad {
    bottom: 10px;
    right: 10px;
    left: 10px;
    width: auto;
    flex-direction: column;
    text-align: center;
  }
  .page-lottery-games__ad-text {
    font-size: 1em;
  }
}