.page-index-sa88-core-features {
  font-family: 'Arial', sans-serif;
  color: #e5d1b8; /* Light text for dark background */
  line-height: 1.6;
}

.page-index-sa88-core-features__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-sa88-core-features__hero-section {
  background-color: #1A2E47;
  padding: 80px 0;
  text-align: center;
  color: #FFD700; /* Gold for hero titles */
}

.page-index-sa88-core-features__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700;
  font-weight: bold;
}

.page-index-sa88-core-features__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #e5d1b8;
}

.page-index-sa88-core-features__section {
  padding: 60px 0;
  background-color: #2c425a;
}

.page-index-sa88-core-features__section:nth-child(even) {
  background-color: #1A2E47;
}

.page-index-sa88-core-features__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index-sa88-core-features__section-description {
  font-size: 1.1em;
  color: #e5d1b8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-index-sa88-core-features__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
}

.page-index-sa88-core-features__btn--primary {
  background-color: #FFD700;
  color: #1A2E47;
}

.page-index-sa88-core-features__btn--primary:hover {
  background-color: #e0b800;
  color: #0d1e30;
}

.page-index-sa88-core-features__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  padding: 10px 20px;
}

.page-index-sa88-core-features__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A2E47;
}

.page-index-sa88-core-features__feature-grid, .page-index-sa88-core-features__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-sa88-core-features__feature-card, .page-index-sa88-core-features__promo-card, .page-index-sa88-core-features__transaction-card {
  background-color: #1A2E47;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-sa88-core-features__feature-card .page-index-sa88-core-features__feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px auto;
  object-fit: contain;
}

.page-index-sa88-core-features__promo-card .page-index-sa88-core-features__promo-image,
.page-index-sa88-core-features__transaction-card .page-index-sa88-core-features__transaction-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 20px auto 0 auto;
  object-fit: cover;
  border-radius: 5px;
}

.page-index-sa88-core-features__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-sa88-core-features__card-text {
  color: #e5d1b8;
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-sa88-core-features__process-section,
.page-index-sa88-core-features__app-download,
.page-index-sa88-core-features__support-section {
  background-color: #2c425a;
}

.page-index-sa88-core-features__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-index-sa88-core-features__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-index-sa88-core-features__text-content {
  flex: 1;
  min-width: 300px;
  color: #e5d1b8;
}

.page-index-sa88-core-features__text-content h3 {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-index-sa88-core-features__text-content p {
  margin-bottom: 15px;
}

.page-index-sa88-core-features__text-content a {
  color: #FFD700;
  text-decoration: underline;
}

.page-index-sa88-core-features__text-content a:hover {
  color: #e0b800;
}

.page-index-sa88-core-features__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-index-sa88-core-features__list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23FFD700" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #e5d1b8;
}

.page-index-sa88-core-features__image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-index-sa88-core-features__main-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-index-sa88-core-features__transaction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-sa88-core-features__safety-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.page-index-sa88-core-features__safety-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23FFD700" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 35px;
  color: #e5d1b8;
  font-size: 1.1em;
}

.page-index-sa88-core-features__cta-bottom {
  background-color: #1A2E47;
  text-align: center;
  padding: 80px 0;
}

.page-index-sa88-core-features__mt-30 {
  margin-top: 30px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-index-sa88-core-features__hero-title {
    font-size: 2.8em;
  }
  .page-index-sa88-core-features__section-title {
    font-size: 2em;
  }
  .page-index-sa88-core-features__content-wrapper {
    flex-direction: column;
  }
  .page-index-sa88-core-features__content-wrapper--reverse {
    flex-direction: column-reverse;
  }
  .page-index-sa88-core-features__text-content, .page-index-sa88-core-features__image-wrapper {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-index-sa88-core-features__hero-title {
    font-size: 2.2em;
  }
  .page-index-sa88-core-features__hero-description {
    font-size: 1em;
  }
  .page-index-sa88-core-features__section-title {
    font-size: 1.8em;
  }
  .page-index-sa88-core-features__feature-grid, .page-index-sa88-core-features__promo-grid, .page-index-sa88-core-features__transaction-grid {
    grid-template-columns: 1fr;
  }
  .page-index-sa88-core-features__feature-card, .page-index-sa88-core-features__promo-card, .page-index-sa88-core-features__transaction-card {
    padding: 20px;
  }
  .page-index-sa88-core-features__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index-sa88-core-features__list li, .page-index-sa88-core-features__safety-list li {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-index-sa88-core-features__hero-title {
    font-size: 1.8em;
  }
  .page-index-sa88-core-features__section-title {
    font-size: 1.5em;
  }
  .page-index-sa88-core-features__hero-section, .page-index-sa88-core-features__cta-bottom {
    padding: 50px 0;
  }
}