/* style/x-s.css */
:root {
  --primary-color: #3A0CA3;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f4f4;
  --bg-dark: #2c087c;
  --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;
}

.page-x-s section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-x-s h1,
.page-x-s h2,
.page-x-s h3 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-x-s h1 {
  font-size: 3.2em;
  color: var(--text-light);
}

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

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

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

.page-x-s ul,
.page-x-s ol {
  margin-bottom: 20px;
  padding-left: 25px;
}

.page-x-s ul li,
.page-x-s ol li {
  margin-bottom: 10px;
}

.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: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

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

.page-x-s .btn-small {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 25px;
  font-size: 0.9em;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  text-align: center;
}

.page-x-s .btn-small:hover {
  background: #5a21e0; /* Lighter primary */
  transform: translateY(-1px);
}

/* 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: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
  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: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.page-x-s .hero-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 20px auto 0;
  color: #e0e0e0;
}

/* Introduction Section */
.page-x-s .introduction-section {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}

/* Game Types Section */
.page-x-s .game-types-section {
  background: var(--text-light);
  border-bottom: 1px solid var(--border-color);
}

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

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

.page-x-s .game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-x-s .game-card .card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.page-x-s .game-card h3 {
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 10px;
  padding: 0 15px;
}

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

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

.page-x-s .game-card p {
  font-size: 0.95em;
  color: #555555;
  padding: 0 20px;
  text-align: center;
}

/* Guide Section */
.page-x-s .guide-section {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-color) 100%);
  color: var(--text-light);
}

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

.page-x-s .guide-section p {
  color: #e0e0e0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
}

.page-x-s .guide-section ol {
  list-style: decimal;
  color: #e0e0e0;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-x-s .guide-section ol li {
  margin-bottom: 15px;
  line-height: 1.8;
  font-size: 1.1em;
}

.page-x-s .guide-section ol li strong {
  color: var(--secondary-color);
}

/* Benefits Section */
.page-x-s .benefits-section {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}

.page-x-s .benefits-section ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-x-s .benefits-section ul li {
  background: #ffffff;
  border-left: 5px solid var(--primary-color);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-size: 1.05em;
}

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

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

/* Strategy Section */
.page-x-s .strategy-section {
  background: var(--text-light);
  border-bottom: 1px solid var(--border-color);
}

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

.page-x-s .strategy-item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

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

.page-x-s .strategy-item .strategy-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.page-x-s .strategy-item h3 {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-x-s .strategy-item p {
  font-size: 0.95em;
  color: #555555;
  padding: 0 20px;
  text-align: center;
}

/* Promotions Section */
.page-x-s .promotions-section {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}

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

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

.page-x-s .promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-x-s .promo-card .promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.page-x-s .promo-card h3 {
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-x-s .promo-card p {
  font-size: 0.95em;
  color: #555555;
  padding: 0 20px;
  text-align: center;
}

/* Security & Support Section */
.page-x-s .security-support-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
  color: var(--text-light);
  text-align: center;
}

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

.page-x-s .security-support-section h3 {
  color: var(--text-light);
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-x-s .security-support-section p {
  color: #e0e0e0;
  max-width: 900px;
  margin: 0 auto 20px;
  text-align: center;
}

/* FAQ Section */
.page-x-s .faq-section {
  background: var(--text-light);
  border-bottom: 1px solid var(--border-color);
}

.page-x-s .faq-list {
  margin-top: 40px;
}

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

.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, color 0.3s ease;
}

.page-x-s .faq-question:hover {
  background: var(--bg-light);
  color: var(--primary-color);
}

.page-x-s .faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: var(--primary-color);
  text-align: left;
  flex-grow: 1;
}

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

.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 contain content */
  padding: 20px 25px;
  border: 1px solid var(--border-color);
  border-top: none;
}

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

.page-x-s .faq-answer p {
  margin: 0;
  color: #444444;
  text-align: left;
}

/* Blog Section */
.page-x-s .blog-section {
  background: var(--bg-dark);
  color: var(--text-light);
}

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

.page-x-s .blog-section p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
  color: #e0e0e0;
}

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

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

.page-x-s .blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-x-s .blog-card .blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.page-x-s .blog-card h3 {
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 10px;
  padding: 0 15px;
}

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

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

.page-x-s .blog-card p {
  font-size: 0.95em;
  color: #555555;
  padding: 0 20px;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-x-s h1 {
    font-size: 2.8em;
  }
  .page-x-s h2 {
    font-size: 2.2em;
  }
  .page-x-s .hero-content p {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-x-s section {
    padding: 40px 0;
  }
  .page-x-s h1 {
    font-size: 2.5em;
  }
  .page-x-s h2 {
    font-size: 2em;
  }
  .page-x-s h3 {
    font-size: 1.6em;
  }
  .page-x-s .hero-section {
    padding: 60px 15px;
  }
  .page-x-s .hero-image img {
    border-radius: 8px;
  }
  .page-x-s .hero-content p {
    font-size: 1em;
    margin-top: 15px;
  }
  .page-x-s .game-cards,
  .page-x-s .strategy-grid,
  .page-x-s .promo-grid,
  .page-x-s .blog-articles {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-x-s .benefits-section ul {
    grid-template-columns: 1fr;
  }
  .page-x-s .guide-section ol {
    padding-left: 20px;
  }
  .page-x-s .guide-section ol li {
    font-size: 1em;
  }
  .page-x-s .faq-question {
    padding: 15px 20px;
  }
  .page-x-s .faq-question h3 {
    font-size: 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 h1 {
    font-size: 2em;
  }
  .page-x-s h2 {
    font-size: 1.8em;
  }
  .page-x-s h3 {
    font-size: 1.4em;
  }
  .page-x-s .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-x-s .hero-content p {
    font-size: 0.95em;
  }
  .page-x-s .game-card .card-image,
  .page-x-s .strategy-item .strategy-image,
  .page-x-s .promo-card .promo-image,
  .page-x-s .blog-card .blog-image {
    height: 180px;
  }
  .page-x-s .security-support-section h3 {
    font-size: 1.6em;
  }
}