.page-lottery {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
}

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

.page-lottery__highlight {
  color: #007bff;
}

.page-lottery__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.page-lottery__btn--primary {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
}

.page-lottery__btn--primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.page-lottery__btn--secondary {
  background-color: transparent;
  color: #007bff;
  border: 2px solid #007bff;
}

.page-lottery__btn--secondary:hover {
  background-color: #007bff;
  color: #ffffff;
}

.page-lottery__btn--cta {
  background-color: #ffc107;
  color: #333333;
  border: 2px solid #ffc107;
  font-size: 1.1em;
  padding: 15px 30px;
}

.page-lottery__btn--cta:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

.page-lottery__btn--small {
  padding: 8px 15px;
  font-size: 0.9em;
  background-color: #007bff;
  color: #ffffff;
  border: 1px solid #007bff;
}

.page-lottery__btn--small:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.page-lottery__btn--link {
  color: #007bff;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  font-weight: normal;
}

.page-lottery__btn--link:hover {
  color: #0056b3;
}

/* Hero Section */
.page-lottery__hero-section {
  background: linear-gradient(135deg, #007bff, #4da3ff);
  padding: 100px 0;
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-lottery__hero-content {
  max-width: 700px;
  margin-bottom: 40px;
}

.page-lottery__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-lottery__hero-title .page-lottery__highlight {
  color: #ffc107;
}

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

.page-lottery__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-lottery__hero-image-wrapper {
  display: none;
}

/* About Section */
.page-lottery__about-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.page-lottery__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #333333;
}

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

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

.page-lottery__feature-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-lottery__feature-icon {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
}

.page-lottery__feature-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-lottery__feature-text {
  font-size: 1em;
  color: #666666;
}

/* Games Section */
.page-lottery__games-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-lottery__game-card {
  background-color: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding-bottom: 20px;
}

.page-lottery__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-lottery__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-lottery__game-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-lottery__game-text {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
  padding: 0 20px;
}

/* Guide Section */
.page-lottery__guide-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

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

.page-lottery__step-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  padding-top: 60px;
}

.page-lottery__step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-lottery__step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffc107;
  color: #333333;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 4px solid #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-lottery__step-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-lottery__step-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

/* Promotion CTA Section */
.page-lottery__promotion-cta {
  background-color: #007bff;
  padding: 80px 0;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.page-lottery__promotion-cta .page-lottery__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-lottery__cta-content {
  max-width: 800px;
}

.page-lottery__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-lottery__cta-title .page-lottery__highlight {
  color: #ffc107;
}

.page-lottery__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-lottery__cta-image-wrapper {
  max-width: 600px;
  width: 100%;
}

.page-lottery__cta-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-lottery__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-lottery__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-lottery__faq-item {
  background-color: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 25px 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-lottery__faq-question {
  font-size: 1.3em;
  color: #007bff;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-lottery__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  color: #ffc107;
  font-weight: bold;
}

.page-lottery__faq-question.active::after {
  content: '-';
}

.page-lottery__faq-answer {
  font-size: 1em;
  color: #666666;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.page-lottery__faq-answer.active {
  max-height: 200px; /* Adjust based on content */
  margin-top: 15px;
}

/* Responsive Design */
@media (min-width: 768px) {
  .page-lottery__hero-section .page-lottery__container {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .page-lottery__hero-content {
    text-align: left;
    margin-bottom: 0;
    padding-right: 40px;
  }

  .page-lottery__hero-actions {
    justify-content: flex-start;
  }

  .page-lottery__hero-image-wrapper {
    display: block;
    flex-shrink: 0;
    width: 50%;
  }

  .page-lottery__hero-title {
    font-size: 4em;
  }

  .page-lottery__promotion-cta .page-lottery__container {
    flex-direction: row;
    text-align: left;
  }

  .page-lottery__cta-content {
    padding-right: 40px;
  }
}

@media (max-width: 767px) {
  .page-lottery__hero-title {
    font-size: 2.5em;
  }

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

  .page-lottery__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-lottery__btn {
    width: 100%;
  }

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

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

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