/* style/x-s.css */
.page-x-s {
  font-family: 'Arial', sans-serif;
  color: #E2E8F0; /* Light gray for text on dark background */
  background-color: #1A202C; /* Main dark background color */
  line-height: 1.6;
}

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

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

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

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

.page-x-s__section--dark {
  background-color: #2D3748; /* Slightly lighter dark background */
}

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

.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__section-title--light {
  color: #E2E8F0;
}

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

.page-x-s__text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #CBD5E0; /* Slightly darker light gray for paragraphs */
}

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

.page-x-s__center-text {
  text-align: center;
}

/* Hero Section */
.page-x-s__hero-section {
  background: linear-gradient(135deg, #1A202C 0%, #2D3748 100%);
  padding: 100px 0;
  display: flex;
  align-items: center;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.page-x-s__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[IMAGE:lottery_hero_bg]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-x-s__hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  color: #E2E8F0;
}

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

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

.page-x-s__hero-buttons .page-x-s__btn {
  margin-right: 15px;
}

.page-x-s__hero-image-wrapper {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 0;
}

.page-x-s__hero-image {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
}

/* Buttons */
.page-x-s__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
  text-align: center;
}

.page-x-s__btn--primary {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

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

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

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

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

.page-x-s__center-button {
  text-align: center;
  margin-top: 40px;
}

/* Image styles */
.page-x-s__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Grid Layouts */
.page-x-s__grid {
  display: grid;
  gap: 30px;
  margin-top: 30px;
}

.page-x-s__grid--2-cols {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.page-x-s__grid--3-cols {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Card Styles */
.page-x-s__card {
  background-color: #2D3748;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-x-s__card-text {
  font-size: 1em;
  color: #CBD5E0;
  margin-bottom: 20px;
}

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

/* How-To-Play Steps */
.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-item {
  background-color: #1A202C;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-x-s__step-icon {
  width: 60px;
  height: 60px;
  background-color: #FFD700;
  color: #1A202C;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

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

.page-x-s__step-description {
  font-size: 1em;
  color: #CBD5E0;
}

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

.page-x-s__feature-item {
  background-color: #2D3748;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

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

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

.page-x-s__feature-description {
  font-size: 1em;
  color: #CBD5E0;
}

/* FAQ Section */
.page-x-s__faq-item {
  background-color: #2D3748;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-x-s__faq-question {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-x-s__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

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

.page-x-s__faq-answer {
  font-size: 1em;
  color: #CBD5E0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  margin-top: 10px;
  display: none;
}

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

/* Call to Action */
.page-x-s__call-to-action {
  background: linear-gradient(135deg, #1A202C, #2D3748);
  text-align: center;
  padding: 80px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-x-s__hero-title {
    font-size: 3.2em;
  }
  .page-x-s__hero-description {
    font-size: 1.1em;
  }
  .page-x-s__hero-image-wrapper {
    width: 40%;
    height: 80%;
  }
  .page-x-s__grid--3-cols {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-x-s__grid--2-cols {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-x-s__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 80px 0 40px 0;
    min-height: auto;
  }
  .page-x-s__hero-content {
    max-width: 100%;
    margin-bottom: 40px;
  }
  .page-x-s__hero-image-wrapper {
    position: static;
    transform: none;
    width: 80%;
    height: auto;
    margin-top: 30px;
  }
  .page-x-s__hero-title {
    font-size: 2.5em;
  }
  .page-x-s__hero-description {
    font-size: 1em;
  }
  .page-x-s__hero-buttons .page-x-s__btn {
    margin: 10px 5px;
    display: block;
  }
  .page-x-s__section-title {
    font-size: 2em;
  }
  .page-x-s__grid--3-cols, .page-x-s__grid--2-cols, .page-x-s__steps-grid, .page-x-s__features-grid {
    grid-template-columns: 1fr;
  }
  .page-x-s__image-full-width {
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
    border-radius: 0;
  }
}

@media (max-width: 480px) {
  .page-x-s__hero-title {
    font-size: 2em;
  }
  .page-x-s__hero-description {
    font-size: 0.9em;
  }
  .page-x-s__section-title {
    font-size: 1.8em;
  }
  .page-x-s__btn {
    padding: 10px 20px;
    font-size: 1em;
  }
  .page-x-s__btn--large {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-x-s__step-icon {
    width: 50px;
    height: 50px;
    font-size: 2em;
  }
  .page-x-s__feature-icon {
    width: 60px;
    height: 60px;
  }
}