/* style/games-lottery-game-explanation.css */
.page-games-lottery-game-explanation {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #E0E0E0; /* Light gray for text on dark background */
  background-color: #1A2C50; /* Main dark blue background */
}

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

.page-games-lottery-game-explanation__section {
  padding: 60px 0;
  text-align: center;
}

.page-games-lottery-game-explanation__section:nth-of-type(odd) {
  background-color: #1A2C50;
}

.page-games-lottery-game-explanation__section:nth-of-type(even) {
  background-color: #223760; /* Slightly lighter dark blue */
}

.page-games-lottery-game-explanation__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold accent for titles */
  margin-bottom: 30px;
  text-transform: uppercase;
  font-weight: bold;
}

.page-games-lottery-game-explanation__hero {
  background: linear-gradient(135deg, #1A2C50 0%, #3a5c90 100%);
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-games-lottery-game-explanation__hero-content {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  text-align: left;
  z-index: 1;
}

.page-games-lottery-game-explanation__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-games-lottery-game-explanation__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-games-lottery-game-explanation__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A2C50;
  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;
}

.page-games-lottery-game-explanation__hero-button:hover {
  background-color: #e0b800;
  transform: translateY(-3px);
}

.page-games-lottery-game-explanation__hero-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
  z-index: 1;
}

.page-games-lottery-game-explanation__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-games-lottery-game-explanation__introduction p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #D0D0D0;
}

.page-games-lottery-game-explanation__list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 800px;
  text-align: left;
}

.page-games-lottery-game-explanation__list li {
  background-color: #2e4a7a;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid #FFD700;
  border-radius: 5px;
  font-size: 1.1em;
  color: #FFFFFF;
}

.page-games-lottery-game-explanation__list li strong {
  color: #FFD700;
}

.page-games-lottery-game-explanation__game-types .page-games-lottery-game-explanation__section-title {
  margin-bottom: 40px;
}

.page-games-lottery-game-explanation__game-type-card {
  background-color: #223760;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-games-lottery-game-explanation__game-type-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-games-lottery-game-explanation__game-type-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-games-lottery-game-explanation__game-type-card p {
  color: #D0D0D0;
  margin-bottom: 10px;
}

.page-games-lottery-game-explanation__how-to-play .page-games-lottery-game-explanation__section-title {
  margin-bottom: 40px;
}

.page-games-lottery-game-explanation__step-card {
  background-color: #2e4a7a;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 25px;
  text-align: left;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-games-lottery-game-explanation__step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.page-games-lottery-game-explanation__step-card p {
  color: #D0D0D0;
  margin-bottom: 10px;
}

.page-games-lottery-game-explanation__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-games-lottery-game-explanation__payout-rules .page-games-lottery-game-explanation__section-title {
  margin-bottom: 40px;
}

.page-games-lottery-game-explanation__info-card {
  background-color: #223760;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-games-lottery-game-explanation__info-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-games-lottery-game-explanation__info-card p {
  color: #D0D0D0;
  margin-bottom: 10px;
}

.page-games-lottery-game-explanation__ordered-list {
  list-style-type: decimal;
  color: #D0D0D0;
  padding-left: 25px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.page-games-lottery-game-explanation__ordered-list li {
  margin-bottom: 8px;
  font-size: 1.1em;
}

.page-games-lottery-game-explanation__info-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-games-lottery-game-explanation__why-choose .page-games-lottery-game-explanation__section-title {
  margin-bottom: 40px;
}

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

.page-games-lottery-game-explanation__feature-item {
  background-color: #2e4a7a;
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-games-lottery-game-explanation__feature-item:hover {
  transform: translateY(-5px);
  background-color: #3f609e;
}

.page-games-lottery-game-explanation__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-games-lottery-game-explanation__feature-item p {
  color: #D0D0D0;
}

.page-games-lottery-game-explanation__faq .page-games-lottery-game-explanation__section-title {
  margin-bottom: 40px;
}

.page-games-lottery-game-explanation__accordion {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.page-games-lottery-game-explanation__accordion-item {
  margin-bottom: 15px;
  border: 1px solid #3a5c90;
  border-radius: 8px;
  overflow: hidden;
}

.page-games-lottery-game-explanation__accordion-header {
  background-color: #2e4a7a;
  color: #FFD700;
  padding: 18px 25px;
  width: 100%;
  text-align: left;
  border: none;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  position: relative;
}

.page-games-lottery-game-explanation__accordion-header:hover {
  background-color: #3f609e;
}

.page-games-lottery-game-explanation__accordion-header::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-games-lottery-game-explanation__accordion-header.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-games-lottery-game-explanation__accordion-content {
  background-color: #223760;
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-games-lottery-game-explanation__accordion-content.active {
  max-height: 200px; /* Adjust as needed */
  padding: 15px 25px;
}

.page-games-lottery-game-explanation__accordion-content p {
  color: #D0D0D0;
  font-size: 1.05em;
}

.page-games-lottery-game-explanation__cta-banner {
  background: linear-gradient(135deg, #1A2C50, #2e4a7a);
  padding: 80px 0;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.page-games-lottery-game-explanation__cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-games-lottery-game-explanation__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-games-lottery-game-explanation__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-games-lottery-game-explanation__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A2C50;
  padding: 18px 40px;
  border-radius: 8px;
  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-games-lottery-game-explanation__cta-button:hover {
  background-color: #e0b800;
  transform: translateY(-5px);
}

.page-games-lottery-game-explanation__cta-image {
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 0.2;
  max-height: 100%;
  width: auto;
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-games-lottery-game-explanation__hero {
    flex-direction: column;
    padding: 60px 0;
  }

  .page-games-lottery-game-explanation__hero-content {
    text-align: center;
    padding: 0 20px;
  }

  .page-games-lottery-game-explanation__hero-title {
    font-size: 2.8em;
  }

  .page-games-lottery-game-explanation__hero-image-wrapper {
    margin-top: 40px;
  }

  .page-games-lottery-game-explanation__section-title {
    font-size: 2em;
  }

  .page-games-lottery-game-explanation__game-type-card {
    padding: 25px;
  }

  .page-games-lottery-game-explanation__feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-games-lottery-game-explanation__cta-title {
    font-size: 2.2em;
  }

  .page-games-lottery-game-explanation__cta-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-games-lottery-game-explanation__hero-title {
    font-size: 2.2em;
  }

  .page-games-lottery-game-explanation__hero-description {
    font-size: 1em;
  }

  .page-games-lottery-game-explanation__section {
    padding: 40px 0;
  }

  .page-games-lottery-game-explanation__section-title {
    font-size: 1.8em;
  }

  .page-games-lottery-game-explanation__list li,
  .page-games-lottery-game-explanation__game-type-card p,
  .page-games-lottery-game-explanation__step-card p,
  .page-games-lottery-game-explanation__info-card p,
  .page-games-lottery-game-explanation__feature-item p,
  .page-games-lottery-game-explanation__accordion-content p {
    font-size: 0.95em;
  }

  .page-games-lottery-game-explanation__game-type-title,
  .page-games-lottery-game-explanation__step-title,
  .page-games-lottery-game-explanation__info-title,
  .page-games-lottery-game-explanation__feature-title {
    font-size: 1.4em;
  }

  .page-games-lottery-game-explanation__cta-title {
    font-size: 1.8em;
  }

  .page-games-lottery-game-explanation__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  .page-games-lottery-game-explanation__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-games-lottery-game-explanation__hero-title {
    font-size: 1.8em;
  }

  .page-games-lottery-game-explanation__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-games-lottery-game-explanation__section-title {
    font-size: 1.5em;
  }

  .page-games-lottery-game-explanation__list,
  .page-games-lottery-game-explanation__accordion {
    margin-left: 0;
    margin-right: 0;
    padding: 0 10px;
  }

  .page-games-lottery-game-explanation__game-type-card,
  .page-games-lottery-game-explanation__step-card,
  .page-games-lottery-game-explanation__info-card,
  .page-games-lottery-game-explanation__feature-item {
    padding: 20px;
  }

  .page-games-lottery-game-explanation__cta-title {
    font-size: 1.5em;
  }

  .page-games-lottery-game-explanation__cta-description {
    font-size: 0.9em;
  }

  .page-games-lottery-game-explanation__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
}