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

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

.page-lottery__hero-section {
  background: linear-gradient(135deg, #FFD700, #8B0000); /* Gold to Dark Red gradient */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-lottery__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-lottery__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-lottery__highlight {
  color: #0028ff; /* Complementary color for emphasis */
  font-weight: bold;
}

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

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

.page-lottery__btn--primary {
  background-color: #FFD700;
  color: #8B0000; /* Dark Red text on Gold button */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-lottery__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-lottery__btn--secondary {
  background-color: #8B0000;
  color: #FFD700; /* Gold text on Dark Red button */
  border: 2px solid #FFD700;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-lottery__btn--secondary:hover {
  background-color: #6a0000;
  transform: translateY(-3px);
}

.page-lottery__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 30px;
}

.page-lottery__section-title {
  font-size: 2.8em;
  color: #8B0000;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
}

.page-lottery__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

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

.page-lottery__features-section, .page-lottery__game-types-section, .page-lottery__guide-section, .page-lottery__tips-section, .page-lottery__integrated-experience-section, .page-lottery__download-app-section, .page-lottery__faq-section, .page-lottery__cta-section {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.page-lottery__feature-card, .page-lottery__game-card, .page-lottery__experience-item {
  background-color: #fcfcfc;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid #FFD700;
}

.page-lottery__feature-card:hover, .page-lottery__game-card:hover, .page-lottery__experience-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-lottery__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* Ensure no CSS filter changes image color */
}

.page-lottery__feature-title, .page-lottery__game-card-title, .page-lottery__experience-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-lottery__feature-text, .page-lottery__game-card-text, .page-lottery__experience-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

.page-lottery__game-card-image, .page-lottery__experience-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  filter: none; /* Ensure no CSS filter changes image color */
}

.page-lottery__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  counter-reset: step-counter;
}

.page-lottery__guide-step {
  background-color: #fcfcfc;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: relative;
  padding-top: 60px; /* Space for step number */
  border-left: 5px solid #FFD700;
}

.page-lottery__step-number {
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD700;
  background-color: #8B0000;
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-lottery__step-title {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-lottery__center-button {
  text-align: center;
  margin-top: 40px;
}

.page-lottery__tips-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-lottery__tip-item {
  background-color: #fcfcfc;
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #8B0000;
  font-size: 1.1em;
  color: #333333;
}

.page-lottery__tip-item strong {
  color: #8B0000;
}

.page-lottery__download-app-section {
  background-color: #8B0000;
  color: #ffffff;
  padding: 80px 0;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-lottery__download-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-lottery__download-text-area {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-lottery__download-text-area .page-lottery__section-title {
  color: #FFD700;
}

.page-lottery__download-text-area .page-lottery__section-title::after {
  background-color: #ffffff;
}

.page-lottery__download-text-area .page-lottery__section-description {
  color: #f0f0f0;
}

.page-lottery__app-platforms {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.page-lottery__app-platforms p {
  margin: 0;
  font-size: 1.1em;
  color: #FFD700;
}

.page-lottery__platform-logo {
  height: 40px;
  object-fit: contain;
  filter: none; /* Ensure no CSS filter changes image color */
}

.page-lottery__download-image-area {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-lottery__app-mockup-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  filter: none; /* Ensure no CSS filter changes image color */
}

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

.page-lottery__faq-item {
  background-color: #fcfcfc;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  padding: 20px 25px;
  border-left: 4px solid #FFD700;
}

.page-lottery__faq-question {
  font-size: 1.2em;
  color: #8B0000;
  margin-top: 0;
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: bold;
}

.page-lottery__faq-answer {
  font-size: 1em;
  color: #666666;
  display: none; /* Hidden by default, toggled by JS */
}

.page-lottery__faq-item.active .page-lottery__faq-answer {
  display: block;
}

.page-lottery__cta-section {
  background-color: #8B0000;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-lottery__cta-section .page-lottery__section-title {
  color: #FFD700;
}

.page-lottery__cta-section .page-lottery__section-title::after {
  background-color: #ffffff;
}

.page-lottery__cta-section .page-lottery__section-description {
  color: #f0f0f0;
}

.page-lottery__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-lottery__inline-link {
  color: #8B0000;
  text-decoration: underline;
  font-weight: bold;
}

.page-lottery__inline-link:hover {
  color: #FFD700;
  text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-lottery__hero-title {
    font-size: 2.8em;
  }
  .page-lottery__section-title {
    font-size: 2.2em;
  }
  .page-lottery__download-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-lottery__hero-title {
    font-size: 2.2em;
  }
  .page-lottery__hero-description {
    font-size: 1.1em;
  }
  .page-lottery__hero-buttons, .page-lottery__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-lottery__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-lottery__section-title {
    font-size: 1.8em;
  }
  .page-lottery__features-grid, .page-lottery__game-cards-grid, .page-lottery__experience-grid, .page-lottery__guide-steps {
    grid-template-columns: 1fr;
  }
  .page-lottery__feature-card, .page-lottery__game-card, .page-lottery__experience-item, .page-lottery__guide-step {
    padding: 25px;
  }
  .page-lottery__step-number {
    left: 25px;
  }
}

@media (max-width: 480px) {
  .page-lottery__hero-title {
    font-size: 1.8em;
  }
  .page-lottery__hero-description {
    font-size: 1em;
  }
  .page-lottery__btn {
    width: 90%;
  }
  .page-lottery__section-title {
    font-size: 1.5em;
  }
  .page-lottery__platform-logo {
    height: 30px;
  }
}