/* style/xo-so.css */
.page-xo-so {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Light gray for general text on dark background */
  background-color: #1a1a1a; /* Dark background */
  line-height: 1.6;
}

.page-xo-so__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-xo-so__hero {
  background: linear-gradient(135deg, #8B0000, #FFD700);
  padding: 100px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.page-xo-so__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  z-index: 1;
}

.page-xo-so__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-xo-so__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-xo-so__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #eee;
}

.page-xo-so__hero-btn {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-xo-so__hero-btn:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-xo-so__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
}

.page-xo-so__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-xo-so__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  position: relative;
}

.page-xo-so__section-title .highlight {
  color: #FFD700;
}

.page-xo-so__text-content {
  font-size: 1.1em;
  color: #ccc;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-xo-so__about, .page-xo-so__game-types, .page-xo-so__how-to-play, .page-xo-so__features, .page-xo-so__promotions, .page-xo-so__mobile-app, .page-xo-so__faq, .page-xo-so__cta {
  padding: 60px 0;
}

.page-xo-so__primary-btn {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  background-color: #8B0000;
  color: #FFD700;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-xo-so__primary-btn:hover {
  background-color: #6a0000;
  transform: translateY(-2px);
}

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

.page-xo-so__game-card {
  background-color: #2a2a2a;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-xo-so__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-xo-so__card-img {
  max-width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.page-xo-so__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-xo-so__card-description {
  font-size: 1em;
  color: #bbb;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-xo-so__card-btn {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-xo-so__card-btn:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-xo-so__how-to-play ol {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-xo-so__how-to-play li {
  background-color: #2a2a2a;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-left: 60px;
  color: #f0f0f0;
  font-size: 1.1em;
}

.page-xo-so__how-to-play li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #FFD700;
  color: #8B0000;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-xo-so__how-to-play li strong {
  color: #FFD700;
}

.page-xo-so__how-to-play li a {
  color: #FFD700;
  text-decoration: underline;
}

.page-xo-so__how-to-play li a:hover {
  color: #e6c200;
}

.page-xo-so__features {
  background-color: #222;
}

.page-xo-so__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-xo-so__feature-item {
  text-align: center;
  padding: 30px;
  background-color: #2a2a2a;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-xo-so__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.page-xo-so__feature-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-xo-so__feature-description {
  color: #bbb;
  font-size: 1em;
}

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

.page-xo-so__promo-card {
  background-color: #2a2a2a;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-xo-so__promo-img {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.page-xo-so__promo-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-xo-so__promo-description {
  font-size: 1em;
  color: #bbb;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-xo-so__promo-btn {
  display: inline-block;
  background-color: #8B0000;
  color: #FFD700;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-xo-so__promo-btn:hover {
  background-color: #6a0000;
  transform: translateY(-2px);
}

.page-xo-so__text-small {
  font-size: 0.9em;
  color: #999;
  margin-top: 30px;
}

.page-xo-so__mobile-app {
  background-color: #222;
}

.page-xo-so__mobile-flex {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-xo-so__mobile-content {
  flex: 1;
  min-width: 300px;
}

.page-xo-so__mobile-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-xo-so__mobile-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-xo-so__app-benefits {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
}

.page-xo-so__app-benefits li {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-xo-so__app-benefits li img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.page-xo-so__faq-item {
  background-color: #2a2a2a;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-xo-so__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
  cursor: pointer;
}

.page-xo-so__faq-answer {
  font-size: 1em;
  color: #bbb;
  line-height: 1.8;
}

.page-xo-so__cta {
  background: linear-gradient(45deg, #FFD700, #8B0000);
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

.page-xo-so__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.page-xo-so__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #eee;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-xo-so__hero-title {
    font-size: 3em;
  }
  .page-xo-so__section-title {
    font-size: 2.5em;
  }
  .page-xo-so__mobile-flex {
    flex-direction: column;
  }
  .page-xo-so__mobile-content, .page-xo-so__mobile-image {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-xo-so__hero {
    padding: 80px 0;
  }
  .page-xo-so__hero-title {
    font-size: 2.5em;
  }
  .page-xo-so__hero-description {
    font-size: 1em;
  }
  .page-xo-so__hero-btn {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-xo-so__section-title {
    font-size: 2em;
    padding-top: 40px;
  }
  .page-xo-so__text-content {
    font-size: 0.95em;
  }
  .page-xo-so__game-card, .page-xo-so__feature-item, .page-xo-so__promo-card {
    padding: 20px;
  }
  .page-xo-so__card-title, .page-xo-so__feature-title, .page-xo-so__promo-title {
    font-size: 1.5em;
  }
  .page-xo-so__how-to-play li {
    font-size: 1em;
    padding-left: 50px;
  }
  .page-xo-so__how-to-play li::before {
    width: 25px;
    height: 25px;
    font-size: 1em;
    left: 15px;
  }
  .page-xo-so__cta-title {
    font-size: 2.2em;
  }
  .page-xo-so__cta-description {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-xo-so__hero-title {
    font-size: 2em;
  }
  .page-xo-so__section-title {
    font-size: 1.8em;
  }
  .page-xo-so__grid, .page-xo-so__feature-grid, .page-xo-so__promo-cards {
    grid-template-columns: 1fr;
  }
  .page-xo-so__cta-title {
    font-size: 1.8em;
  }
}