
    /* General page styling */
.page-soi-keo-888 {
  background-color: #1a1a2e;
  color: #e0e0e0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 80px; /* Space for floating buttons */
}

.page-soi-keo-888__section-title {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #e94560; /* Good contrast with dark background */
  padding-top: 40px;
}

.page-soi-keo-888__section-description {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

/* Hero Section */
.page-soi-keo-888__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small padding-top, relying on body padding */
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1d 100%);
  position: relative;
  overflow: hidden;
}

.page-soi-keo-888__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-soi-keo-888__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background */
  max-width: 100%; /* Ensure responsiveness */
}

.page-soi-keo-888__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background-color: rgba(0, 0, 0, 0.6); /* Overlay for readability */
  border-radius: 10px;
  margin-top: 60px; /* Push content down from top */
}

.page-soi-keo-888__hero-title {
  font-size: 3.5em;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-soi-keo-888__hero-description {
  font-size: 1.3em;
  color: #ccc;
  margin-bottom: 40px;
}

.page-soi-keo-888__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-soi-keo-888__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  min-width: 150px;
  text-align: center;
}

.page-soi-keo-888__button--primary {
  background-color: #e94560;
  color: #fff;
  border: 2px solid #e94560;
}

.page-soi-keo-888__button--primary:hover {
  background-color: #d13a52;
  transform: translateY(-3px);
}

.page-soi-keo-888__button--secondary {
  background-color: transparent;
  color: #e94560;
  border: 2px solid #e94560;
}

.page-soi-keo-888__button--secondary:hover {
  background-color: #e94560;
  color: #fff;
  transform: translateY(-3px);
}

.page-soi-keo-888__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  min-width: unset;
}

/* Game Categories */
.page-soi-keo-888__game-categories {
  padding: 60px 20px;
  background-color: #0f0f1d;
}

.page-soi-keo-888__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-soi-keo-888__category-item {
  background-color: #2a2a4a;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-soi-keo-888__category-item:hover {
  transform: translateY(-5px);
}

.page-soi-keo-888__category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  max-width: 100%; /* Ensure responsiveness */
}

.page-soi-keo-888__category-title {
  font-size: 1.8em;
  color: #e94560;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-soi-keo-888__category-text {
  font-size: 1em;
  color: #ccc;
  padding: 0 15px;
  flex-grow: 1;
}

/* Why Choose Us Section */
.page-soi-keo-888__why-choose-us {
  padding: 60px 20px;
  background-color: #1a1a2e;
}

.page-soi-keo-888__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-soi-keo-888__feature-item {
  background-color: #2a2a4a;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-soi-keo-888__feature-item:hover {
  transform: translateY(-5px);
}

.page-soi-keo-888__feature-icon {
  width: 150px; /* Minimum 200x200, so this will be scaled down */
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100%; /* Ensure responsiveness */
}

.page-soi-keo-888__feature-title {
  font-size: 1.6em;
  color: #e94560;
  margin-bottom: 10px;
}

.page-soi-keo-888__feature-description {
  font-size: 0.95em;
  color: #ccc;
  flex-grow: 1;
}

/* Game Providers Section */
.page-soi-keo-888__game-providers {
  padding: 60px 20px;
  background-color: #0f0f1d;
}

.page-soi-keo-888__providers-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-soi-keo-888__provider-item {
  background-color: #2a2a4a;
  color: #e0e0e0;
  padding: 15px 25px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.1em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  flex-basis: calc(25% - 20px); /* For desktop */
  text-align: center;
  box-sizing: border-box; /* Important for flex items */
}

/* Latest Promotions Section */
.page-soi-keo-888__latest-promotions {
  padding: 60px 20px;
  background-color: #1a1a2e;
}

.page-soi-keo-888__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-soi-keo-888__promo-card {
  background-color: #2a2a4a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.page-soi-keo-888__promo-card:hover {
  transform: translateY(-5px);
}

.page-soi-keo-888__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  max-width: 100%; /* Ensure responsiveness */
}

.page-soi-keo-888__promo-title {
  font-size: 1.5em;
  color: #e94560;
  margin: 20px 15px 10px;
}

.page-soi-keo-888__promo-text {
  font-size: 0.95em;
  color: #ccc;
  margin: 0 15px 20px;
  flex-grow: 1;
}

/* About Platform Section */
.page-soi-keo-888__about-platform {
  padding: 60px 20px;
  background-color: #0f0f1d;
}

.page-soi-keo-888__about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.page-soi-keo-888__about-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  object-fit: cover;
  height: auto;
  max-height: 400px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Ensure responsiveness */
}

.page-soi-keo-888__about-text {
  flex: 2;
  min-width: 300px;
  color: #e0e0e0;
}

.page-soi-keo-888__about-text p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

/* FAQ Section */
.page-soi-keo-888__faq-section {
  padding: 60px 20px;
  background-color: #1a1a2e;
}

.page-soi-keo-888__faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-soi-keo-888__faq-item {
  background-color: #2a2a4a;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden; /* Important for max-height transition */
}

.page-soi-keo-888__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #3a3a5a;
  color: #e94560;
  font-weight: bold;
  transition: background-color 0.3s ease;
  user-select: none;
}

.page-soi-keo-888__faq-question:hover {
  background-color: #4a4a6a;
}

.page-soi-keo-888__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #e0e0e0; /* Changed to light color for contrast */
  pointer-events: none; /* Prevent h3 from interfering with click event */
}

.page-soi-keo-888__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  pointer-events: none; /* Prevent span from interfering with click event */
  color: #e94560;
}

.page-soi-keo-888__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  color: #ccc;
}

.page-soi-keo-888__faq-answer p {
  margin: 0;
  padding-bottom: 20px; /* Add padding at the bottom of the paragraph */
}

.page-soi-keo-888__faq-item.active .page-soi-keo-888__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px 25px !important; /* Expanded padding */
  opacity: 1;
}

.page-soi-keo-888__faq-item.active .page-soi-keo-888__faq-toggle {
  transform: rotate(45deg); /* Plus to Minus visual effect */
  color: #fff;
}

/* Floating Buttons */
.page-soi-keo-888__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-soi-keo-888__floating-button {
  display: block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-soi-keo-888__floating-button--register {
  background-color: #e94560;
  color: #fff;
}

.page-soi-keo-888__floating-button--register:hover {
  background-color: #d13a52;
  transform: translateY(-2px);
}

.page-soi-keo-888__floating-button--login {
  background-color: #555;
  color: #fff;
}

.page-soi-keo-888__floating-button--login:hover {
  background-color: #444;
  transform: translateY(-2px);
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-soi-keo-888__hero-title {
    font-size: 2.8em;
  }
  .page-soi-keo-888__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-soi-keo-888__hero-section {
    padding: 10px 15px 40px;
  }
  .page-soi-keo-888__hero-content {
    padding: 30px 15px;
    margin-top: 40px;
  }
  .page-soi-keo-888__hero-title {
    font-size: 2.2em;
  }
  .page-soi-keo-888__hero-description {
    font-size: 1em;
  }
  .page-soi-keo-888__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-soi-keo-888__button {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }

  .page-soi-keo-888__section-title {
    font-size: 2em;
    padding-top: 30px;
  }
  .page-soi-keo-888__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-soi-keo-888__game-categories,
  .page-soi-keo-888__why-choose-us,
  .page-soi-keo-888__game-providers,
  .page-soi-keo-888__latest-promotions,
  .page-soi-keo-888__about-platform,
  .page-soi-keo-888__faq-section {
    padding: 40px 15px;
  }

  /* List items responsiveness */
  .page-soi-keo-888__categories-grid,
  .page-soi-keo-888__features-grid,
  .page-soi-keo-888__promotions-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }

  .page-soi-keo-888__category-item,
  .page-soi-keo-888__feature-item,
  .page-soi-keo-888__promo-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-soi-keo-888__category-item .page-soi-keo-888__category-image,
  .page-soi-keo-888__feature-item .page-soi-keo-888__feature-icon,
  .page-soi-keo-888__promo-card .page-soi-keo-888__promo-image {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-soi-keo-888__providers-list {
    flex-direction: column;
    gap: 10px;
  }
  .page-soi-keo-888__provider-item {
    flex-basis: 100%;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-soi-keo-888__about-content {
    flex-direction: column;
  }
  .page-soi-keo-888__about-image {
    width: 100%;
    min-width: unset;
  }

  .page-soi-keo-888__faq-question {
    padding: 15px 20px;
  }
  .page-soi-keo-888__faq-question h3 {
    font-size: 1.1em;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
  .page-soi-keo-888__faq-toggle {
    font-size: 1.5em;
  }
  .page-soi-keo-888__faq-answer {
    padding: 0 20px;
  }
  .page-soi-keo-888__faq-item.active .page-soi-keo-888__faq-answer {
    padding: 15px 20px !important;
  }

  .page-soi-keo-888__floating-buttons {
    flex-direction: row;
    bottom: 15px;
    left: 15px;
    right: 15px;
    width: auto;
    justify-content: space-around;
    gap: 8px;
  }
  .page-soi-keo-888__floating-button {
    flex: 1;
    padding: 10px 15px;
    font-size: 0.9em;
  }
  .page-soi-keo-888 {
    padding-bottom: 70px; /* Adjust for mobile floating buttons */
  }
}

@media (max-width: 480px) {
  .page-soi-keo-888__hero-title {
    font-size: 1.8em;
  }
  .page-soi-keo-888__hero-description {
    font-size: 0.9em;
  }
  .page-soi-keo-888__section-title {
    font-size: 1.8em;
  }
  .page-soi-keo-888__floating-button {
    font-size: 0.8em;
    padding: 8px 10px;
  }
}

/* Ensure images within content areas are responsive */
.page-soi-keo-888 img {
  max-width: 100%;
  height: auto;
  display: block; /* Remove extra space below images */
}

/* Ensure text wrapping for all text elements, especially in lists/cards */
.page-soi-keo-888 p,
.page-soi-keo-888 h1,
.page-soi-keo-888 h2,
.page-soi-keo-888 h3,
.page-soi-keo-888 h4,
.page-soi-keo-888 h5,
.page-soi-keo-888 h6,
.page-soi-keo-888__category-text,
.page-soi-keo-888__feature-description,
.page-soi-keo-888__promo-text,
.page-soi-keo-888__provider-item,
.page-soi-keo-888__button,
.page-soi-keo-888__floating-button {
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
}
  