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

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

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

.page-x-s__section:nth-of-type(even) {
  background-color: #e9ecef;
}

.page-x-s__section-title {
  font-size: 2.5em;
  color: #007bff;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-x-s__hero {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: #fff;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

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

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

.page-x-s__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  max-width: 600px;
  opacity: 0.3;
  z-index: 0;
}

.page-x-s__hero-image {
  width: 100%;
  height: 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;
  cursor: pointer;
  border: none;
}

.page-x-s__button--primary {
  background-color: #ffc107;
  color: #000;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.page-x-s__button--primary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
}

.page-x-s__button--secondary {
  background-color: #007bff;
  color: #fff;
  border: 2px solid #007bff;
}

.page-x-s__button--secondary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
}

.page-x-s__button--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

.page-x-s__about p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #495057;
}

.page-x-s__feature-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 30px auto;
}

.page-x-s__feature-list li {
  background-color: #fff;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  font-size: 1.05em;
  color: #343a40;
}

.page-x-s__feature-list li .icon-check {
  color: #28a745;
  margin-right: 15px;
  font-size: 1.3em;
  /* Placeholder for an actual icon font or SVG */
  content: '✔'; 
}

.page-x-s__image-inline {
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.page-x-s__step {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  text-align: center;
  position: relative;
  border-top: 5px solid #007bff;
}

.page-x-s__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffc107;
  color: #000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.page-x-s__step h3 {
  font-size: 1.5em;
  color: #007bff;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-x-s__step p {
  color: #555;
  font-size: 1em;
}

.page-x-s__image-step {
  max-width: 100%;
  height: auto;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-x-s__callout {
  background-color: #e6f7ff; /* Light blue */
  border-left: 5px solid #007bff;
  padding: 20px;
  margin: 40px auto;
  border-radius: 8px;
  font-style: italic;
  color: #0056b3;
  max-width: 900px;
  text-align: left;
}

.page-x-s__official-link .page-x-s__link-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-x-s__note {
  font-size: 0.9em;
  color: #6c757d;
  margin-top: 20px;
}

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

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

.page-x-s__type-card:hover {
  transform: translateY(-5px);
}

.page-x-s__type-card .page-x-s__card-image {
  max-width: 100%;
  height: 180px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-x-s__type-card h3 {
  font-size: 1.4em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-x-s__type-card p {
  color: #555;
  font-size: 0.95em;
}

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

.page-x-s__tip-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  text-align: left;
  border-left: 5px solid #ffc107;
}

.page-x-s__tip-card h3 {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-x-s__tip-card p {
  color: #555;
  font-size: 1em;
}

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

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

.page-x-s__promo-card:hover {
  transform: translateY(-5px);
}

.page-x-s__promo-card .page-x-s__card-image {
  max-width: 100%;
  height: 180px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-x-s__promo-card h3 {
  font-size: 1.4em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-x-s__promo-card p {
  color: #555;
  font-size: 0.95em;
}

.page-x-s__faq-item {
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-x-s__faq-item h3 {
  color: #007bff;
  font-size: 1.3em;
  margin-top: 0;
  cursor: pointer; /* Implies toggle functionality */
  position: relative;
  padding-right: 30px;
}

.page-x-s__faq-item h3::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffc107;
}

.page-x-s__faq-item p {
  color: #555;
  font-size: 1em;
  margin-top: 10px;
  display: none; /* Hidden by default, JS will toggle */
}

.page-x-s__faq-item.active h3::after {
  content: '-';
}

.page-x-s__faq-item.active p {
  display: block;
}

.page-x-s__cta-final {
  background: linear-gradient(90deg, #007bff, #0056b3);
  color: #fff;
  padding: 80px 0;
}

.page-x-s__cta-final .page-x-s__section-title {
  color: #ffc107;
}

.page-x-s__cta-final .page-x-s__section-title::after {
  background-color: #fff;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-x-s__hero-title {
    font-size: 2.8em;
  }
  .page-x-s__hero-image-wrapper {
    width: 60%;
  }
}

@media (max-width: 768px) {
  .page-x-s__section {
    padding: 40px 0;
  }
  .page-x-s__section-title {
    font-size: 2em;
  }
  .page-x-s__hero {
    padding: 60px 0;
  }
  .page-x-s__hero-title {
    font-size: 2.2em;
  }
  .page-x-s__hero-description {
    font-size: 1em;
  }
  .page-x-s__hero-image-wrapper {
    display: none; /* Hide image on smaller screens */
  }
  .page-x-s__link-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-x-s__button {
    width: 100%;
  }
  .page-x-s__faq-item h3 {
    font-size: 1.1em;
  }
  .page-x-s__faq-item p {
    font-size: 0.9em;
  }
}

@media (max-width: 576px) {
  .page-x-s__section-title {
    font-size: 1.8em;
  }
  .page-x-s__hero-title {
    font-size: 1.8em;
  }
  .page-x-s__hero-description {
    font-size: 0.9em;
  }
  .page-x-s__step-by-step {
    grid-template-columns: 1fr;
  }
  .page-x-s__type-grid, .page-x-s__tip-grid, .page-x-s__promo-grid {
    grid-template-columns: 1fr;
  }
}