.page-lottery-games-keno-rules {
  font-family: 'Arial', sans-serif;
  color: #FFFFFF; /* Light text on dark background */
  background-color: #1A2E44; /* Main dark blue background */
  line-height: 1.6;
}

.page-lottery-games-keno-rules__hero {
  background: linear-gradient(135deg, #1A2E44 0%, #3a5b82 100%); /* Dark blue gradient */
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}

.page-lottery-games-keno-rules__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-lottery-games-keno-rules__title {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: #FFD700; /* Gold for title */
  font-weight: bold;
}

.page-lottery-games-keno-rules__subtitle {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-lottery-games-keno-rules__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #1A2E44; /* Dark blue text on gold */
  padding: 15px 30px;
  border-radius: 8px;
  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-keno-rules__cta-button:hover {
  background-color: #e5c100; /* Darker gold on hover */
  transform: translateY(-3px);
}

.page-lottery-games-keno-rules__hero-image {
  max-width: 700px;
  width: 100%;
  margin-top: 40px;
  z-index: 1;
}

.page-lottery-games-keno-rules__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-lottery-games-keno-rules__section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 20px;
  background-color: #2A4058; /* Slightly lighter dark blue for sections */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-lottery-games-keno-rules__section:last-of-type {
  border-bottom: none;
}

.page-lottery-games-keno-rules__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for section titles */
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 10px;
}

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

.page-lottery-games-keno-rules__section p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #e0e0e0;
  text-align: justify;
}

.page-lottery-games-keno-rules__section p .keyword-highlight {
  color: #FFD700;
  font-weight: bold;
}

.page-lottery-games-keno-rules__ordered-list,
.page-lottery-games-keno-rules__unordered-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-lottery-games-keno-rules__ordered-list li,
.page-lottery-games-keno-rules__unordered-list li {
  background-color: #3A5B82; /* Medium blue for list items */
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  font-size: 1.1em;
  color: #FFFFFF;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-lottery-games-keno-rules__ordered-list li::before {
  content: counter(list-item) ". ";
  counter-increment: list-item;
  font-weight: bold;
  color: #FFD700; /* Gold for list numbers */
  margin-right: 10px;
  font-size: 1.2em;
}

.page-lottery-games-keno-rules__unordered-list li::before {
  content: "\2022"; /* Bullet point */
  color: #FFD700;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  font-size: 1.2em;
  margin-right: 10px;
}

.page-lottery-games-keno-rules__image-container {
  margin: 40px auto;
  text-align: center;
  max-width: 800px;
}

.page-lottery-games-keno-rules__image-caption {
  font-style: italic;
  color: #b0b0b0;
  margin-top: 15px;
  font-size: 0.95em;
}

.page-lottery-games-keno-rules__cta-banner {
  background-color: #FFD700; /* Gold banner */
  color: #1A2E44; /* Dark blue text on gold */
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 50px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.page-lottery-games-keno-rules__cta-heading {
  font-size: 2.2em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-lottery-games-keno-rules__cta-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #333;
}

.page-lottery-games-keno-rules__cta-button--large {
  padding: 18px 35px;
  font-size: 1.2em;
  margin: 0 10px;
}

.page-lottery-games-keno-rules__cta-button--secondary {
  background-color: #1A2E44; /* Dark blue button */
  color: #FFD700; /* Gold text on dark blue */
  border: 2px solid #FFD700;
}

.page-lottery-games-keno-rules__cta-button--secondary:hover {
  background-color: #0d1e30; /* Darker blue on hover */
  border-color: #e5c100;
}

.page-lottery-games-keno-rules__faq-item {
  background-color: #3A5B82;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-lottery-games-keno-rules__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-lottery-games-keno-rules__faq-answer {
  font-size: 1.1em;
  color: #e0e0e0;
}

.page-lottery-games-keno-rules__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-lottery-games-keno-rules__faq-answer a:hover {
  color: #e5c100;
}

.page-lottery-games-keno-rules__responsible-gaming {
  text-align: center;
}

.page-lottery-games-keno-rules__responsible-gaming p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-lottery-games-keno-rules__floating-promo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #FFD700;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  overflow: hidden;
  width: 280px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.page-lottery-games-keno-rules__floating-promo:hover {
  transform: translateY(-5px);
}

.page-lottery-games-keno-rules__floating-promo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #1A2E44;
}

.page-lottery-games-keno-rules__promo-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px 0 0 10px;
}

.page-lottery-games-keno-rules__promo-text {
  padding: 10px 15px;
  flex-grow: 1;
}

.page-lottery-games-keno-rules__promo-text p {
  margin: 0;
  font-size: 0.95em;
  font-weight: bold;
  line-height: 1.3;
  color: #1A2E44;
}

.page-lottery-games-keno-rules__promo-text .highlight {
  color: #8B4513; /* A darker shade for contrast on gold */
}

.page-lottery-games-keno-rules__promo-button {
  display: block;
  background-color: #1A2E44;
  color: #FFD700;
  padding: 5px 10px;
  border-radius: 5px;
  margin-top: 8px;
  font-size: 0.85em;
  font-weight: bold;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-lottery-games-keno-rules__hero {
    padding: 60px 15px;
  }

  .page-lottery-games-keno-rules__title {
    font-size: 2.5em;
  }

  .page-lottery-games-keno-rules__subtitle {
    font-size: 1.1em;
  }

  .page-lottery-games-keno-rules__section-title {
    font-size: 2em;
  }

  .page-lottery-games-keno-rules__section {
    padding: 40px 15px;
  }

  .page-lottery-games-keno-rules__ordered-list li,
  .page-lottery-games-keno-rules__unordered-list li {
    font-size: 1em;
    padding: 12px 15px;
  }

  .page-lottery-games-keno-rules__cta-heading {
    font-size: 1.8em;
  }

  .page-lottery-games-keno-rules__cta-text {
    font-size: 1em;
  }

  .page-lottery-games-keno-rules__cta-button--large {
    padding: 15px 25px;
    font-size: 1.1em;
    margin: 10px 0;
  }

  .page-lottery-games-keno-rules__cta-banner {
    flex-direction: column;
    gap: 20px;
  }

  .page-lottery-games-keno-rules__floating-promo {
    width: 250px;
    bottom: 15px;
    right: 15px;
  }

  .page-lottery-games-keno-rules__promo-image {
    width: 70px;
    height: 70px;
  }

  .page-lottery-games-keno-rules__promo-text {
    padding: 8px 12px;
  }

  .page-lottery-games-keno-rules__promo-text p {
    font-size: 0.85em;
  }

  .page-lottery-games-keno-rules__promo-button {
    font-size: 0.75em;
    padding: 4px 8px;
  }
}

@media (max-width: 480px) {
  .page-lottery-games-keno-rules__title {
    font-size: 2em;
  }

  .page-lottery-games-keno-rules__subtitle {
    font-size: 1em;
  }

  .page-lottery-games-keno-rules__section-title {
    font-size: 1.8em;
  }

  .page-lottery-games-keno-rules__cta-button {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-lottery-games-keno-rules__cta-button--large {
    font-size: 1em;
  }

  .page-lottery-games-keno-rules__floating-promo {
    width: 90%;
    left: 5%;
    right: 5%;
    bottom: 10px;
    flex-direction: row;
    align-items: center;
  }

  .page-lottery-games-keno-rules__promo-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
  }

  .page-lottery-games-keno-rules__promo-text {
    text-align: left;
    flex-grow: 1;
  }

  .page-lottery-games-keno-rules__promo-button {
    margin-top: 0;
    margin-left: auto; /* Push button to the right */
  }
}