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

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

.page-lottery h1, .page-lottery h2, .page-lottery h3 {
  color: #0A2463;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-lottery h1 {
  font-size: 2.8em;
  text-align: center;
}

.page-lottery h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-lottery h3 {
  font-size: 1.6em;
}

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

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

.page-lottery section:nth-of-type(odd) {
  background-color: #ffffff;
}

.page-lottery section:nth-of-type(even) {
  background-color: #f2f4f6;
}

/* Hero Section */
.page-lottery .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: #0A2463;
  color: #ffffff;
}

.page-lottery .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-lottery .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-lottery .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-lottery .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-lottery .hero-content h1 {
  color: #FFD700;
  font-size: 3.5em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-lottery .hero-content p {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #e0e0e0;
}

.page-lottery .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: #FFD700;
  color: #0A2463;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.4em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

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

/* Intro Section */
.page-lottery .section-intro p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-lottery .feature-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 5px;
}

.page-lottery .feature-item h3 {
  color: #0A2463;
  font-size: 1.5em;
  margin-bottom: 10px;
}

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

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

.page-lottery .game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-lottery .game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eeeeee;
}

.page-lottery .game-card h3 {
  font-size: 1.6em;
  margin: 20px 15px 10px 15px;
  color: #0A2463;
}

.page-lottery .game-card h3 a {
  text-decoration: none;
  color: #0A2463;
  transition: color 0.3s ease;
}

.page-lottery .game-card h3 a:hover {
  color: #FFD700;
}

.page-lottery .game-card p {
  font-size: 1em;
  color: #555555;
  padding: 0 15px 20px 15px;
  text-align: center;
}

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

.page-lottery .btn-small:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* How To Play Section */
.page-lottery .section-how-to-play p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-lottery .step-list li {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  counter-increment: step-counter;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery .step-list li:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-lottery .step-list li::before {
  content: counter(step-counter);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #FFD700;
  color: #0A2463;
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-lottery .step-list li h3 {
  color: #0A2463;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-lottery .step-list li h3 a {
  text-decoration: none;
  color: #0A2463;
  transition: color 0.3s ease;
}

.page-lottery .step-list li h3 a:hover {
  color: #FFD700;
}

.page-lottery .step-list li p {
  font-size: 1em;
  color: #555555;
  text-align: center;
}

/* Promotions Section */
.page-lottery .section-promotions p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-lottery .promo-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-lottery .promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eeeeee;
}

.page-lottery .promo-item h3 {
  font-size: 1.6em;
  margin: 20px 15px 10px 15px;
  color: #0A2463;
}

.page-lottery .promo-item h3 a {
  text-decoration: none;
  color: #0A2463;
  transition: color 0.3s ease;
}

.page-lottery .promo-item h3 a:hover {
  color: #FFD700;
}

.page-lottery .promo-item p {
  font-size: 1em;
  color: #555555;
  padding: 0 15px 20px 15px;
  text-align: center;
}

/* Security Section */
.page-lottery .section-security p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-lottery .security-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 5px;
}

.page-lottery .security-item h3 {
  color: #0A2463;
  font-size: 1.5em;
  margin-bottom: 10px;
}

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

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

.page-lottery .section-faq h2 {
  margin-bottom: 20px;
}

.page-lottery .section-faq p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

.page-lottery .faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

.page-lottery .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  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.25em;
  color: #0A2463;
}

.page-lottery .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
  line-height: 1;
}

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

.page-lottery .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: #555555;
}

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

.page-lottery .faq-answer p {
  margin-bottom: 0;
  text-align: left;
  font-size: 1em;
}

/* CTA Bottom Section */
.page-lottery .section-cta-bottom {
  background-color: #0A2463;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-lottery .section-cta-bottom h2 {
  color: #FFD700;
  font-size: 2.8em;
}

.page-lottery .section-cta-bottom p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-lottery h1 {
    font-size: 2.5em;
  }

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

  .page-lottery h3 {
    font-size: 1.4em;
  }

  .page-lottery .hero-content h1 {
    font-size: 3em;
  }

  .page-lottery .cta-button {
    padding: 15px 35px;
    font-size: 1.2em;
  }

  .page-lottery .feature-icon, .page-lottery .security-icon {
    width: 100px;
    height: 100px;
  }

  .page-lottery .game-image, .page-lottery .promo-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-lottery section {
    padding: 40px 0;
  }

  .page-lottery .hero-section {
    padding: 40px 15px;
  }

  .page-lottery .hero-image img {
    border-radius: 4px;
  }

  .page-lottery .hero-content h1 {
    font-size: 2.2em;
  }

  .page-lottery .hero-content p {
    font-size: 1.1em;
  }

  .page-lottery .cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }

  .page-lottery .features-grid, .page-lottery .game-cards, .page-lottery .promo-grid, .page-lottery .security-grid {
    grid-template-columns: 1fr;
  }

  .page-lottery .step-list {
    grid-template-columns: 1fr;
  }

  .page-lottery .faq-question {
    padding: 15px 20px;
  }

  .page-lottery .faq-question h3 {
    font-size: 1.1em;
  }

  .page-lottery .faq-toggle {
    font-size: 1.5em;
  }

  .page-lottery .faq-answer {
    padding: 0 20px;
  }

  .page-lottery .faq-item.active .faq-answer {
    padding: 15px 20px;
  }

  .page-lottery .section-cta-bottom h2 {
    font-size: 2em;
  }
}

@media (max-width: 480px) {
  .page-lottery h1 {
    font-size: 2em;
  }
  .page-lottery h2 {
    font-size: 1.6em;
  }
  .page-lottery h3 {
    font-size: 1.2em;
  }
  .page-lottery .hero-content h1 {
    font-size: 1.8em;
  }
  .page-lottery .hero-content p {
    font-size: 1em;
  }
  .page-lottery .cta-button {
    padding: 10px 25px;
    font-size: 1em;
  }
  .page-lottery .feature-icon, .page-lottery .security-icon {
    width: 80px;
    height: 80px;
  }
  .page-lottery .game-image, .page-lottery .promo-image {
    height: 150px;
  }
  .page-lottery .section-cta-bottom h2 {
    font-size: 1.8em;
  }
}