.page-lottery-results {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* White text on dark backgrounds */
  background-color: #1a0033; /* Darker variant of primary for overall background */
}

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

.page-lottery-results__container--center {
  text-align: center;
}

.page-lottery-results__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-lottery-results__section:nth-child(odd) {
  background-color: #2e005c; /* Slightly lighter dark background */
}

.page-lottery-results__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-lottery-results__section-description,
.page-lottery-results__text {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-lottery-results__hero {
  background: linear-gradient(135deg, #4B0082 0%, #7d00ff 100%); /* Primary to lighter purple gradient */
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-lottery-results__hero-image {
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 0.3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-lottery-results__hero > .page-lottery-results__container {
  position: relative;
  z-index: 1;
}

.page-lottery-results__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-lottery-results__hero-description {
  font-size: 1.3em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #ffffff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.page-lottery-results__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-lottery-results__btn--primary {
  background-color: #FFD700; /* Auxiliary color for primary action */
  color: #4B0082; /* Primary color for text */
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-lottery-results__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-lottery-results__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.page-lottery-results__btn--secondary:hover {
  background-color: #FFD700;
  color: #4B0082;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.page-lottery-results__btn--small {
    padding: 10px 20px;
    font-size: 0.95em;
}

.page-lottery-results__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-lottery-results__latest-results .page-lottery-results__section-description {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-lottery-results__results-table-wrapper {
  background-color: #3a0073; /* Darker purple for table background */
  border-radius: 10px;
  padding: 30px;
  margin: 30px auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.page-lottery-results__placeholder-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-lottery-results__image--wide {
    max-height: 400px;
    object-fit: contain;
}

.page-lottery-results__table-note {
  font-size: 0.9em;
  color: #cccccc;
  margin-top: 15px;
}

.page-lottery-results__action-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-lottery-results__why-thienhabet .page-lottery-results__section-description {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-lottery-results__feature-item {
  background-color: #3a0073;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery-results__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-lottery-results__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-lottery-results__feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
}

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

.page-lottery-results__detail-item {
    background-color: #3a0073;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-lottery-results__detail-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-lottery-results__detail-title a {
    color: #FFD700;
    text-decoration: none;
}

.page-lottery-results__detail-title a:hover {
    text-decoration: underline;
}

.page-lottery-results__detail-desc {
    font-size: 0.95em;
    color: #e0e0e0;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-lottery-results__thienhabet-ecosystem .page-lottery-results__text {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-lottery-results__app-download {
    background-color: #4B0082;
}

.page-lottery-results__app-download-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-lottery-results__app-image {
  width: 250px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-lottery-results__app-info {
  max-width: 500px;
  text-align: left;
}

.page-lottery-results__app-info .page-lottery-results__text {
  text-align: left;
  margin-bottom: 30px;
}

.page-lottery-results__app-info .page-lottery-results__btn {
  margin-right: 15px;
  margin-bottom: 15px; /* For mobile stacking */
}

.page-lottery-results__faq-item {
  background-color: #3a0073;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-lottery-results__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-lottery-results__faq-question::after {
    content: '+';
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-lottery-results__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-lottery-results__faq-answer {
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
  opacity: 0;
}

.page-lottery-results__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  opacity: 1;
  padding-top: 10px;
}

.page-lottery-results__cta-final {
  background: linear-gradient(45deg, #4B0082, #9366b4); /* Primary to slightly lighter primary gradient */
  padding: 80px 0;
  text-align: center;
}

.page-lottery-results__cta-final .page-lottery-results__section-title {
  color: #FFD700;
  font-size: 2.8em;
}

.page-lottery-results__cta-final .page-lottery-results__section-description {
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-lottery-results__hero-title {
    font-size: 2.8em;
  }
  .page-lottery-results__hero-description {
    font-size: 1.1em;
  }
  .page-lottery-results__section-title {
    font-size: 2em;
  }
  .page-lottery-results__features-grid,
  .page-lottery-results__detail-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-lottery-results__app-download-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-lottery-results__app-info {
    text-align: center;
  }
  .page-lottery-results__app-info .page-lottery-results__text {
    text-align: center;
  }
  .page-lottery-results__app-info .page-lottery-results__btn {
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .page-lottery-results__hero {
    padding: 80px 0 40px;
  }
  .page-lottery-results__hero-title {
    font-size: 2.2em;
  }
  .page-lottery-results__hero-description {
    font-size: 1em;
  }
  .page-lottery-results__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-lottery-results__section {
    padding: 40px 0;
  }
  .page-lottery-results__section-title {
    font-size: 1.8em;
  }
  .page-lottery-results__features-grid,
  .page-lottery-results__detail-list {
    grid-template-columns: 1fr;
  }
  .page-lottery-results__app-image {
    width: 200px;
  }
  .page-lottery-results__app-info .page-lottery-results__btn {
      display: block;
      width: fit-content;
      margin-left: auto;
      margin-right: auto;
      margin-bottom: 15px;
  }
  .page-lottery-results__cta-final .page-lottery-results__section-title {
    font-size: 2em;
  }
}

@media (max-width: 480px) {
  .page-lottery-results__hero-title {
    font-size: 1.8em;
  }
  .page-lottery-results__hero-description {
    font-size: 0.9em;
  }
  .page-lottery-results__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-lottery-results__btn {
    width: 100%;
    max-width: 250px;
  }
  .page-lottery-results__section-title {
    font-size: 1.5em;
  }
  .page-lottery-results__cta-final .page-lottery-results__btn {
      max-width: 100%;
  }
}