.page-xo-so {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

.page-xo-so .main-title {
  color: #000080;
  font-size: 3.2em;
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.page-xo-so .intro-text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  color: #555;
}

.page-xo-so .section-title {
  color: #000080;
  font-size: 2.5em;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.page-xo-so .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-xo-so .section-description {
  font-size: 1.05em;
  text-align: center;
  margin-bottom: 40px;
  color: #666;
}

.page-xo-so .cta-buttons {
  text-align: center;
  margin-bottom: 50px;
}

.page-xo-so .btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  margin: 0 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-xo-so .primary-btn {
  background-color: #FFD700;
  color: #000080;
  border: 2px solid #FFD700;
}

.page-xo-so .primary-btn:hover {
  background-color: #e6c200;
  color: #000066;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-xo-so .secondary-btn {
  background-color: #000080;
  color: #FFD700;
  border: 2px solid #000080;
}

.page-xo-so .secondary-btn:hover {
  background-color: #000066;
  color: #ffe033;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-xo-so .game-type-grid, .page-xo-so .promo-grid, .page-xo-so .tips-grid, .page-xo-so .security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-xo-so .game-type-card, .page-xo-so .promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-xo-so .game-type-card:hover, .page-xo-so .promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-xo-so .card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-xo-so .card-title {
  font-size: 1.5em;
  color: #000080;
  margin-bottom: 15px;
}

.page-xo-so .card-title a {
  color: #000080;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-xo-so .card-title a:hover {
  color: #FFD700;
}

.page-xo-so .card-text {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 25px;
  min-height: 120px; /* Ensure consistent card height */
}

.page-xo-so .card-btn {
  background-color: #FFD700;
  color: #000080;
  padding: 12px 25px;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: bold;
  border: none;
}

.page-xo-so .card-btn:hover {
  background-color: #e6c200;
  color: #000066;
}

.page-xo-so .how-to-play-section {
  background-color: #f0f2f5;
  padding: 60px 0;
}

.page-xo-so .step-by-step-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-xo-so .guide-step {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-xo-so .step-icon {
  width: 60px;
  height: 60px;
  background-color: #000080;
  color: #FFD700;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
  border: 3px solid #FFD700;
}

.page-xo-so .step-title {
  font-size: 1.6em;
  color: #000080;
  margin-bottom: 15px;
}

.page-xo-so .step-text {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 25px;
  min-height: 100px; /* Consistent height */
}

.page-xo-so .step-btn {
  background-color: #FFD700;
  color: #000080;
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
  border: none;
}

.page-xo-so .step-btn:hover {
  background-color: #e6c200;
  color: #000066;
}

.page-xo-so .tips-section {
  padding: 60px 0;
}

.page-xo-so .tip-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-xo-so .tip-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.page-xo-so .tip-title {
  font-size: 1.6em;
  color: #000080;
  margin-bottom: 15px;
}

.page-xo-so .tip-text {
  font-size: 0.95em;
  color: #666;
}

.page-xo-so .promotions-section {
  background-color: #f0f2f5;
  padding: 60px 0;
}

.page-xo-so .security-section {
  padding: 60px 0;
}

.page-xo-so .feature-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-xo-so .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.page-xo-so .feature-title {
  font-size: 1.6em;
  color: #000080;
  margin-bottom: 15px;
}

.page-xo-so .feature-text {
  font-size: 0.95em;
  color: #666;
}

.page-xo-so .faq-section {
  background-color: #f0f2f5;
  padding: 60px 0;
}

.page-xo-so .faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-xo-so .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-xo-so .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-xo-so .faq-question:hover {
  background: #f5f5f5;
}

.page-xo-so .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #000080;
}

.page-xo-so .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-xo-so .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #000080;
}

.page-xo-so .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fdfdfd;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 0 0 8px 8px;
}

.page-xo-so .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
  border-bottom: 1px solid #e0e0e0;
}

.page-xo-so .faq-answer p {
  margin: 0;
  color: #555;
  font-size: 0.95em;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-xo-so .main-title {
    font-size: 2.8em;
  }
  .page-xo-so .section-title {
    font-size: 2.2em;
  }
  .page-xo-so .game-type-grid, .page-xo-so .promo-grid, .page-xo-so .tips-grid, .page-xo-so .security-features {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-xo-so .card-text {
    min-height: 100px;
  }
  .page-xo-so .guide-step .step-text {
    min-height: 80px;
  }
}

@media (max-width: 768px) {
  .page-xo-so .main-title {
    font-size: 2.2em;
    margin-bottom: 20px;
  }
  .page-xo-so .intro-text {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-xo-so .section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 15px;
  }
  .page-xo-so .section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-xo-so .btn {
    padding: 12px 25px;
    font-size: 0.95em;
    margin: 5px;
  }
  .page-xo-so .game-type-grid, .page-xo-so .promo-grid, .page-xo-so .tips-grid, .page-xo-so .security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-xo-so .card-image {
    height: 180px;
  }
  .page-xo-so .card-title {
    font-size: 1.3em;
  }
  .page-xo-so .card-text {
    min-height: auto;
  }
  .page-xo-so .guide-step .step-text {
    min-height: auto;
  }
  .page-xo-so .step-title {
    font-size: 1.4em;
  }
  .page-xo-so .tip-title, .page-xo-so .feature-title {
    font-size: 1.4em;
  }
  .page-xo-so .faq-question {
    padding: 15px 20px;
  }
  .page-xo-so .faq-question h3 {
    font-size: 1.1em;
  }
  .page-xo-so .faq-toggle {
    font-size: 1.5em;
  }
  .page-xo-so .faq-answer {
    padding: 0 20px;
  }
  .page-xo-so .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-xo-so .main-title {
    font-size: 1.8em;
  }
  .page-xo-so .section-title {
    font-size: 1.6em;
  }
  .page-xo-so .btn {
    display: block;
    width: calc(100% - 20px);
    margin: 10px auto;
  }
  .page-xo-so .card-image {
    height: 150px;
  }
  .page-xo-so .card-title {
    font-size: 1.2em;
  }
  .page-xo-so .step-icon {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .page-xo-so .step-title {
    font-size: 1.2em;
  }
  .page-xo-so .tip-title, .page-xo-so .feature-title {
    font-size: 1.2em;
  }
  .page-xo-so .faq-question h3 {
    font-size: 1em;
  }
  .page-xo-so .faq-toggle {
    font-size: 1.3em;
  }
}