/* style/x-s.css */
:root {
  --primary-color: #003366; /* Deep Blue */
  --secondary-color: #FFCC00; /* Amber/Gold */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #002244;
  --border-color: #e0e0e0;
}

.page-x-s {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

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

/* Hero Section */
.page-x-s .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--background-dark)); /* Darker gradient for hero */
  color: var(--text-light);
}

.page-x-s .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-x-s .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-x-s .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-x-s .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-x-s .hero-content h1 {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-x-s .hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-x-s .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-x-s .cta-button:hover {
  background: #e6b800; /* Slightly darker amber */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-x-s section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: var(--background-light);
}

.page-x-s section:nth-of-type(even) {
  background-color: #fcfcfc;
}

.page-x-s h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-x-s h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-x-s h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-x-s p {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-x-s strong {
  color: var(--primary-color);
}

.page-x-s a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-x-s a:hover {
  color: var(--secondary-color);
}

.page-x-s .secondary-button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.0em;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-x-s .secondary-button:hover {
  background: #004d99; /* Lighter primary */
  transform: translateY(-2px);
}

/* Lottery Types Section */
.page-x-s .lottery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-x-s .lottery-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-x-s .lottery-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-x-s .lottery-card .card-image {
  width: 100%;
  height: 200px; /* Ensure minimum height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-x-s .lottery-card h3 {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-x-s .lottery-card h3 a {
  color: var(--primary-color);
}

.page-x-s .read-more-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--secondary-color);
  font-weight: bold;
}

.page-x-s .read-more-link:hover {
  text-decoration: underline;
}

/* How To Play Section */
.page-x-s .step-by-step-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-x-s .guide-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.page-x-s .guide-item .guide-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-x-s .guide-item h3 {
  font-size: 1.5em;
  color: var(--primary-color);
}

.page-x-s .guide-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 5px;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.page-x-s .guide-button:hover {
  background: #e6b800;
}

/* Strategy Tips Section */
.page-x-s .strategy-tips-section ul {
  list-style: disc inside;
  max-width: 800px;
  margin: 0 auto 30px;
  padding-left: 20px;
}

.page-x-s .strategy-tips-section ul li {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: var(--text-dark);
}

.page-x-s .strategy-tips-section ul li strong {
  color: var(--primary-color);
}

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

.page-x-s .promotion-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-x-s .promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-x-s .promotion-card .card-image {
  width: 100%;
  height: 200px; /* Ensure minimum height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-x-s .promotion-card h3 {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-x-s .promo-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  border-radius: 5px;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.page-x-s .promo-button:hover {
  background: #004d99;
}

/* Customer Support Section */
.page-x-s .customer-support-section ul {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 20px auto;
  text-align: center;
}

.page-x-s .customer-support-section ul li {
  background: #ffffff;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: var(--primary-color);
}

/* FAQ Section */
.page-x-s .faq-section {
  background-color: var(--background-light);
}

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

.page-x-s .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-x-s .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-x-s .faq-question:hover {
  background: #f5f5f5;
}

.page-x-s .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-color);
}

.page-x-s .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-x-s .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.page-x-s .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
}

.page-x-s .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to show content */
  padding: 20px 25px;
  border: 1px solid var(--border-color);
  border-top: none;
}

.page-x-s .faq-answer p {
  margin: 0;
  font-size: 1em;
  color: var(--text-dark);
}

/* Conclusion Section */
.page-x-s .conclusion-section {
  text-align: center;
  background: linear-gradient(135deg, var(--background-dark), var(--primary-color));
  color: var(--text-light);
}

.page-x-s .conclusion-section h2 {
  color: var(--secondary-color);
}

.page-x-s .conclusion-section p {
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 25px;
}

.page-x-s .conclusion-section a {
  color: var(--secondary-color);
}

.page-x-s .conclusion-section a:hover {
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-x-s .hero-content h1 {
    font-size: 2.8em;
  }
  .page-x-s h2 {
    font-size: 2em;
  }
  .page-x-s h3 {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-x-s .hero-section {
    padding: 40px 15px;
  }
  .page-x-s .hero-content h1 {
    font-size: 2.2em;
  }
  .page-x-s .hero-content p {
    font-size: 1em;
  }
  .page-x-s .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-x-s section {
    padding: 40px 0;
  }
  .page-x-s h2 {
    font-size: 1.8em;
  }
  .page-x-s .lottery-grid,
  .page-x-s .step-by-step-guide,
  .page-x-s .promotion-grid {
    grid-template-columns: 1fr;
  }
  .page-x-s .lottery-card,
  .page-x-s .guide-item,
  .page-x-s .promotion-card {
    padding: 20px;
  }
  .page-x-s .faq-question {
    padding: 15px 20px;
  }
  .page-x-s .faq-question h3 {
    font-size: 1.1em;
  }
  .page-x-s .faq-answer {
    padding: 0 20px;
  }
  .page-x-s .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-x-s .hero-content h1 {
    font-size: 1.8em;
  }
  .page-x-s h2 {
    font-size: 1.6em;
  }
  .page-x-s h3 {
    font-size: 1.3em;
  }
  .page-x-s p {
    font-size: 0.95em;
  }
  .page-x-s .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-x-s .guide-icon {
    width: 100px;
    height: 100px;
  }
}