.page-lottery {
  --primary-color: #FFD700;
  --secondary-color: #1A202C;
  --text-light: #ffffff;
  --text-dark: #1A202C;
  --bg-dark: #1A202C;
  --bg-light: #f4f4f4;
  --card-bg: #2d3748;
  --border-color: #4a5568;
  --hover-color: #e6c200;
}

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

.page-lottery section {
  padding: 60px 0;
  text-align: center;
}

.page-lottery h1,
.page-lottery h2,
.page-lottery h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.page-lottery h1 {
  font-size: 3.5em;
  font-weight: bold;
  line-height: 1.2;
}

.page-lottery h2 {
  font-size: 2.5em;
  font-weight: bold;
  margin-top: 40px;
  color: var(--text-light);
}

.page-lottery h3 {
  font-size: 1.8em;
  font-weight: 600;
  color: var(--primary-color);
}

.page-lottery p {
  font-size: 1.1em;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 20px;
}

.page-lottery .button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-lottery .primary-button {
  background-color: var(--primary-color);
  color: var(--text-dark);
}

.page-lottery .primary-button:hover {
  background-color: var(--hover-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-lottery .secondary-button {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  margin-left: 15px;
}

.page-lottery .secondary-button:hover {
  background-color: var(--primary-color);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 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 60px;
  background-color: var(--bg-dark);
  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;
}

.page-lottery .hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-lottery .hero-content h1 {
  color: var(--primary-color);
  font-size: 3.8em;
  margin-bottom: 25px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-lottery .hero-content p {
  color: var(--text-light);
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

.page-lottery .cta-button:hover {
  background: var(--hover-color);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

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

.page-lottery .lottery-type-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-lottery .lottery-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-lottery .lottery-type-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-lottery .lottery-type-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-lottery .lottery-type-card li {
  color: var(--text-light);
  margin-bottom: 10px;
  font-size: 1em;
  line-height: 1.5;
}

.page-lottery .lottery-type-card li strong {
  color: var(--primary-color);
}

.page-lottery .lottery-type-card p {
  color: var(--text-light);
  font-size: 1em;
  margin-bottom: 20px;
}

/* Why Choose Us Section */
.page-lottery .why-choose-us {
  background-color: var(--bg-dark);
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-lottery .why-choose-us h2 {
  color: var(--text-light);
}

.page-lottery .why-choose-us > p {
  max-width: 800px;
  margin: 0 auto 50px;
  color: var(--text-light);
}

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

.page-lottery .benefit-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-lottery .benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-lottery .benefit-item p {
  color: var(--text-light);
  font-size: 0.95em;
  line-height: 1.6;
}

.page-lottery .button-group {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

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

.page-lottery .how-to-play-section h2 {
  color: var(--text-light);
}

.page-lottery .how-to-play-section > p {
  max-width: 800px;
  margin: 0 auto 50px;
  color: var(--text-light);
}

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

.page-lottery .step-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-lottery .step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-lottery .step-item p {
  color: var(--text-light);
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 25px;
}

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

.page-lottery .promotions-section h2 {
  color: var(--text-light);
}

.page-lottery .promotions-section > p {
  max-width: 800px;
  margin: 0 auto 50px;
  color: var(--text-light);
}

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

.page-lottery .promotion-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-lottery .promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-lottery .promotion-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-lottery .promotion-card p {
  color: var(--text-light);
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 25px;
}

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

.page-lottery .faq-section h2 {
  color: var(--text-light);
  margin-bottom: 40px;
}

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

.page-lottery .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--card-bg);
}

.page-lottery .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--card-bg);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-lottery .faq-question:hover {
  background: #3a475a;
}

.page-lottery .faq-question h3 {
  color: var(--primary-color);
  margin: 0;
  font-size: 1.25em;
  flex-grow: 1;
}

.page-lottery .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-left: 15px;
  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: #232a36;
}

.page-lottery .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 15px 25px 25px;
}

.page-lottery .faq-answer p {
  color: var(--text-light);
  font-size: 1em;
  line-height: 1.6;
  margin: 0;
}

/* Blog Section */
.page-lottery .blog-section {
  background-color: var(--bg-dark);
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-lottery .blog-section h2 {
  color: var(--text-light);
}

.page-lottery .blog-section > p {
  max-width: 800px;
  margin: 0 auto 50px;
  color: var(--text-light);
}

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

.page-lottery .blog-card {
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.page-lottery .blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-lottery .blog-card h3 {
  font-size: 1.4em;
  margin-bottom: 10px;
}

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

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

.page-lottery .blog-card p {
  color: var(--text-light);
  font-size: 0.95em;
  line-height: 1.5;
  margin-bottom: 20px;
}

.page-lottery .read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-lottery .read-more:hover {
  color: var(--hover-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-lottery h1 {
    font-size: 3em;
  }
  .page-lottery h2 {
    font-size: 2em;
  }
  .page-lottery .cta-button {
    padding: 15px 35px;
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-lottery section {
    padding: 40px 0;
  }
  .page-lottery h1 {
    font-size: 2.5em;
  }
  .page-lottery h2 {
    font-size: 1.8em;
  }
  .page-lottery h3 {
    font-size: 1.4em;
  }
  .page-lottery p {
    font-size: 1em;
  }
  .page-lottery .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-lottery .hero-content p {
    font-size: 1.1em;
  }
  .page-lottery .button-group {
    flex-direction: column;
    gap: 10px;
  }
  .page-lottery .secondary-button {
    margin-left: 0;
  }
  .page-lottery .lottery-type-card,
  .page-lottery .benefit-item,
  .page-lottery .step-item,
  .page-lottery .promotion-card,
  .page-lottery .blog-card {
    padding: 20px;
  }
  .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: 0 20px;
  }
  .page-lottery .faq-item.active .faq-answer {
    padding: 10px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-lottery h1 {
    font-size: 2em;
  }
  .page-lottery h2 {
    font-size: 1.6em;
  }
  .page-lottery .hero-content p {
    font-size: 1em;
  }
  .page-lottery .button {
    width: 100%;
  }
  .page-lottery .lottery-type-card img,
  .page-lottery .step-item img {
    height: 180px;
  }
}