.page-x-s {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0;
  background-color: #1A1A1A;
  line-height: 1.6;
}

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

.page-x-s section {
  padding: 60px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-x-s section:last-of-type {
  border-bottom: none;
}

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

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

.page-x-s h2 {
  font-size: 2.5em;
  border-bottom: 2px solid #DC143C;
  padding-bottom: 10px;
  display: inline-block;
  margin: 0 auto 30px auto;
}

.page-x-s h3 {
  font-size: 1.8em;
  color: #DC143C;
  margin-bottom: 15px;
}

.page-x-s p {
  margin-bottom: 15px;
  text-align: justify;
  color: #C0C0C0;
}

.page-x-s .btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  margin-top: 10px;
}

.page-x-s .btn-primary {
  background-color: #FFD700;
  color: #1A1A1A;
}

.page-x-s .btn-primary:hover {
  background-color: #E6C200;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.page-x-s .btn-secondary {
  background-color: #DC143C;
  color: #FFFFFF;
}

.page-x-s .btn-secondary:hover {
  background-color: #C20A33;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(220, 20, 60, 0.3);
}

/* Hero Section */
.page-x-s .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, #1A1A1A, #333333);
  overflow: hidden;
}

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

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

.page-x-s .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.4);
}

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

.page-x-s .hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
}

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

.page-x-s .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: #DC143C;
  color: #ffffff;
  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(220, 20, 60, 0.4);
}

.page-x-s .cta-button:hover {
  background: #FFD700;
  color: #1A1A1A;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

/* Introduction Section */
.page-x-s .introduction-section {
  background-color: #1F1F1F;
  text-align: center;
}

.page-x-s .introduction-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Game Types Section */
.page-x-s .game-types-section {
  background-color: #282828;
  text-align: center;
}

.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-type-card {
  background-color: #1A1A1A;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-x-s .game-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
}

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

.page-x-s .game-type-card h3 {
  color: #FFD700;
  font-size: 1.5em;
  text-align: left;
  margin-bottom: 10px;
}

.page-x-s .game-type-card p {
  font-size: 0.95em;
  color: #B0B0B0;
  margin-bottom: 20px;
}

.page-x-s .game-type-card .btn {
  width: auto;
  display: inline-block;
}

/* Benefits Section */
.page-x-s .benefits-section {
  background-color: #1F1F1F;
  text-align: center;
}

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

.page-x-s .benefit-item {
  background-color: #1A1A1A;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-align: left;
  border-left: 5px solid #DC143C;
  transition: background-color 0.3s ease;
}

.page-x-s .benefit-item:hover {
  background-color: #222222;
}

.page-x-s .benefit-item h3 {
  color: #FFD700;
  text-align: left;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-x-s .benefit-item p {
  font-size: 0.9em;
  color: #B0B0B0;
}

.page-x-s .image-wrapper {
    margin-top: 50px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-x-s .image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Guide Section */
.page-x-s .guide-section {
  background-color: #282828;
  text-align: center;
}

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

.page-x-s .step-item {
  background-color: #1A1A1A;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  border-bottom: 4px solid #FFD700;
  transition: transform 0.3s ease;
}

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

.page-x-s .step-item h3 {
  color: #DC143C;
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-x-s .step-item p {
  font-size: 0.95em;
  color: #C0C0C0;
  margin-bottom: 20px;
}

/* Tips Section */
.page-x-s .tips-section {
  background-color: #1F1F1F;
  text-align: center;
}

.page-x-s .tips-section ul {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-x-s .tips-section li {
  background-color: #222222;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border-left: 4px solid #FFD700;
  color: #E0E0E0;
}

.page-x-s .tips-section li strong {
  color: #DC143C;
}

/* Promotion Section */
.page-x-s .promotion-section {
  background-color: #282828;
  text-align: center;
}

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

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

.page-x-s .promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(220, 20, 60, 0.2);
}

.page-x-s .promo-card h3 {
  color: #FFD700;
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-x-s .promo-card p {
  font-size: 0.95em;
  color: #C0C0C0;
  margin-bottom: 20px;
}

.page-x-s .disclaimer {
  font-size: 0.85em;
  color: #888888;
  margin-top: 30px;
}

/* FAQ Section */
.page-x-s .faq-section {
  background-color: #1F1F1F;
  text-align: center;
}

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

.page-x-s .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

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

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

.page-x-s .faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  color: #FFD700;
  text-align: left;
}

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

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

.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: #1A1A1A;
  color: #C0C0C0;
}

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

/* CTA Bottom Section */
.page-x-s .cta-bottom-section {
  background: linear-gradient(90deg, #DC143C, #FFD700);
  text-align: center;
  padding: 80px 20px;
  border-radius: 10px;
  margin-bottom: 40px;
}

.page-x-s .cta-bottom-section h2 {
  color: #FFFFFF;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  border-bottom: none;
}

.page-x-s .cta-bottom-section p {
  color: #F0F0F0;
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-x-s .cta-bottom-section .cta-button {
  background: #1A1A1A;
  color: #FFD700;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.page-x-s .cta-bottom-section .cta-button:hover {
  background: #2A2A2A;
  color: #DC143C;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-x-s h1 {
    font-size: 2.8em;
  }
  .page-x-s h2 {
    font-size: 2em;
  }
  .page-x-s .hero-content h1 {
    font-size: 3em;
  }
  .page-x-s .cta-button {
    padding: 15px 35px;
    font-size: 18px;
  }
}

@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;
    margin-bottom: 25px;
  }
  .page-x-s h3 {
    font-size: 1.5em;
  }
  .page-x-s .hero-content h1 {
    font-size: 2.5em;
  }
  .page-x-s .hero-content p {
    font-size: 1em;
  }
  .page-x-s .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-x-s .game-type-grid, .page-x-s .benefits-grid, .page-x-s .guide-steps, .page-x-s .promotion-cards {
    grid-template-columns: 1fr;
  }
  .page-x-s .game-type-card, .page-x-s .benefit-item, .page-x-s .step-item, .page-x-s .promo-card {
    padding: 20px;
  }
  .page-x-s .faq-question {
    padding: 15px 20px;
  }
  .page-x-s .faq-question h3 {
    font-size: 1.1em;
  }
  .page-x-s .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-x-s .container {
    padding: 0 15px;
  }
  .page-x-s h1 {
    font-size: 1.8em;
  }
  .page-x-s h2 {
    font-size: 1.5em;
  }
  .page-x-s .hero-content h1 {
    font-size: 2em;
  }
  .page-x-s .hero-content p {
    font-size: 0.9em;
  }
  .page-x-s .cta-button {
    width: 90%;
    padding: 10px 20px;
    font-size: 15px;
  }
  .page-x-s .tips-section li {
    padding: 15px;
  }
}