.page-x-s {
  --primary-color: #0A192F;
  --secondary-color: #FFD700;
  --text-light: #F0F2F5;
  --text-dark: #1A202C;
  --bg-dark: #0A192F;
  --bg-light: #FFFFFF;
  --accent-light: #FFF8DC;
  font-family: 'Arial', sans-serif;
  color: var(--text-light);
  background-color: var(--bg-dark);
}

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

.page-x-s .hero-section {
  background: linear-gradient(135deg, var(--primary-color), #1a3a6b);
  padding: 80px 0;
  text-align: center;
  color: var(--text-light);
}

.page-x-s .hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-x-s .hero-content h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-x-s .hero-content p a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-x-s .hero-content p a:hover {
  text-decoration: underline;
}

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

.page-x-s .cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-x-s .section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 10px;
}

.page-x-s .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-x-s section {
  padding: 60px 0;
  background-color: var(--primary-color);
}

.page-x-s section:nth-of-type(even) {
  background-color: #1A2A42;
}

.page-x-s .section-intro .content-grid,
.page-x-s .section-tips .content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-x-s .content-grid.reverse-grid {
  grid-template-columns: 1fr 1fr;
}

.page-x-s .content-grid .text-content p,
.page-x-s .content-grid .text-content ul li {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-x-s .content-grid .text-content p a,
.page-x-s .content-grid .text-content ul li a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-x-s .content-grid .text-content p a:hover,
.page-x-s .content-grid .text-content ul li a:hover {
  text-decoration: underline;
}

.page-x-s .content-grid .image-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

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

.page-x-s .game-card {
  background-color: #1A2A42;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-x-s .game-card .card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 3px solid var(--secondary-color);
}

.page-x-s .game-card h3 {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin: 20px 15px 10px;
}

.page-x-s .game-card h3 a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-x-s .game-card h3 a:hover {
  text-decoration: underline;
}

.page-x-s .game-card p {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-light);
  padding: 0 15px 20px;
}

.page-x-s .game-card p a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-x-s .game-card p a:hover {
  text-decoration: underline;
}

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

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

.page-x-s .feature-item {
  background-color: #1A2A42;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.page-x-s .feature-item:hover {
  background-color: #253a5e;
}

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

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

.page-x-s .feature-item p {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-light);
}

.page-x-s .feature-item p a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-x-s .feature-item p a:hover {
  text-decoration: underline;
}

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

.page-x-s .step-item {
  background-color: #1A2A42;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-x-s .step-item .step-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-x-s .step-item p {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-light);
}

.page-x-s .step-item p a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-x-s .step-item p a:hover {
  text-decoration: underline;
}

.page-x-s .section-tips ul {
  list-style: none;
  padding-left: 0;
}

.page-x-s .section-tips ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
}

.page-x-s .section-tips ul li::before {
  content: '✓';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
}

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

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

.page-x-s .promo-card:hover {
  transform: translateY(-5px);
  background-color: #253a5e;
}

.page-x-s .promo-card h3 {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-x-s .promo-card p {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 25px;
}

.page-x-s .promo-card p a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-x-s .promo-card p a:hover {
  text-decoration: underline;
}

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

.page-x-s .promo-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

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

.page-x-s .faq-item {
  margin-bottom: 15px;
  border: 1px solid #2a3d58;
  border-radius: 8px;
  overflow: hidden;
}

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

.page-x-s .faq-question:hover {
  background-color: #253a5e;
}

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

.page-x-s .faq-question h3 a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-x-s .faq-question h3 a:hover {
  text-decoration: underline;
}

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

.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-color: #0A192F;
  color: var(--text-light);
}

.page-x-s .faq-answer p {
  margin: 0;
  padding-bottom: 20px;
  line-height: 1.7;
}

.page-x-s .faq-answer p a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-x-s .faq-answer p a:hover {
  text-decoration: underline;
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-x-s .hero-content h1 {
    font-size: 2.5em;
  }
  .page-x-s .hero-content p {
    font-size: 1.1em;
  }
  .page-x-s .section-title {
    font-size: 2em;
  }
  .page-x-s .section-intro .content-grid,
  .page-x-s .section-tips .content-grid {
    grid-template-columns: 1fr;
  }
  .page-x-s .content-grid.reverse-grid .text-content {
    order: 2;
  }
  .page-x-s .content-grid.reverse-grid .image-content {
    order: 1;
  }
}

@media (max-width: 768px) {
  .page-x-s .hero-section {
    padding: 60px 0;
  }
  .page-x-s .hero-content h1 {
    font-size: 2em;
  }
  .page-x-s .hero-content p {
    font-size: 1em;
  }
  .page-x-s .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-x-s section {
    padding: 40px 0;
  }
  .page-x-s .section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-x-s .content-grid,
  .page-x-s .game-type-grid,
  .page-x-s .why-choose-grid,
  .page-x-s .guide-steps,
  .page-x-s .promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-x-s .game-card h3 {
    font-size: 1.4em;
  }
  .page-x-s .feature-item h3,
  .page-x-s .step-item h3 {
    font-size: 1.3em;
  }
  .page-x-s .faq-question h3 {
    font-size: 1.1em;
  }
  .page-x-s .faq-question,
  .page-x-s .faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-x-s .faq-item.active .faq-answer {
    padding: 10px 15px;
  }
}