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

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

.page-x-s section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-x-s section:last-of-type {
  margin-bottom: 0;
}

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

.page-x-s h1 {
  font-size: 2.8em;
  color: #FFD700; /* Gold for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-x-s h2 {
  font-size: 2.2em;
  margin-top: 40px;
}

.page-x-s h3 {
  font-size: 1.6em;
  color: #8B0000; /* Deep Red for subheadings */
}

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

.page-x-s .cta-button {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  padding: 18px 45px;
  background: linear-gradient(135deg, #FFD700, #DAA520); /* Gold gradient */
  color: #8B0000; /* Deep Red text on gold */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.3em;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid #8B0000;
}

.page-x-s .cta-button:hover {
  background: linear-gradient(135deg, #DAA520, #FFD700);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-x-s .btn-small {
  display: inline-block;
  padding: 10px 25px;
  background-color: #8B0000; /* Deep Red */
  color: #FFD700; /* Gold text */
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 1px solid #FFD700;
}

.page-x-s .btn-small:hover {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Deep Red text */
  border-color: #8B0000;
}

/* 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: 80px 20px;
  background: linear-gradient(135deg, #8B0000, #B22222); /* Dark red gradient */
  border-radius: 0 0 20px 20px;
  margin-bottom: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.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: 40px;
  max-width: 900px; /* Adjust max-width for image */
}

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

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

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

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

/* Intro Section */
.page-x-s .section-intro .intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-x-s .section-intro .intro-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid #FFD700;
}

.page-x-s .section-intro .intro-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-x-s .section-intro .feature-icon {
  width: 150px; /* Larger icons */
  height: 150px;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 50%;
  background-color: #FFFACD; /* Light gold background for icons */
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-x-s .section-intro .intro-item h3 {
  color: #8B0000;
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-x-s .section-intro .intro-item p {
  font-size: 1em;
  color: #666;
  text-align: left;
}

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

.page-x-s .section-games .game-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border: 1px solid #eee;
}

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

.page-x-s .section-games .card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-x-s .section-games .game-card h3 {
  font-size: 1.5em;
  margin: 20px 15px 10px;
  color: #8B0000;
  text-align: center;
}

.page-x-s .section-games .game-card h3 a {
  color: #8B0000;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-x-s .section-games .game-card p {
  font-size: 1em;
  color: #666;
  padding: 0 15px 20px;
  text-align: left;
}

.page-x-s .section-games .game-card .btn-small {
  margin-bottom: 20px;
}

/* How To Play Section */
.page-x-s .section-how-to-play .steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-x-s .section-how-to-play .step-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 5px solid #8B0000;
}

.page-x-s .section-how-to-play .step-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-x-s .section-how-to-play .step-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
  background-color: #FFEBCD; /* Lighter gold background */
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-x-s .section-how-to-play .step-item h3 {
  color: #8B0000;
  font-size: 1.3em;
  margin-bottom: 15px;
}

.page-x-s .section-how-to-play .step-item p {
  font-size: 1em;
  color: #666;
  text-align: left;
}

.page-x-s .section-how-to-play .step-item .btn-small {
  margin-top: 15px;
}

/* Tips Section */
.page-x-s .section-tips {
  background-color: #f0f0f0;
}

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

.page-x-s .section-tips .tip-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 5px solid #FFD700;
}

.page-x-s .section-tips .tip-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-x-s .section-tips .tip-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
  background-color: #FFFACD;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-x-s .section-tips .tip-item h3 {
  color: #8B0000;
  font-size: 1.3em;
  margin-bottom: 15px;
}

.page-x-s .section-tips .tip-item p {
  font-size: 1em;
  color: #666;
  text-align: left;
}

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

.page-x-s .section-promotions .promo-item {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border: 1px solid #eee;
}

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

.page-x-s .section-promotions .promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-x-s .section-promotions .promo-item h3 {
  font-size: 1.4em;
  margin: 20px 15px 10px;
  color: #8B0000;
  text-align: center;
}

.page-x-s .section-promotions .promo-item h3 a {
  color: #8B0000;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-x-s .section-promotions .promo-item p {
  font-size: 1em;
  color: #666;
  padding: 0 15px 20px;
  text-align: left;
}

.page-x-s .section-promotions .promo-item .btn-small {
  margin-bottom: 20px;
}

/* Security & Support Section */
.page-x-s .section-security-support {
  background-color: #FDF5E6; /* Lightest gold/cream background */
}

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

.page-x-s .section-security-support .ss-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-right: 5px solid #8B0000;
}

.page-x-s .section-security-support .ss-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-x-s .section-security-support .ss-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
  background-color: #FAEBD7;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-x-s .section-security-support .ss-item h3 {
  color: #8B0000;
  font-size: 1.3em;
  margin-bottom: 15px;
}

.page-x-s .section-security-support .ss-item p {
  font-size: 1em;
  color: #666;
  text-align: left;
}

.page-x-s .section-security-support .ss-item .btn-small {
  margin-top: 15px;
}

/* FAQ Section */
.page-x-s .section-faq {
  background-color: #f8f8f8;
}

.page-x-s .section-faq .faq-list {
  margin-top: 40px;
}

.page-x-s .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

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

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

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

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

.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: #fdfdfd;
  color: #444;
}

.page-x-s .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
  border-top: 1px solid #eee;
}

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

/* Conclusion Section */
.page-x-s .section-conclusion {
  background: linear-gradient(135deg, #8B0000, #B22222);
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
  border-radius: 10px;
}

.page-x-s .section-conclusion h2 {
  color: #FFD700;
  font-size: 2.5em;
  margin-bottom: 25px;
}

.page-x-s .section-conclusion p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-x-s .section-conclusion p a {
  color: #FFD700;
  text-decoration: underline;
  font-weight: bold;
}

.page-x-s .section-conclusion p a:hover {
  color: #FFE082;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-x-s h1 {
    font-size: 2.5em;
  }
  .page-x-s h2 {
    font-size: 1.8em;
  }
  .page-x-s h3 {
    font-size: 1.4em;
  }
  .page-x-s .hero-content p {
    font-size: 1.2em;
  }
  .page-x-s .cta-button {
    padding: 15px 35px;
    font-size: 1.1em;
  }
  .page-x-s .section-intro .intro-grid,
  .page-x-s .section-games .game-cards,
  .page-x-s .section-how-to-play .steps-grid,
  .page-x-s .section-tips .tips-grid,
  .page-x-s .section-promotions .promo-grid,
  .page-x-s .section-security-support .security-support-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-x-s .section-intro .feature-icon,
  .page-x-s .section-how-to-play .step-icon,
  .page-x-s .section-tips .tip-icon,
  .page-x-s .section-security-support .ss-icon {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .page-x-s section {
    padding: 40px 0;
  }
  .page-x-s h1 {
    font-size: 2em;
  }
  .page-x-s h2 {
    font-size: 1.6em;
  }
  .page-x-s h3 {
    font-size: 1.2em;
  }
  .page-x-s .hero-content p {
    font-size: 1em;
  }
  .page-x-s .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-x-s .hero-section {
    padding: 60px 15px;
  }
  .page-x-s .hero-image {
    margin-bottom: 30px;
  }
  .page-x-s .intro-item,
  .page-x-s .game-card,
  .page-x-s .step-item,
  .page-x-s .tip-item,
  .page-x-s .promo-item,
  .page-x-s .ss-item {
    padding: 20px;
  }
  .page-x-s .section-intro .intro-grid,
  .page-x-s .section-games .game-cards,
  .page-x-s .section-how-to-play .steps-grid,
  .page-x-s .section-tips .tips-grid,
  .page-x-s .section-promotions .promo-grid,
  .page-x-s .section-security-support .security-support-grid {
    grid-template-columns: 1fr;
  }
  .page-x-s .section-conclusion h2 {
    font-size: 2em;
  }
  .page-x-s .section-conclusion p {
    font-size: 1em;
  }
  .page-x-s .faq-question h3 {
    font-size: 1.1em;
  }
  .page-x-s .faq-toggle {
    font-size: 20px;
  }
  .page-x-s .faq-answer {
    padding: 0 15px;
  }
  .page-x-s .faq-item.active .faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-x-s h1 {
    font-size: 1.8em;
  }
  .page-x-s h2 {
    font-size: 1.5em;
  }
  .page-x-s h3 {
    font-size: 1.1em;
  }
  .page-x-s .hero-content p {
    font-size: 0.9em;
  }
  .page-x-s .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-x-s .section-intro .feature-icon,
  .page-x-s .section-how-to-play .step-icon,
  .page-x-s .section-tips .tip-icon,
  .page-x-s .section-security-support .ss-icon {
    width: 80px;
    height: 80px;
  }
  .page-x-s .section-conclusion h2 {
    font-size: 1.8em;
  }
  .page-x-s .section-conclusion p {
    font-size: 0.9em;
  }
}