/* style/lottery-games.css */
.page-lottery-games {
  font-family: 'Arial', sans-serif;
  color: #e0e0e0; /* Light grey for general text on dark background */
  background-color: #000a1a;
}

.page-lottery-games .highlight {
  color: #ffcc00;
}

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

.page-lottery-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-lottery-games__section:nth-child(even) {
  background-color: #001f3f;
}

.page-lottery-games__section-title {
  font-size: 2.8em;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.page-lottery-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ffcc00;
  border-radius: 2px;
}

.page-lottery-games__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #cccccc;
}

.page-lottery-games__hero {
  position: relative;
  background: url('[GALLERY:hero:lottery_background,glowing_numbers,abstract_pattern]') no-repeat center center/cover;
  padding: 120px 0;
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-lottery-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 31, 63, 0.7);
}

.page-lottery-games__hero .page-lottery-games__container {
  position: relative;
  z-index: 1;
}

.page-lottery-games__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-lottery-games__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-lottery-games__hero-cta, .page-lottery-games__final-cta, .page-lottery-games__game-cta, .page-lottery-games__safety-cta, .page-lottery-games__app-cta, .page-lottery-games__promo-cta, .page-lottery-games__promo-all-cta, .page-lottery-games__step-cta, .page-lottery-games__sticky-promo .btn {
  display: inline-block;
  background-color: #ffcc00;
  color: #001f3f;
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-lottery-games__hero-cta:hover, .page-lottery-games__final-cta:hover, .page-lottery-games__game-cta:hover, .page-lottery-games__safety-cta:hover, .page-lottery-games__app-cta:hover, .page-lottery-games__promo-cta:hover, .page-lottery-games__promo-all-cta:hover, .page-lottery-games__step-cta:hover, .page-lottery-games__sticky-promo .btn:hover {
  background-color: #e6b800;
  transform: translateY(-3px);
}

.page-lottery-games .btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Introduction Section */
.page-lottery-games__introduction {
  background-color: #000a1a;
}

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

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

.page-lottery-games__intro-item:hover {
  transform: translateY(-10px);
}

.page-lottery-games__intro-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #ffcc00);
}

.page-lottery-games__intro-item h3 {
  color: #ffcc00;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-lottery-games__intro-item p {
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
}

/* Game Types Section */
.page-lottery-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-lottery-games__game-card {
  background-color: #000a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-lottery-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid #ffcc00;
}

.page-lottery-games__game-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-lottery-games__game-content h3 {
  color: #ffcc00;
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-lottery-games__game-content p {
  font-size: 0.95em;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-lottery-games__game-cta {
  align-self: flex-start;
}

/* How to Play Section */
.page-lottery-games__how-to-play {
  background-color: #000a1a;
}

.page-lottery-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-lottery-games__steps-list li {
  background-color: #001f3f;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-left: 5px solid #ffcc00;
  position: relative;
  counter-increment: step-counter;
}

.page-lottery-games__steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  top: 20px;
  left: -25px;
  background-color: #ffcc00;
  color: #001f3f;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

.page-lottery-games__steps-list h4 {
  color: #ffffff;
  font-size: 1.8em;
  margin-bottom: 10px;
  padding-left: 40px; /* Adjust for counter */
}

.page-lottery-games__steps-list p {
  color: #cccccc;
  line-height: 1.6;
  padding-left: 40px; /* Adjust for counter */
  margin-bottom: 15px;
}

.page-lottery-games__final-cta-text {
  font-size: 1.5em;
  margin-top: 60px;
  margin-bottom: 30px;
  color: #ffffff;
}

/* Safety Section */
.page-lottery-games__safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

.page-lottery-games__safety-item:hover {
  transform: translateY(-10px);
}

.page-lottery-games__safety-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #ffcc00);
}

.page-lottery-games__safety-item h3 {
  color: #ffcc00;
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-lottery-games__safety-item p {
  font-size: 0.95em;
  line-height: 1.6;
  color: #cccccc;
}

.page-lottery-games__safety-cta {
  margin-top: 40px;
}

/* App Download Section */
.page-lottery-games__app-download {
  background-color: #001f3f;
}

.page-lottery-games__app-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: left;
  gap: 50px;
}

.page-lottery-games__app-content {
  flex: 1 1 500px;
  max-width: 600px;
}

.page-lottery-games__app-content h2 {
  text-align: left;
}

.page-lottery-games__app-content h2::after {
  left: 0;
  transform: translateX(0);
}

.page-lottery-games__app-content p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #cccccc;
}

.page-lottery-games__app-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-lottery-games__app-content ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1em;
  color: #e0e0e0;
}

.page-lottery-games__app-content ul li::before {
  content: '✓';
  color: #ffcc00;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-lottery-games__app-image-wrapper {
  flex: 1 1 300px;
  max-width: 400px;
  text-align: center;
}

.page-lottery-games__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 3px solid #ffcc00;
}

/* Promotions Section */
.page-lottery-games__promotions {
  background-color: #000a1a;
}

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

.page-lottery-games__promo-card {
  background-color: #001f3f;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-lottery-games__promo-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 20px auto;
  filter: drop-shadow(0 0 5px #ffcc00);
}

.page-lottery-games__promo-card h3 {
  color: #ffcc00;
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-lottery-games__promo-card p {
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-lottery-games__promo-footer {
  margin-top: 40px;
  font-size: 1.1em;
  color: #ffffff;
}

.page-lottery-games__promo-all-cta {
  margin-top: 20px;
}

/* FAQ Section */
.page-lottery-games__faq {
  background-color: #001f3f;
}

.page-lottery-games__faq-item {
  background-color: #000a1a;
  padding: 25px 30px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border-left: 4px solid #ffcc00;
}

.page-lottery-games__faq-item h3 {
  color: #ffcc00;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-lottery-games__faq-item p {
  color: #cccccc;
  line-height: 1.6;
  font-size: 0.95em;
}

/* Sticky Promotion */
.page-lottery-games__sticky-promo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ffcc00;
  color: #001f3f;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 1000;
  transform: translateX(120%); /* Start off-screen */
  transition: transform 0.5s ease-out;
}

.page-lottery-games__sticky-promo.show {
  transform: translateX(0); /* Slide in */
}

.page-lottery-games__sticky-promo p {
  margin: 0;
  font-weight: bold;
  font-size: 1.1em;
}

.page-lottery-games__sticky-promo .btn {
  background-color: #001f3f;
  color: #ffcc00;
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-lottery-games__sticky-promo .btn:hover {
  background-color: #000a1a;
}

.page-lottery-games__sticky-promo-close {
  background: none;
  border: none;
  color: #001f3f;
  font-size: 1.8em;
  cursor: pointer;
  padding: 0 5px;
  line-height: 1;
  transition: color 0.2s ease;
}

.page-lottery-games__sticky-promo-close:hover {
  color: #000000;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-lottery-games__hero-title {
    font-size: 3em;
  }
  .page-lottery-games__hero-description {
    font-size: 1.2em;
  }
  .page-lottery-games__section-title {
    font-size: 2.2em;
  }
  .page-lottery-games__app-flex {
    flex-direction: column;
    text-align: center;
  }
  .page-lottery-games__app-content h2 {
    text-align: center;
  }
  .page-lottery-games__app-content h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .page-lottery-games__app-content ul {
    text-align: left;
  }
  .page-lottery-games__app-image-wrapper {
    order: -1; /* Image first on mobile */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-lottery-games__hero {
    padding: 80px 0;
    min-height: 400px;
  }
  .page-lottery-games__hero-title {
    font-size: 2.5em;
  }
  .page-lottery-games__hero-description {
    font-size: 1em;
  }
  .page-lottery-games__section {
    padding: 40px 0;
  }
  .page-lottery-games__section-title {
    font-size: 1.8em;
  }
  .page-lottery-games__intro-grid, .page-lottery-games__game-grid, .page-lottery-games__safety-grid, .page-lottery-games__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-lottery-games__steps-list li::before {
    position: static;
    margin-bottom: 10px;
  }
  .page-lottery-games__steps-list h4, .page-lottery-games__steps-list p, .page-lottery-games__step-cta {
    padding-left: 0;
    text-align: center;
  }
  .page-lottery-games__steps-list li {
    border-left: none;
    border-top: 5px solid #ffcc00;
  }
  .page-lottery-games__final-cta-text {
    font-size: 1.2em;
  }
  .page-lottery-games__sticky-promo {
    flex-direction: column;
    text-align: center;
    right: 10px;
    left: 10px;
    bottom: 10px;
    width: auto;
    padding: 10px 15px;
  }
  .page-lottery-games__sticky-promo p {
    font-size: 0.9em;
    margin-bottom: 10px;
  }
  .page-lottery-games__sticky-promo .btn {
    width: 100%;
  }
  .page-lottery-games__sticky-promo-close {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 1.5em;
  }
}

@media (max-width: 480px) {
  .page-lottery-games__hero-title {
    font-size: 2em;
  }
  .page-lottery-games__hero-description {
    font-size: 0.9em;
  }
  .page-lottery-games__hero-cta {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-lottery-games__section-title {
    font-size: 1.5em;
  }
  .page-lottery-games__section-description {
    font-size: 0.9em;
  }
  .page-lottery-games__intro-item h3, .page-lottery-games__game-content h3, .page-lottery-games__safety-item h3, .page-lottery-games__promo-card h3 {
    font-size: 1.3em;
  }
  .page-lottery-games__faq-item h3 {
    font-size: 1.2em;
  }
}