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

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

.page-xo-so h1, .page-xo-so h2, .page-xo-so h3 {
  color: #000080; /* Dark Blue */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-xo-so h1 {
  font-size: 2.8em;
  text-align: center;
  color: #FFD700; /* Gold */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-xo-so h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-xo-so h3 {
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-xo-so p {
  margin-bottom: 15px;
  color: #555555;
}

.page-xo-so a {
  color: #000080;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-xo-so a:hover {
  color: #FFD700;
}

.page-xo-so .btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.page-xo-so .btn-primary {
  background-color: #FFD700; /* Gold */
  color: #000080; /* Dark Blue */
  border: 1px solid #FFD700;
}

.page-xo-so .btn-primary:hover {
  background-color: #e6c200;
  color: #000055;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-xo-so .btn-secondary {
  background-color: #000080; /* Dark Blue */
  color: #FFD700; /* Gold */
  border: 1px solid #000080;
}

.page-xo-so .btn-secondary:hover {
  background-color: #000055;
  color: #ffe033;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-xo-so .btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-xo-so .button-group {
  text-align: center;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Hero Section */
.page-xo-so .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #FFD700 0%, #000080 100%);
  color: #ffffff;
}

.page-xo-so .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-xo-so .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-xo-so .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-xo-so .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-xo-so .hero-content h1 {
  color: #ffffff;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  font-size: 3.2em;
  margin-bottom: 20px;
}

.page-xo-so .hero-content p {
  color: #eeeeee;
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-xo-so .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: #FFD700; /* Gold */
  color: #000080; /* Dark Blue */
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-xo-so .cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Intro Section */
.page-xo-so .intro-section {
  padding: 60px 0;
  background-color: #ffffff;
  text-align: center;
}

.page-xo-so .intro-section p {
  max-width: 900px;
  margin: 0 auto 20px auto;
}

/* Game Types Section */
.page-xo-so .game-types-section {
  padding: 60px 0;
  background-color: #f0f4f8;
}

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

.page-xo-so .game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-xo-so .game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-xo-so .game-card img {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-xo-so .game-card h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #000080;
}

.page-xo-so .game-card h3 a {
  color: #000080;
}

.page-xo-so .game-card h3 a:hover {
  color: #FFD700;
}

.page-xo-so .game-card p {
  font-size: 0.95em;
  color: #666666;
  flex-grow: 1;
}

/* Guide Section */
.page-xo-so .guide-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-xo-so .guide-section ol {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-xo-so .guide-section ol li {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.page-xo-so .guide-section ol li:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-xo-so .guide-section ol li h3 {
  color: #000080;
  margin-bottom: 10px;
  font-size: 1.7em;
}

.page-xo-so .guide-section ol li h3 a {
  color: #000080;
}

.page-xo-so .guide-section ol li h3 a:hover {
  color: #FFD700;
}

.page-xo-so .guide-section ol li p {
  color: #555555;
}

/* Advantages Section */
.page-xo-so .advantages-section {
  padding: 60px 0;
  background-color: #f0f4f8;
  text-align: center;
}

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

.page-xo-so .advantage-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-xo-so .advantage-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-xo-so .advantage-item img {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-xo-so .advantage-item h3 {
  font-size: 1.4em;
  color: #000080;
  margin-bottom: 10px;
}

.page-xo-so .advantage-item p {
  font-size: 0.95em;
  color: #666666;
}

/* FAQ Section */
.page-xo-so .faq-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-xo-so .faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-xo-so .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-xo-so .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fdfdfd;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-xo-so .faq-question:hover {
  background: #f5f5f5;
}

.page-xo-so .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #000080;
}

.page-xo-so .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-xo-so .faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.page-xo-so .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: #555555;
}

.page-xo-so .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
  border-top: 1px solid #eeeeee;
}

.page-xo-so .faq-answer p {
  margin-bottom: 0;
}

/* Call to Action Section */
.page-xo-so .call-to-action-section {
  padding: 80px 0;
  background: linear-gradient(90deg, #000080, #000055);
  color: #ffffff;
  text-align: center;
}

.page-xo-so .call-to-action-section h2 {
  color: #FFD700;
  font-size: 2.5em;
  margin-bottom: 25px;
}

.page-xo-so .call-to-action-section p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #eeeeee;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-xo-so h1 {
    font-size: 2.5em;
  }
  .page-xo-so h2 {
    font-size: 1.8em;
  }
  .page-xo-so .hero-content p {
    font-size: 1.1em;
  }
  .page-xo-so .cta-button {
    padding: 15px 35px;
    font-size: 18px;
  }
  .page-xo-so .game-cards, .page-xo-so .advantage-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-xo-so .guide-section ol li {
    padding: 20px 25px;
  }
  .page-xo-so .faq-question, .page-xo-so .faq-answer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 768px) {
  .page-xo-so h1 {
    font-size: 2em;
  }
  .page-xo-so h2 {
    font-size: 1.6em;
  }
  .page-xo-so h3 {
    font-size: 1.4em;
  }
  .page-xo-so .hero-section {
    padding: 40px 15px;
  }
  .page-xo-so .hero-image {
    margin-bottom: 20px;
  }
  .page-xo-so .hero-content h1 {
    font-size: 2.5em;
  }
  .page-xo-so .hero-content p {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-xo-so .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-xo-so .intro-section, .page-xo-so .game-types-section, .page-xo-so .guide-section, .page-xo-so .advantages-section, .page-xo-so .faq-section, .page-xo-so .call-to-action-section {
    padding: 40px 0;
  }
  .page-xo-so .button-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-xo-so .btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-xo-so .game-card img {
    height: 180px;
  }
  .page-xo-so .faq-question {
    padding: 15px 20px;
  }
  .page-xo-so .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-xo-so h1 {
    font-size: 1.8em;
  }
  .page-xo-so .hero-content h1 {
    font-size: 2em;
  }
  .page-xo-so .cta-button {
    width: 90%;
  }
  .page-xo-so .button-group .btn {
    width: 90%;
  }
  .page-xo-so .game-card, .page-xo-so .advantage-item {
    padding: 20px;
  }
  .page-xo-so .game-card img {
    height: 150px;
  }
  .page-xo-so .faq-question h3 {
    font-size: 1.1em;
  }
  .page-xo-so .faq-toggle {
    font-size: 20px;
  }
}