.page-x-s {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #212529;
  --border-color: #e0e0e0;
}

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

.page-x-s section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-x-s h1,
.page-x-s h2,
.page-x-s h3 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

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

.page-x-s h2 {
  font-size: 2.5em;
  color: var(--text-dark);
}

.page-x-s h3 {
  font-size: 1.8em;
  color: var(--text-dark);
}

.page-x-s p {
  font-size: 1.1em;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 15px;
  text-align: justify;
}

.page-x-s .hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-x-s .hero-container {
  display: flex;
  flex-direction: row-reverse; /* Image on right, content on left */
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 40px;
}

.page-x-s .hero-content {
  flex: 1;
  text-align: left;
  padding-right: 20px;
}

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

.page-x-s .hero-content p {
  font-size: 1.3em;
  line-height: 1.6;
  color: var(--text-light);
  text-align: left;
  margin-bottom: 30px;
}

.page-x-s .hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-x-s .hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-x-s .cta-button {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--text-dark);
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-x-s .cta-button:hover {
  background: #ffda6a;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-x-s .intro-section h2 {
  color: var(--primary-color);
}

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

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

.page-x-s .feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-x-s .feature-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-x-s .feature-item h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-x-s .feature-item p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: center;
}

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

.page-x-s .game-types-section h2 {
  color: var(--secondary-color);
}

.page-x-s .game-types-section p {
  color: var(--text-light);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-x-s .game-card {
  background: var(--text-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-x-s .game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.page-x-s .card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-x-s .card-content {
  padding: 25px;
}

.page-x-s .card-content h3 {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: var(--primary-color);
  text-align: left;
}

.page-x-s .card-title-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-x-s .card-title-link:hover {
  color: var(--secondary-color);
}

.page-x-s .card-content p {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 20px;
  text-align: left;
}

.page-x-s .card-button {
  display: inline-block;
  background: var(--primary-color);
  color: var(--text-light);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-x-s .card-button:hover {
  background: #0056b3;
}

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

.page-x-s .benefits-section h2 {
  color: var(--primary-color);
}

.page-x-s .benefits-section ul {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-x-s .benefits-section ul li {
  background: var(--text-light);
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  font-size: 1.1em;
  color: var(--text-dark);
  line-height: 1.6;
  border-left: 5px solid var(--secondary-color);
  transition: transform 0.2s ease;
}

.page-x-s .benefits-section ul li:hover {
  transform: translateX(5px);
}

.page-x-s .benefits-section ul li strong {
  color: var(--primary-color);
}

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

.page-x-s .guide-section h2 {
  color: var(--primary-color);
}

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

.page-x-s .step-item {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  border-top: 5px solid var(--primary-color);
}

.page-x-s .step-number {
  width: 60px;
  height: 60px;
  background: var(--secondary-color);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: -60px auto 20px auto;
  border: 4px solid var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-x-s .step-item h3 {
  color: var(--primary-color);
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-x-s .step-item p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 20px;
}

.page-x-s .button-small {
  display: inline-block;
  background: var(--primary-color);
  color: var(--text-light);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.page-x-s .button-small:hover {
  background: #0056b3;
}

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

.page-x-s .tips-section h2 {
  color: var(--secondary-color);
}

.page-x-s .tips-section p {
  color: var(--text-light);
  text-align: justify;
}

.page-x-s .tips-section ul {
  list-style: disc;
  margin-left: 25px;
  margin-top: 30px;
  color: var(--text-light);
}

.page-x-s .tips-section ul li {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.6;
}

.page-x-s .tips-section ul li strong {
  color: var(--secondary-color);
}

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

.page-x-s .faq-section h2 {
  color: var(--primary-color);
}

.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: 18px 25px;
  background: var(--text-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-x-s .faq-question:hover {
  background: #f0f0f0;
}

.page-x-s .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--primary-color);
  text-align: left;
  flex-grow: 1;
}

.page-x-s .faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

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

.page-x-s .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fefefe;
  color: var(--text-dark);
}

.page-x-s .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
}

.page-x-s .faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.6;
  text-align: justify;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-x-s .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-x-s .hero-content {
    padding-right: 0;
    text-align: center;
  }

  .page-x-s .hero-content h1,
  .page-x-s .hero-content p {
    text-align: center;
  }

  .page-x-s .hero-image {
    margin-top: 40px;
  }

  .page-x-s h1 {
    font-size: 2.8em;
  }

  .page-x-s h2 {
    font-size: 2em;
  }

  .page-x-s .features-grid,
  .page-x-s .game-cards-grid,
  .page-x-s .step-by-step {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-x-s section {
    padding: 40px 0;
  }

  .page-x-s h1 {
    font-size: 2.2em;
  }

  .page-x-s h2 {
    font-size: 1.8em;
  }

  .page-x-s h3 {
    font-size: 1.4em;
  }

  .page-x-s p {
    font-size: 1em;
  }

  .page-x-s .cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }

  .page-x-s .feature-icon {
    width: 90px;
    height: 90px;
  }

  .page-x-s .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
    margin: -50px auto 15px auto;
  }

  .page-x-s .faq-question {
    padding: 15px 20px;
  }

  .page-x-s .faq-question h3 {
    font-size: 1.1em;
  }

  .page-x-s .faq-toggle {
    font-size: 1.8em;
  }

  .page-x-s .faq-answer {
    padding: 0 20px;
  }

  .page-x-s .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-x-s .hero-content h1 {
    font-size: 2em;
  }
  .page-x-s .hero-content p {
    font-size: 1em;
  }
  .page-x-s .cta-button {
    font-size: 1em;
    padding: 10px 25px;
  }
}