:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Dark Blue */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f5f5f5;
  --background-dark: #000080;
  --border-color: #e0e0e0;
  --accent-color: #FFC107; /* Lighter gold for hover */
}

.page-x-s {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--background-light);
}

.page-x-s a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-x-s a:hover {
  color: var(--primary-color);
}

.page-x-s h1, .page-x-s h2, .page-x-s h3, .page-x-s h4, .page-x-s h5, .page-x-s h6 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-x-s h1 {
  font-size: 2.8em;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-x-s h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
  position: relative;
}

.page-x-s h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-x-s h3 {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-top: 25px;
  margin-bottom: 15px;
}

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

.page-x-s .section-content {
  padding: 60px 0;
}

.page-x-s .section-content.dark-bg {
  background-color: var(--background-dark);
  color: var(--text-color-light);
}

.page-x-s .section-content.dark-bg h2, .page-x-s .section-content.dark-bg h3 {
  color: var(--primary-color);
}

.page-x-s .section-content.dark-bg a {
  color: var(--primary-color);
}

.page-x-s .xoso-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, var(--secondary-color) 0%, #0a0a40 100%); /* Dark blue gradient */
  color: var(--text-color-light);
}

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

.page-x-s .xoso-hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-x-s .xoso-hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-x-s .xoso-hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-x-s .xoso-hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-x-s .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-x-s .cta-button:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-x-s .cta-button.small {
  padding: 10px 25px;
  font-size: 16px;
  margin-top: 15px;
}

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

.page-x-s .grid-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-x-s .grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-x-s .grid-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-x-s .grid-item h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-top: 0;
}

.page-x-s .feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

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

.page-x-s .feature-item:hover {
  transform: translateY(-5px);
}

.page-x-s .feature-item img {
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-x-s .feature-item h3 {
  color: var(--secondary-color);
  font-size: 1.4em;
}

.page-x-s .guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-x-s .guide-list li {
  background: #ffffff;
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  counter-increment: guide-counter;
  position: relative;
  padding-left: 80px;
}

.page-x-s .guide-list li::before {
  content: counter(guide-counter);
  position: absolute;
  left: 20px;
  top: 30px;
  background: var(--primary-color);
  color: var(--secondary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-x-s .guide-list li h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-x-s .promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-x-s .promo-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-x-s .promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-x-s .promo-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-x-s .promo-card h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-top: 0;
}

.page-x-s .game-showcase {
  text-align: center;
  margin-top: 40px;
}

.page-x-s .game-showcase img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* FAQ styles */
.page-x-s .faq-list {
  margin-top: 40px;
}

.page-x-s .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.page-x-s .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-x-s .faq-question:hover {
  background: var(--background-light);
}

.page-x-s .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--secondary-color);
}

.page-x-s .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.page-x-s .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.page-x-s .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background: var(--background-light);
}

.page-x-s .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

.page-x-s .faq-item.active .faq-answer p {
  margin-bottom: 0;
}

.page-x-s .blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-x-s .blog-post-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-x-s .blog-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-x-s .blog-post-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-x-s .blog-post-card h3 {
  font-size: 1.3em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-x-s .blog-post-card h3 a {
  color: var(--secondary-color);
}

.page-x-s .blog-post-card h3 a:hover {
  color: var(--primary-color);
}

.page-x-s .blog-post-card p {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 15px;
}

.page-x-s .post-date {
  font-size: 0.85em;
  color: #888888;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-x-s h1 {
    font-size: 3em;
  }
  .page-x-s h2 {
    font-size: 1.8em;
  }
  .page-x-s h3 {
    font-size: 1.4em;
  }
  .page-x-s .xoso-hero-content p {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-x-s .section-content {
    padding: 40px 0;
  }
  .page-x-s h1 {
    font-size: 2.5em;
  }
  .page-x-s h2 {
    font-size: 1.6em;
  }
  .page-x-s h3 {
    font-size: 1.2em;
  }
  .page-x-s .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-x-s .xoso-hero-image {
    margin-bottom: 20px;
  }
  .page-x-s .xoso-hero-content p {
    font-size: 1em;
  }
  .page-x-s .content-grid, .page-x-s .feature-list, .page-x-s .promo-cards, .page-x-s .blog-posts {
    grid-template-columns: 1fr;
  }
  .page-x-s .guide-list li {
    padding-left: 60px;
  }
  .page-x-s .guide-list li::before {
    left: 15px;
    top: 20px;
    width: 35px;
    height: 35px;
    font-size: 1.2em;
  }
  .page-x-s .faq-question {
    padding: 12px 15px;
  }
  .page-x-s .faq-question h3 {
    font-size: 1.1em;
  }
  .page-x-s .faq-toggle {
    font-size: 20px;
  }
  .page-x-s .faq-item.active .faq-answer {
    padding: 15px;
  }
}