.page-lottery {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

.page-lottery__hero-section {
  background: linear-gradient(135deg, #FFD700 0%, #8B0000 100%); /* Gold to deep red gradient */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 15px 15px;
}

.page-lottery__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.page-lottery__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-lottery__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Main brand color */
  color: #8B0000; /* Deep red for text on gold */
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-lottery__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-lottery__hero-image-wrapper {
  margin-top: 40px;
}

.page-lottery__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-lottery__section-title {
  font-size: 2.8em;
  color: #8B0000; /* Auxiliary color for main titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  padding-top: 60px;
}

.page-lottery__section-subtitle {
  font-size: 1.2em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-lottery__advantages-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

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

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

.page-lottery__advantage-icon {
  width: 200px; /* Enforce min-size for content images */
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-lottery__advantage-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-lottery__advantage-text {
  font-size: 1em;
  color: #555555;
}

.page-lottery__featured-games {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

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

.page-lottery__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-lottery__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-lottery__game-content {
  padding: 25px;
}

.page-lottery__game-title {
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-lottery__game-title a {
  color: #8B0000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-lottery__game-title a:hover {
  color: #FFD700;
}

.page-lottery__game-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-lottery__game-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-lottery__game-button:hover {
  background-color: #e6c200;
}

.page-lottery__more-games-text {
  text-align: center;
  font-size: 1.1em;
  color: #555555;
  margin-top: 40px;
}

.page-lottery__guide-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-lottery__step-item {
  text-align: center;
  padding: 30px;
  background-color: #fcfcfc;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.page-lottery__step-icon {
  width: 200px; /* Enforce min-size for content images */
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-lottery__step-title {
  font-size: 1.6em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-lottery__step-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-lottery__step-button {
  display: inline-block;
  background-color: #8B0000; /* Auxiliary color for secondary buttons */
  color: #ffffff;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-lottery__step-button:hover {
  background-color: #a30000;
}

.page-lottery__promotions-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.page-lottery__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.page-lottery__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-lottery__promo-content {
  padding: 25px;
}

.page-lottery__promo-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-lottery__promo-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-lottery__promo-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-lottery__promo-button:hover {
  background-color: #e6c200;
}

.page-lottery__promotions-cta {
  text-align: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eeeeee;
}

.page-lottery__promotions-cta-text {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-lottery__promotions-cta-button {
  display: inline-block;
  background-color: #8B0000;
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-lottery__promotions-cta-button:hover {
  background-color: #a30000;
}

.page-lottery__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-lottery__faq-item {
  background-color: #fcfcfc;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-lottery__faq-question {
  display: block;
  padding: 20px 25px;
  font-size: 1.2em;
  color: #8B0000;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

.page-lottery__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-lottery__faq-item[open] .page-lottery__faq-question::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-lottery__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #555555;
}

.page-lottery__responsible-gaming-section {
  background-color: #f0f0f0;
  padding: 60px 0;
  text-align: center;
}

.page-lottery__section-description {
  font-size: 1.1em;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-lottery__info-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.page-lottery__info-button {
  display: inline-block;
  background-color: #8B0000;
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-lottery__info-button:hover {
  background-color: #a30000;
}

.page-lottery__support-text {
  font-size: 1em;
  color: #555555;
  max-width: 800px;
  margin: 0 auto;
}

.page-lottery__cta-section {
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%); /* Deep red to gold gradient */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  border-radius: 15px 15px 0 0;
  margin-top: 40px;
}

.page-lottery__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: #ffffff;
}

.page-lottery__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-lottery__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 18px 50px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.4em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-lottery__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-lottery__hero-title {
    font-size: 2.8em;
  }
  .page-lottery__hero-description {
    font-size: 1.2em;
  }
  .page-lottery__section-title {
    font-size: 2.2em;
  }
  .page-lottery__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-lottery__hero-title {
    font-size: 2.2em;
  }
  .page-lottery__hero-description {
    font-size: 1em;
  }
  .page-lottery__hero-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .page-lottery__section-title {
    font-size: 1.8em;
  }
  .page-lottery__section-subtitle {
    font-size: 0.95em;
  }
  .page-lottery__advantage-title,
  .page-lottery__game-title,
  .page-lottery__step-title,
  .page-lottery__promo-title {
    font-size: 1.5em;
  }
  .page-lottery__faq-question {
    font-size: 1.1em;
  }
  .page-lottery__info-links {
    flex-direction: column;
    gap: 15px;
  }
  .page-lottery__cta-title {
    font-size: 2em;
  }
  .page-lottery__cta-button {
    padding: 15px 35px;
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .page-lottery__hero-title {
    font-size: 1.8em;
  }
  .page-lottery__hero-description {
    font-size: 0.9em;
  }
  .page-lottery__section-title {
    font-size: 1.5em;
  }
  .page-lottery__cta-title {
    font-size: 1.8em;
  }
  .page-lottery__cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-lottery__container {
    padding: 0 15px;
  }
}