.page-lottery {
  --primary-color: #0A2239;
  --secondary-color: #FFD700;
  --accent-color: #DC143C;
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --bg-light: #F5F5F5;
  --bg-dark: #1A3A54;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

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

.page-lottery .text-center {
  text-align: center;
}

.page-lottery .section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-lottery .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-lottery h1 {
  font-size: 48px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.page-lottery h2 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.page-lottery h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-lottery p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.page-lottery .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--accent-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-lottery .large-cta {
  padding: 18px 50px;
  font-size: 22px;
}

/* Hero Section */
.page-lottery .hero-lottery {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-lottery .hero-lottery .hero-content {
  max-width: 800px;
  z-index: 2;
  color: var(--text-light);
  padding: 0 15px;
}

.page-lottery .hero-lottery .hero-content h1 {
  font-size: 4.5vw;
  line-height: 1.2;
  margin-bottom: 25px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-lottery .hero-lottery .hero-content p {
  font-size: 1.5vw;
  margin-bottom: 35px;
  color: var(--text-light);
  opacity: 0.9;
}

.page-lottery .hero-lottery .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  z-index: 1;
}

.page-lottery .hero-lottery .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Intro Section */
.page-lottery .intro-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

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

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

.page-lottery .feature-item {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-lottery .feature-item img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-lottery .feature-item h3 {
  color: var(--primary-color);
  font-size: 22px;
  margin-bottom: 10px;
}

.page-lottery .feature-item p {
  font-size: 16px;
  color: var(--text-dark);
}

/* Game Types Section */
.page-lottery .game-types-section {
  padding: 80px 0;
  background-color: var(--text-light);
}

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

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

.page-lottery .game-card {
  background-color: var(--bg-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-lottery .game-card h3 {
  font-size: 20px;
  margin: 20px 15px 10px 15px;
  color: var(--primary-color);
}

.page-lottery .game-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-lottery .game-card h3 a:hover {
  color: var(--secondary-color);
}

.page-lottery .game-card p {
  font-size: 15px;
  color: var(--text-dark);
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-lottery .game-card .card-button {
  display: block;
  width: calc(100% - 30px);
  margin: 0 15px 15px 15px;
  padding: 12px 0;
  text-align: center;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-lottery .game-card .card-button:hover {
  background-color: #E0B500;
  color: var(--text-light);
}

/* How To Play Section */
.page-lottery .how-to-play-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-lottery .how-to-play-section .section-title {
  color: var(--secondary-color);
}

.page-lottery .how-to-play-section p {
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.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-color: #1F4C73;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-lottery .step-item img {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 4px solid var(--secondary-color);
  object-fit: cover;
}

.page-lottery .step-item h3 {
  color: var(--secondary-color);
  font-size: 22px;
  margin-bottom: 10px;
}

.page-lottery .step-item p {
  font-size: 16px;
  color: var(--text-light);
  opacity: 0.9;
}

/* Promotions Section */
.page-lottery .promotions-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

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

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

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

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

.page-lottery .promo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-lottery .promo-card h3 {
  font-size: 20px;
  margin: 20px 15px 10px 15px;
  color: var(--primary-color);
}

.page-lottery .promo-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-lottery .promo-card h3 a:hover {
  color: var(--accent-color);
}

.page-lottery .promo-card p {
  font-size: 15px;
  color: var(--text-dark);
  padding: 0 15px;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-lottery .faq-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

.page-lottery .faq-section .section-title {
  color: var(--secondary-color);
}

.page-lottery .faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-lottery .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--primary-color);
  border: 1px solid #1A3A54;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-lottery .faq-question h3 {
  margin: 0;
  font-size: 18px;
  color: var(--text-light);
  font-weight: normal;
}

.page-lottery .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

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

.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: #2A5179;
  color: var(--text-light);
  border-radius: 0 0 8px 8px;
}

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

.page-lottery .faq-answer p {
  margin: 0;
  font-size: 16px;
  color: var(--text-light);
  opacity: 0.9;
}

/* CTA Bottom Section */
.page-lottery .cta-bottom-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
}

.page-lottery .cta-bottom-section h2 {
  color: var(--secondary-color);
  font-size: 38px;
  margin-bottom: 20px;
}

.page-lottery .cta-bottom-section p {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-lottery .hero-lottery .hero-content h1 {
    font-size: 5.5vw;
  }
  .page-lottery .hero-lottery .hero-content p {
    font-size: 2vw;
  }
  .page-lottery .section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-lottery .hero-lottery {
    padding: 60px 0;
  }
  .page-lottery .hero-lottery .hero-content h1 {
    font-size: 8vw;
  }
  .page-lottery .hero-lottery .hero-content p {
    font-size: 3.5vw;
  }
  .page-lottery .cta-button {
    padding: 12px 30px;
    font-size: 18px;
  }
  .page-lottery .large-cta {
    padding: 15px 40px;
    font-size: 20px;
  }
  .page-lottery .section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-lottery h2 {
    font-size: 30px;
  }
  .page-lottery h3 {
    font-size: 20px;
  }
  .page-lottery p {
    font-size: 16px;
  }
  .page-lottery .intro-section, .page-lottery .game-types-section, .page-lottery .how-to-play-section, .page-lottery .promotions-section, .page-lottery .faq-section, .page-lottery .cta-bottom-section {
    padding: 60px 0;
  }
  .page-lottery .features-grid, .page-lottery .game-type-cards, .page-lottery .steps-grid, .page-lottery .promo-cards {
    grid-template-columns: 1fr;
  }
  .page-lottery .feature-item, .page-lottery .game-card, .page-lottery .step-item, .page-lottery .promo-card {
    margin: 0 10px;
  }
  .page-lottery .faq-question {
    padding: 15px 20px;
  }
  .page-lottery .faq-question h3 {
    font-size: 16px;
  }
  .page-lottery .faq-answer {
    padding: 20px;
  }
  .page-lottery .cta-bottom-section h2 {
    font-size: 30px;
  }
  .page-lottery .cta-bottom-section p {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .page-lottery .hero-lottery .hero-content h1 {
    font-size: 10vw;
  }
  .page-lottery .hero-lottery .hero-content p {
    font-size: 4.5vw;
  }
  .page-lottery .section-title {
    font-size: 24px;
  }
  .page-lottery h2 {
    font-size: 26px;
  }
  .page-lottery h3 {
    font-size: 18px;
  }
  .page-lottery .cta-button {
    font-size: 16px;
    padding: 10px 25px;
  }
  .page-lottery .large-cta {
    font-size: 18px;
    padding: 12px 30px;
  }
  .page-lottery .feature-item img, .page-lottery .step-item img {
    max-width: 120px;
  }
}