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

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

.page-x-s .btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.page-x-s .btn-primary {
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
}

.page-x-s .btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-x-s .btn-secondary {
  background-color: #8B0000;
  color: #FFD700;
  border: 2px solid #8B0000;
  margin-left: 15px;
}

.page-x-s .btn-secondary:hover {
  background-color: #6a0000;
  border-color: #6a0000;
}

.page-x-s .btn-outline {
  background-color: transparent;
  color: #8B0000;
  border: 2px solid #8B0000;
}

.page-x-s .btn-outline:hover {
  background-color: #8B0000;
  color: #FFD700;
}

.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 .hero-section {
  background: linear-gradient(135deg, #FFD700, #8B0000);
  padding: 100px 0;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.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.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-x-s .section-title {
  font-size: 2.5em;
  color: #8B0000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

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

.page-x-s .section-description {
  font-size: 1.1em;
  color: #555;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px auto;
}

.page-x-s .why-choose-section, .page-x-s lottery-types-section, .page-x-s how-to-play-section, .page-x-s expert-tips-section, .page-x-s responsible-gaming-section, .page-x-s app-download-section, .page-x-s faq-section, .page-x-s cta-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-x-s .why-choose-section:nth-child(odd), .page-x-s how-to-play-section:nth-child(odd), .page-x-s responsible-gaming-section:nth-child(odd), .page-x-s faq-section:nth-child(odd) {
  background-color: #fff;
}

.page-x-s .features-grid, .page-x-s .types-grid, .page-x-s .responsible-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-x-s .feature-item, .page-x-s .responsible-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  border-top: 5px solid #FFD700;
}

.page-x-s .feature-item:hover, .page-x-s .responsible-item:hover {
  transform: translateY(-10px);
}

.page-x-s .feature-icon, .page-x-s .responsible-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.page-x-s .feature-heading, .page-x-s .responsible-heading {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-x-s .feature-text, .page-x-s .responsible-text {
  color: #666;
}

.page-x-s .type-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-x-s .type-card:hover {
  transform: translateY(-10px);
}

.page-x-s .type-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-x-s .type-card .page-x-s type-title {
  font-size: 1.4em;
  color: #8B0000;
  margin: 20px 15px 10px 15px;
}

.page-x-s .type-card .page-x-s type-text {
  color: #666;
  padding: 0 15px 20px 15px;
}

.page-x-s .type-card .page-x-s btn-small {
  margin-bottom: 20px;
  background-color: #FFD700;
  color: #8B0000;
  border: none;
}

.page-x-s .type-card .page-x-s btn-small:hover {
  background-color: #e6c200;
}

.page-x-s .step-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-x-s .step-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #8B0000;
}

.page-x-s .step-heading {
  font-size: 1.6em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-x-s .step-text {
  color: #666;
  margin-bottom: 20px;
}

.page-x-s .tip-list {
  list-style: none;
  padding: 0;
}

.page-x-s .tip-item {
  background-color: #fff;
  padding: 25px 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  border-left: 4px solid #FFD700;
}

.page-x-s .tip-heading {
  font-size: 1.4em;
  color: #8B0000;
  margin-bottom: 10px;
}

.page-x-s .tip-text {
  color: #666;
}

.page-x-s .app-download-section {
  background: linear-gradient(to right, #8B0000, #b30000);
  color: #fff;
  padding: 100px 0;
}

.page-x-s .app-download-section .page-x-s container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.page-x-s .app-content {
  flex: 1;
  padding-right: 40px;
}

.page-x-s .app-content .page-x-s section-title {
  color: #FFD700;
  text-align: left;
}

.page-x-s .app-content .page-x-s section-title::after {
  background-color: #FFD700;
  left: 0;
  transform: translateX(0);
}

.page-x-s .app-content .page-x-s section-description {
  color: #f0f0f0;
  text-align: left;
  margin-bottom: 30px;
}

.page-x-s .app-image-wrapper {
  flex: 0 0 400px;
  max-width: 100%;
  text-align: center;
}

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

.page-x-s .faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-x-s .faq-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-x-s .faq-question {
  font-size: 1.3em;
  color: #8B0000;
  padding: 20px;
  cursor: pointer;
  margin: 0;
  position: relative;
  background-color: #fcfcfc;
}

.page-x-s .faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FFD700;
}

.page-x-s .faq-question.active::after {
  content: '-';
}

.page-x-s .faq-answer {
  padding: 0 20px 20px 20px;
  color: #666;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-x-s .faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding: 0 20px 20px 20px;
}

.page-x-s .cta-section {
  background-color: #FFD700;
  padding: 80px 0;
  text-align: center;
  color: #8B0000;
}

.page-x-s .cta-section .page-x-s section-title {
  color: #8B0000;
}

.page-x-s .cta-section .page-x-s section-title::after {
  background-color: #8B0000;
}

.page-x-s .cta-section .page-x-s section-description {
  color: #6a0000;
  margin-bottom: 40px;
}

.page-x-s .cta-link {
  color: #8B0000;
  text-decoration: underline;
  font-weight: bold;
}

.page-x-s .cta-link:hover {
  color: #6a0000;
}

.page-x-s .btn-final-cta {
  background-color: #8B0000;
  color: #FFD700;
  border-color: #8B0000;
  font-size: 1.2em;
  padding: 15px 40px;
}

.page-x-s .btn-final-cta:hover {
  background-color: #6a0000;
  border-color: #6a0000;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-x-s .hero-title {
    font-size: 2.8em;
  }
  .page-x-s .section-title {
    font-size: 2em;
  }
  .page-x-s .app-download-section .page-x-s container {
    flex-direction: column;
    text-align: center;
  }
  .page-x-s .app-content {
    padding-right: 0;
    margin-bottom: 40px;
  }
  .page-x-s .app-content .page-x-s section-title,
  .page-x-s .app-content .page-x-s section-description {
    text-align: center;
  }
  .page-x-s .app-content .page-x-s section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .page-x-s .app-image-wrapper {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-x-s .hero-section {
    padding: 80px 0;
  }
  .page-x-s .hero-title {
    font-size: 2.2em;
  }
  .page-x-s .hero-description {
    font-size: 1em;
  }
  .page-x-s .btn-secondary {
    margin-left: 0;
    margin-top: 15px;
  }
  .page-x-s .features-grid, .page-x-s .types-grid, .page-x-s .step-list, .page-x-s .responsible-grid {
    grid-template-columns: 1fr;
  }
  .page-x-s .section-title {
    font-size: 1.8em;
  }
  .page-x-s .section-description {
    font-size: 0.95em;
  }
  .page-x-s .feature-item, .page-x-s .type-card, .page-x-s .step-item, .page-x-s .responsible-item {
    padding: 20px;
  }
  .page-x-s .feature-heading, .page-x-s .responsible-heading {
    font-size: 1.3em;
  }
  .page-x-s .type-card .page-x-s type-title {
    font-size: 1.2em;
  }
  .page-x-s .step-heading {
    font-size: 1.4em;
  }
  .page-x-s .tip-heading {
    font-size: 1.2em;
  }
  .page-x-s .faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-x-s .faq-question::after {
    right: 15px;
  }
}

@media (max-width: 480px) {
  .page-x-s .hero-title {
    font-size: 1.8em;
  }
  .page-x-s .btn-primary, .page-x-s .btn-secondary, .page-x-s .btn-final-cta {
    width: 100%;
    margin-left: 0;
    margin-top: 15px;
  }
  .page-x-s .hero-description {
    padding: 0 10px;
  }
}