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

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

.page-lottery section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-lottery section:last-of-type {
  margin-bottom: 0;
}

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

.page-lottery h1 {
  font-size: 3.2em;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-lottery h2 {
  font-size: 2.5em;
  border-bottom: 3px solid #FFD700;
  display: inline-block;
  padding-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  width: fit-content;
}

.page-lottery h3 {
  font-size: 1.8em;
  color: #0A2463;
  text-align: left;
  margin-bottom: 15px;
}

.page-lottery p {
  margin-bottom: 15px;
  text-align: justify;
}

.page-lottery ul {
  list-style: disc inside;
  margin-bottom: 15px;
  padding-left: 20px;
}

.page-lottery li {
  margin-bottom: 8px;
}

/* Hero Banner */
.page-lottery .hero-banner {
  position: relative;
  width: 100%;
  height: 500px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0;
  margin-bottom: 40px;
  border-radius: 0;
  box-shadow: none;
}

.page-lottery .hero-banner .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-lottery .hero-banner .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(10, 36, 99, 0.7));
  z-index: 2;
}

.page-lottery .hero-banner .hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

.page-lottery .hero-banner .hero-content p {
  font-size: 1.3em;
  margin-bottom: 30px;
  text-align: center;
}

/* CTA Button General */
.page-lottery .cta-button,
.page-lottery .primary-button,
.page-lottery .secondary-button,
.page-lottery .card-button,
.page-lottery .promo-button,
.page-lottery .step-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.page-lottery .cta-button {
  background-color: #FFD700;
  color: #0A2463;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-lottery .cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-lottery .button-group {
  text-align: center;
  margin-top: 30px;
}

.page-lottery .button-group .primary-button {
  background-color: #0A2463;
  color: #FFD700;
  border: 2px solid #FFD700;
  margin-right: 15px;
}

.page-lottery .button-group .primary-button:hover {
  background-color: #1a3a7c;
  color: #fff;
  border-color: #fff;
}

.page-lottery .button-group .secondary-button {
  background-color: #f0f0f0;
  color: #0A2463;
  border: 2px solid #0A2463;
}

.page-lottery .button-group .secondary-button:hover {
  background-color: #e0e0e0;
  color: #FFD700;
  border-color: #FFD700;
}

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

.page-lottery .game-card,
.page-lottery .promo-card {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-lottery .game-card h3,
.page-lottery .promo-card h3 {
  padding: 15px;
  font-size: 1.5em;
  text-align: left;
  margin-bottom: 0;
  flex-grow: 1;
}

.page-lottery .game-card h3 a,
.page-lottery .promo-card h3 a {
  color: #0A2463;
  text-decoration: none;
}

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

.page-lottery .game-card p,
.page-lottery .promo-card p {
  padding: 0 15px;
  font-size: 0.95em;
  color: #555;
  text-align: left;
}

.page-lottery .game-card ul {
  padding: 0 15px 15px 35px;
  list-style: circle;
  font-size: 0.9em;
  color: #666;
}

.page-lottery .card-button,
.page-lottery .promo-button {
  margin: 15px;
  background-color: #FFD700;
  color: #0A2463;
  border: none;
}

.page-lottery .card-button:hover,
.page-lottery .promo-button:hover {
  background-color: #e6c200;
  color: #0A2463;
}

/* Guide Section */
.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-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding-bottom: 20px;
  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 .step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-lottery .step-item h3 {
  font-size: 1.6em;
  margin: 15px 10px 10px;
  color: #0A2463;
  text-align: center;
}

.page-lottery .step-item p {
  padding: 0 15px;
  font-size: 0.95em;
  color: #555;
  text-align: center;
  flex-grow: 1;
}

.page-lottery .step-button {
  margin-top: 20px;
  background-color: #0A2463;
  color: #FFD700;
  border: none;
}

.page-lottery .step-button:hover {
  background-color: #1a3a7c;
  color: #fff;
}

/* Strategy Section */
.page-lottery .strategy-section h3 {
  color: #0A2463;
  font-size: 2em;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-lottery .strategy-section p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

/* Safety & Support Section */
.page-lottery .safety-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-lottery .feature-item {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-lottery .feature-item h3 {
  color: #0A2463;
  font-size: 1.8em;
  margin-bottom: 15px;
  text-align: center;
}

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

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

.page-lottery .faq-list {
  margin-top: 30px;
}

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

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

.page-lottery .faq-question:hover {
  background-color: #1a3a7c;
}

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

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

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

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

.page-lottery .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px;
}

.page-lottery .faq-answer p {
  margin: 0;
  text-align: left;
}

/* Call to Action Section */
.page-lottery .call-to-action-section {
  background: linear-gradient(135deg, #0A2463, #FFD700);
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.page-lottery .call-to-action-section h2 {
  color: #ffffff;
  border-bottom-color: #FFD700;
  margin-bottom: 30px;
}

.page-lottery .call-to-action-section p {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-lottery .call-to-action-section .cta-button {
  background-color: #ffffff;
  color: #0A2463;
  border: none;
}

.page-lottery .call-to-action-section .cta-button:hover {
  background-color: #f0f0f0;
  color: #0A2463;
}

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

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

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

  .page-lottery .hero-banner {
    height: 400px;
  }

  .page-lottery .game-cards-grid,
  .page-lottery .promo-grid,
  .page-lottery .guide-steps,
  .page-lottery .safety-features {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-lottery .button-group .primary-button,
  .page-lottery .button-group .secondary-button {
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 15px;
  }
  .page-lottery .button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

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

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

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

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

  .page-lottery .hero-banner {
    height: 350px;
  }

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

  .page-lottery .cta-button,
  .page-lottery .primary-button,
  .page-lottery .secondary-button,
  .page-lottery .card-button,
  .page-lottery .promo-button,
  .page-lottery .step-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-lottery .game-card,
  .page-lottery .promo-card,
  .page-lottery .step-item,
  .page-lottery .feature-item {
    margin-bottom: 20px;
  }

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

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

  .page-lottery .faq-toggle {
    font-size: 20px;
  }

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

  .page-lottery .call-to-action-section {
    padding: 60px 0;
  }
}