.page-mahjong-platform-features {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

.page-mahjong-platform-features__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-mahjong-platform-features__hero {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-mahjong-platform-features__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-mahjong-platform-features__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-mahjong-platform-features__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-mahjong-platform-features__hero-link {
  color: #ffc107;
  text-decoration: none;
  font-weight: bold;
}

.page-mahjong-platform-features__hero-link:hover {
  text-decoration: underline;
}

.page-mahjong-platform-features__btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-mahjong-platform-features__btn--primary {
  background-color: #ffc107;
  color: #000;
}

.page-mahjong-platform-features__btn--primary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-mahjong-platform-features__btn--secondary {
  background-color: #007bff;
  color: #fff;
  border: 2px solid #ffc107;
}

.page-mahjong-platform-features__btn--secondary:hover {
  background-color: #0056b3;
  border-color: #e0a800;
  transform: translateY(-2px);
}

.page-mahjong-platform-features__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-mahjong-platform-features__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: brightness(0.7);
}

.page-mahjong-platform-features__section {
  padding: 60px 0;
}

.page-mahjong-platform-features__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-mahjong-platform-features__intro .page-mahjong-platform-features__text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-mahjong-platform-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-mahjong-platform-features__grid-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-mahjong-platform-features__grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-mahjong-platform-features__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-mahjong-platform-features__feature-title {
  font-size: 1.7em;
  color: #007bff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-mahjong-platform-features__list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
}

.page-mahjong-platform-features__list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-mahjong-platform-features__list li::before {
  content: '✓';
  color: #ffc107;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-mahjong-platform-features__cta {
  background-color: #007bff;
  color: #fff;
  text-align: center;
}

.page-mahjong-platform-features__cta .page-mahjong-platform-features__section-title {
  color: #ffc107;
}

.page-mahjong-platform-features__cta .page-mahjong-platform-features__text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-mahjong-platform-features__text-link {
  color: #ffc107;
  text-decoration: none;
  font-weight: bold;
}

.page-mahjong-platform-features__text-link:hover {
  text-decoration: underline;
}

.page-mahjong-platform-features__small-text {
  font-size: 0.9em;
  margin-top: 20px;
  color: #e0e0e0;
}

.page-mahjong-platform-features__associated-brand {
  background-color: #f1f1f1;
  padding: 40px 0;
}

.page-mahjong-platform-features__associated-brand-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
}

.page-mahjong-platform-features__associated-brand-text {
  max-width: 700px;
}

.page-mahjong-platform-features__associated-brand-title {
  font-size: 2em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-mahjong-platform-features__associated-brand-image {
  max-width: 200px;
  height: auto;
  object-fit: contain;
  filter: grayscale(80%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.page-mahjong-platform-features__associated-brand-image:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.page-mahjong-platform-features .highlight {
  color: #007bff;
  font-weight: bold;
}

.page-mahjong-platform-features__cta .highlight {
  color: #ffc107;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-mahjong-platform-features__hero-title {
    font-size: 2.8em;
  }
  .page-mahjong-platform-features__section-title {
    font-size: 2em;
  }
  .page-mahjong-platform-features__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-mahjong-platform-features__associated-brand-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-mahjong-platform-features__hero {
    padding: 60px 0;
  }
  .page-mahjong-platform-features__hero-title {
    font-size: 2.2em;
  }
  .page-mahjong-platform-features__hero-subtitle {
    font-size: 1.1em;
  }
  .page-mahjong-platform-features__section {
    padding: 40px 0;
  }
  .page-mahjong-platform-features__section-title {
    font-size: 1.8em;
  }
  .page-mahjong-platform-features__grid-item {
    padding: 20px;
  }
  .page-mahjong-platform-features__feature-title {
    font-size: 1.5em;
  }
}

@media (max-width: 576px) {
  .page-mahjong-platform-features__hero-title {
    font-size: 1.8em;
  }
  .page-mahjong-platform-features__hero-subtitle {
    font-size: 1em;
  }
  .page-mahjong-platform-features__btn {
    padding: 10px 20px;
    font-size: 1em;
  }
  .page-mahjong-platform-features__section-title {
    font-size: 1.5em;
  }
  .page-mahjong-platform-features__grid {
    grid-template-columns: 1fr;
  }
  .page-mahjong-platform-features__associated-brand-title {
    font-size: 1.5em;
  }
}