.page-games-lottery-games-intro {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #F8F9FA;
}

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

.page-games-lottery-games-intro__hero {
  background: linear-gradient(135deg, #0D47A1 0%, #0A3D8F 100%); /* Deeper blue gradient */
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-games-lottery-games-intro__hero-image {
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 0.2;
  max-width: 400px;
  height: auto;
  z-index: 0;
}

.page-games-lottery-games-intro__hero .page-games-lottery-games-intro__container {
  position: relative;
  z-index: 1;
}

.page-games-lottery-games-intro__title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FFFFFF; /* Ensure high contrast */
}

.page-games-lottery-games-intro__title .highlight {
  color: #FFD700; /* Gold for keywords */
}

.page-games-lottery-games-intro__subtitle {
  font-size: 1.4em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #E0E0E0; /* Lighter text for contrast */
}

.page-games-lottery-games-intro__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-games-lottery-games-intro__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.page-games-lottery-games-intro__button--primary {
  background-color: #FFD700; /* Gold button */
  color: #0D47A1; /* Dark blue text */
  border: 2px solid #FFD700;
}

.page-games-lottery-games-intro__button--primary:hover {
  background-color: #E0B500; /* Darker gold */
  transform: translateY(-2px);
}

.page-games-lottery-games-intro__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-games-lottery-games-intro__button--secondary:hover {
  background-color: #FFD700;
  color: #0D47A1;
  transform: translateY(-2px);
}

.page-games-lottery-games-intro__section {
  padding: 60px 0;
  text-align: left;
}

.page-games-lottery-games-intro__section:nth-of-type(even) {
  background-color: #F0F2F5;
}

.page-games-lottery-games-intro__section-title {
  font-size: 2.5em;
  color: #0D47A1; /* Dark blue */
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-games-lottery-games-intro__sub-section-title {
  font-size: 1.8em;
  color: #0D47A1; /* Dark blue */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-games-lottery-games-intro__text {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-games-lottery-games-intro__text .keyword {
  font-weight: bold;
  color: #0D47A1;
}

.page-games-lottery-games-intro__image {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-games-lottery-games-intro__grid-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-games-lottery-games-intro__grid-item:hover {
  transform: translateY(-5px);
}

.page-games-lottery-games-intro__item-title {
  font-size: 1.5em;
  color: #0D47A1;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-games-lottery-games-intro__item-description {
  font-size: 1em;
  color: #666;
}

.page-games-lottery-games-intro__list {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #555;
}

.page-games-lottery-games-intro__list--bullets {
  list-style-type: disc;
}

.page-games-lottery-games-intro__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-games-lottery-games-intro__list li strong {
  color: #0D47A1;
}

.page-games-lottery-games-intro__link {
  color: #0D47A1;
  text-decoration: underline;
  font-weight: bold;
}

.page-games-lottery-games-intro__link:hover {
  color: #FFD700;
}

.page-games-lottery-games-intro__cta-content {
  text-align: center;
}

/* Floating Ad Menu */
.page-games-lottery-games-intro__floating-ad {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #FFD700;
  color: #0D47A1;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 1000;
  transform: translateX(120%); /* Start off-screen */
  transition: transform 0.5s ease-out;
}

.page-games-lottery-games-intro__floating-ad.show {
  transform: translateX(0); /* Slide in */
}

.page-games-lottery-games-intro__floating-ad-close {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 1.5em;
  cursor: pointer;
  color: #0D47A1;
  font-weight: bold;
}

.page-games-lottery-games-intro__floating-ad-text {
  margin: 0;
  font-size: 1.1em;
  font-weight: bold;
}

.page-games-lottery-games-intro__button--ad {
  background-color: #0D47A1;
  color: #FFD700;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 1em;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-games-lottery-games-intro__button--ad:hover {
  background-color: #0A3D8F;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-games-lottery-games-intro__title {
    font-size: 2.8em;
  }
  .page-games-lottery-games-intro__subtitle {
    font-size: 1.2em;
  }
  .page-games-lottery-games-intro__section-title {
    font-size: 2em;
  }
  .page-games-lottery-games-intro__sub-section-title {
    font-size: 1.6em;
  }
  .page-games-lottery-games-intro__hero-image {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .page-games-lottery-games-intro__hero {
    padding: 60px 0;
  }
  .page-games-lottery-games-intro__title {
    font-size: 2.2em;
  }
  .page-games-lottery-games-intro__subtitle {
    font-size: 1em;
  }
  .page-games-lottery-games-intro__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-games-lottery-games-intro__button {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-games-lottery-games-intro__section {
    padding: 40px 0;
  }
  .page-games-lottery-games-intro__section-title {
    font-size: 1.8em;
  }
  .page-games-lottery-games-intro__sub-section-title {
    font-size: 1.4em;
  }
  .page-games-lottery-games-intro__text, .page-games-lottery-games-intro__list li {
    font-size: 1em;
  }
  .page-games-lottery-games-intro__floating-ad {
    flex-direction: column;
    text-align: center;
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    gap: 10px;
    padding: 15px;
  }
  .page-games-lottery-games-intro__floating-ad-close {
    top: 5px;
    right: 5px;
  }
}

@media (max-width: 480px) {
  .page-games-lottery-games-intro__title {
    font-size: 1.8em;
  }
  .page-games-lottery-games-intro__section-title {
    font-size: 1.5em;
  }
  .page-games-lottery-games-intro__hero-image {
    display: none; /* Hide image on very small screens */
  }
  .page-games-lottery-games-intro__grid {
    grid-template-columns: 1fr;
  }
}