.page-lottery {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

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

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

.page-lottery h1, .page-lottery h2, .page-lottery h3 {
  color: #002060; /* Primary color */
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

.page-lottery h1 {
  font-size: 3.2em;
  line-height: 1.2;
}

.page-lottery h2 {
  font-size: 2.5em;
}

.page-lottery h3 {
  font-size: 1.8em;
  text-align: left;
}

.page-lottery p {
  font-size: 1.1em;
  margin-bottom: 15px;
  text-align: center;
}

.page-lottery .link-highlight {
  color: #FFD700; /* Auxiliary color */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-lottery .link-highlight:hover {
  color: #e0b800;
}

/* Hero Banner Section */
.page-lottery .hero-banner {
  background: linear-gradient(135deg, #002060 0%, #002060 60%, #FFD700 100%); /* Primary to Auxiliary blend */
  color: #ffffff;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-lottery .hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Dark overlay for text readability */
  z-index: 1;
}

.page-lottery .hero-banner .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-lottery .hero-banner .hero-content h1 {
  color: #ffffff;
  font-size: 3.8em;
  margin-bottom: 20px;
}

.page-lottery .hero-banner .hero-content p {
  color: #f0f0f0;
  font-size: 1.3em;
  margin-bottom: 30px;
}

.page-lottery .hero-banner .hero-image {
  position: relative;
  z-index: 2;
  width: 80%;
  max-width: 800px;
  margin-top: 20px;
}

.page-lottery .hero-banner .hero-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-lottery .cta-button {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary color */
  color: #002060; /* Primary color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-lottery .cta-button:hover {
  background-color: #e0b800;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-lottery .cta-button.secondary {
  background-color: #002060;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-lottery .cta-button.secondary:hover {
  background-color: #001a4d;
  color: #FFD700;
  border-color: #e0b800;
}

.page-lottery .cta-button.large {
  padding: 20px 40px;
  font-size: 1.5em;
}

/* Intro Section */
.page-lottery .intro-section {
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
}

.page-lottery .intro-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

.page-lottery .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-lottery .feature-item {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-lottery .feature-item img {
  width: 250px; /* Min size 200px */
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-lottery .feature-item h3 {
  color: #002060;
  font-size: 1.5em;
  margin-bottom: 10px;
  text-align: center;
}

.page-lottery .feature-item p {
  font-size: 1em;
  color: #555;
  text-align: center;
}

/* Game Types Section */
.page-lottery .game-types {
  background-color: #f0f4f7;
}

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

.page-lottery .game-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery .game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-lottery .game-card img {
  width: 100%;
  max-width: 350px; /* Min size 200px, but card images should be larger */
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-lottery .game-card h3 {
  color: #002060;
  font-size: 1.6em;
  margin-bottom: 15px;
  text-align: center;
}

.page-lottery .game-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  width: 100%;
  max-width: 300px; /* Adjust as needed */
}

.page-lottery .game-card ul li {
  margin-bottom: 10px;
  font-size: 1em;
  color: #555;
}

.page-lottery .game-card ul li strong {
  color: #002060;
}

.page-lottery .btn-small {
  display: inline-block;
  background-color: #FFD700;
  color: #002060;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
}

.page-lottery .btn-small:hover {
  background-color: #e0b800;
  transform: translateY(-2px);
}

/* How To Play Section */
.page-lottery .how-to-play {
  background-color: #ffffff;
}

.page-lottery .how-to-play ol {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-lottery .how-to-play ol li {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  text-align: left;
}

.page-lottery .how-to-play ol li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: -20px;
  top: 20px;
  background: #FFD700;
  color: #002060;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-lottery .how-to-play ol li h3 {
  margin-left: 40px; /* Adjust for counter */
  margin-top: 0;
  text-align: left;
  color: #002060;
}

.page-lottery .how-to-play ol li p {
  margin-left: 40px;
  text-align: justify;
  color: #555;
}

.page-lottery .how-to-play .step-image {
  width: 100%;
  max-width: 600px; /* Example size, min 200px */
  height: auto;
  display: block;
  margin: 20px auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Promotions Section */
.page-lottery .promotions-section {
  background-color: #f0f4f7;
}

.page-lottery .promotions-section ul {
  list-style: disc;
  padding-left: 25px;
  max-width: 800px;
  margin: 30px auto;
  text-align: left;
}

.page-lottery .promotions-section ul li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #333;
}

.page-lottery .promotions-section ul li strong {
  color: #002060;
}

.page-lottery .promotions-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* FAQ Section */
.page-lottery .faq-section {
  background-color: #ffffff;
}

.page-lottery .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.page-lottery .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fdfdfd;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-lottery .faq-question:hover {
  background: #f5f5f5;
}

.page-lottery .faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  color: #002060;
  text-align: left;
}

.page-lottery .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-lottery .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #002060;
}

.page-lottery .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 25px;
  background: #fefefe;
}

.page-lottery .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 25px;
  border-top: 1px solid #eee;
}

.page-lottery .faq-answer p {
  margin: 0;
  font-size: 1.1em;
  color: #555;
  text-align: justify;
}

/* Final CTA Section */
.page-lottery .cta-final {
  background: #002060; /* Primary color */
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.page-lottery .cta-final h2 {
  color: #FFD700;
  font-size: 3em;
  margin-bottom: 25px;
}

.page-lottery .cta-final p {
  color: #f0f0f0;
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-lottery .cta-final .small-text {
  font-size: 0.9em;
  margin-top: 20px;
  color: #cccccc;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-lottery .hero-banner .hero-content h1 {
    font-size: 3em;
  }
  .page-lottery h2 {
    font-size: 2em;
  }
  .page-lottery h3 {
    font-size: 1.5em;
  }
  .page-lottery .hero-banner .hero-image {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .page-lottery section {
    padding: 40px 0;
  }
  .page-lottery .hero-banner .hero-content h1 {
    font-size: 2.5em;
  }
  .page-lottery .hero-banner .hero-content p {
    font-size: 1.1em;
  }
  .page-lottery h2 {
    font-size: 1.8em;
  }
  .page-lottery h3 {
    font-size: 1.3em;
  }
  .page-lottery p {
    font-size: 1em;
  }
  .page-lottery .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-lottery .cta-button.large {
    padding: 15px 30px;
    font-size: 1.2em;
  }
  .page-lottery .features-grid, .page-lottery .game-cards {
    grid-template-columns: 1fr;
  }
  .page-lottery .how-to-play ol li::before {
    left: 50%;
    transform: translateX(-50%);
    top: -25px;
  }
  .page-lottery .how-to-play ol li h3, .page-lottery .how-to-play ol li p {
    margin-left: 0;
    text-align: center;
  }
  .page-lottery .how-to-play ol li h3 {
    padding-top: 30px;
  }
  .page-lottery .faq-question h3 {
    font-size: 1.1em;
  }
  .page-lottery .faq-question {
    padding: 15px 20px;
  }
  .page-lottery .faq-answer {
    padding: 15px 20px;
  }
  .page-lottery .cta-final h2 {
    font-size: 2.2em;
  }
}