.page-xo-so__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Adjusted for header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #F3F8FF;
  overflow: hidden;
}

.page-xo-so__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-xo-so__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 900px;
  padding: 20px;
  z-index: 10;
  background: rgba(8, 22, 43, 0.7);
  border-radius: 10px;
}

.page-xo-so__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-xo-so__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: #AFC4E8;
}

.page-xo-so__hero-cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-xo-so__hero-cta-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

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

.page-xo-so__intro-section, .page-xo-so__game-types-section, .page-xo-so__how-to-play-section, .page-xo-so__tips-section, .page-xo-so__faq-section, .page-xo-so__cta-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
  color: #F3F8FF;
}

.page-xo-so__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
}

.page-xo-so__section-description {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #AFC4E8;
}

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

.page-xo-so__feature-item {
  background-color: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84; /* Border */
}

.page-xo-so__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.page-xo-so__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F3F8FF;
}

.page-xo-so__feature-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #AFC4E8;
}

.page-xo-so__tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 10px;
}

.page-xo-so__tab-button {
  background-color: #1B3357; /* Divider */
  color: #AFC4E8;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-xo-so__tab-button:hover {
  background-color: #1D5FD1; /* Secondary */
  color: #F3F8FF;
}

.page-xo-so__tab-button--active {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
}

.page-xo-so__tab-content {
  display: none;
}

.page-xo-so__tab-content--active {
  display: block;
}

.page-xo-so__content-card {
  background-color: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-xo-so__content-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-xo-so__card-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-xo-so__card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #AFC4E8;
  margin-bottom: 20px;
}

.page-xo-so__card-link {
  color: #4FA8FF; /* Glow */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.page-xo-so__card-link:hover {
  text-decoration: underline;
  color: #2B73F6;
}

.page-xo-so__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-xo-so__step-item {
  background-color: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #244D84; /* Border */
  position: relative;
  padding-top: 60px;
}

.page-xo-so__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  border: 3px solid #244D84;
  box-shadow: 0 0 15px rgba(79, 168, 255, 0.5);
}

.page-xo-so__step-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F3F8FF;
}

.page-xo-so__step-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #AFC4E8;
  margin-bottom: 20px;
}

.page-xo-so__step-cta-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-xo-so__step-cta-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

.page-xo-so__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-xo-so__tips-list li {
  background-color: #10233F; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid #244D84; /* Border */
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 1rem;
  line-height: 1.6;
  color: #AFC4E8;
  text-align: left;
}

.page-xo-so__tip-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #1D5FD1;
}

.page-xo-so__tips-list li strong {
  color: #F3F8FF;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.page-xo-so__tips-cta-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-xo-so__tips-cta-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

.page-xo-so__faq-item {
  background-color: #10233F; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid #244D84; /* Border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-xo-so__faq-question {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F3F8FF;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-xo-so__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  transition: transform 0.3s ease;
}

.page-xo-so__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(0deg);
}

.page-xo-so__faq-answer {
  font-size: 1rem;
  line-height: 1.6;
  color: #AFC4E8;
  display: none;
  padding-top: 10px;
  border-top: 1px solid #1B3357; /* Divider */
}

.page-xo-so__faq-answer.active {
  display: block;
}

.page-xo-so__faq-link {
  color: #4FA8FF; /* Glow */
  text-decoration: none;
  font-weight: 500;
  margin-top: 10px;
  display: inline-block;
  transition: color 0.3s ease;
}

.page-xo-so__faq-link:hover {
  text-decoration: underline;
  color: #2B73F6;
}

.page-xo-so__cta-section {
  background-color: #113B7A; /* Primary */
  text-align: center;
  padding: 80px 0;
}

.page-xo-so__cta-content {
  background-color: rgba(16, 35, 63, 0.9); /* Card BG with transparency */
  padding: 40px;
  border-radius: 15px;
  border: 2px solid #244D84; /* Border */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-xo-so__cta-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
}

.page-xo-so__cta-description {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: 40px;
  color: #F3F8FF;
}

.page-xo-so__cta-button {
  display: inline-block;
  padding: 18px 40px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-xo-so__cta-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-xo-so__hero-content {
    max-width: 700px;
  }

  .page-xo-so__features-grid, .page-xo-so__steps-grid, .page-xo-so__tips-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-xo-so__hero-section {
    padding-top: 10px;
  }

  .page-xo-so__hero-content {
    width: 90%;
    padding: 15px;
  }

  .page-xo-so__hero-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

  .page-xo-so__hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }

  .page-xo-so__hero-cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .page-xo-so__intro-section, .page-xo-so__game-types-section, .page-xo-so__how-to-play-section, .page-xo-so__tips-section, .page-xo-so__faq-section, .page-xo-so__cta-section {
    padding: 40px 0;
  }

  .page-xo-so__section-title {
    font-size: clamp(1.8rem, 5vw, 2.2rem);
  }

  .page-xo-so__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-xo-so__features-grid, .page-xo-so__steps-grid, .page-xo-so__tips-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-xo-so__feature-item, .page-xo-so__step-item, .page-xo-so__faq-item, .page-xo-so__content-card {
    padding: 20px;
  }

  .page-xo-so__feature-title {
    font-size: 1.3rem;
  }

  .page-xo-so__tabs {
    flex-direction: column;
    gap: 8px;
  }

  .page-xo-so__tab-button {
    width: 100%;
    font-size: 0.95rem;
    padding: 10px 15px;
  }

  .page-xo-so__content-image {
    max-width: 100%;
  }

  .page-xo-so__card-title {
    font-size: 1.5rem;
  }

  .page-xo-so__step-title {
    font-size: 1.4rem;
  }

  .page-xo-so__step-number {
    width: 45px;
    height: 45px;
    font-size: 1.6rem;
    top: -22px;
  }

  .page-xo-so__tips-list li {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .page-xo-so__tip-icon {
    margin-bottom: 10px;
  }

  .page-xo-so__faq-question {
    font-size: 1.2rem;
  }

  .page-xo-so__cta-section {
    padding: 50px 0;
  }

  .page-xo-so__cta-content {
    padding: 30px;
  }

  .page-xo-so__cta-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-xo-so__cta-description {
    font-size: 1rem;
  }

  .page-xo-so__cta-button {
    padding: 15px 30px;
    font-size: 1.1rem;
  }

  .page-xo-so img {
    max-width: 100%;
    height: auto;
  }
}