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

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

.page-xo-so h1, .page-xo-so h2, .page-xo-so h3 {
  color: #0A1930;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-xo-so h1 {
  font-size: 3.2em;
  text-align: center;
  color: #ffffff;
}

.page-xo-so h2 {
  font-size: 2.5em;
  text-align: center;
  padding-top: 40px;
  margin-bottom: 30px;
}

.page-xo-so h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-xo-so p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #555;
}

.page-xo-so .cta-button, .page-xo-so .primary-button, .page-xo-so .secondary-button {
  display: inline-block;
  padding: 15px 40px;
  background: #E8A900;
  color: #0A1930;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-xo-so .cta-button:hover, .page-xo-so .primary-button:hover, .page-xo-so .secondary-button:hover {
  background: #d49a00;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-xo-so .primary-button {
  background: #0A1930;
  color: #E8A900;
}

.page-xo-so .primary-button:hover {
  background: #1a3258;
  color: #E8A900;
}

.page-xo-so .text-button {
  background: none;
  color: #0A1930;
  padding: 8px 0;
  font-size: 1em;
  font-weight: bold;
  text-decoration: underline;
}

.page-xo-so .text-button:hover {
  color: #E8A900;
  transform: none;
  box-shadow: none;
}

/* Hero Section */
.page-xo-so .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #0A1930; /* Fallback for image */
  overflow: hidden;
}

.page-xo-so .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-xo-so .hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-xo-so .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-xo-so .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: #ffffff;
}

.page-xo-so .hero-content h1 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 3.8em;
  line-height: 1.2;
  color: #E8A900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-xo-so .hero-content p {
  font-size: 1.3em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* Intro Section */
.page-xo-so .intro-section {
  padding: 60px 0;
  background-color: #ffffff;
  text-align: center;
}

.page-xo-so .intro-section h2 {
  color: #0A1930;
}

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

.page-xo-so .feature-item {
  background: #fdfdfd;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.page-xo-so .feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-xo-so .feature-item .feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-xo-so .feature-item h3 {
  color: #E8A900;
  font-size: 1.6em;
}

.page-xo-so .feature-item p {
  font-size: 1em;
  color: #666;
}

/* Game Types Section */
.page-xo-so .game-types-section {
  padding: 60px 0;
  background-color: #eef2f1;
}

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

.page-xo-so .game-card, .page-xo-so .promo-card, .page-xo-so .blog-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-xo-so .card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-xo-so .game-card h3, .page-xo-so .promo-card h3, .page-xo-so .blog-card h3 {
  padding: 15px 20px 0;
  margin-bottom: 10px;
  font-size: 1.5em;
  color: #0A1930;
}

.page-xo-so .card-title-link {
  color: #0A1930;
  text-decoration: none;
}

.page-xo-so .card-title-link:hover {
  color: #E8A900;
  text-decoration: underline;
}

.page-xo-so .game-card p, .page-xo-so .promo-card p, .page-xo-so .blog-card p {
  padding: 0 20px 15px;
  font-size: 1em;
  color: #666;
  flex-grow: 1;
}

.page-xo-so .game-card .button, .page-xo-so .promo-card .button, .page-xo-so .blog-card .button {
  margin: 0 20px 20px;
  padding: 10px 20px;
  align-self: flex-start;
  font-size: 1em;
}

/* Guide Section */
.page-xo-so .guide-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-xo-so .step-item {
  background: #fdfdfd;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

.page-xo-so .step-item .step-image {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-xo-so .step-item h3 {
  color: #E8A900;
  font-size: 1.5em;
}

.page-xo-so .step-item p {
  font-size: 0.95em;
  color: #666;
}

/* Promotions Section */
.page-xo-so .promotions-section {
  padding: 60px 0;
  background-color: #eef2f1;
}

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

/* Security & FAQ Section */
.page-xo-so .security-faq-section {
  padding: 60px 0;
  background-color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.page-xo-so .security-faq-section .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.page-xo-so .security-info {
  flex: 1;
  min-width: 300px;
  padding: 30px;
  background: #fdfdfd;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

.page-xo-so .security-info h2 {
  text-align: left;
  padding-top: 0;
  margin-bottom: 25px;
  color: #0A1930;
}

.page-xo-so .security-info ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-xo-so .security-info ul li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #444;
}

.page-xo-so .security-info ul li .small-icon {
  width: 60px;
  height: 60px;
  margin-right: 15px;
  object-fit: contain;
  min-width: 60px;
}

.page-xo-so .faq-section {
  flex: 1;
  min-width: 300px;
}

.page-xo-so .faq-section h2 {
  text-align: left;
  padding-top: 0;
  margin-bottom: 25px;
  color: #0A1930;
}

.page-xo-so .faq-item {
  margin-bottom: 15px;
}

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

.page-xo-so .faq-question:hover {
  background: #f5f5f5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.page-xo-so .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #E8A900;
  transition: transform 0.3s ease;
}

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

.page-xo-so .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  border: 1px solid #e0e0e0;
  border-top: none;
}

.page-xo-so .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 20px;
  border-top: none;
}

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

/* Blog Section */
.page-xo-so .blog-section {
  padding: 60px 0;
  background-color: #f4f7f6;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-xo-so .hero-content h1 {
    font-size: 3em;
  }
  .page-xo-so .hero-content p {
    font-size: 1.2em;
  }
  .page-xo-so h2 {
    font-size: 2em;
  }
  .page-xo-so h3 {
    font-size: 1.6em;
  }
  .page-xo-so .cta-button, .page-xo-so .primary-button, .page-xo-so .secondary-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .page-xo-so .security-faq-section .container {
    flex-direction: column;
  }
  .page-xo-so .security-info, .page-xo-so .faq-section {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-xo-so .hero-section {
    padding: 60px 15px;
  }
  .page-xo-so .hero-content h1 {
    font-size: 2.5em;
  }
  .page-xo-so .hero-content p {
    font-size: 1em;
  }
  .page-xo-so h2 {
    font-size: 1.8em;
  }
  .page-xo-so h3 {
    font-size: 1.4em;
  }
  .page-xo-so .cta-button, .page-xo-so .primary-button, .page-xo-so .secondary-button {
    padding: 10px 25px;
    font-size: 1em;
  }
  .page-xo-so .intro-section, .page-xo-so .game-types-section, .page-xo-so .guide-section, .page-xo-so .promotions-section, .page-xo-so .security-faq-section, .page-xo-so .blog-section {
    padding: 40px 0;
  }
  .page-xo-so .container {
    padding: 0 15px;
  }
  .page-xo-so .features-grid, .page-xo-so .game-cards-grid, .page-xo-so .guide-steps, .page-xo-so .promo-grid, .page-xo-so .blog-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-xo-so .feature-item .feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-xo-so .step-item .step-image {
    width: 120px;
    height: 120px;
  }
  .page-xo-so .faq-question h3 {
    font-size: 1.1em;
  }
  .page-xo-so .faq-toggle {
    font-size: 20px;
  }
  .page-xo-so .security-info ul li .small-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }
}

@media (max-width: 480px) {
  .page-xo-so .hero-content h1 {
    font-size: 2em;
  }
  .page-xo-so .hero-content p {
    font-size: 0.9em;
  }
  .page-xo-so h2 {
    font-size: 1.6em;
  }
  .page-xo-so h3 {
    font-size: 1.2em;
  }
  .page-xo-so .cta-button, .page-xo-so .primary-button, .page-xo-so .secondary-button {
    padding: 8px 20px;
    font-size: 0.9em;
  }
  .page-xo-so .card-image {
    height: 150px;
  }
  .page-xo-so .game-card h3, .page-xo-so .promo-card h3, .page-xo-so .blog-card h3 {
    font-size: 1.3em;
  }
}