.page-x-s {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light grey for text on dark background */
  background-color: #0A192F; /* Main dark blue background */
  line-height: 1.6;
}

.page-x-s a {
  color: #FFD700; /* Accent gold for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-x-s a:hover {
  color: #e6c200; /* Slightly darker gold on hover */
}

.page-x-s__hero {
  background: linear-gradient(135deg, #0A192F 0%, #1a2b4a 100%);
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-x-s__hero-content {
  z-index: 10;
  max-width: 900px;
}

.page-x-s__title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-x-s__subtitle {
  font-size: 1.4em;
  color: #B0B0B0;
  margin-bottom: 30px;
  max-width: 800px;
}

.page-x-s__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  overflow: hidden;
}

.page-x-s__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
}

.page-x-s__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  margin: 10px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-x-s__btn--primary {
  background-color: #FFD700;
  color: #0A192F;
}

.page-x-s__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-x-s__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-x-s__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.page-x-s__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-x-s__btn--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-x-s__section {
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-x-s__section-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-x-s__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-x-s__text-block {
  font-size: 1.1em;
  color: #D0D0D0;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-x-s__features-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-x-s__features-list li {
  background-color: #1a2b4a;
  padding: 25px;
  border-radius: 10px;
  flex: 1 1 calc(33% - 40px);
  min-width: 280px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border-left: 5px solid #FFD700;
}

.page-x-s__features-list li strong {
  color: #FFD700;
  font-size: 1.2em;
  display: block;
  margin-bottom: 10px;
}

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

.page-x-s__game-card {
  background-color: #1a2b4a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-x-s__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-x-s__game-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-x-s__game-card-title {
  font-size: 1.8em;
  color: #FFD700;
  padding: 20px 20px 10px;
  margin: 0;
}

.page-x-s__game-card-description {
  font-size: 0.95em;
  color: #C0C0C0;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-x-s__game-card .page-x-s__btn--small {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
  text-align: center;
}

.page-x-s__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  counter-reset: step-counter;
}

.page-x-s__steps-list li {
  background-color: #1a2b4a;
  padding: 30px;
  margin-bottom: 25px;
  border-radius: 12px;
  text-align: left;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  padding-left: 80px;
}

.page-x-s__steps-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 30px;
  background-color: #FFD700;
  color: #0A192F;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-x-s__step-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-x-s__steps-list li p {
  color: #D0D0D0;
  margin-bottom: 15px;
}

.page-x-s__process-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-x-s__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-x-s__tips-list li {
  background-color: #1a2b4a;
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  border-left: 4px solid #FFD700;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.page-x-s__tips-list li strong {
  color: #FFD700;
  font-size: 1.1em;
  display: block;
  margin-bottom: 8px;
}

.page-x-s__faq-container {
  margin-top: 40px;
  text-align: left;
}

.page-x-s__faq-item {
  background-color: #1a2b4a;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.page-x-s__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  padding: 20px 25px;
  margin: 0;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

.page-x-s__faq-question:hover {
  background-color: #2a3d5c;
}

.page-x-s__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-x-s__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-x-s__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-x-s__faq-answer.active {
  max-height: 300px; /* Adjust as needed for content */
  padding: 20px 25px;
}

.page-x-s__faq-answer p {
  margin-top: 0;
  margin-bottom: 15px;
  color: #D0D0D0;
}

.page-x-s__cta {
  background: linear-gradient(45deg, #0A192F, #30194F);
  padding: 80px 40px;
  margin-top: 60px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.page-x-s__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.page-x-s__cta-image {
  max-width: 300px;
  height: auto;
  margin-top: 50px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-x-s__title {
    font-size: 2.8em;
  }
  .page-x-s__section-title {
    font-size: 2.2em;
  }
  .page-x-s__features-list li {
    flex: 1 1 calc(50% - 20px);
  }
  .page-x-s__hero {
    padding: 60px 20px;
  }
  .page-x-s__section {
    padding: 40px 20px;
  }
}

@media (max-width: 768px) {
  .page-x-s__title {
    font-size: 2.2em;
  }
  .page-x-s__subtitle {
    font-size: 1.2em;
  }
  .page-x-s__section-title {
    font-size: 1.8em;
  }
  .page-x-s__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-x-s__btn--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-x-s__features-list li,
  .page-x-s__game-grid > div {
    flex: 1 1 100%;
    min-width: unset;
  }
  .page-x-s__steps-list li {
    padding-left: 60px;
  }
  .page-x-s__steps-list li::before {
    left: 15px;
    top: 25px;
    width: 35px;
    height: 35px;
    font-size: 1.3em;
  }
  .page-x-s__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-x-s__faq-question::after {
    right: 20px;
  }
}

@media (max-width: 480px) {
  .page-x-s__hero {
    padding: 40px 15px;
  }
  .page-x-s__title {
    font-size: 1.8em;
  }
  .page-x-s__subtitle {
    font-size: 1em;
  }
  .page-x-s__section-title {
    font-size: 1.6em;
  }
  .page-x-s__btn {
    width: 100%;
    margin: 5px 0;
  }
  .page-x-s__cta-buttons {
    flex-direction: column;
  }
}