/* 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;
}

/* Hero Section */
.page-x-s .hero-section {
  background: linear-gradient(135deg, #FF4500, #1E90FF);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-x-s .hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  animation: page-x-s-pulse 15s infinite ease-in-out;
}

@keyframes page-x-s-pulse {
  0% { transform: scale(0.5) rotate(0deg); opacity: 0.7; }
  50% { transform: scale(1.2) rotate(180deg); opacity: 0.3; }
  100% { transform: scale(0.5) rotate(360deg); opacity: 0.7; }
}

.page-x-s .hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
  font-weight: bold;
}

.page-x-s .hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.page-x-s .hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

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

.page-x-s .btn-primary {
  background-color: #FF4500;
  color: #fff;
  border: 2px solid #FF4500;
}

.page-x-s .btn-primary:hover {
  background-color: #e63e00;
  border-color: #e63e00;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-x-s .btn-secondary {
  background-color: #1E90FF;
  color: #fff;
  border: 2px solid #1E90FF;
}

.page-x-s .btn-secondary:hover {
  background-color: #1a7ae6;
  border-color: #1a7ae6;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-x-s .btn-link:hover {
  color: #FF4500;
  text-decoration: none;
}

/* General Section Styling */
.page-x-s section {
  padding: 60px 0;
}

.page-x-s .section-title {
  font-size: 2.5em;
  color: #FF4500;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

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

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

/* Why Choose Us Section */
.page-x-s .why-choose-us {
  background-color: #f9f9f9;
}

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

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

.page-x-s .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

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

.page-x-s .feature-title {
  font-size: 1.5em;
  color: #FF4500;
  margin-bottom: 15px;
}

.page-x-s .feature-text {
  font-size: 1em;
  color: #666;
  text-align: left;
}

.page-x-s .feature-list {
  list-style-type: disc;
  text-align: left;
  padding-left: 20px;
  margin-top: 15px;
  color: #666;
}

/* Lottery Types Section */
.page-x-s .lottery-types {
  background-color: #fff;
}

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

.page-x-s .type-item {
  background-color: #fefefe;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

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

.page-x-s .type-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-x-s .type-title {
  font-size: 1.8em;
  color: #1E90FF;
  padding: 20px;
  margin-bottom: 0;
}

.page-x-s .type-description {
  font-size: 1em;
  color: #555;
  padding: 0 20px 20px;
}

/* How To Play Section */
.page-x-s .how-to-play {
  background-color: #f2f7ff;
}

.page-x-s .step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 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);
  text-align: center;
}

.page-x-s .step-icon {
  width: 90px;
  height: 90px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

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

/* Tips Section */
.page-x-s .tips-section {
  background-color: #fff;
}

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

.page-x-s .tip-item {
  background-color: #fefefe;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-x-s .tip-title {
  font-size: 1.4em;
  color: #1E90FF;
  margin-bottom: 15px;
}

.page-x-s .tip-text {
  font-size: 0.95em;
  color: #666;
}

/* App Download Section */
.page-x-s .app-download-section {
  background: linear-gradient(to right, #1E90FF, #62b1ff);
  color: #fff;
  padding: 80px 0;
}

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

.page-x-s .app-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-x-s .app-download-section .section-title {
  color: #fff;
}

.page-x-s .app-download-section .section-title::after {
  background-color: #FF4500;
}

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

.page-x-s .app-benefits {
  list-style-type: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-x-s .app-benefits li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23FF4500" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #fff;
  font-size: 1.1em;
}

.page-x-s .app-image-wrapper {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
  text-align: center;
}

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

/* Conclusion Section */
.page-x-s .conclusion-section {
  background-color: #f9f9f9;
  text-align: center;
}

.page-x-s .conclusion-section .description {
  color: #555;
}

.page-x-s .call-to-action-btn {
  margin-top: 30px;
  font-size: 1.2em;
  padding: 18px 40px;
  border-radius: 50px;
  background-color: #FF4500;
  border-color: #FF4500;
}

.page-x-s .call-to-action-btn:hover {
  background-color: #e63e00;
  border-color: #e63e00;
}

/* Keyword highlighting */
.page-x-s .keyword {
  color: #FF4500;
  font-weight: bold;
}

/* 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 .feature-grid, .page-x-s .type-grid, .page-x-s .step-grid, .page-x-s .tips-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-x-s .app-download-section .container {
    flex-direction: column;
    text-align: center;
  }
  .page-x-s .app-content {
    max-width: 100%;
  }
  .page-x-s .app-download-section .description {
    text-align: center;
  }
  .page-x-s .app-benefits li {
    background-position: center left;
    text-align: left;
    padding-left: 30px;
  }
}

@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 .feature-item, .page-x-s .type-item, .page-x-s .step-item, .page-x-s .tip-item {
    padding: 20px;
  }
  .page-x-s .feature-icon, .page-x-s .step-icon {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .page-x-s .hero-title {
    font-size: 1.8em;
  }
  .page-x-s .hero-description {
    font-size: 1em;
  }
  .page-x-s .btn {
    padding: 12px 20px;
    font-size: 1em;
    width: 90%;
  }
  .page-x-s .section-title {
    font-size: 1.5em;
  }
  .page-x-s .feature-grid, .page-x-s .type-grid, .page-x-s .step-grid, .page-x-s .tips-grid {
    grid-template-columns: 1fr;
  }
  .page-x-s .app-benefits li {
    font-size: 1em;
  }
}