/* style/x-s.css */
:root {
  --primary-color: #0A2239;
  --secondary-color: #FFD700;
  --text-light: #f9f9f9;
  --text-dark: #333333;
  --background-dark: #0A2239;
  --background-light: #ffffff;
  --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: 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-color: var(--background-dark);
  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;
}

.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: 20px;
  color: var(--secondary-color);
  line-height: 1.2;
}

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

.page-x-s .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-x-s .cta-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

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

.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 {
  margin-bottom: 1em;
  color: var(--text-dark);
}

.page-x-s ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 1em;
}

.page-x-s ul li {
  margin-bottom: 0.5em;
}

.page-x-s .content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-x-s .feature-item {
  background: var(--background-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

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

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

.page-x-s .game-card {
  background: var(--background-dark);
  color: var(--text-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-x-s .game-card h3 {
  color: var(--secondary-color);
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-x-s .game-card p {
  color: var(--text-light);
  flex-grow: 1;
}

.page-x-s .game-card ul {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  text-align: left;
}

.page-x-s .game-card ul li {
  color: var(--text-light);
  margin-bottom: 5px;
}

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

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

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

.page-x-s .step-item {
  background: var(--background-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
}

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

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

.page-x-s .button-primary:hover {
  background: #07192b;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-x-s .tip-item {
  background: var(--background-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

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

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

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

.page-x-s .promotions-section p {
  color: var(--text-light);
}

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

.page-x-s .promo-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-x-s .promo-card h3 {
  color: var(--secondary-color);
  font-size: 1.6em;
}

.page-x-s .promo-card p {
  color: var(--text-light);
}

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

.page-x-s .security-features .feature-item {
  background: var(--background-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

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

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

.page-x-s .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  overflow: hidden;
}

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

.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: 20px;
  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.3s ease, padding 0.3s ease;
  padding: 0 15px;
  background: #f9f9f9;
  color: var(--text-dark);
}

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

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

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

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-x-s .hero-content h1 {
    font-size: 2.5em;
  }
  .page-x-s h2 {
    font-size: 2em;
  }
  .page-x-s h3 {
    font-size: 1.6em;
  }
  .page-x-s .game-cards, .page-x-s .step-list, .page-x-s .tips-grid, .page-x-s .promo-cards, .page-x-s .security-features {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-x-s .hero-section {
    padding: 40px 15px;
  }
  .page-x-s .hero-content h1 {
    font-size: 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;
    margin-bottom: 30px;
  }
  .page-x-s h3 {
    font-size: 1.4em;
  }
  .page-x-s .content-image {
    margin: 30px auto;
  }
  .page-x-s .feature-grid, .page-x-s .game-cards, .page-x-s .step-list, .page-x-s .tips-grid, .page-x-s .promo-cards, .page-x-s .security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-x-s .faq-question {
    padding: 12px;
  }
  .page-x-s .faq-question h3 {
    font-size: 1.1em;
  }
  .page-x-s .faq-toggle {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .page-x-s .hero-section {
    padding: 30px 10px;
  }
  .page-x-s .hero-content h1 {
    font-size: 1.8em;
  }
  .page-x-s .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-x-s h2 {
    font-size: 1.6em;
  }
  .page-x-s h3 {
    font-size: 1.2em;
  }
  .page-x-s .container {
    padding: 15px;
  }
}