/* style/x-s.css */
.page-x-s {
  font-family: 'Arial', sans-serif;
  color: #FFFFFF; /* White text on dark background */
  background-color: #000000; /* Main background color */
  line-height: 1.6;
}

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

/* Hero Section */
.page-x-s__hero-section {
  background: linear-gradient(135deg, #000000 0%, #333333 50%, #FFD700 100%); /* Black to dark grey to gold gradient */
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-x-s__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('[GALLERY:bg:abstract,geometric,golden_pattern]'); /* Abstract pattern for background */
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

.page-x-s__hero-section .page-x-s__container {
  position: relative;
  z-index: 1;
}

.page-x-s__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-x-s__hero-description {
  font-size: 1.3em;
  color: #E0E0E0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-x-s__btn--primary {
  background-color: #FFD700; /* Gold background */
  color: #000000; /* Black text on gold */
}

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

.page-x-s__btn--secondary {
  background-color: #000000;
  color: #FFD700; /* Gold text on black */
  border: 2px solid #FFD700;
}

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

.page-x-s__btn--link {
  background: none;
  border: none;
  color: #FFD700;
  padding: 0;
  font-size: 1em;
  text-decoration: underline;
}

.page-x-s__btn--link:hover {
  color: #E6C200;
}

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

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

.page-x-s__hero-image {
  max-width: 80%;
  height: auto;
  margin-top: 50px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* General Section Styling */
.page-x-s__section {
  padding: 80px 0;
  text-align: center;
}

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

.page-x-s__section-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 25px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-x-s__section-intro {
  font-size: 1.2em;
  color: #CCCCCC;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

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

.page-x-s__feature-item {
  background-color: #0a0a0a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-left: 5px solid #FFD700;
  text-align: left;
}

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

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

/* Lottery Types */
.page-x-s__lottery-types {
  background-color: #000000;
}

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

.page-x-s__type-card {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

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

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

.page-x-s__type-card p {
  color: #B0B0B0;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* How To Play */
.page-x-s__how-to-play {
  background-color: #1a1a1a;
}

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

.page-x-s__step-item {
  background-color: #0a0a0a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  position: relative;
  padding-top: 60px; /* Space for step number */
}

.page-x-s__step-number {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #FFD700;
  color: #000000;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

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

.page-x-s__step-item p {
  color: #B0B0B0;
  margin-bottom: 15px;
}

.page-x-s__how-to-image {
  max-width: 90%;
  height: auto;
  margin-top: 60px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* Strategies */
.page-x-s__strategies {
  background-color: #000000;
}

.page-x-s__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-x-s__strategy-list li {
  background-color: #1a1a1a;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  border-right: 5px solid #FFD700;
}

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

.page-x-s__strategy-list p {
  color: #B0B0B0;
}

.page-x-s__strategy-image {
  max-width: 80%;
  height: auto;
  margin-top: 60px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* Promotions */
.page-x-s__promotions {
  background-color: #1a1a1a;
}

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

.page-x-s__promo-card {
  background-color: #0a0a0a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-bottom: 5px solid #FFD700;
  text-align: left;
}

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

.page-x-s__promo-card p {
  color: #B0B0B0;
}

.page-x-s__promo-banner {
  max-width: 100%;
  height: auto;
  margin-top: 60px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* FAQ */
.page-x-s__faq {
  background-color: #000000;
}

.page-x-s__faq-items {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 50px;
  text-align: left;
}

.page-x-s__faq-item {
  background-color: #1a1a1a;
  margin-bottom: 15px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

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

.page-x-s__faq-answer {
  color: #B0B0B0;
  display: block; /* Ensure it's visible by default */
}

/* Call to Action Section */
.page-x-s__cta-section {
  background: linear-gradient(45deg, #000000, #FFD700);
  padding: 100px 0;
  text-align: center;
}

.page-x-s__cta-title {
  font-size: 3em;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-x-s__cta-description {
  font-size: 1.3em;
  color: #F0F0F0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-x-s__hero-title {
    font-size: 2.8em;
  }
  .page-x-s__section-title {
    font-size: 2.2em;
  }
  .page-x-s__cta-title {
    font-size: 2.5em;
  }
  .page-x-s__hero-image, .page-x-s__how-to-image, .page-x-s__strategy-image, .page-x-s__promo-banner {
    max-width: 95%;
  }
}

@media (max-width: 768px) {
  .page-x-s__hero-title {
    font-size: 2.2em;
  }
  .page-x-s__hero-description {
    font-size: 1.1em;
  }
  .page-x-s__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-x-s__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-x-s__section-title {
    font-size: 1.8em;
  }
  .page-x-s__section-intro {
    font-size: 1em;
  }
  .page-x-s__cta-title {
    font-size: 2em;
  }
  .page-x-s__cta-description {
    font-size: 1.1em;
  }
  .page-x-s__features-grid, .page-x-s__types-grid, .page-x-s__steps-grid, .page-x-s__promo-cards {
    grid-template-columns: 1fr;
  }
  .page-x-s__step-item {
    padding-top: 30px;
  }
  .page-x-s__step-number {
    position: static;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .page-x-s__hero-title {
    font-size: 1.8em;
  }
  .page-x-s__section-title {
    font-size: 1.5em;
  }
  .page-x-s__cta-title {
    font-size: 1.6em;
  }
  .page-x-s__btn {
    width: 95%;
  }
  .page-x-s__type-icon {
    width: 80px;
    height: 80px;
  }
  .page-x-s__hero-section, .page-x-s__section, .page-x-s__cta-section {
    padding: 60px 0;
  }
}