.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 .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #1A2E44, #0A1C2C);
  color: #ffffff;
}

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

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

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

.page-lottery .hero-content h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #E0B354;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-lottery .hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-lottery .hero-content p a {
  color: #E0B354;
  text-decoration: underline;
}

.page-lottery .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #E0B354;
  color: #1A2E44;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: 2px solid #E0B354;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-lottery .section-advantages, 
.page-lottery .section-game-types, 
.page-lottery .section-how-to, 
.page-lottery .section-promotions, 
.page-lottery .section-faq, 
.page-lottery .section-conclusion {
  padding: 80px 0;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eeeeee;
}

.page-lottery .section-advantages:nth-of-type(even), 
.page-lottery .section-game-types:nth-of-type(even), 
.page-lottery .section-how-to:nth-of-type(even), 
.page-lottery .section-promotions:nth-of-type(even), 
.page-lottery .section-faq:nth-of-type(even), 
.page-lottery .section-conclusion:nth-of-type(even) {
  background-color: #ffffff;
}

.page-lottery h2 {
  font-size: 2.5em;
  color: #1A2E44;
  text-align: center;
  margin-bottom: 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: #E0B354;
  border-radius: 2px;
}

.page-lottery h3 {
  font-size: 1.8em;
  color: #1A2E44;
  margin-bottom: 15px;
}

.page-lottery p {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-lottery .section-advantages p, .page-lottery .section-game-types p, .page-lottery .section-how-to p, .page-lottery .section-promotions p, .page-lottery .section-faq p, .page-lottery .section-conclusion p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 40px;
}

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

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

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

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

.page-lottery .advantage-item h3 {
  color: #E0B354;
  font-size: 1.5em;
}

.page-lottery .advantage-item p {
  font-size: 1em;
  color: #666666;
  text-align: center;
}

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

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

.page-lottery .game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 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 {
  padding: 20px 20px 0;
  font-size: 1.6em;
  color: #1A2E44;
}

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

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

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

.page-lottery .how-to-steps {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  counter-reset: step-counter;
}

.page-lottery .how-to-steps li {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: flex-start;
  position: relative;
}

.page-lottery .how-to-steps li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  min-width: 50px;
  background-color: #E0B354;
  color: #1A2E44;
  font-size: 1.8em;
  font-weight: bold;
  border-radius: 50%;
  margin-right: 25px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-lottery .how-to-steps li h3 {
  margin-top: 0;
  font-size: 1.6em;
  color: #1A2E44;
  line-height: 1.3;
}

.page-lottery .how-to-steps li h3 a {
  color: #1A2E44;
  text-decoration: none;
}

.page-lottery .how-to-steps li p {
  font-size: 1em;
  color: #666666;
  margin-bottom: 0;
  text-align: left;
}

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

.page-lottery .promo-list li {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-lottery .promo-list li h3 {
  color: #E0B354;
  font-size: 1.6em;
  margin-bottom: 10px;
}

.page-lottery .promo-list li h3 a {
  color: #E0B354;
  text-decoration: none;
}

.page-lottery .promo-list li p {
  font-size: 1em;
  color: #666666;
  margin-bottom: 0;
  text-align: left;
}

.page-lottery .faq-list {
  margin-top: 40px;
}

.page-lottery .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

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

.page-lottery .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: #1A2E44;
}

.page-lottery .faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: #E0B354;
  transition: transform 0.3s ease;
  line-height: 1;
}

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

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

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

.page-lottery .faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #555555;
  text-align: left;
}

.page-lottery .faq-answer p a {
  color: #E0B354;
  text-decoration: underline;
}

.page-lottery .section-conclusion {
  text-align: center;
  background-color: #1A2E44;
  color: #ffffff;
  padding: 100px 0;
}

.page-lottery .section-conclusion h2 {
  color: #E0B354;
}

.page-lottery .section-conclusion h2::after {
  background-color: #E0B354;
}

.page-lottery .section-conclusion p {
  color: #f0f0f0;
  font-size: 1.2em;
  margin-bottom: 50px;
}

.page-lottery .section-conclusion p a {
  color: #E0B354;
  text-decoration: underline;
}

.page-lottery .final-cta {
  background: #E0B354;
  color: #1A2E44;
  font-size: 1.3em;
  padding: 18px 50px;
  border-color: #E0B354;
}

.page-lottery .final-cta:hover {
  background: #d4a243;
  color: #1A2E44;
  border-color: #d4a243;
}

.page-lottery .internal-link {
  color: #1A2E44;
  text-decoration: underline;
}

.page-lottery .internal-link:hover {
  color: #E0B354;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-lottery .hero-content h1 {
    font-size: 2.5em;
  }
  .page-lottery .hero-content p {
    font-size: 1.1em;
  }
  .page-lottery h2 {
    font-size: 2em;
  }
  .page-lottery h3 {
    font-size: 1.5em;
  }
  .page-lottery .advantage-grid, .page-lottery .game-type-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-lottery .how-to-steps li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-lottery .how-to-steps li::before {
    margin-right: 0;
    margin-bottom: 20px;
  }
  .page-lottery .how-to-steps li h3, .page-lottery .how-to-steps li p {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-lottery .hero-section {
    padding: 40px 15px;
  }
  .page-lottery .hero-content h1 {
    font-size: 2em;
  }
  .page-lottery .hero-content p {
    font-size: 1em;
  }
  .page-lottery .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-lottery h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-lottery h3 {
    font-size: 1.3em;
  }
  .page-lottery .section-advantages, 
  .page-lottery .section-game-types, 
  .page-lottery .section-how-to, 
  .page-lottery .section-promotions, 
  .page-lottery .section-faq, 
  .page-lottery .section-conclusion {
    padding: 60px 0;
  }
  .page-lottery .advantage-item, .page-lottery .game-card {
    padding: 20px;
  }
  .page-lottery .faq-question {
    padding: 15px 20px;
  }
  .page-lottery .faq-question h3 {
    font-size: 1.1em;
  }
  .page-lottery .faq-answer {
    padding: 0 20px;
  }
  .page-lottery .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-lottery .section-conclusion p {
    font-size: 1em;
  }
  .page-lottery .final-cta {
    font-size: 1.1em;
    padding: 15px 35px;
  }
}

@media (max-width: 480px) {
  .page-lottery .hero-content h1 {
    font-size: 1.6em;
  }
  .page-lottery .hero-content p {
    font-size: 0.9em;
  }
  .page-lottery h2 {
    font-size: 1.5em;
  }
  .page-lottery h3 {
    font-size: 1.2em;
  }
  .page-lottery .advantage-grid, .page-lottery .game-type-cards {
    grid-template-columns: 1fr;
  }
  .page-lottery .how-to-steps li::before {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 1.5em;
    margin-bottom: 15px;
  }
  .page-lottery .how-to-steps li {
    padding: 20px;
    margin-bottom: 15px;
  }
  .page-lottery .promo-list li {
    padding: 20px;
    margin-bottom: 15px;
  }
  .page-lottery .faq-question h3 {
    font-size: 1em;
  }
  .page-lottery .faq-toggle {
    font-size: 1.5em;
  }
}