.page-x-s {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray text for dark background */
  background-color: #1A1A1A; /* Dark background */
  line-height: 1.6;
}

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

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

.page-x-s h1 {
  font-size: 3.2em;
  margin-top: 20px;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-x-s h2 {
  font-size: 2.5em;
  margin-top: 40px;
  border-bottom: 2px solid #B22222;
  padding-bottom: 15px;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

.page-x-s h3 {
  font-size: 1.8em;
  color: #FFD700;
}

.page-x-s p {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-x-s ul, .page-x-s ol {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-x-s ol {
  list-style-type: decimal;
}

.page-x-s li {
  margin-bottom: 10px;
}

.page-x-s a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-x-s a:hover {
  color: #F0E68C;
}

.page-x-s .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #B22222; /* Secondary color for CTA */
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  text-align: center;
  border: none;
  cursor: pointer;
}

.page-x-s .cta-button:hover {
  background: #DC143C; /* Slightly darker red on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-x-s .btn-small {
  display: inline-block;
  padding: 10px 20px;
  background: #FFD700;
  color: #1A1A1A;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-x-s .btn-small:hover {
  background: #F0E68C;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* 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-color: #0D0D0D;
  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;
}

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

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

.page-x-s .hero-content p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #F0F0F0;
}

/* Section Styling */
.page-x-s .section-intro, .page-x-s .section-benefits, .page-x-s .section-guide, .page-x-s .section-contact-cta {
  padding: 60px 20px;
  background-color: #222222;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-x-s .section-games, .page-x-s .section-tips, .page-x-s .section-promotions, .page-x-s .section-faq {
  padding: 60px 20px;
  background-color: #1A1A1A;
  margin-bottom: 20px;
}

.page-x-s .section-intro p, .page-x-s .section-benefits ul, .page-x-s .section-guide ol {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-x-s .section-benefits li, .page-x-s .section-guide li {
  color: #E0E0E0;
}

/* Game Cards */
.page-x-s .game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-x-s .game-card {
  background-color: #2D2D2D;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-x-s .game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-x-s .game-card img {
  width: 100%;
  max-width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 2px solid #FFD700;
}

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

.page-x-s .game-card h3 a {
  color: #FFD700;
}

.page-x-s .game-card p {
  font-size: 1em;
  color: #C0C0C0;
  flex-grow: 1;
}

/* Tip Cards */
.page-x-s .tip-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-x-s .tip-card {
  background-color: #2D2D2D;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-x-s .tip-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-x-s .tip-card img {
  width: 100%;
  max-width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 2px solid #B22222;
}

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

.page-x-s .tip-card p {
  font-size: 1em;
  color: #C0C0C0;
  flex-grow: 1;
}

/* Promotions Grid */
.page-x-s .promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-x-s .promo-item {
  background-color: #2D2D2D;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-x-s .promo-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-x-s .promo-item img {
  width: 100%;
  max-width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 2px solid #FFD700;
}

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

.page-x-s .promo-item h3 a {
  color: #FFD700;
}

.page-x-s .promo-item p {
  font-size: 1em;
  color: #C0C0C0;
  flex-grow: 1;
}

/* FAQ Section */
.page-x-s .section-faq {
  padding: 60px 20px;
  background-color: #222222;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

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

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

.page-x-s .faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
  line-height: 1;
}

.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: #2A2A2A;
  color: #E0E0E0;
  border-radius: 0 0 8px 8px;
}

.page-x-s .faq-answer p {
  margin: 0;
  padding-top: 15px;
  padding-bottom: 15px;
}

.page-x-s .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 25px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-x-s h1 {
    font-size: 2.8em;
  }
  .page-x-s h2 {
    font-size: 2.2em;
  }
  .page-x-s .game-cards, .page-x-s .tip-cards, .page-x-s .promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .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, .page-x-s ul, .page-x-s ol, .page-x-s li {
    font-size: 1em;
  }
  .page-x-s .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-x-s .hero-section, .page-x-s .section-intro, .page-x-s .section-games, .page-x-s .section-benefits, .page-x-s .section-guide, .page-x-s .section-tips, .page-x-s .section-promotions, .page-x-s .section-faq, .page-x-s .section-contact-cta {
    padding: 40px 15px;
  }
  .page-x-s .game-card img, .page-x-s .tip-card img, .page-x-s .promo-item img {
    height: 200px;
  }
  .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 h1 {
    font-size: 1.8em;
  }
  .page-x-s h2 {
    font-size: 1.5em;
  }
  .page-x-s .cta-button {
    width: 100%;
    box-sizing: border-box;
  }
  .page-x-s .game-cards, .page-x-s .tip-cards, .page-x-s .promo-grid {
    grid-template-columns: 1fr;
  }
}