/* style/x-s.css */
.page-x-s {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

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

.page-x-s__section {
  padding: 60px 0;
  text-align: center;
}

.page-x-s__section--white {
  background-color: #f9f9f9;
  color: #333;
}

.page-x-s__section--dark {
  background-color: #0A2463;
  color: #e0e0e0;
}

.page-x-s__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #0A2463;
  font-weight: bold;
}

.page-x-s__section-title--light {
  color: #FFD700;
}

.page-x-s__text {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-x-s__text--light {
  color: #e0e0e0;
}

.page-x-s__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

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

.page-x-s__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

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

.page-x-s__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
  transform: translateY(-2px);
}

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

.page-x-s__btn--large {
  padding: 15px 30px;
  font-size: 1.1em;
}

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

/* Hero Section */
.page-x-s__hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.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(135deg, rgba(10, 36, 99, 0.8), rgba(255, 215, 0, 0.4));
  z-index: 2;
}

.page-x-s__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-x-s__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-x-s__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-x-s__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Game Grid */
.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: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-x-s__game-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-x-s__game-title {
  font-size: 1.8em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-x-s__game-description {
  font-size: 1em;
  color: #555;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-x-s__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255, 215, 0, 0.3);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-x-s__step-card:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #FFD700;
}

.page-x-s__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
  background-color: rgba(255, 215, 0, 0.1);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-x-s__step-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-x-s__step-description {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Strategy Grid */
.page-x-s__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-x-s__strategy-item {
  background-color: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
}

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

.page-x-s__strategy-title {
  font-size: 1.6em;
  color: #0A2463;
  margin-bottom: 10px;
}

.page-x-s__strategy-description {
  font-size: 1em;
  color: #555;
}

/* Offer List */
.page-x-s__offer-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
}

.page-x-s__offer-list li {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  border-left: 5px solid #FFD700;
  font-size: 1.1em;
  color: #e0e0e0;
}

.page-x-s__offer-highlight {
  color: #FFD700;
  font-weight: bold;
}

.page-x-s__center-content {
  text-align: center;
  margin-top: 30px;
}

/* App Section */
.page-x-s__section--app {
  background: linear-gradient(135deg, #0A2463, #3B5998);
  color: #fff;
  padding: 80px 0;
}

.page-x-s__app-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  text-align: left;
  gap: 40px;
}

.page-x-s__app-text-block {
  flex: 1;
  min-width: 300px;
}

.page-x-s__app-image-block {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-x-s__app-mockup {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-x-s__app-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-x-s__app-features li {
  margin-bottom: 10px;
  font-size: 1.1em;
  position: relative;
  padding-left: 25px;
}

.page-x-s__app-features li::before {
  content: '✔';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Advantages List */
.page-x-s__advantages-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 900px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-x-s__advantages-list li {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #0A2463;
  font-size: 1.1em;
  color: #333;
}

.page-x-s__advantage-highlight {
  color: #0A2463;
  font-weight: bold;
}

/* FAQ Section */
.page-x-s__faq {
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-x-s__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  border-left: 5px solid #FFD700;
}

.page-x-s__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-x-s__faq-answer {
  font-size: 1em;
  color: #e0e0e0;
}

/* Final CTA */
.page-x-s__cta-final {
  background: linear-gradient(45deg, #0A2463, #FFD700);
  padding: 80px 0;
  color: #fff;
  text-align: center;
}

.page-x-s__cta-content {
  max-width: 800px;
}

.page-x-s__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.page-x-s__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-x-s__hero-title {
    font-size: 2.8em;
  }
  .page-x-s__hero-description {
    font-size: 1.1em;
  }
  .page-x-s__section-title {
    font-size: 2.2em;
  }
  .page-x-s__app-content {
    flex-direction: column;
    text-align: center;
  }
  .page-x-s__app-image-block {
    order: -1; /* Move image above text on small screens */
    margin-bottom: 30px;
  }
  .page-x-s__app-features {
    text-align: left; /* Keep list items left-aligned */
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
  }
  .page-x-s__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-x-s__hero {
    height: 500px;
  }
  .page-x-s__hero-title {
    font-size: 2.2em;
  }
  .page-x-s__hero-description {
    font-size: 1em;
  }
  .page-x-s__hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .page-x-s__btn--secondary {
    margin-left: 0;
  }
  .page-x-s__section {
    padding: 40px 0;
  }
  .page-x-s__section-title {
    font-size: 1.8em;
  }
  .page-x-s__text {
    font-size: 0.95em;
  }
  .page-x-s__game-grid, .page-x-s__steps-grid, .page-x-s__strategy-grid {
    grid-template-columns: 1fr;
  }
  .page-x-s__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 480px) {
  .page-x-s__hero-title {
    font-size: 1.8em;
  }
  .page-x-s__hero-description {
    font-size: 0.9em;
  }
  .page-x-s__section-title {
    font-size: 1.6em;
  }
  .page-x-s__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-x-s__game-title, .page-x-s__step-title, .page-x-s__strategy-title, .page-x-s__faq-question {
    font-size: 1.4em;
  }
  .page-x-s__offer-list li, .page-x-s__advantages-list li {
    font-size: 1em;
    padding: 15px;
  }
  .page-x-s__cta-title {
    font-size: 1.8em;
  }
  .page-x-s__cta-description {
    font-size: 1em;
  }
}