.page-lottery {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

/* Fixed Nav Padding */
.page-lottery__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Desktop: Adjust for fixed header */
  box-sizing: border-box;
}

/* Video Section Styles */
.page-lottery__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-lottery__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.page-lottery__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.page-lottery__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none;
}

.page-lottery__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-lottery__video-link:hover .page-lottery__video-overlay {
  opacity: 1;
}

.page-lottery__video-click-hint {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(255, 215, 0, 0.8);
  border-radius: 5px;
  white-space: nowrap;
}

.page-lottery__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-lottery__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color, #FFD700);
  color: #1a1a1a; /* Dark text for bright button */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
  border: none;
  cursor: pointer;
}

.page-lottery__play-now-button:hover {
  background: var(--secondary-color, #8B0000);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 0, 0, 0.6);
}

.page-lottery__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* General Section Styles */
.page-lottery__hero-section,
.page-lottery__features-section,
.page-lottery__games-section,
.page-lottery__guide-section,
.page-lottery__responsible-section,
.page-lottery__faq-section,
.page-lottery__final-cta-section {
  padding: 60px 0;
  text-align: center;
}

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

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

.page-lottery__section-title {
  font-size: 38px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color, #FFD700);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-lottery__section-intro,
.page-lottery__description {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-lottery__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color, #FFD700);
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

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

.page-lottery__cta-button {
  display: inline-block;
  padding: 15px 35px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-lottery__btn-primary {
  background: var(--primary-color, #FFD700);
  color: #1a1a1a; /* Dark text for primary button */
  border: 2px solid var(--primary-color, #FFD700);
}

.page-lottery__btn-primary:hover {
  background: var(--secondary-color, #8B0000);
  color: #ffffff;
  border-color: var(--secondary-color, #8B0000);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(139, 0, 0, 0.6);
}

.page-lottery__btn-secondary {
  background: transparent;
  color: var(--primary-color, #FFD700);
  border: 2px solid var(--primary-color, #FFD700);
}

.page-lottery__btn-secondary:hover {
  background: var(--primary-color, #FFD700);
  color: #1a1a1a;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Feature Grid */
.page-lottery__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-lottery__feature-item {
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark background */
  color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-lottery__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
}

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

.page-lottery__feature-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color, #FFD700);
}

.page-lottery__feature-description {
  font-size: 16px;
  line-height: 1.7;
  color: #cccccc;
  margin-bottom: 0;
}

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

.page-lottery__game-item {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  color: #f0f0f0;
  padding: 25px;
  border-radius: 10px;
  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(139, 0, 0, 0.3);
}

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

.page-lottery__game-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-lottery__game-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color, #FFD700);
}

.page-lottery__game-description {
  font-size: 15px;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-lottery__game-button {
  padding: 10px 25px;
  font-size: 16px;
  border-radius: 5px;
}

/* Guide Steps */
.page-lottery__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-lottery__step-item {
  background: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-lottery__step-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color, #FFD700);
}

.page-lottery__step-description {
  font-size: 16px;
  line-height: 1.7;
  color: #cccccc;
  margin-bottom: 0;
}

.page-lottery__center-cta {
  margin-top: 50px;
}

/* Responsible Section */
.page-lottery__responsible-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: inline-block; /* Center the list */
  text-align: left;
}

.page-lottery__responsible-list li {
  font-size: 18px;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  color: #f0f0f0;
}

.page-lottery__list-icon {
  color: var(--primary-color, #FFD700);
  font-size: 24px;
  margin-right: 15px;
  line-height: 1;
  flex-shrink: 0;
}

.page-lottery__responsible-text {
  font-size: 16px;
  margin-top: 30px;
  color: #cccccc;
}

/* FAQ Section */
.page-lottery__faq-list {
  margin-top: 40px;
  text-align: left;
}

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

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

.page-lottery__faq-question:hover {
  background: #444444;
  border-color: var(--primary-color, #FFD700);
}

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

.page-lottery__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-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(45deg);
}

.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;
  border-radius: 0 0 8px 8px;
  color: #cccccc;
  text-align: left;
}

.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: 0;
  line-height: 1.7;
  color: #cccccc;
}

/* Final CTA */
.page-lottery__final-cta-section {
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-lottery__section-title {
    font-size: 32px;
  }
  .page-lottery__main-title {
    font-size: 40px;
  }
  .page-lottery__description, .page-lottery__section-intro {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  /* Fixed Nav Padding - Mobile */
  .page-lottery__video-section {
    padding-top: 10px !important; /* Mobile: Adjust for fixed header */
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-lottery__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-lottery__section-title {
    font-size: 28px;
  }
  .page-lottery__main-title {
    font-size: 32px;
  }
  .page-lottery__description, .page-lottery__section-intro {
    font-size: 15px;
    margin-bottom: 25px;
  }

  /* Video Section Mobile */
  .page-lottery__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  .page-lottery__video-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-lottery__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 4px;
    overflow: hidden !important;
  }
  .page-lottery__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 4px;
    object-fit: contain;
  }
  .page-lottery__video-cta {
    margin-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-lottery__play-now-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 30px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-lottery__video-click-hint {
    font-size: 14px !important;
    padding: 8px 16px !important;
  }

  /* CTA Buttons Mobile */
  .page-lottery__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-lottery__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px;
    font-size: 16px;
  }

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

  .page-lottery__feature-grid, .page-lottery__game-grid, .page-lottery__guide-steps {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }

  .page-lottery__feature-item, .page-lottery__game-item, .page-lottery__step-item {
    padding: 25px;
  }

  .page-lottery__feature-icon, .page-lottery__step-icon {
    width: 70px;
    height: 70px;
  }

  .page-lottery__feature-title, .page-lottery__step-title {
    font-size: 20px;
  }

  .page-lottery__game-image {
    height: 150px;
  }

  .page-lottery__game-title {
    font-size: 20px;
  }

  .page-lottery__faq-question {
    padding: 15px 20px;
  }
  .page-lottery__faq-question h3 {
    font-size: 16px;
  }
  .page-lottery__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
  }
  .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 {
    font-size: 16px;
  }
  .page-lottery__list-icon {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .page-lottery__section-title {
    font-size: 24px;
  }
  .page-lottery__main-title {
    font-size: 28px;
  }
  .page-lottery__cta-button {
    padding: 10px 20px;
    font-size: 15px;
  }
  .page-lottery__play-now-button {
    font-size: 15px !important;
    padding: 10px 25px !important;
  }
}