.page-x-s {
  --primary-color: #0A1931;
  --secondary-color: #FFD700;
  --accent-color: #32CD32;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #1a2a44;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
}

.page-x-s .section-padding {
  padding: 60px 0;
}

.page-x-s .bg-light {
  background-color: var(--bg-light);
}

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

.page-x-s .main-heading,
.page-x-s .section-title {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-x-s .main-heading {
  font-size: 3.2em;
  color: var(--text-color-light);
}

.page-x-s .section-title {
  font-size: 2.5em;
}

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

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

.page-x-s .hero-description {
  color: var(--text-color-light);
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-x-s .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color);
  color: var(--primary-color);
  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(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-x-s .cta-button:hover {
  background: var(--accent-color);
  color: var(--text-color-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-x-s .text-block a {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
}

.page-x-s .text-block a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

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

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

.page-x-s .game-card, .page-x-s .promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-x-s .card-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin: 20px 15px 10px;
  font-weight: bold;
}

.page-x-s .card-description {
  font-size: 1em;
  color: #666;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-x-s .card-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 0 0 12px 12px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Push button to bottom */
}

.page-x-s .card-button:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-x-s .step-by-step {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-x-s .step-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  flex: 1 1 calc(25% - 30px);
  min-width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-x-s .step-icon {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.page-x-s .step-description {
  font-size: 1em;
  color: #555;
  text-align: justify;
}

.page-x-s .feature-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-x-s .feature-list li {
  background: #ffffff;
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: var(--text-color-dark);
  display: flex;
  align-items: center;
}

.page-x-s .feature-list li strong {
  color: var(--primary-color);
  margin-right: 10px;
}

.page-x-s .tip-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-x-s .tip-list li {
  background: #ffffff;
  margin-bottom: 15px;
  padding: 20px 25px;
  border-left: 5px solid var(--secondary-color);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: var(--text-color-dark);
}

.page-x-s .tip-list li strong {
  color: var(--primary-color);
  margin-right: 8px;
}

.page-x-s .center-content {
  text-align: center;
  margin-top: 40px;
}

.page-x-s .full-width-image-md {
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--primary-color);
  color: var(--text-color-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  color: var(--text-color-light);
}

.faq-question:hover {
  background: #1a3055; /* Slightly lighter primary for hover */
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: var(--secondary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #ffffff;
  color: var(--text-color-dark);
}

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

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--accent-color);
}

.faq-answer p {
  margin: 0;
}

.faq-answer a {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-x-s .main-heading {
    font-size: 2.8em;
  }
  .page-x-s .section-title {
    font-size: 2em;
  }
  .page-x-s .hero-description {
    font-size: 1.1em;
  }
  .page-x-s .cta-button {
    padding: 15px 35px;
    font-size: 18px;
  }
  .page-x-s .grid-3-cols, .page-x-s .grid-2-cols {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-x-s .step-item {
    flex: 1 1 calc(50% - 30px);
  }
}

@media (max-width: 768px) {
  .page-x-s .section-padding {
    padding: 40px 0;
  }
  .page-x-s .main-heading {
    font-size: 2.2em;
  }
  .page-x-s .section-title {
    font-size: 1.8em;
  }
  .page-x-s .hero-section {
    padding: 60px 15px;
  }
  .page-x-s .hero-image img {
    border-radius: 8px;
  }
  .page-x-s .hero-description {
    font-size: 1em;
  }
  .page-x-s .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-x-s .text-block {
    font-size: 0.95em;
  }
  .page-x-s .card-title {
    font-size: 1.4em;
  }
  .page-x-s .card-description {
    font-size: 0.9em;
  }
  .page-x-s .step-item {
    flex: 1 1 100%;
    padding: 25px;
  }
  .page-x-s .feature-list li, .page-x-s .tip-list li {
    font-size: 1em;
    padding: 15px 20px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-x-s .main-heading {
    font-size: 1.8em;
  }
  .page-x-s .section-title {
    font-size: 1.6em;
  }
  .page-x-s .hero-section {
    padding: 40px 10px;
  }
  .page-x-s .hero-image img {
    border-radius: 6px;
  }
  .page-x-s .cta-button {
    padding: 10px 25px;
    font-size: 15px;
  }
  .page-x-s .grid-3-cols, .page-x-s .grid-2-cols {
    grid-template-columns: 1fr;
  }
  .page-x-s .card-image {
    height: 180px;
  }
  .page-x-s .card-title {
    font-size: 1.2em;
  }
  .page-x-s .step-icon {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .page-x-s .step-title {
    font-size: 1.2em;
  }
  .page-x-s .full-width-image-md {
    border-radius: 8px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 18px;
  }
}