/* style/game-types-lottery.css */
.page-game-types-lottery {
  font-family: 'Arial', sans-serif;
  color: #0A2463; /* Main text color based on primary brand color */
  line-height: 1.6;
}

.page-game-types-lottery__section {
  padding: 60px 0;
}

.page-game-types-lottery__section--alt-bg {
  background-color: #f8f8f8;
}

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

.page-game-types-lottery__section-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-game-types-lottery__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #E0B34F;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-game-types-lottery__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #333; /* Darker text for readability */
}

.page-game-types-lottery__text-content--center {
  text-align: center;
}

/* Hero Section */
.page-game-types-lottery__hero {
  background: linear-gradient(135deg, #0A2463 0%, #2A4C80 100%); /* Gradient with primary color */
  color: #ffffff;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.page-game-types-lottery__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.15;
}

.page-game-types-lottery__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-game-types-lottery__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-game-types-lottery__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #E0B34F; /* Accent color for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-game-types-lottery__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-game-types-lottery__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 10px;
}

.page-game-types-lottery__btn--primary {
  background-color: #E0B34F;
  color: #0A2463; /* Text color for primary button */
  border: 2px solid #E0B34F;
}

.page-game-types-lottery__btn--primary:hover {
  background-color: #f5c76e;
  transform: translateY(-3px);
}

.page-game-types-lottery__btn--secondary {
  background-color: transparent;
  color: #E0B34F;
  border: 2px solid #E0B34F;
}

.page-game-types-lottery__btn--secondary:hover {
  background-color: rgba(224, 179, 79, 0.1);
  transform: translateY(-3px);
}

.page-game-types-lottery__btn--small {
  padding: 10px 20px;
  font-size: 1em;
  margin: 5px;
}

.page-game-types-lottery__btn--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Intro Section */
.page-game-types-lottery__intro .page-game-types-lottery__image-full-width {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Game Grid */
.page-game-types-lottery__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-types-lottery__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-game-types-lottery__game-card-image {
  width: 100%;
  max-width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-game-types-lottery__game-card-title {
  font-size: 1.6em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-game-types-lottery__game-card-description {
  font-size: 1em;
  color: #555;
  flex-grow: 1;
}

/* How to Play Section */
.page-game-types-lottery__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-types-lottery__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  border-top: 5px solid #E0B34F;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-game-types-lottery__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #E0B34F;
  margin-bottom: 15px;
  background-color: #0A2463;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.page-game-types-lottery__step-title {
  font-size: 1.4em;
  color: #0A2463;
  margin-bottom: 10px;
}

.page-game-types-lottery__step-description {
  font-size: 0.95em;
  color: #555;
  flex-grow: 1;
}

.page-game-types-lottery__image-margin-top {
  margin-top: 40px;
}

/* Why yo88 Section */
.page-game-types-lottery__features-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-game-types-lottery__features-list li {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #0A2463;
}

.page-game-types-lottery__feature-title {
  font-size: 1.5em;
  color: #0A2463;
  margin-bottom: 10px;
}

.page-game-types-lottery__feature-description {
  font-size: 1em;
  color: #555;
}

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

.page-game-types-lottery__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 5px solid #E0B34F;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-game-types-lottery__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-game-types-lottery__promo-card-image {
  width: 100%;
  max-width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-game-types-lottery__promo-card-title {
  font-size: 1.6em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-game-types-lottery__promo-card-description {
  font-size: 1em;
  color: #555;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Tips Section */
.page-game-types-lottery__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
}

.page-game-types-lottery__tips-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #333;
  padding-left: 25px;
  position: relative;
}

.page-game-types-lottery__tips-list li::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: #E0B34F;
}

.page-game-types-lottery__tips-list li strong {
  color: #0A2463;
}

/* FAQ Section */
.page-game-types-lottery__faq-item {
  background-color: #ffffff;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  transition: box-shadow 0.3s ease;
}

.page-game-types-lottery__faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

.page-game-types-lottery__faq-question {
  font-size: 1.3em;
  color: #0A2463;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

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

.page-game-types-lottery__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-game-types-lottery__faq-answer {
  font-size: 1em;
  color: #555;
  display: none; /* Hidden by default, shown by JS */
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

.page-game-types-lottery__faq-answer a {
  color: #0A2463;
  text-decoration: underline;
}

.page-game-types-lottery__faq-answer a:hover {
  color: #E0B34F;
}

/* CTA Section */
.page-game-types-lottery__cta {
  background-color: #0A2463; /* Primary brand color background */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-game-types-lottery__cta-content .page-game-types-lottery__section-title {
  color: #E0B34F;
}

.page-game-types-lottery__cta-content .page-game-types-lottery__section-title::after {
  background-color: #E0B34F;
}

.page-game-types-lottery__cta-content .page-game-types-lottery__text-content {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-game-types-lottery__hero-title {
    font-size: 2.8em;
  }
  .page-game-types-lottery__hero-description {
    font-size: 1.1em;
  }
  .page-game-types-lottery__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-game-types-lottery__hero {
    padding: 60px 15px;
  }
  .page-game-types-lottery__hero-title {
    font-size: 2.2em;
  }
  .page-game-types-lottery__hero-description {
    font-size: 1em;
  }
  .page-game-types-lottery__btn {
    margin: 8px;
  }
  .page-game-types-lottery__game-grid, .page-game-types-lottery__steps-grid, .page-game-types-lottery__promo-grid, .page-game-types-lottery__features-list {
    grid-template-columns: 1fr;
  }
  .page-game-types-lottery__section {
    padding: 40px 0;
  }
  .page-game-types-lottery__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-game-types-lottery__cta {
    padding: 60px 15px;
  }
}

@media (max-width: 480px) {
  .page-game-types-lottery__hero-title {
    font-size: 1.8em;
  }
  .page-game-types-lottery__hero-description {
    font-size: 0.9em;
  }
  .page-game-types-lottery__btn--large {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-game-types-lottery__section-title {
    font-size: 1.5em;
  }
  .page-game-types-lottery__text-content {
    font-size: 0.95em;
  }
}