.page-faq-game-rules {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

.page-faq-game-rules__hero {
  background: linear-gradient(135deg, #003366 0%, #003366 70%, #FFCC00 100%);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-faq-game-rules__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff; /* Ensures high contrast on dark blue */
  font-weight: bold;
}

.page-faq-game-rules__hero-subtitle {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0; /* Slightly lighter white for subtitle */
}

.page-faq-game-rules__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-faq-game-rules__btn--primary {
  background-color: #FFCC00;
  color: #003366;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq-game-rules__btn--primary:hover {
  background-color: #e6b800;
  transform: translateY(-2px);
}

.page-faq-game-rules__btn--secondary {
  background-color: #004d99; /* A slightly lighter shade of main blue */
  color: #ffffff;
  margin-left: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq-game-rules__btn--secondary:hover {
  background-color: #003d7a;
  transform: translateY(-2px);
}

.page-faq-game-rules__introduction,
.page-faq-game-rules__gameplay-rules,
.page-faq-game-rules__odds-calculation,
.page-faq-game-rules__anomaly-handling,
.page-faq-game-rules__responsible-gambling,
.page-faq-game-rules__tips {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.page-faq-game-rules__introduction p,
.page-faq-game-rules__gameplay-rules p,
.page-faq-game-rules__odds-calculation p,
.page-faq-game-rules__anomaly-handling p,
.page-faq-game-rules__responsible-gambling p,
.page-faq-game-rules__tips p {
  margin-bottom: 1em;
  color: #444444; /* Darker text for readability on white background */
}

.page-faq-game-rules__section-title {
  font-size: 2em;
  color: #003366;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

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

.page-faq-game-rules__sub-section-title {
  font-size: 1.5em;
  color: #004d99;
  margin-top: 40px;
  margin-bottom: 20px;
  border-left: 5px solid #FFCC00;
  padding-left: 15px;
}

.page-faq-game-rules ul,
.page-faq-game-rules ol {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #444444;
}

.page-faq-game-rules ol {
  list-style-type: decimal;
}

.page-faq-game-rules li {
  margin-bottom: 8px;
}

.page-faq-game-rules__image-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-faq-game-rules__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-faq-game-rules__call-to-action-text {
  text-align: center;
  font-size: 1.1em;
  margin-top: 40px;
  padding: 20px;
  background-color: #f0f7ff; /* Light blue background for CTA text */
  border-left: 5px solid #003366;
  border-radius: 5px;
  color: #333333;
}

.page-faq-game-rules__link-inline {
  color: #003366;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-faq-game-rules__link-inline:hover {
  color: #FFCC00;
  text-decoration: underline;
}

.page-faq-game-rules__cta-bottom {
  background-color: #003366;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  border-radius: 8px;
  margin-top: 40px;
}

.page-faq-game-rules__cta-bottom-content .page-faq-game-rules__section-title {
  color: #ffffff;
}

.page-faq-game-rules__cta-bottom-content .page-faq-game-rules__section-title::after {
  background-color: #FFCC00;
}

.page-faq-game-rules__cta-bottom p {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-faq-game-rules__cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-faq-game-rules__hero-title {
    font-size: 2em;
  }
  .page-faq-game-rules__section-title {
    font-size: 1.8em;
  }
  .page-faq-game-rules__sub-section-title {
    font-size: 1.3em;
  }
  .page-faq-game-rules__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-faq-game-rules__btn--secondary {
    margin-left: 0;
    margin-top: 15px;
  }
}

@media (max-width: 480px) {
  .page-faq-game-rules__hero-title {
    font-size: 1.6em;
  }
  .page-faq-game-rules__hero-subtitle {
    font-size: 1em;
  }
  .page-faq-game-rules__section-title {
    font-size: 1.5em;
  }
  .page-faq-game-rules__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-faq-game-rules__introduction,
  .page-faq-game-rules__gameplay-rules,
  .page-faq-game-rules__odds-calculation,
  .page-faq-game-rules__anomaly-handling,
  .page-faq-game-rules__responsible-gambling,
  .page-faq-game-rules__tips {
    padding: 30px 0;
  }
}