/* style/x-s.css */
:root {
  --primary-color: #0A2342;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --bg-dark: #0A2342;
  --accent-gold-light: #FFEB3B;
  --border-color: #e0e0e0;
}

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

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

.page-x-s .main-title,
.page-x-s .section-title {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5em;
  font-weight: bold;
}

.page-x-s .section-title .page-x-s link-inline {
  color: inherit;
  text-decoration: none;
}

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

.page-x-s .text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-x-s .link-inline {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-x-s .link-inline:hover {
  color: var(--secondary-color);
}

.page-x-s .cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-x-s .cta-button:hover {
  background-color: var(--accent-gold-light);
  transform: translateY(-2px);
}

/* Hero Section */
.page-x-s .hero-section {
  background: linear-gradient(135deg, var(--bg-dark), #1a3a60);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-x-s .hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-x-s .hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-x-s .hero-content .main-title {
  color: var(--text-light);
  font-size: 3.5em;
  margin-bottom: 20px;
}

.page-x-s .hero-content .main-title .page-x-s link-inline {
  color: var(--secondary-color);
}

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

.page-x-s .hero-image-wrapper {
  width: 100%;
  max-width: 900px;
}

.page-x-s .hero-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

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

.page-x-s section:nth-of-type(odd) {
  background-color: var(--bg-light);
}

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

/* Grid Layouts */
.page-x-s grid-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-x-s grid-3-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Card Styles */
.page-x-s feature-card,
.page-x-s promo-card,
.page-x-s game-card,
.page-x-s info-block {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards in a row have equal height */
  display: flex;
  flex-direction: column;
}

.page-x-s feature-card:hover,
.page-x-s promo-card:hover,
.page-x-s game-card:hover,
.page-x-s info-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-x-s card-img,
.page-x-s block-img,
.page-x-s step-img {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

.page-x-s card-title,
.page-x-s block-title,
.page-x-s step-title {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-bottom: 15px;
  flex-grow: 1; /* Allow title to take available space */
}

.page-x-s card-title .page-x-s link-card-title {
  color: inherit;
  text-decoration: none;
}

.page-x-s card-title .page-x-s link-card-title:hover {
  color: var(--secondary-color);
}

.page-x-s card-description,
.page-x-s block-description,
.page-x-s step-description {
  font-size: 1em;
  color: var(--text-dark);
}

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

.page-x-s step-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-x-s bullet-list {
  list-style: none;
  padding: 0;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-x-s bullet-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-x-s bullet-list li::before {
  content: '•';
  color: var(--secondary-color);
  font-size: 1.5em;
  position: absolute;
  left: 0;
  top: -2px;
}

/* Strategy Section */
.page-x-s strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-x-s strategy-list li {
  background-color: #ffffff;
  border-left: 5px solid var(--secondary-color);
  margin-bottom: 20px;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.page-x-s strategy-list li:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.page-x-s strategy-list .page-x-s list-title {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-x-s strategy-list .page-x-s list-description {
  font-size: 1em;
  color: var(--text-dark);
}

/* Security & Support Section */
.page-x-s info-block {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-x-s info-block .page-x-s block-img {
  max-width: 300px;
  height: 200px;
}

/* 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: 8px;
  overflow: hidden;
}

.page-x-s faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  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;
  color: var(--primary-color);
  font-size: 1.2em;
}

.page-x-s faq-question .page-x-s link-inline {
  color: inherit;
  text-decoration: none;
}

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

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

.page-x-s faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background: var(--bg-light);
  color: var(--text-dark);
}

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

.page-x-s faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* Conclusion Section */
.page-x-s section-conclusion {
  background: linear-gradient(135deg, #1a3a60, var(--bg-dark));
  color: var(--text-light);
  text-align: center;
}

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

.page-x-s section-conclusion .page-x-s text-content {
  color: #e0e0e0;
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-x-s section-conclusion .page-x-s cta-button {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-x-s section-conclusion .page-x-s cta-button:hover {
  background-color: var(--accent-gold-light);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-x-s .hero-content .main-title {
    font-size: 2.8em;
  }
  .page-x-s .hero-description {
    font-size: 1.1em;
  }
  .page-x-s .grid-3-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .page-x-s .main-title,
  .page-x-s .section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-x-s .sub-section-title {
    font-size: 1.5em;
  }
  .page-x-s .hero-section .container {
    flex-direction: column-reverse; /* Image on top for mobile */
  }
  .page-x-s .hero-content .main-title {
    font-size: 2.2em;
  }
  .page-x-s .hero-description {
    font-size: 1em;
  }
  .page-x-s .grid-2-cols,
  .page-x-s .grid-3-cols {
    grid-template-columns: 1fr;
  }
  .page-x-s .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-x-s .card-title,
  .page-x-s .block-title,
  .page-x-s .step-title {
    font-size: 1.3em;
  }
  .page-x-s .card-img, .page-x-s .block-img, .page-x-s .step-img {
    height: 200px;
  }
  .page-x-s faq-question {
    padding: 12px 15px;
  }
  .page-x-s faq-question h3 {
    font-size: 1.1em;
  }
  .page-x-s faq-toggle {
    font-size: 20px;
  }
  .page-x-s faq-answer {
    padding: 0 15px;
  }
  .page-x-s faq-item.active .page-x-s faq-answer {
    padding: 10px 15px;
  }
  .page-x-s bullet-list li {
    font-size: 1em;
  }
  .page-x-s bullet-list li::before {
    font-size: 1.2em;
    top: 0;
  }
}

@media (max-width: 480px) {
  .page-x-s .hero-content .main-title {
    font-size: 1.8em;
  }
  .page-x-s .section-title {
    font-size: 1.8em;
  }
  .page-x-s .hero-section {
    padding: 50px 0;
  }
  .page-x-s .text-content {
    font-size: 0.95em;
  }
  .page-x-s .card-img, .page-x-s .block-img, .page-x-s .step-img {
    height: 180px;
  }
}