.page-x-s {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

.page-x-s section {
  padding: 60px 0;
  text-align: center;
}

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

.page-x-s h1, .page-x-s h2, .page-x-s h3 {
  color: #4A148C;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-x-s h1 {
  font-size: 3.2em;
  margin-top: 0;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-x-s h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
}

.page-x-s h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #4A148C;
}

.page-x-s p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #555555;
}

.page-x-s .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #4A148C 0%, #6A1B9A 100%); /* Adjusted for better text contrast */
  color: #ffffff;
}

.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: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-x-s .hero-content p {
  color: #e0e0e0;
  font-size: 1.3em;
  margin-bottom: 40px;
}

.page-x-s .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: #FFD700;
  color: #4A148C;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-x-s .cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-x-s .cta-section {
  margin-top: 40px;
  padding: 40px 20px;
  background-color: #f0f0f0;
  border-radius: 10px;
}

.page-x-s .cta-section p {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #4A148C;
  font-weight: bold;
}

.page-x-s .features-grid, .page-x-s .game-cards-grid, .page-x-s .tips-grid, .page-x-s .promo-cards-grid, .page-x-s .security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-x-s .feature-item, .page-x-s .game-card, .page-x-s .tip-item, .page-x-s .promo-card, .page-x-s .security-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-x-s .feature-item:hover, .page-x-s .game-card:hover, .page-x-s .tip-item:hover, .page-x-s .promo-card:hover, .page-x-s .security-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-x-s .feature-item img, .page-x-s .game-card img, .page-x-s .tip-item img, .page-x-s .promo-card img, .page-x-s .security-item img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-x-s .game-card h3, .page-x-s .promo-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.page-x-s .game-card h3 a, .page-x-s .promo-card h3 a {
  color: #4A148C;
  text-decoration: none;
  font-size: 1.8em;
  transition: color 0.3s ease;
}

.page-x-s .game-card h3 a:hover, .page-x-s .promo-card h3 a:hover {
  color: #FFD700;
}

.page-x-s .card-button {
  display: inline-block;
  padding: 10px 25px;
  background: #FFD700;
  color: #4A148C;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: auto;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-x-s .card-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
}

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

.page-x-s .step-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 280px;
}

.page-x-s .step-number {
  width: 60px;
  height: 60px;
  background-color: #4A148C;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-x-s .step-button {
  display: inline-block;
  padding: 10px 20px;
  background: #FFD700;
  color: #4A148C;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: auto;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-x-s .step-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
}

.page-x-s .large-button {
  padding: 20px 50px;
  font-size: 1.4em;
  margin: 15px;
}

.page-x-s .secondary-button {
  background: #4A148C;
  color: #ffffff;
}

.page-x-s .secondary-button:hover {
  background: #6A1B9A;
  color: #ffffff;
}

/* FAQ styles */
.page-x-s .faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: 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 #e0e0e0;
  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.25em;
  color: #4A148C;
}

.page-x-s .faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
  line-height: 1;
}

.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-top: none;
  border-radius: 0 0 8px 8px;
}

.page-x-s .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to accommodate content */
  padding: 25px;
  border: 1px solid #e0e0e0;
  border-top: none;
}

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

.page-x-s .faq-answer p {
  margin: 0;
  color: #555555;
  font-size: 1.05em;
  text-align: left;
}

.page-x-s .faq-answer p a {
  color: #4A148C;
  text-decoration: underline;
}

.page-x-s .faq-answer p a:hover {
  color: #FFD700;
}

/* Responsive design */
@media (max-width: 992px) {
  .page-x-s h1 {
    font-size: 2.8em;
  }
  .page-x-s h2 {
    font-size: 2em;
  }
  .page-x-s h3 {
    font-size: 1.5em;
  }
  .page-x-s .hero-section {
    padding: 60px 15px;
  }
  .page-x-s .hero-content p {
    font-size: 1.1em;
  }
  .page-x-s .cta-button {
    padding: 15px 35px;
    font-size: 1.1em;
  }
  .page-x-s .features-grid, .page-x-s .game-cards-grid, .page-x-s .tips-grid, .page-x-s .promo-cards-grid, .page-x-s .security-features, .page-x-s .step-by-step {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  .page-x-s .feature-item, .page-x-s .game-card, .page-x-s .tip-item, .page-x-s .promo-card, .page-x-s .security-item, .page-x-s .step-item {
    padding: 25px;
  }
  .page-x-s .feature-item img, .page-x-s .game-card img, .page-x-s .tip-item img, .page-x-s .promo-card img, .page-x-s .security-item img {
    width: 120px;
    height: 120px;
  }
  .page-x-s .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .page-x-s .large-button {
    padding: 15px 35px;
    font-size: 1.2em;
  }
  .page-x-s .faq-question h3 {
    font-size: 1.1em;
  }
  .page-x-s .faq-toggle {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-x-s h1 {
    font-size: 2.2em;
  }
  .page-x-s h2 {
    font-size: 1.8em;
  }
  .page-x-s h3 {
    font-size: 1.3em;
  }
  .page-x-s p {
    font-size: 1em;
  }
  .page-x-s .hero-section {
    padding: 40px 15px;
  }
  .page-x-s .hero-image img {
    border-radius: 8px;
  }
  .page-x-s .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-x-s .features-grid, .page-x-s .game-cards-grid, .page-x-s .tips-grid, .page-x-s .promo-cards-grid, .page-x-s .security-features, .page-x-s .step-by-step {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .page-x-s .feature-item, .page-x-s .game-card, .page-x-s .tip-item, .page-x-s .promo-card, .page-x-s .security-item, .page-x-s .step-item {
    padding: 20px;
  }
  .page-x-s .feature-item img, .page-x-s .game-card img, .page-x-s .tip-item img, .page-x-s .promo-card img, .page-x-s .security-item img {
    width: 100px;
    height: 100px;
  }
  .page-x-s .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }
  .page-x-s .large-button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 10px;
  }
  .page-x-s .faq-question {
    padding: 15px 20px;
  }
  .page-x-s .faq-question h3 {
    font-size: 1em;
  }
  .page-x-s .faq-toggle {
    font-size: 1.5em;
  }
  .page-x-s .faq-answer {
    padding: 0 20px;
  }
  .page-x-s .faq-item.active .faq-answer {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-x-s h1 {
    font-size: 1.8em;
  }
  .page-x-s h2 {
    font-size: 1.5em;
  }
  .page-x-s h3 {
    font-size: 1.2em;
  }
  .page-x-s .hero-content p {
    font-size: 0.95em;
  }
  .page-x-s .cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-x-s .large-button {
    display: block;
    width: calc(100% - 20px);
    margin: 10px auto;
  }
  .page-x-s .faq-question h3 {
    font-size: 0.9em;
  }
  .page-x-s .faq-toggle {
    font-size: 1.3em;
  }
  .page-x-s .faq-answer p {
    font-size: 0.9em;
  }
}