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

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

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

.page-lottery h1, .page-lottery h2, .page-lottery h3, .page-lottery h4 {
  color: #0A2463;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.3;
}

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

.page-lottery h2 {
  font-size: 2.5em;
  text-align: center;
  margin-top: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-lottery h3 {
  font-size: 1.8em;
  color: #0A2463;
}

.page-lottery h4 {
  font-size: 1.4em;
  color: #0A2463;
}

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

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

.page-lottery .cta-button {
  display: inline-block;
  background-color: #E3B505;
  color: #0A2463;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #E3B505;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-lottery .cta-button:hover {
  background-color: #0A2463;
  color: #E3B505;
  transform: translateY(-3px);
  border-color: #E3B505;
}

.page-lottery .secondary-button {
  background-color: #0A2463;
  color: #E3B505;
  border-color: #0A2463;
}

.page-lottery .secondary-button:hover {
  background-color: #E3B505;
  color: #0A2463;
  border-color: #E3B505;
}

/* Banner Section */
.page-lottery .banner-section {
  position: relative;
  background: linear-gradient(135deg, #0A2463, #3B5998);
  padding: 80px 0;
  color: #ffffff;
  overflow: hidden;
}

.page-lottery .banner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-lottery .banner-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

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

.page-lottery .banner-content p {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Why Choose Section */
.page-lottery .why-choose-section {
  background-color: #f8f8f8;
  padding: 80px 0;
}

.page-lottery .why-choose-section h2 {
  color: #0A2463;
}

.page-lottery .why-choose-section > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.15em;
}

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

.page-lottery .feature-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px 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 12px 25px rgba(0, 0, 0, 0.15);
}

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

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

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

/* Guide Section */
.page-lottery .guide-section {
  padding: 80px 0;
}

.page-lottery .guide-section > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.15em;
}

.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: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-lottery .step-item .step-image {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 25px;
  border-radius: 8px;
}

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

.page-lottery .step-item p {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
}

.page-lottery .guide-button {
  display: inline-block;
  background-color: #0A2463;
  color: #E3B505;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #0A2463;
}

.page-lottery .guide-button:hover {
  background-color: #E3B505;
  color: #0A2463;
  transform: translateY(-2px);
  border-color: #E3B505;
}

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

.page-lottery .lottery-types-section > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.15em;
}

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

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

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

.page-lottery .type-item .type-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-lottery .type-item p {
  font-size: 1em;
  color: #555555;
}

.page-lottery .type-button {
  display: inline-block;
  background-color: #E3B505;
  color: #0A2463;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  margin-top: 20px;
  transition: background-color 0.3s ease;
  border: 1px solid #E3B505;
}

.page-lottery .type-button:hover {
  background-color: #0A2463;
  color: #E3B505;
  border-color: #0A2463;
}

/* Tips Section */
.page-lottery .tips-section {
  padding: 80px 0;
}

.page-lottery .tips-section > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.15em;
}

.page-lottery .tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-lottery .tips-list li {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 25px;
}

.page-lottery .tips-list li .tip-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
}

.page-lottery .tips-list li h4 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #0A2463;
  font-size: 1.4em;
}

.page-lottery .tips-list li p {
  font-size: 1em;
  color: #555555;
  margin-bottom: 0;
}

/* Promotion Section */
.page-lottery .promotion-section {
  background-color: #f8f8f8;
  padding: 80px 0;
}

.page-lottery .promotion-section > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.15em;
}

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

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

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

.page-lottery .promo-item .promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-lottery .promo-item p {
  font-size: 1em;
  color: #555555;
}

.page-lottery .promo-button {
  display: inline-block;
  background-color: #E3B505;
  color: #0A2463;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  margin-top: 20px;
  transition: background-color 0.3s ease;
  border: 1px solid #E3B505;
}

.page-lottery .promo-button:hover {
  background-color: #0A2463;
  color: #E3B505;
  border-color: #0A2463;
}

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

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

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

.page-lottery .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 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;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-lottery .faq-item.active .faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: #E3B505;
}

.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: 24px;
  font-weight: bold;
  color: #E3B505;
  transition: transform 0.3s ease;
}

.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.3s ease, padding 0.3s ease;
  padding: 0 25px;
  background: #f9f9f9;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 0 0 8px 8px;
}

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

.page-lottery .faq-answer p {
  margin-bottom: 0;
  font-size: 1.05em;
  color: #444444;
}

.page-lottery .faq-answer a {
  color: #0A2463;
  text-decoration: underline;
  font-weight: bold;
}

.page-lottery .faq-answer a:hover {
  color: #E3B505;
}

/* Conclusion Section */
.page-lottery .conclusion-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0A2463, #3B5998);
  color: #ffffff;
  text-align: center;
}

.page-lottery .conclusion-section h2 {
  color: #E3B505;
  font-size: 2.8em;
}

.page-lottery .conclusion-section p {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-lottery .conclusion-section a {
  color: #E3B505;
  font-weight: bold;
  text-decoration: underline;
}

.page-lottery .conclusion-section a:hover {
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-lottery .banner-content h1 {
    font-size: 3em;
  }
  .page-lottery h2 {
    font-size: 2em;
  }
  .page-lottery h3 {
    font-size: 1.5em;
  }
  .page-lottery .feature-grid, .page-lottery .guide-steps, .page-lottery .type-grid, .page-lottery .promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-lottery section {
    padding: 40px 0;
  }
  .page-lottery .banner-section {
    padding: 60px 0;
  }
  .page-lottery .banner-image {
    max-width: 100%;
    margin-bottom: 30px;
  }
  .page-lottery .banner-content h1 {
    font-size: 2.5em;
  }
  .page-lottery .banner-content p {
    font-size: 1.1em;
  }
  .page-lottery h1 {
    font-size: 2.5em;
  }
  .page-lottery h2 {
    font-size: 1.8em;
  }
  .page-lottery h3 {
    font-size: 1.3em;
  }
  .page-lottery .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-lottery .feature-item, .page-lottery .step-item, .page-lottery .type-item, .page-lottery .promo-item {
    padding: 20px;
  }
  .page-lottery .feature-item .feature-icon, .page-lottery .step-item .step-image, .page-lottery .tips-list li .tip-icon {
    width: 100px;
    height: 100px;
  }
  .page-lottery .tips-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    gap: 15px;
  }
  .page-lottery .faq-question {
    padding: 15px 20px;
  }
  .page-lottery .faq-question h3 {
    font-size: 1.1em;
  }
  .page-lottery .faq-toggle {
    font-size: 20px;
  }
  .page-lottery .faq-answer {
    padding: 15px 20px;
  }
  .page-lottery .conclusion-section h2 {
    font-size: 2em;
  }
  .page-lottery .conclusion-section p {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-lottery .banner-content h1 {
    font-size: 2em;
  }
  .page-lottery .banner-content p {
    font-size: 0.95em;
  }
  .page-lottery h1 {
    font-size: 2em;
  }
  .page-lottery h2 {
    font-size: 1.6em;
  }
  .page-lottery h3 {
    font-size: 1.2em;
  }
  .page-lottery .feature-grid, .page-lottery .guide-steps, .page-lottery .type-grid, .page-lottery .promo-grid {
    grid-template-columns: 1fr;
  }
  .page-lottery .faq-question h3 {
    font-size: 1em;
  }
  .page-lottery .faq-toggle {
    font-size: 18px;
  }
  .page-lottery .conclusion-section h2 {
    font-size: 1.8em;
  }
}