.page-lottery {
  background-color: #B71C1C;
  color: #FFF5E1;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding as per rules */
}

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

.page-lottery__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
  margin-bottom: 40px;
}

.page-lottery__hero-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/5; /* 1920:600 fallback */
  object-fit: cover;
  object-position: center;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

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

.page-lottery__main-title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: #FFF5E1;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-lottery__intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF5E1;
}

.page-lottery__cta-button {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 204, 102, 0.4);
}

.page-lottery__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 204, 102, 0.6);
}

.page-lottery__section-title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #F4D34D;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.page-lottery__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #E6B800;
  border-radius: 2px;
}

.page-lottery__paragraph {
  font-size: 1rem;
  color: #FFF5E1;
  text-align: center;
  margin-bottom: 20px;
}

.page-lottery__about-section,
.page-lottery__why-choose-section,
.page-lottery__cta-section,
.page-lottery__faq-section {
  padding: 40px 0;
  margin-bottom: 30px;
  background-color: #D32F2F;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-lottery__image-text-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}

.page-lottery__content-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-lottery__content-image--bottom {
  margin-top: 40px;
}

.page-lottery__text-content {
  text-align: left;
}

.page-lottery__sub-title {
  font-size: 1.8rem;
  color: #F4D34D;
  margin-bottom: 15px;
}

.page-lottery__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-lottery__feature-list li {
  background-color: #C91F17;
  margin-bottom: 10px;
  padding: 12px 15px;
  border-left: 4px solid #E6B800;
  border-radius: 4px;
  font-size: 1rem;
  color: #FFF5E1;
}

.page-lottery__feature-list li strong {
  color: #FFD86A;
}

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

.page-lottery__feature-card {
  background-color: #C91F17;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #7A0E0E;
}

.page-lottery__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), 0 0 15px #FFCC66;
}

.page-lottery__card-title {
  font-size: 1.5rem;
  color: #FFD86A;
  margin-bottom: 10px;
}

.page-lottery__card-description {
  font-size: 0.95rem;
  color: #FFF5E1;
}

.page-lottery__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2rem;
  margin-top: 20px;
}

.page-lottery__faq-item {
  background-color: #C91F17;
  border: 1px solid #7A0E0E;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-lottery__faq-question {
  font-size: 1.3rem;
  color: #FFD86A;
  margin-bottom: 10px;
}

.page-lottery__faq-answer {
  font-size: 1rem;
  color: #FFF5E1;
}

/* Responsive adjustments */
@media (min-width: 769px) {
  .page-lottery__image-text-group {
    flex-direction: row;
    text-align: left;
  }
  .page-lottery__image-text-group:nth-child(even) {
    flex-direction: row-reverse;
  }
  .page-lottery__text-content {
    flex: 1;
  }
  .page-lottery__content-image {
    flex: 0 0 45%;
    max-width: 45%;
  }
  .page-lottery__paragraph {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .page-lottery__hero-image,
  .page-lottery__content-image {
    max-width: 100%;
    height: auto; /* Prevent image overflow on mobile */
  }
  .page-lottery__main-title {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }
  .page-lottery__intro-text {
    font-size: 1rem;
  }
  .page-lottery__cta-button {
    font-size: 1rem;
    padding: 12px 25px;
  }
  .page-lottery__section-title {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }
  .page-lottery__sub-title {
    font-size: 1.5rem;
  }
  .page-lottery__paragraph {
    font-size: 0.95rem;
  }
  .page-lottery__feature-card {
    padding: 20px;
  }
  .page-lottery__card-title {
    font-size: 1.3rem;
  }
  .page-lottery__faq-question {
    font-size: 1.1rem;
  }
  .page-lottery__faq-answer {
    font-size: 0.95rem;
  }
  .page-lottery__features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 549px) {
  .page-lottery__hero-content {
    padding: 0 10px;
  }
  .page-lottery__container {
    padding: 15px 10px;
  }
  .page-lottery__main-title {
    font-size: clamp(1.3rem, 7vw, 2.2rem);
  }
  .page-lottery__section-title {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }
}