/* style/x-s.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Dark Blue */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f5f5f5;
  --background-dark: #1a1a2e;
}

.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: 20px;
}

.page-x-s h1, .page-x-s h2, .page-x-s h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-x-s h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-x-s h3 {
  font-size: 1.6em;
}

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

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

.page-x-s .cta-button:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* 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(--secondary-color) 0%, #2a2a72 50%, var(--primary-color) 100%); /* Adjusted gradient for better brand feel */
  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 8px 20px 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 {
  color: var(--text-light);
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 25px auto;
}

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

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

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

.page-x-s .feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-x-s .feature-icon {
  width: 250px; /* Adjusted to meet minimum 200x200px */
  height: 200px; /* Adjusted to meet minimum 200x200px */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.page-x-s .feature-item h3 {
  color: var(--secondary-color);
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-x-s .feature-item p {
  font-size: 1em;
  color: #555555;
}

/* Games Section */
.page-x-s .games-section {
  padding: 60px 0;
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-x-s .games-section h2 {
  color: var(--primary-color);
}

.page-x-s .games-section p {
  color: var(--text-light);
  text-align: center;
  margin-bottom: 40px;
}

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

.page-x-s .game-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-x-s .card-image {
  width: 100%;
  height: 250px; /* Ensuring minimum size for card images */
  object-fit: cover;
  display: block;
}

.page-x-s .card-content {
  padding: 25px;
  text-align: center;
}

.page-x-s .card-content h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-bottom: 10px;
}

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

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

.page-x-s .card-button:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

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

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

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

.page-x-s .step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  padding-top: 60px; /* Space for step number */
}

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

.page-x-s .step-item h3 {
  color: var(--secondary-color);
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-x-s .step-item p {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-x-s .step-button {
  display: inline-block;
  padding: 8px 18px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.95em;
  transition: all 0.3s ease;
}