.page-lottery {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

.page-lottery__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  background-color: #08160F;
}

.page-lottery__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-lottery__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-lottery__hero-content {
  max-width: 900px;
}

.page-lottery__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* H1 font size with clamp */
  font-weight: 700;
  line-height: 1.2;
  color: #F2FFF6;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.page-lottery__description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-lottery__cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  box-sizing: border-box;
}

.page-lottery__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-lottery__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-lottery__btn-secondary {
  background: #ffffff;
  color: #11A84E;
  border: 2px solid #11A84E;
  margin-left: 15px;
}

.page-lottery__btn-secondary:hover {
  background: #11A84E;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-lottery__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-lottery__text-block {
  font-size: 1rem;
  color: #A7D9B8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-lottery__dark-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 60px 0;
  color: #F2FFF6;
}

.page-lottery__introduction-section .page-lottery__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-lottery__types-section {
  padding: 60px 0;
  background-color: #08160F;
}

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

.page-lottery__card {
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

.page-lottery__card-bg {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6;
}

.page-lottery__card:hover {
  transform: translateY(-5px);
}

.page-lottery__card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistent card images */
  object-fit: cover;
  display: block;
}

.page-lottery__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 20px 15px 10px;
  color: #F2FFF6;
}

.page-lottery__card-text {
  font-size: 0.95rem;
  color: #A7D9B8;
  padding: 0 15px 20px;
  flex-grow: 1; /* Allow text to take up remaining space */
}

.page-lottery__how-to-play-section {
  padding: 60px 0;
}

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

.page-lottery__step-item {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-lottery__step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(42, 209, 111, 0.3);
}

.page-lottery__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-lottery__step-description {
  font-size: 0.95rem;
  color: #A7D9B8;
}

.page-lottery__link {
  color: #2AD16F;
  text-decoration: none;
  font-weight: 600;
}

.page-lottery__link:hover {
  text-decoration: underline;
}

.page-lottery__cta-button--center {
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  max-width: 300px;
}

.page-lottery__tips-section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-lottery__grid-2-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-lottery__tip-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-lottery__tip-card:hover {
  transform: translateY(-5px);
}

.page-lottery__tip-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-lottery__tip-text {
  font-size: 0.95rem;
  color: #A7D9B8;
}

.page-lottery__advantages-section {
  padding: 60px 0;
}

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

.page-lottery__advantage-item {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-lottery__advantage-icon {
  width: 200px; /* Min size 200x200 */
  height: 200px; /* Min size 200x200 */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-lottery__advantage-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #F2FFF6;
  margin-bottom: 10px;
}

.page-lottery__advantage-text {
  font-size: 0.9rem;
  color: #A7D9B8;
}

.page-lottery__faq-section {
  padding: 60px 0;
  background-color: #08160F;
}

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

.page-lottery__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-lottery__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: #F2FFF6;
  background-color: #11271B;
  border-bottom: 1px solid #2E7A4E; /* Border */
  transition: background-color 0.3s ease;
  list-style: none;
  position: relative;
}

.page-lottery__faq-question::-webkit-details-marker {
  display: none;
}

.page-lottery__faq-question:hover {
  background-color: #1e3a2a; /* Slightly darker hover */
}

.page-lottery__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2AD16F;
  margin-left: 15px;
}

.page-lottery__faq-item[open] .page-lottery__faq-toggle {
  content: '−';
}

.page-lottery__faq-answer {
  padding: 15px 25px 20px;
  font-size: 0.95rem;
  color: #A7D9B8;
  background-color: #0A4B2C; /* Deep Green for answer background */
}

.page-lottery__faq-answer p {
  margin: 0;
}

.page-lottery__cta-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-lottery__section-title--cta {
  color: #F2FFF6;
  margin-bottom: 25px;
  padding-top: 0;
}

.page-lottery__text-block--cta {
  font-size: 1.1rem;
  color: #A7D9B8;
  margin-bottom: 40px;
  text-align: center;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-lottery__grid-3-col, .page-lottery__grid-2-col, .page-lottery__grid-advantages {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-lottery__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-lottery__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-lottery__description {
    font-size: 1rem;
  }

  .page-lottery__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-lottery__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-lottery__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    padding-top: 30px;
  }

  .page-lottery__container {
    padding: 0 15px;
  }

  .page-lottery__text-block {
    font-size: 0.9rem;
  }

  .page-lottery img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-lottery__hero-image-wrapper,
  .page-lottery__card,
  .page-lottery__step-item,
  .page-lottery__tip-card,
  .page-lottery__advantage-item,
  .page-lottery__faq-item,
  .page-lottery__cta-section,
  .page-lottery__introduction-section,
  .page-lottery__types-section,
  .page-lottery__how-to-play-section,
  .page-lottery__tips-section,
  .page-lottery__advantages-section,
  .page-lottery__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-lottery__card-image {
    height: auto; /* Allow image height to be auto on mobile */
  }

  .page-lottery__advantage-icon {
    width: 200px !important;
    height: 200px !important;
  }

  .page-lottery__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-lottery__faq-answer {
    padding: 10px 20px 15px;
  }
}