.page-resources-s66-lottery-guide {
  --primary-color: #4A148C; /* Deep Purple */
  --secondary-color: #FFD700; /* Gold */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f8f8f8;
  --background-dark: #333333;
  --border-color: #e0e0e0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
}

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

.page-resources-s66-lottery-guide__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-resources-s66-lottery-guide__section:nth-of-type(even) {
  background-color: var(--background-light);
}

.page-resources-s66-lottery-guide__section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-resources-s66-lottery-guide__subsection-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 20px;
  border-left: 5px solid var(--secondary-color);
  padding-left: 10px;
}

.page-resources-s66-lottery-guide__paragraph {
  font-size: 17px;
  margin-bottom: 15px;
  text-align: justify;
}

.page-resources-s66-lottery-guide__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources-s66-lottery-guide__numbered-list {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources-s66-lottery-guide__sub-list {
  list-style-type: circle;
  margin-left: 30px;
  margin-top: 10px;
}

.page-resources-s66-lottery-guide__list-item {
  font-size: 17px;
  margin-bottom: 10px;
}

.page-resources-s66-lottery-guide__link-text {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-resources-s66-lottery-guide__link-text:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-resources-s66-lottery-guide__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Banner Section */
.page-resources-s66-lottery-guide__hero-banner {
  background: linear-gradient(135deg, var(--primary-color), #6A1B9A);
  color: var(--text-color-light);
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-resources-s66-lottery-guide__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-resources-s66-lottery-guide__hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--secondary-color);
}

.page-resources-s66-lottery-guide__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-resources-s66-lottery-guide__cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-resources-s66-lottery-guide__cta-button:hover {
  background-color: #FFC107; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-s66-lottery-guide__cta-button--small {
  padding: 10px 25px;
  font-size: 16px;
  margin-top: 20px;
}

.page-resources-s66-lottery-guide__hero-image-wrapper {
  width: 100%;
  max-width: 900px;
  margin-top: 40px;
}

.page-resources-s66-lottery-guide__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* FAQ Section */
.page-resources-s66-lottery-guide__faq {
  background-color: var(--background-light);
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: var(--text-color-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f0f0f0;
}

.faq-question h3 {
  margin: 0;
  font-size: 18px;
  color: var(--primary-color);
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding: 0 25px;
  background-color: #f9f9f9;
  color: var(--text-color-dark);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 25px;
}

.faq-answer p {
  margin: 0;
  font-size: 16px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-s66-lottery-guide__hero-banner {
    flex-direction: column;
    padding: 60px 15px;
  }

  .page-resources-s66-lottery-guide__hero-title {
    font-size: 38px;
  }

  .page-resources-s66-lottery-guide__hero-description {
    font-size: 18px;
  }

  .page-resources-s66-lottery-guide__section-title {
    font-size: 30px;
  }

  .page-resources-s66-lottery-guide__subsection-title {
    font-size: 22px;
  }

  .page-resources-s66-lottery-guide__paragraph,
  .page-resources-s66-lottery-guide__list-item {
    font-size: 16px;
  }

  .faq-question h3 {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-resources-s66-lottery-guide__hero-banner {
    padding: 40px 10px;
  }

  .page-resources-s66-lottery-guide__hero-title {
    font-size: 30px;
  }

  .page-resources-s66-lottery-guide__hero-description {
    font-size: 16px;
  }

  .page-resources-s66-lottery-guide__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-resources-s66-lottery-guide__section {
    padding: 40px 0;
  }

  .page-resources-s66-lottery-guide__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-resources-s66-lottery-guide__subsection-title {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .faq-question {
    padding: 15px 20px;
  }

  .faq-question h3 {
    font-size: 16px;
  }

  .faq-toggle {
    font-size: 20px;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-item.active .faq-answer {
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .page-resources-s66-lottery-guide__hero-title {
    font-size: 26px;
  }

  .page-resources-s66-lottery-guide__hero-description {
    font-size: 15px;
  }

  .page-resources-s66-lottery-guide__cta-button {
    padding: 10px 20px;
    font-size: 15px;
  }

  .page-resources-s66-lottery-guide__section-title {
    font-size: 22px;
  }

  .page-resources-s66-lottery-guide__subsection-title {
    font-size: 18px;
  }

  .page-resources-s66-lottery-guide__paragraph,
  .page-resources-s66-lottery-guide__list-item {
    font-size: 15px;
  }

  .faq-question h3 {
    font-size: 15px;
  }
}