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

.page-lottery .section-spacing {
  padding: 60px 0;
}

.page-lottery .section-alt-bg {
  background-color: #f0f0f0;
}

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

.page-lottery-section-title {
  font-size: 38px;
  color: #E44D26;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-lottery-text-center {
  text-align: center;
  margin-top: 30px;
  font-size: 17px;
}

.page-lottery-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 450px;
  background-color: #FFB800; /* Fallback color */
}

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

.page-lottery-banner-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 40px 20px;
  max-width: 900px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.page-lottery-main-title {
  font-size: 52px;
  margin-bottom: 15px;
  font-weight: 900;
  line-height: 1.2;
  color: #FFB800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-lottery-subtitle {
  font-size: 22px;
  margin-bottom: 30px;
  font-weight: 500;
  color: #f0f0f0;
}

.page-lottery-cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: linear-gradient(90deg, #E44D26, #FFB800);
  color: #ffffff;
  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 {
  transform: translateY(-3px);
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.4);
  background: linear-gradient(90deg, #FFB800, #E44D26);
}

.page-lottery-center-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
}

.page-lottery-intro p {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

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

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

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

.page-lottery-grid-item h3 {
  font-size: 24px;
  color: #E44D26;
  margin-bottom: 15px;
}

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

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

.page-lottery-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-lottery-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-lottery-card-content {
  padding: 25px;
}

.page-lottery-card-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
  min-height: 55px;
}

.page-lottery-card-content h3 a {
  color: #E44D26;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-lottery-card-content h3 a:hover {
  color: #FFB800;
}

.page-lottery-card-content p {
  font-size: 15px;
  color: #666;
  margin-bottom: 20px;
  min-height: 70px;
}

.page-lottery-card-link {
  display: inline-block;
  color: #FFB800;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

.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: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-lottery-step-icon {
  width: 60px;
  height: 60px;
  background-color: #E44D26;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 10px rgba(228, 77, 38, 0.4);
}

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

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

.page-lottery-step-item p a {
  color: #FFB800;
  text-decoration: none;
  font-weight: bold;
}

.page-lottery-step-item p a:hover {
  text-decoration: underline;
}

.page-lottery-image-block {
  margin-top: 50px;
  text-align: center;
}

.page-lottery-responsive-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.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: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-lottery-promo-item h3 {
  font-size: 24px;
  color: #E44D26;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-lottery-promo-item p {
  font-size: 16px;
  color: #555;
  margin-bottom: 25px;
  padding: 0 20px;
}

.page-lottery-promo-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: #FFB800;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-lottery-promo-button:hover {
  background-color: #E44D26;
  transform: translateY(-2px);
}

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

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

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

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

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

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

/* FAQ default state - answer hidden */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 15px;
  font-size: 16px;
  color: #555;
}

/* FAQ expanded state */
.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

/* Question styling */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  margin-bottom: 10px; /* Space between FAQ items */
}

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

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

/* Toggle icon */
.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: #E44D26;
}

.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: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-lottery-blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-lottery-blog-content {
  padding: 25px;
}

.page-lottery-blog-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
  min-height: 55px;
}

.page-lottery-blog-content h3 a {
  color: #E44D26;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-lottery-blog-content h3 a:hover {
  color: #FFB800;
}

.page-lottery-blog-content p {
  font-size: 15px;
  color: #666;
  margin-bottom: 20px;
  min-height: 70px;
}

.page-lottery-blog-link {
  display: inline-block;
  color: #FFB800;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

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

@media (max-width: 768px) {
  .page-lottery-banner {
    min-height: 350px;
  }
  .page-lottery-main-title {
    font-size: 36px;
  }
  .page-lottery-subtitle {
    font-size: 18px;
  }
  .page-lottery-cta-button {
    padding: 15px 35px;
    font-size: 18px;
  }
  .page-lottery-section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-lottery-grid-info,
  .page-lottery-cards-grid,
  .page-lottery-steps-grid,
  .page-lottery-promo-grid,
  .page-lottery-security-features,
  .page-lottery-blog-grid {
    grid-template-columns: 1fr;
  }
  .page-lottery-grid-item,
  .page-lottery-card,
  .page-lottery-step-item,
  .page-lottery-promo-item,
  .page-lottery-feature-item,
  .page-lottery-blog-card {
    margin-bottom: 20px;
  }
  .page-lottery .section-spacing {
    padding: 40px 0;
  }
  .faq-question h3 {
    font-size: 16px;
  }
  .faq-toggle {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .page-lottery-banner {
    min-height: 300px;
  }
  .page-lottery-main-title {
    font-size: 28px;
  }
  .page-lottery-subtitle {
    font-size: 16px;
  }
  .page-lottery-cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-lottery-section-title {
    font-size: 24px;
  }
  .page-lottery-card-content h3,
  .page-lottery-promo-item h3,
  .page-lottery-feature-item h3,
  .page-lottery-blog-content h3 {
    font-size: 20px;
  }
}