/* style/x-s.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #DC143C; /* Deep Red */
  --dark-background: #1a1a1a; /* Dark Grey/Black for main background */
  --light-text-color: #ffffff;
  --dark-text-color: #333333;
  --card-background: #2a2a2a;
  --border-color: #3d3d3d;
  --hover-color: #ffeb3b;
}

.page-x-s {
  font-family: 'Arial', sans-serif;
  color: var(--light-text-color);
  background-color: var(--dark-background);
  line-height: 1.6;
}

.page-x-s .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 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;
  margin-top: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-x-s h2 {
  font-size: 2.5em;
  border-bottom: 3px solid var(--secondary-color);
  padding-bottom: 15px;
  margin-top: 40px;
  margin-bottom: 30px;
}

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

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

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

.page-x-s .cta-button:hover {
  background-color: #ff4500; /* Darker red for hover */
  transform: translateY(-3px);
}

.page-x-s .secondary-cta {
  background-color: var(--primary-color);
  color: var(--dark-text-color);
}

.page-x-s .secondary-cta:hover {
  background-color: var(--hover-color);
  color: var(--dark-text-color);
}

/* Hero Banner Section */
.page-x-s .hero-banner {
  position: relative;
  width: 100%;
  height: 600px; /* Adjusted height for better visual impact */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 20px;
}

.page-x-s .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-x-s .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
  z-index: 2;
}

.page-x-s .hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
}

.page-x-s .hero-content h1 {
  color: var(--primary-color);
  font-size: 4em;
  margin-bottom: 20px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.page-x-s .hero-content p {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: var(--light-text-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Intro Section */
.page-x-s .intro-section {
  padding: 60px 0;
  background-color: #222222;
}

.page-x-s .intro-section .content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* Game Types Section */
.page-x-s .game-types-section {
  padding: 60px 0;
  background-color: var(--dark-background);
}

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

.page-x-s .game-card {
  background-color: var(--card-background);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

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

.page-x-s .game-card h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-bottom: 15px;
}

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

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

.page-x-s .game-card p {
  color: #cccccc;
  font-size: 1em;
  text-align: center;
  margin-bottom: 20px;
}

.page-x-s .game-card .card-button {
  background-color: var(--secondary-color);
  color: var(--light-text-color);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

.page-x-s .game-card .card-button:hover {
  background-color: #ff4500;
}

/* Guide Section */
.page-x-s .guide-section {
  padding: 60px 0;
  background-color: #222222;
}

.page-x-s .guide-section ol {
  list-style: none;
  counter-reset: guide-counter;
  padding-left: 0;
}

.page-x-s .guide-section ol li {
  counter-increment: guide-counter;
  margin-bottom: 25px;
  font-size: 1.1em;
  position: relative;
  padding-left: 50px;
  color: #cccccc;
}

.page-x-s .guide-section ol li::before {
  content: counter(guide-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--primary-color);
  color: var(--dark-text-color);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Advantages Section */
.page-x-s .advantages-section {
  padding: 60px 0;
  background-color: var(--dark-background);
}

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

.page-x-s .advantage-item {
  background-color: var(--card-background);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

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

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

.page-x-s .advantage-item p {
  color: #cccccc;
  font-size: 1em;
  text-align: center;
}

/* Promotions Section */
.page-x-s .promotions-section {
  padding: 60px 0;
  background-color: #222222;
}

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

.page-x-s .promotions-section ul li {
  background-color: var(--card-background);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  border-left: 5px solid var(--secondary-color);
  font-size: 1.1em;
  color: #cccccc;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

/* FAQ Section */
.page-x-s .faq-section {
  padding: 60px 0;
  background-color: var(--dark-background);
}

.page-x-s .faq-item {
  margin-bottom: 15px;
}

.page-x-s .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-x-s .faq-question:hover {
  background: #3a3a3a;
  border-color: var(--primary-color);
}

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

.page-x-s .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  margin-left: 15px;
}

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

.page-x-s .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background: #2a2a2a;
  border-radius: 0 0 8px 8px;
  border: 1px solid var(--border-color);
  border-top: none;
}

.page-x-s .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px;
  border-top: 1px solid var(--primary-color);
}

.page-x-s .faq-answer p {
  margin: 0;
  color: #cccccc;
  font-size: 1em;
  text-align: left;
}

/* Final CTA Section */
.page-x-s .final-cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #222222, var(--dark-background));
  text-align: center;
}

.page-x-s .final-cta-section h2 {
  color: var(--primary-color);
  font-size: 2.8em;
  margin-bottom: 25px;
}

.page-x-s .final-cta-section p {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: var(--light-text-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-x-s .hero-content h1 {
    font-size: 3.5em;
  }
  .page-x-s .hero-content p {
    font-size: 1.2em;
  }
  .page-x-s h2 {
    font-size: 2em;
  }
  .page-x-s h3 {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-x-s .hero-banner {
    height: 500px;
  }
  .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 25px;
    font-size: 1em;
  }
  .page-x-s h2 {
    font-size: 1.8em;
  }
  .page-x-s h3 {
    font-size: 1.4em;
  }
  .page-x-s p {
    font-size: 0.95em;
  }
  .page-x-s .game-cards {
    grid-template-columns: 1fr;
  }
  .page-x-s .advantage-item {
    padding: 20px;
  }
  .page-x-s .faq-question {
    padding: 15px;
  }
  .page-x-s .faq-question h3 {
    font-size: 1.1em;
  }
  .page-x-s .faq-toggle {
    font-size: 20px;
  }
  .page-x-s .faq-answer {
    padding: 15px;
  }
  .page-x-s .final-cta-section h2 {
    font-size: 2.2em;
  }
  .page-x-s .final-cta-section p {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-x-s .hero-banner {
    height: 400px;
  }
  .page-x-s .hero-content h1 {
    font-size: 2em;
  }
  .page-x-s .hero-content p {
    font-size: 0.9em;
  }
  .page-x-s .cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-x-s h2 {
    font-size: 1.5em;
  }
  .page-x-s .guide-section ol li {
    padding-left: 40px;
  }
  .page-x-s .guide-section ol li::before {
    width: 30px;
    height: 30px;
    font-size: 1em;
  }
  .page-x-s .faq-question h3 {
    font-size: 1em;
  }
  .page-x-s .faq-toggle {
    font-size: 18px;
  }
  .page-x-s .final-cta-section h2 {
    font-size: 1.8em;
  }
  .page-x-s .final-cta-section p {
    font-size: 1em;
  }
}