.page-lottery {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Default text color for dark body background */
  background-color: #000; /* Inherited from body, explicitly set for clarity */
  line-height: 1.6;
}

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

.page-lottery__section-title {
  font-size: 38px;
  font-weight: bold;
  color: #FFD700; /* Gold brand color */
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-lottery__section-title--light {
  color: #ffffff;
}

.page-lottery__section-subtitle {
  font-size: 18px;
  color: #ccc;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-lottery__section-subtitle--light {
  color: #f0f0f0;
}

.page-lottery__hero-section {
  position: relative;
  padding: 120px 20px 80px; /* Adjusted padding-top for fixed header */
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.page-lottery__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-lottery__main-title {
  font-size: 52px;
  font-weight: 900;
  color: #FFD700;
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
}

.page-lottery__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-lottery__cta-button {
  display: inline-block;
  padding: 16px 45px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-lottery__btn-primary {
  background: #FFD700;
  color: #000000;
}

.page-lottery__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-lottery__btn-secondary {
  background: #8B0000;
  color: #ffffff;
  border: 2px solid #8B0000;
}

.page-lottery__btn-secondary:hover {
  background: #6a0000;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-lottery__introduction-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

.page-lottery__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-lottery__text-block {
  flex: 1;
  min-width: 300px;
  color: #f0f0f0;
}

.page-lottery__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
}

.page-lottery__inline-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  background: #FFD700;
  color: #000000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-lottery__inline-button:hover {
  background: #e6c200;
}

.page-lottery__image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-lottery__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-lottery__game-types-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-lottery__dark-section {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-lottery__game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-lottery__game-card {
  background: #0d0d0d;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-lottery__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.page-lottery__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-lottery__card-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-lottery__card-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-lottery__card-title a:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-lottery__card-description {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 20px;
}

.page-lottery__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: #8B0000;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-lottery__card-button:hover {
  background: #6a0000;
}

.page-lottery__advantages-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

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

.page-lottery__advantage-item {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(139, 0, 0, 0.3);
}

.page-lottery__advantage-item h3 {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-lottery__advantage-item p {
  font-size: 16px;
  color: #ccc;
}

.page-lottery__advantage-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-lottery__cta-center {
  text-align: center;
  margin-top: 60px;
}

.page-lottery__how-to-play-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

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

.page-lottery__step-item {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-lottery__step-number {
  width: 60px;
  height: 60px;
  background: #FFD700;
  color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin: 0 auto 20px;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-lottery__step-item h3 {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-lottery__step-item p {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 20px;
}

.page-lottery__step-link {
  display: inline-block;
  padding: 8px 18px;
  background: #8B0000;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-lottery__step-link:hover {
  background: #6a0000;
}

.page-lottery__promotions-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-lottery__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-lottery__promo-card {
  background: #0d0d0d;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-lottery__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.page-lottery__promo-card .page-lottery__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-lottery__faq-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

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

.page-lottery__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #333;
}

.page-lottery__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #1a1a1a;
  color: #FFD700;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
  border: 1px solid transparent; /* For hover effect */
}

.page-lottery__faq-question:hover {
  background: #2a2a2a;
  border-color: #FFD700;
}

.page-lottery__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
}

.page-lottery__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-lottery__faq-item.active .page-lottery__faq-toggle {
  color: #ffffff;
  transform: rotate(180deg);
}

.page-lottery__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #2a2a2a;
  color: #f0f0f0;
  border-radius: 0 0 8px 8px;
}

.page-lottery__faq-item.active .page-lottery__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-lottery__faq-answer p {
  margin-bottom: 15px;
  font-size: 16px;
}

.page-lottery__faq-link {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  background: #8B0000;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-lottery__faq-link:hover {
  background: #6a0000;
}

.page-lottery__responsible-gaming-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-lottery__responsible-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  color: #f0f0f0;
  font-size: 17px;
}

.page-lottery__responsible-list li {
  background: #0d0d0d;
  margin-bottom: 10px;
  padding: 15px 25px;
  border-left: 4px solid #FFD700;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-lottery__final-cta-section {
  padding: 80px 0;
  background-color: #0d0d0d;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-lottery__main-title {
    font-size: 44px;
  }
  .page-lottery__section-title {
    font-size: 32px;
  }
  .page-lottery__hero-description, .page-lottery__section-subtitle {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-lottery__hero-section {
    padding: 100px 15px 60px; /* Mobile padding-top for fixed header */
  }
  .page-lottery__main-title {
    font-size: 36px;
    margin-bottom: 20px;
  }
  .page-lottery__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-lottery__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-lottery__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 30px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-lottery__section-title {
    font-size: 28px;
  }
  .page-lottery__section-subtitle {
    font-size: 15px;
  }
  .page-lottery__introduction-section, .page-lottery__game-types-section,
  .page-lottery__advantages-section, .page-lottery__how-to-play-section,
  .page-lottery__promotions-section, .page-lottery__faq-section,
  .page-lottery__responsible-gaming-section, .page-lottery__final-cta-section {
    padding: 50px 0;
  }
  .page-lottery__container {
    padding: 0 15px;
  }
  .page-lottery__content-grid {
    flex-direction: column;
  }
  .page-lottery__image-wrapper, .page-lottery__text-block {
    min-width: unset;
    width: 100%;
  }
  .page-lottery__image {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
  }
  .page-lottery__card-image, .page-lottery__advantage-icon {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
  }
  .page-lottery__faq-question {
    padding: 15px 20px;
  }
  .page-lottery__faq-question h3 {
    font-size: 16px;
  }
  .page-lottery__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
  }
  .page-lottery__faq-answer {
    padding: 0 20px;
  }
  .page-lottery__faq-item.active .page-lottery__faq-answer {
    padding: 15px 20px !important;
  }
  .page-lottery__responsible-list li {
    padding: 12px 20px;
    font-size: 15px;
  }
  .page-lottery p, .page-lottery li {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .page-lottery__main-title {
    font-size: 30px;
  }
  .page-lottery__section-title {
    font-size: 24px;
  }
  .page-lottery__cta-button {
    padding: 12px 20px !important;
    font-size: 15px !important;
  }
  .page-lottery__game-card, .page-lottery__advantage-item, .page-lottery__step-item, .page-lottery__promo-card {
    padding: 20px;
  }
  .page-lottery__card-title {
    font-size: 20px;
  }
  .page-lottery__advantage-item h3, .page-lottery__step-item h3 {
    font-size: 18px;
  }
  .page-lottery__step-number {
    width: 50px;
    height: 50px;
    font-size: 28px;
  }
}