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

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

.page-lottery .section-title {
  font-size: 38px;
  color: #0A2E5B;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-transform: uppercase;
}

.page-lottery .section-description {
  font-size: 18px;
  color: #555555;
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-lottery .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700;
  color: #0A2E5B;
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-lottery .btn-small {
  display: inline-block;
  padding: 10px 25px;
  background: #0A2E5B;
  color: #FFD700;
  text-decoration: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-lottery .btn-small:hover {
  background: #1a4f8a;
  transform: translateY(-1px);
}

.page-lottery .btn-outline {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: #0A2E5B;
  text-decoration: none;
  border: 2px solid #0A2E5B;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-lottery .btn-outline:hover {
  background: #0A2E5B;
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* 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: 80px 20px;
  background: linear-gradient(135deg, #0A2E5B, #1a4f8a);
  overflow: hidden;
}

.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;
  z-index: 2;
}

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

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

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

.page-lottery .main-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-lottery .hero-description {
  font-size: 22px;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #E0E0E0;
}

/* Intro Section */
.page-lottery .intro-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

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

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

.page-lottery .feature-item img {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-lottery .feature-item h3 {
  font-size: 24px;
  color: #0A2E5B;
  margin-bottom: 15px;
}

.page-lottery .feature-item p {
  font-size: 16px;
  color: #666666;
}

/* Game Types Section */
.page-lottery .game-types-section {
  padding: 80px 0;
  background-color: #f0f4f7;
}

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

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

.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 #eeeeee;
}

.page-lottery .game-card h3 {
  font-size: 22px;
  color: #0A2E5B;
  padding: 20px 20px 10px;
  margin: 0;
}

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

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

.page-lottery .game-card p {
  font-size: 16px;
  color: #666666;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-lottery .game-card .btn-small {
  margin: 0 20px 20px;
  align-self: flex-start;
}

/* How-to-Play Section */
.page-lottery .how-to-play-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-lottery .step-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-lottery .step-number {
  width: 60px;
  height: 60px;
  background-color: #0A2E5B;
  color: #FFD700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-lottery .step-item h3 {
  font-size: 24px;
  color: #0A2E5B;
  margin-bottom: 15px;
}

.page-lottery .step-item p {
  font-size: 16px;
  color: #666666;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-lottery .promotions-section {
  padding: 80px 0;
  background-color: #0A2E5B;
  color: #FFFFFF;
}

.page-lottery .promotions-section .section-title {
  color: #FFD700;
}

.page-lottery .promotions-section .section-description {
  color: #E0E0E0;
}

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

.page-lottery .promo-card {
  background-color: #1a4f8a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-lottery .promo-card:hover {
  transform: translateY(-8px);
  background-color: #2b6ca8;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-lottery .promo-card img {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-lottery .promo-card h3 {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-lottery .promo-card p {
  font-size: 16px;
  color: #E0E0E0;
  margin-bottom: 20px;
}

.page-lottery .promo-card .btn-small {
  background: #FFD700;
  color: #0A2E5B;
}

.page-lottery .promo-card .btn-small:hover {
  background: #e6c200;
  color: #0A2E5B;
}

/* Security & Support Section */
.page-lottery .security-support-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-lottery .info-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-lottery .info-item img {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-lottery .info-item h3 {
  font-size: 24px;
  color: #0A2E5B;
  margin-bottom: 15px;
}

.page-lottery .info-item p {
  font-size: 16px;
  color: #666666;
}

/* FAQ Section */
.page-lottery .faq-section {
  padding: 80px 0;
  background-color: #f0f4f7;
}

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

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.faq-question h3 {
  margin: 0;
  font-size: 20px;
  color: #0A2E5B;
}

.faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #0A2E5B;
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
}

.faq-answer p {
  margin: 0;
  padding-bottom: 15px;
  font-size: 16px;
  color: #444444;
}

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

.faq-item.active .faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

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

/* Blog Section */
.page-lottery .blog-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

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

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

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

.page-lottery .blog-card h3 {
  font-size: 22px;
  color: #0A2E5B;
  padding: 20px 20px 10px;
  margin: 0;
}

.page-lottery .blog-card .card-link {
  color: #0A2E5B;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-lottery .blog-card .card-link:hover {
  color: #FFD700;
}

.page-lottery .blog-card p {
  font-size: 16px;
  color: #666666;
  padding: 0 20px;
  flex-grow: 1;
}

.page-lottery .blog-card .blog-date {
  font-size: 14px;
  color: #999999;
  padding: 10px 20px 20px;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-lottery .main-title {
    font-size: 42px;
  }
  .page-lottery .section-title {
    font-size: 32px;
  }
  .page-lottery .hero-description {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .page-lottery .hero-section {
    padding: 60px 15px;
  }
  .page-lottery .main-title {
    font-size: 36px;
  }
  .page-lottery .hero-description {
    font-size: 18px;
  }
  .page-lottery .section-title {
    font-size: 28px;
  }
  .page-lottery .section-description {
    font-size: 16px;
    margin-bottom: 40px;
  }
  .page-lottery .cta-button {
    padding: 12px 30px;
    font-size: 18px;
  }
  .page-lottery .intro-section, .page-lottery .game-types-section, .page-lottery .how-to-play-section, .page-lottery .promotions-section, .page-lottery .security-support-section, .page-lottery .faq-section, .page-lottery .blog-section {
    padding: 60px 0;
  }
  .page-lottery .feature-item, .page-lottery .game-card, .page-lottery .step-item, .page-lottery .promo-card, .page-lottery .info-item, .page-lottery .blog-card {
    padding: 25px;
  }
  .page-lottery .feature-item h3, .page-lottery .game-card h3, .page-lottery .step-item h3, .page-lottery .promo-card h3, .page-lottery .info-item h3, .page-lottery .blog-card h3 {
    font-size: 20px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 18px;
  }
  .faq-toggle {
    font-size: 24px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-lottery .main-title {
    font-size: 30px;
  }
  .page-lottery .hero-description {
    font-size: 16px;
  }
  .page-lottery .section-title {
    font-size: 24px;
  }
  .page-lottery .section-description {
    font-size: 14px;
    margin-bottom: 30px;
  }
  .page-lottery .cta-button {
    padding: 10px 25px;
    font-size: 16px;
  }
  .page-lottery .hero-image {
    margin-bottom: 20px;
  }
  .page-lottery .feature-item, .page-lottery .game-card, .page-lottery .step-item, .page-lottery .promo-card, .page-lottery .info-item, .page-lottery .blog-card {
    padding: 20px;
  }
  .page-lottery .feature-item img, .page-lottery .info-item img, .page-lottery .promo-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }
  .page-lottery .step-number {
    width: 50px;
    height: 50px;
    font-size: 28px;
    margin-bottom: 15px;
  }
  .faq-question {
    padding: 12px 15px;
  }
  .faq-question h3 {
    font-size: 16px;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 15px;
  }
  .faq-item.active .faq-answer {
    padding: 12px 15px;
  }
}