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

.page-lottery__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding as per rules */
}
.page-lottery__hero-banner {
  width: 100%;
  margin: 0;
  overflow: hidden;
}
.page-lottery__hero-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/5; /* 1920x600 */
  object-fit: cover;
  object-position: center;
  filter: none; /* Ensure no filter is applied */
}
.page-lottery__hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}
.page-lottery__hero-content h1 {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F3C54D; /* Gold */
  max-width: 900px; /* To prevent extremely wide H1 */
  margin: 0 auto 20px auto;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem); /* Using clamp for H1 */
}
.page-lottery__hero-content p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-lottery__section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}
.page-lottery__section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding: 0 50px;
}
.page-lottery__section-title::before,
.page-lottery__section-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 80px; /* Example length */
  height: 2px;
  background-color: #6A1E1E; /* Border */
  transform: translateY(-50%);
}
.page-lottery__section-title::before { left: 0; margin-left: calc(50% - 250px); }
.page-lottery__section-title::after { right: 0; margin-right: calc(50% - 250px); }

.page-lottery__content-text {
  font-size: 1em;
  line-height: 1.7;
}
.page-lottery__content-text p {
  margin-bottom: 1em;
}
.page-lottery__content-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-lottery__content-text li {
  background-color: #2A1212; /* Card BG */
  border-left: 4px solid #F3C54D; /* Gold accent */
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 4px;
}
.page-lottery__content-text li strong {
  color: #F3C54D; /* Gold */
}

.page-lottery__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.page-lottery__card {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
}
.page-lottery__card:hover {
  transform: translateY(-5px);
}
.page-lottery__card-image {
  width: 100%;
  height: auto;
  min-width: 200px; /* Ensure min size */
  min-height: 200px;
  aspect-ratio: 4/3; /* Example aspect ratio */
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 15px;
  filter: none; /* Ensure no filter is applied */
}
.page-lottery__card-title {
  font-size: 1.3em;
  color: #FFF1E8; /* Text Main */
  margin-bottom: 10px;
}
.page-lottery__card-description {
  font-size: 0.95em;
  line-height: 1.5;
  color: #FFF1E8; /* Text Main */
}

.page-lottery__button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #140C0C; /* Dark text for contrast on gold button */
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1em;
  transition: opacity 0.3s ease;
  border: none;
  cursor: pointer;
}
.page-lottery__button:hover {
  opacity: 0.9;
}

.page-lottery__faq-item {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}
.page-lottery__faq-question {
  display: block;
  width: 100%;
  text-align: left;
  padding: 20px;
  background-color: #C61F1F; /* Main color */
  color: #FFF1E8; /* Text Main */
  font-weight: bold;
  font-size: 1.1em;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}
.page-lottery__faq-question:hover {
  background-color: #E53030; /* Auxiliary color on hover */
}
.page-lottery__faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  font-size: 1.4em;
  line-height: 1;
}
.page-lottery__faq-question[aria-expanded="true"]::after {
  content: '-';
  transform: translateY(-50%) rotate(0deg); /* No rotation for '-' */
}
.page-lottery__faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #FFF1E8;
}
.page-lottery__faq-answer[aria-expanded="true"] {
  max-height: 500px; /* Arbitrary large value to show content */
  padding-top: 15px;
  padding-bottom: 20px;
}
.page-lottery__faq-answer p {
  padding-bottom: 0;
  margin: 0;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-lottery__hero-content h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    padding: 0 10px;
  }
  .page-lottery__hero-content p {
    font-size: 1em;
    padding: 0 10px;
  }
  .page-lottery__section {
    padding: 40px 15px;
  }
  .page-lottery__section-title {
    font-size: clamp(1.2rem, 5vw, 2rem);
    margin-bottom: 30px;
    padding: 0 20px;
  }
  .page-lottery__section-title::before,
  .page-lottery__section-title::after {
    width: 30px; /* Shorter lines on mobile */
    margin-left: calc(50% - 100px);
    margin-right: calc(50% - 100px);
  }
  .page-lottery__card-grid {
    grid-template-columns: 1fr;
  }
  .page-lottery__card-image {
    min-width: unset;
    min-height: unset;
    height: 200px; /* Example height for mobile cards */
  }
  .page-lottery__button {
    padding: 12px 25px;
    font-size: 1em;
  }

  /* Mobile image overflow prevention */
  .page-lottery img {
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
  }
  .page-lottery__content-text img { /* For images embedded in paragraphs */
    min-width: 200px;
    min-height: 200px;
    width: auto; /* Allow natural width */
    max-width: 100%;
    height: auto;
  }
}

/* Ensure content area images are not too small */
.page-lottery__section img {
  min-width: 200px;
  min-height: 200px;
  filter: none; /* Ensure no filter is applied */
}

/* Ensure text contrast for accessibility */
/* #FFF1E8 on #140C0C (main text on background) - WCAG AA compliant */
/* #F3C54D on #140C0C (gold titles on background) - WCAG AA compliant */
/* #FFF1E8 on #C61F1F (FAQ question text on main color) - WCAG AA compliant */