.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 15px;
}

.page-xo-so h1, .page-xo-so h2, .page-xo-so h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

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

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

.page-xo-so h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-xo-so p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #444444;
}

.page-xo-so a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-xo-so a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-xo-so .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: #1A2A3A;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--secondary-color);
}

.page-xo-so .cta-button:hover {
  background: #f0c400;
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-xo-so .btn-small {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.95em;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-xo-so .btn-small:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* 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, #1A2A3A 0%, #3a4d61 100%); /* Adjusted for better text contrast */
}

.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: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

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

.page-xo-so .hero-content strong {
  color: var(--secondary-color);
}

/* General Sections */
.page-xo-so .section-intro, .page-xo-so .section-games, .page-xo-so .section-guide, .page-xo-so .section-promotion, .page-xo-so .section-tips, .page-xo-so .section-security-support, .page-xo-so .section-faq, .page-xo-so .section-blog-preview {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-xo-so .section-intro {
  background-color: #fdfdfd;
}

.page-xo-so .section-games {
  background-color: #f5f5f5;
}

.page-xo-so .section-guide {
  background-color: #fdfdfd;
}

.page-xo-so .section-promotion {
  background-color: #f5f5f5;
}

.page-xo-so .section-tips {
  background-color: #fdfdfd;
}

.page-xo-so .section-security-support {
  background-color: #f5f5f5;
}

.page-xo-so .section-blog-preview {
  background-color: #fdfdfd;
}

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

.page-xo-so .game-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding: 25px;
  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(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-xo-so .game-card img {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-xo-so .game-card h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  min-height: 50px;
}

.page-xo-so .game-card .card-title-link {
  color: var(--primary-color);
  font-weight: bold;
}

.page-xo-so .game-card .card-title-link:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

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

/* Guide Steps */
.page-xo-so .guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-xo-so .step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

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

.page-xo-so .step-item h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-xo-so .step-item p {
  font-size: 1em;
  color: #555555;
}

/* Promotion List */
.page-xo-so .promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-xo-so .promotion-list li {
  background-color: #fdfdfd;
  border-left: 5px solid var(--secondary-color);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: #444444;
}

.page-xo-so .promotion-list li strong {
  color: var(--primary-color);
}

/* Tips List */
.page-xo-so .tips-list {
  list-style: decimal;
  padding-left: 25px;
  margin-top: 30px;
}

.page-xo-so .tips-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #444444;
}

.page-xo-so .tips-list li strong {
  color: var(--primary-color);
}

/* Security & Support */
.page-xo-so .security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-xo-so .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

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

.page-xo-so .feature-item h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-xo-so .feature-item p {
  font-size: 1em;
  color: #555555;
}

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

.page-xo-so .faq-item {
  margin-bottom: 15px;
  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: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  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.25em;
  color: var(--primary-color);
}

.page-xo-so .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

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

.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;
  border-radius: 0 0 8px 8px;
  color: #555555;
  font-size: 1.05em;
}

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

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

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

.page-xo-so .blog-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-xo-so .blog-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.page-xo-so .blog-card h3 {
  font-size: 1.4em;
  padding: 20px 20px 10px;
  margin-bottom: 0;
}

.page-xo-so .blog-card h3 a {
  color: var(--primary-color);
  font-weight: bold;
}

.page-xo-so .blog-card h3 a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-xo-so .blog-card p {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-xo-so .btn-read-more {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  font-size: 0.9em;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease;
  width: 100%;
}

.page-xo-so .btn-read-more:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-xo-so h1 {
    font-size: 2.8em;
  }
  .page-xo-so h2 {
    font-size: 2em;
  }
  .page-xo-so .hero-content p {
    font-size: 1.1em;
  }
  .page-xo-so .game-cards, .page-xo-so .guide-steps, .page-xo-so .security-features, .page-xo-so .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-xo-so .game-card img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-xo-so .hero-section {
    padding: 40px 15px;
  }
  .page-xo-so h1 {
    font-size: 2.2em;
  }
  .page-xo-so h2 {
    font-size: 1.8em;
  }
  .page-xo-so h3 {
    font-size: 1.4em;
  }
  .page-xo-so .hero-content p {
    font-size: 1em;
  }
  .page-xo-so .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-xo-so .game-cards, .page-xo-so .guide-steps, .page-xo-so .security-features, .page-xo-so .blog-grid {
    grid-template-columns: 1fr;
  }
  .page-xo-so .game-card, .page-xo-so .step-item, .page-xo-so .feature-item, .page-xo-so .blog-card {
    margin-bottom: 20px;
  }
  .page-xo-so .section-intro, .page-xo-so .section-games, .page-xo-so .section-guide, .page-xo-so .section-promotion, .page-xo-so .section-tips, .page-xo-so .section-security-support, .page-xo-so .section-faq, .page-xo-so .section-blog-preview {
    padding: 40px 0;
  }
  .page-xo-so .faq-question {
    padding: 15px 20px;
  }
  .page-xo-so .faq-question h3 {
    font-size: 1.1em;
  }
  .page-xo-so .faq-toggle {
    font-size: 20px;
  }
  .page-xo-so .faq-answer {
    padding: 0 20px;
  }
  .page-xo-so .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-xo-so h1 {
    font-size: 1.8em;
  }
  .page-xo-so h2 {
    font-size: 1.5em;
  }
  .page-xo-so .hero-image img {
    border-radius: 8px;
  }
  .page-xo-so .game-card img {
    height: 180px;
  }
}

/* Variables for color scheme */
:root {
  --primary-color: #1A2A3A;
  --secondary-color: #FFD700;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f8f8f8;
  --background-medium: #e0e0e0;
}