/* style/x-s.css */
.page-x-s {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  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--intro,
.page-x-s__section--guide,
.page-x-s__section--strategy,
.page-x-s__section--why-choose,
.page-x-s__section--faq {
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  border-radius: 10px;
}

.page-x-s__section-title {
  font-size: 2.5em;
  color: #0A2463;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
  display: inline-block;
}

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

.page-x-s__hero {
  background: linear-gradient(135deg, #0A2463 0%, #3a5c9f 100%);
  color: #ffffff;
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-x-s__hero-content {
  z-index: 1;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-x-s__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #E0B14A;
}

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

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

.page-x-s__button--primary {
  background-color: #E0B14A;
  color: #0A2463;
  border: 2px solid #E0B14A;
}

.page-x-s__button--primary:hover {
  background-color: #f0c55a;
  border-color: #f0c55a;
}

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

.page-x-s__button--secondary:hover {
  background-color: #E0B14A;
  color: #0A2463;
}

.page-x-s__hero-image-container {
  width: 100%;
  max-width: 1000px;
  margin-top: 40px;
  z-index: 1;
}

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

.page-x-s__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #555;
}

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

.page-x-s__game-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.page-x-s__game-card-description {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
}

.page-x-s__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 25px;
  background-color: #0A2463;
  color: #fff;
  border: 2px solid #0A2463;
}

.page-x-s__button--small:hover {
  background-color: #E0B14A;
  border-color: #E0B14A;
  color: #0A2463;
}

.page-x-s__ordered-list,
.page-x-s__unordered-list {
  text-align: left;
  margin: 30px auto;
  max-width: 800px;
}

.page-x-s__ordered-list li,
.page-x-s__unordered-list li {
  margin-bottom: 25px;
  font-size: 1.1em;
  line-height: 1.8;
  color: #444;
}

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

.page-x-s__inline-link {
  color: #0A2463;
  text-decoration: underline;
  font-weight: bold;
}

.page-x-s__inline-link:hover {
  color: #E0B14A;
}

.page-x-s__image-with-text {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-x-s__image-with-text-img {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-x-s__image-with-text p {
  flex: 1;
  font-size: 1.1em;
  color: #555;
}

.page-x-s__section--promo {
  background: linear-gradient(90deg, #0A2463, #3a5c9f);
  color: #ffffff;
  padding: 80px 0;
}

.page-x-s__promo-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
}

.page-x-s__promo-content {
  flex: 2;
}

.page-x-s__promo-title {
  font-size: 2.2em;
  color: #E0B14A;
  margin-bottom: 20px;
}

.page-x-s__promo-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-x-s__button--white {
  background-color: #fff;
  color: #0A2463;
  border: 2px solid #fff;
}

.page-x-s__button--white:hover {
  background-color: #E0B14A;
  border-color: #E0B14A;
  color: #fff;
}

.page-x-s__promo-image-container {
  flex: 1;
  min-width: 300px;
}

.page-x-s__promo-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-x-s__app-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.page-x-s__feature-item {
  text-align: center;
  max-width: 200px;
}

.page-x-s__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  background-color: #E0B14A;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-x-s__feature-item p {
  font-size: 1em;
  color: #555;
  font-weight: bold;
}

.page-x-s__app-screenshot-container {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

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

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

.page-x-s__advantage-item {
  background-color: #f0f4f8;
  border-left: 5px solid #0A2463;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-x-s__advantage-item:hover {
  transform: translateY(-5px);
}

.page-x-s__advantage-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  background-color: #0A2463;
  padding: 8px;
  border-radius: 50%;
}

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

.page-x-s__advantage-item p {
  font-size: 1em;
  color: #666;
}

.page-x-s__accordion {
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-x-s__accordion-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-x-s__accordion-header {
  background-color: #0A2463;
  color: #E0B14A;
  padding: 18px 25px;
  width: 100%;
  text-align: left;
  border: none;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-x-s__accordion-header:hover {
  background-color: #1f4eb5;
}

.page-x-s__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-x-s__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-x-s__accordion-content {
  padding: 0 25px;
  background-color: #fefefe;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-x-s__accordion-content p {
  padding: 15px 0;
  color: #555;
}

.page-x-s__cta-content {
  background-color: #0A2463;
  color: #ffffff;
  padding: 60px 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-x-s__cta-title {
  font-size: 2.8em;
  color: #E0B14A;
  margin-bottom: 20px;
}

.page-x-s__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-x-s__hero-title {
    font-size: 3em;
  }
  .page-x-s__promo-card {
    flex-direction: column;
    text-align: center;
  }
  .page-x-s__promo-image-container {
    order: -1;
  }
  .page-x-s__image-with-text {
    flex-direction: column;
    text-align: center;
  }
  .page-x-s__image-with-text-img {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-x-s__hero {
    padding: 80px 0;
  }
  .page-x-s__hero-title {
    font-size: 2.5em;
  }
  .page-x-s__hero-description {
    font-size: 1em;
  }
  .page-x-s__section-title {
    font-size: 2em;
  }
  .page-x-s__game-card {
    padding: 20px;
  }
  .page-x-s__game-card-title {
    font-size: 1.5em;
  }
  .page-x-s__list-title {
    font-size: 1.2em;
  }
  .page-x-s__promo-title {
    font-size: 1.8em;
  }
  .page-x-s__cta-title {
    font-size: 2.2em;
  }
  .page-x-s__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-x-s__app-features {
    gap: 20px;
  }
  .page-x-s__advantage-title {
    font-size: 1.3em;
  }
}

@media (max-width: 480px) {
  .page-x-s__hero {
    padding: 60px 0;
  }
  .page-x-s__hero-title {
    font-size: 2em;
  }
  .page-x-s__hero-description {
    font-size: 0.9em;
  }
  .page-x-s__section {
    padding: 40px 0;
  }
  .page-x-s__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-x-s__button {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .page-x-s__grid {
    grid-template-columns: 1fr;
  }
  .page-x-s__image-with-text-img {
    max-width: 100%;
  }
  .page-x-s__promo-card {
    padding: 30px;
  }
  .page-x-s__promo-title {
    font-size: 1.5em;
  }
  .page-x-s__cta-title {
    font-size: 1.8em;
  }
  .page-x-s__accordion-header {
    font-size: 1em;
    padding: 15px 20px;
  }
}