.page-xo-so-how-to-play {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f9f9f9;
}

.page-xo-so-how-to-play__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-xo-so-how-to-play__hero-section {
  background: linear-gradient(135deg, #FFD700, #000080);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-xo-so-how-to-play__hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 215, 0, 0.2) 0%, rgba(0, 0, 128, 0.2) 100%);
  opacity: 0.3;
  transform: rotate(45deg);
  z-index: 0;
}

.page-xo-so-how-to-play__hero-section > .page-xo-so-how-to-play__container {
  position: relative;
  z-index: 1;
}

.page-xo-so-how-to-play__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-xo-so-how-to-play__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-xo-so-how-to-play__hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-xo-so-how-to-play__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.page-xo-so-how-to-play__btn--primary {
  background-color: #FFD700;
  color: #000080;
  border-color: #FFD700;
}

.page-xo-so-how-to-play__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-xo-so-how-to-play__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

.page-xo-so-how-to-play__btn--secondary:hover {
  background-color: #FFD700;
  color: #000080;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-xo-so-how-to-play__btn--small {
    padding: 10px 20px;
    font-size: 1em;
    margin-top: 20px;
}

.page-xo-so-how-to-play__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-xo-so-how-to-play__section-title {
  font-size: 2.5em;
  color: #000080;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-xo-so-how-to-play__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-xo-so-how-to-play__introduction-section,
.page-xo-so-how-to-play__guide-section,
.page-xo-so-how-to-play__tips-section,
.page-xo-so-how-to-play__faq-section,
.page-xo-so-how-to-play__cta-section {
  padding: 60px 0;
  background-color: #fff;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-xo-so-how-to-play__introduction-section {
    background-color: #e6f0ff; /* Light blueish background */
}

.page-xo-so-how-to-play__guide-section {
    background-color: #f9f9f9;
}

.page-xo-so-how-to-play__tips-section {
    background-color: #fffbe6; /* Light yellowish background */
}

.page-xo-so-how-to-play__faq-section {
    background-color: #e6f0ff;
}

.page-xo-so-how-to-play__cta-section {
  background: #000080;
  color: #fff;
  text-align: center;
}

.page-xo-so-how-to-play__cta-section .page-xo-so-how-to-play__section-title {
  color: #FFD700;
}

.page-xo-so-how-to-play__cta-section .page-xo-so-how-to-play__section-title::after {
  background-color: #fff;
}

.page-xo-so-how-to-play__cta-section p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.page-xo-so-how-to-play__small-text a {
  color: #FFD700;
  text-decoration: underline;
}

.page-xo-so-how-to-play__small-text a:hover {
  color: #e6c200;
}

.page-xo-so-how-to-play__highlight {
  color: #FFD700;
}

.page-xo-so-how-to-play__introduction-section p,
.page-xo-so-how-to-play__guide-section p,
.page-xo-so-how-to-play__tips-section p,
.page-xo-so-how-to-play__faq-section p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #555;
}

.page-xo-so-how-to-play__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-xo-so-how-to-play__image--full-width {
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-xo-so-how-to-play__step-card {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-xo-so-how-to-play__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-xo-so-how-to-play__step-title {
  font-size: 1.8em;
  color: #000080;
  margin-bottom: 15px;
}

.page-xo-so-how-to-play__step-card p {
    color: #444;
}

.page-xo-so-how-to-play__step-card a {
    color: #000080;
    font-weight: bold;
    text-decoration: underline;
}

.page-xo-so-how-to-play__step-card a:hover {
    color: #FFD700;
}

.page-xo-so-how-to-play__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-xo-so-how-to-play__list li {
  background-color: #f0f8ff;
  border-left: 5px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.1em;
  color: #444;
}

.page-xo-so-how-to-play__list li strong {
  color: #000080;
}

.page-xo-so-how-to-play__list li a {
    color: #000080;
    font-weight: bold;
    text-decoration: underline;
}

.page-xo-so-how-to-play__list li a:hover {
    color: #FFD700;
}

.page-xo-so-how-to-play__faq-item {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-xo-so-how-to-play__faq-question {
  font-size: 1.4em;
  color: #000080;
  padding: 20px 25px;
  margin: 0;
  cursor: pointer;
  background-color: #fcfcfc;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.page-xo-so-how-to-play__faq-question:hover {
  background-color: #f0f8ff;
}

.page-xo-so-how-to-play__faq-answer {
  font-size: 1.1em;
  color: #555;
  padding: 20px 25px;
  margin: 0;
  display: none;
  background-color: #fefefe;
}

.page-xo-so-how-to-play__faq-answer a {
    color: #000080;
    font-weight: bold;
    text-decoration: underline;
}

.page-xo-so-how-to-play__faq-answer a:hover {
    color: #FFD700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-xo-so-how-to-play__hero-title {
    font-size: 2.5em;
  }

  .page-xo-so-how-to-play__hero-description {
    font-size: 1.1em;
  }

  .page-xo-so-how-to-play__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-xo-so-how-to-play__btn {
    width: 80%;
    margin: 0 auto;
  }

  .page-xo-so-how-to-play__section-title {
    font-size: 2em;
  }

  .page-xo-so-how-to-play__introduction-section,
  .page-xo-so-how-to-play__guide-section,
  .page-xo-so-how-to-play__tips-section,
  .page-xo-so-how-to-play__faq-section,
  .page-xo-so-how-to-play__cta-section {
    padding: 40px 0;
  }

  .page-xo-so-how-to-play__step-card {
    padding: 20px;
  }

  .page-xo-so-how-to-play__step-title {
    font-size: 1.5em;
  }

  .page-xo-so-how-to-play__list li {
    font-size: 1em;
  }

  .page-xo-so-how-to-play__faq-question {
    font-size: 1.2em;
    padding: 15px 20px;
  }

  .page-xo-so-how-to-play__faq-answer {
    font-size: 1em;
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-xo-so-how-to-play__hero-title {
    font-size: 2em;
  }

  .page-xo-so-how-to-play__hero-description {
    font-size: 1em;
  }

  .page-xo-so-how-to-play__btn {
    width: 90%;
  }

  .page-xo-so-how-to-play__section-title {
    font-size: 1.8em;
  }
}