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

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

.page-x-s section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.page-x-s h1,
.page-x-s h2,
.page-x-s h3 {
  color: #007bff; /* Primary brand color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-x-s h1 {
  font-size: 2.8em;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-x-s h2 {
  font-size: 2.2em;
}

.page-x-s h3 {
  font-size: 1.6em;
  color: #333333;
  text-align: left;
}

.page-x-s p {
  margin-bottom: 15px;
  text-align: justify;
}

.page-x-s .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #ffc107; /* Secondary brand color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-x-s .cta-button:hover {
  background: #e0a800; /* Darker secondary color for hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-x-s .btn-small {
  display: inline-block;
  padding: 10px 25px;
  background: #007bff; /* Primary brand color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-x-s .btn-small:hover {
  background: #0056b3; /* Darker primary color for hover */
}

.page-x-s .internal-link {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

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

/* 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, #007bff, #0056b3); /* Darker gradient for hero background */
  color: #ffffff;
  margin-bottom: 0; /* Remove margin-bottom for hero */
  box-shadow: none;
}

.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;
}

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

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

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

.page-x-s .section-game-types .game-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-x-s .section-game-types .card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-x-s .section-game-types .game-card h3 {
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
  padding: 0 15px;
  text-align: center;
}

.page-x-s .section-game-types .game-card h3 a {
  color: #007bff;
  text-decoration: none;
}

.page-x-s .section-game-types .game-card h3 a:hover {
  text-decoration: underline;
}

.page-x-s .section-game-types .game-card p {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
}

/* How To Play Section */
.page-x-s .section-how-to-play ol {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
}

.page-x-s .section-how-to-play ol li {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #333333;
}

.page-x-s .section-how-to-play ol li strong {
  color: #007bff;
}

/* Tips Section */
.page-x-s .section-tips ul {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 30px;
}

.page-x-s .section-tips ul li {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #333333;
}

.page-x-s .section-tips ul li strong {
  color: #007bff;
}

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

.page-x-s .promo-item {
  background-color: #fefefe;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-x-s .promo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-x-s .promo-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-x-s .promo-item h3 {
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 10px;
  padding: 0 15px;
  color: #007bff;
}

.page-x-s .promo-item p {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-x-s .promo-note {
  text-align: center;
  font-style: italic;
  color: #666666;
  margin-top: 40px;
}

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

.page-x-s .feature-item {
  background-color: #fefefe;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-x-s .feature-item h3 {
  color: #007bff;
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-x-s .feature-item p {
  color: #555555;
  font-size: 0.95em;
  text-align: center;
}

/* FAQ Section */
.page-x-s .faq-list {
  margin-top: 30px;
}

.page-x-s .faq-item {
  margin-bottom: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
}

.page-x-s .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #ffffff;
  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.15em;
  color: #333333;
  text-align: left;
}

.page-x-s .faq-toggle {
  font-size: 20px;
  font-weight: bold;
  color: #007bff;
  transition: transform 0.3s ease;
}

.page-x-s .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 15px;
  background: #f9f9f9;
  color: #555555;
}

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

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

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

.page-x-s .news-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-x-s .news-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-x-s .news-card h3 {
  font-size: 1.3em;
  margin-top: 0;
  margin-bottom: 10px;
  padding: 0 15px;
  text-align: left;
}

.page-x-s .news-card h3 a {
  color: #007bff;
  text-decoration: none;
}

.page-x-s .news-card h3 a:hover {
  text-decoration: underline;
}

.page-x-s .news-card p {
  font-size: 0.9em;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-x-s h1 {
    font-size: 2.4em;
  }
  .page-x-s h2 {
    font-size: 1.8em;
  }
  .page-x-s .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-x-s section {
    padding: 40px 0;
  }
  .page-x-s h1 {
    font-size: 2em;
  }
  .page-x-s h2 {
    font-size: 1.6em;
  }
  .page-x-s h3 {
    font-size: 1.4em;
  }
  .page-x-s .hero-section {
    padding: 40px 15px;
  }
  .page-x-s .hero-image img {
    border-radius: 4px;
  }
  .page-x-s .game-cards, .page-x-s .promo-grid, .page-x-s .safety-features, .page-x-s .news-grid {
    grid-template-columns: 1fr;
  }
  .page-x-s .faq-question {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-x-s .faq-question h3 {
    margin-bottom: 8px;
  }
  .page-x-s .faq-toggle {
    align-self: flex-end;
    margin-top: -30px;
  }
}

@media (max-width: 480px) {
  .page-x-s h1 {
    font-size: 1.8em;
  }
  .page-x-s h2 {
    font-size: 1.4em;
  }
  .page-x-s .cta-button {
    padding: 10px 25px;
    font-size: 14px;
  }
  .page-x-s .btn-small {
    padding: 8px 20px;
    font-size: 13px;
  }
  .page-x-s .hero-content p {
    font-size: 1em;
  }
}