/* style/x-s.css */
:root {
  --primary-color: #0A192F;
  --secondary-color: #FFD700;
  --accent-color: #DC143C;
  --text-light: #f0f0f0;
  --text-dark: #333333;
  --background-light: #ffffff;
  --background-dark: #1a2a40;
  --card-bg: #2a3d54;
  --border-color: #44556b;
}

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

.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) 0%, #1c3350 100%);
  color: var(--text-light);
  overflow: hidden;
}

.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;
  z-index: 2;
}

.page-x-s .hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-x-s .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

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

.page-x-s .hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-x-s .hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-x-s .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--accent-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-x-s .cta-button:hover {
  background: #c21235;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

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

.page-x-s .section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  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: var(--secondary-color);
  border-radius: 2px;
}

.page-x-s .text-content {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--text-dark);
}

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

.page-x-s .text-content a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-x-s .text-content a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

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

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

/* Feature Cards */
.page-x-s .feature-card {
  background-color: var(--background-light);
  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;
  border: 1px solid var(--border-color);
}

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

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

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

.page-x-s .card-description {
  font-size: 1em;
  color: var(--text-dark);
  line-height: 1.7;
}

/* Game Cards */
.page-x-s .game-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-align: center;
  color: var(--text-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-x-s .game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.page-x-s .game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid var(--secondary-color);
}

.page-x-s .game-card .card-title {
  color: var(--secondary-color);
  font-size: 1.4em;
  margin: 20px 15px 10px;
}

.page-x-s .game-card .card-description {
  color: var(--text-light);
  font-size: 0.95em;
  padding: 0 15px 20px;
}

.page-x-s .game-card .card-description a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
}

.page-x-s .game-card .card-description a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

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

.page-x-s .step-item {
  background-color: var(--background-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  border: 1px solid #eee;
  position: relative;
  padding-top: 60px;
}

.page-x-s .step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-color);
  color: var(--text-light);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid var(--background-light);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

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

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

.page-x-s .btn-small {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-x-s .btn-small:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Promotions Section */
.page-x-s .promo-card {
  background-color: var(--background-dark);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  color: var(--text-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-x-s .promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

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

.page-x-s .promo-card .card-title {
  color: var(--secondary-color);
  font-size: 1.4em;
  margin: 20px 15px 10px;
  text-align: center;
}

.page-x-s .promo-card .card-description {
  color: var(--text-light);
  font-size: 0.95em;
  padding: 0 15px 20px;
  text-align: justify;
}

.page-x-s .promo-card .card-description a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
}

.page-x-s .promo-card .card-description a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-x-s .btn-promo {
  display: inline-block;
  padding: 12px 30px;
  background: var(--accent-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  border: none;
  cursor: pointer;
}

.page-x-s .btn-promo:hover {
  background: #c21235;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-x-s .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.page-x-s .text-block {
  flex: 2;
  min-width: 300px;
}

.page-x-s .image-block {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-x-s .content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

/* FAQ Section */
.page-x-s .faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-x-s .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--background-light);
  transition: all 0.3s ease;
}

.page-x-s .faq-item.active {
  border-color: var(--secondary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-x-s .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

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

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

.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;
  color: var(--text-dark);
}

.page-x-s .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
}

.page-x-s .answer-text {
  margin: 0;
  font-size: 1em;
  line-height: 1.7;
}

.page-x-s .answer-text a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
}

.page-x-s .answer-text a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

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

.page-x-s .article-card {
  background-color: var(--background-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

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

.page-x-s .article-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-x-s .article-content {
  padding: 20px;
}

.page-x-s .article-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1.4;
}

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

.page-x-s .article-title a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.page-x-s .article-excerpt {
  font-size: 0.95em;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-x-s .article-excerpt a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
}

.page-x-s .article-excerpt a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-x-s .read-more {
  display: inline-block;
  padding: 8px 20px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-x-s .read-more:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-x-s .hero-title {
    font-size: 3em;
  }

  .page-x-s .hero-description {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-x-s .hero-section {
    padding: 40px 15px;
  }

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

  .page-x-s .hero-description {
    font-size: 1.1em;
  }

  .page-x-s .cta-button {
    padding: 15px 35px;
    font-size: 1.1em;
  }

  .page-x-s section {
    padding: 40px 0;
  }

  .page-x-s .section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-x-s .text-content {
    font-size: 1em;
  }

  .page-x-s .grid-2-cols, .page-x-s .grid-3-cols, .page-x-s .step-by-step, .page-x-s .article-grid {
    grid-template-columns: 1fr;
  }

  .page-x-s .feature-card, .page-x-s .game-card, .page-x-s .step-item, .page-x-s .promo-card, .page-x-s .article-card {
    margin-bottom: 20px;
  }

  .page-x-s .content-wrapper {
    flex-direction: column;
  }

  .page-x-s .sub-title {
    font-size: 1.5em;
  }

  .page-x-s .faq-question {
    padding: 15px 20px;
  }

  .page-x-s .question-title {
    font-size: 1.1em;
  }

  .page-x-s .faq-toggle {
    font-size: 1.8em;
  }

  .page-x-s .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-x-s .hero-title {
    font-size: 2em;
  }

  .page-x-s .hero-description {
    font-size: 0.95em;
  }

  .page-x-s .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-x-s .section-title {
    font-size: 1.8em;
  }

  .page-x-s .feature-icon {
    width: 80px;
    height: 80px;
  }

  .page-x-s .card-title {
    font-size: 1.3em;
  }

  .page-x-s .game-image, .page-x-s .promo-image, .page-x-s .article-image {
    height: 180px;
  }

  .page-x-s .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
    top: -20px;
  }

  .page-x-s .btn-small, .page-x-s .btn-promo, .page-x-s .read-more {
    padding: 8px 18px;
    font-size: 0.85em;
  }

  .page-x-s .question-title {
    font-size: 1em;
  }

  .page-x-s .faq-toggle {
    font-size: 1.5em;
  }
}