.page-ma-jiang {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

.page-ma-jiang__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-ma-jiang__hero-section {
  background: linear-gradient(135deg, #FFD700 0%, #000080 100%);
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-ma-jiang__hero-section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: rotate(45deg);
}

.page-ma-jiang__hero-section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  transform: rotate(45deg);
}

.page-ma-jiang__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.page-ma-jiang__hero-title .page-ma-jiang__link {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-ma-jiang__hero-title .page-ma-jiang__link:hover {
  color: #FFF;
}

.page-ma-jiang__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #F0F8FF;
}

.page-ma-jiang__hero-description .page-ma-jiang__link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-ma-jiang__hero-description .page-ma-jiang__link:hover {
  text-decoration: underline;
}

.page-ma-jiang__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-ma-jiang__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-ma-jiang__button--primary {
  background-color: #FFD700;
  color: #000080;
  border: 2px solid #FFD700;
}

.page-ma-jiang__button--primary:hover {
  background-color: #e6c200;
  color: #000066;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-ma-jiang__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-ma-jiang__button--secondary:hover {
  background-color: #FFD700;
  color: #000080;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-ma-jiang__section {
  padding: 60px 0;
}

.page-ma-jiang__section:nth-of-type(even) {
  background-color: #f9f9f9;
}

.page-ma-jiang__section-title {
  font-size: 2.5em;
  color: #000080;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-ma-jiang__section-title .page-ma-jiang__link {
  color: #000080;
  text-decoration: none;
}

.page-ma-jiang__section-title .page-ma-jiang__link:hover {
  color: #FFD700;
}

.page-ma-jiang__sub-title {
  font-size: 1.8em;
  color: #000080;
  margin-top: 30px;
  margin-bottom: 20px;
  border-left: 5px solid #FFD700;
  padding-left: 15px;
}

.page-ma-jiang__sub-title .page-ma-jiang__link {
  color: #000080;
  text-decoration: none;
}

.page-ma-jiang__sub-title .page-ma-jiang__link:hover {
  color: #FFD700;
}

.page-ma-jiang__text {
  font-size: 1.1em;
  color: #444;
  margin-bottom: 15px;
}

.page-ma-jiang__text .page-ma-jiang__link {
  color: #000080;
  text-decoration: none;
  font-weight: bold;
}

.page-ma-jiang__text .page-ma-jiang__link:hover {
  text-decoration: underline;
  color: #FFD700;
}

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

.page-ma-jiang__grid--reverse .page-ma-jiang__grid-item:first-child {
  order: 2;
}

.page-ma-jiang__grid--reverse .page-ma-jiang__grid-item:last-child {
  order: 1;
}

.page-ma-jiang__grid-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ma-jiang__grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-ma-jiang__image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-ma-jiang__card-title {
  font-size: 1.5em;
  color: #000080;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-ma-jiang__card-title .page-ma-jiang__link {
  color: #000080;
  text-decoration: none;
}

.page-ma-jiang__card-title .page-ma-jiang__link:hover {
  color: #FFD700;
}

.page-ma-jiang__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-ma-jiang__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #555;
}

.page-ma-jiang__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FFD700;
  font-weight: bold;
  font-size: 1.2em;
}

.page-ma-jiang__list-item .page-ma-jiang__link {
  color: #000080;
  text-decoration: none;
  font-weight: bold;
}

.page-ma-jiang__list-item .page-ma-jiang__link:hover {
  text-decoration: underline;
  color: #FFD700;
}

.page-ma-jiang__ordered-list {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-ma-jiang__ordered-list .page-ma-jiang__list-item {
  padding-left: 0;
  margin-bottom: 10px;
}

.page-ma-jiang__ordered-list .page-ma-jiang__list-item::before {
  content: none;
}

.page-ma-jiang__actions-row {
  text-align: center;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-ma-jiang__section--conclusion {
  background-color: #000080;
  color: #FFFFFF;
  text-align: center;
}

.page-ma-jiang__section--conclusion .page-ma-jiang__section-title {
  color: #FFD700;
}

.page-ma-jiang__section--conclusion .page-ma-jiang__section-title::after {
  background-color: #FFF;
}

.page-ma-jiang__section--conclusion .page-ma-jiang__text {
  color: #F0F8FF;
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-ma-jiang__section--conclusion .page-ma-jiang__text .page-ma-jiang__link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-ma-jiang__section--conclusion .page-ma-jiang__text .page-ma-jiang__link:hover {
  text-decoration: underline;
  color: #FFF;
}

@media (max-width: 768px) {
  .page-ma-jiang__hero-title {
    font-size: 2.5em;
  }
  .page-ma-jiang__section-title {
    font-size: 2em;
  }
  .page-ma-jiang__sub-title {
    font-size: 1.5em;
  }
  .page-ma-jiang__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-ma-jiang__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-ma-jiang__grid {
    grid-template-columns: 1fr;
  }
  .page-ma-jiang__grid--reverse .page-ma-jiang__grid-item:first-child {
    order: 1;
  }
  .page-ma-jiang__grid--reverse .page-ma-jiang__grid-item:last-child {
    order: 2;
  }
}

@media (max-width: 480px) {
  .page-ma-jiang__hero-title {
    font-size: 2em;
  }
  .page-ma-jiang__hero-description {
    font-size: 1em;
  }
  .page-ma-jiang__section-title {
    font-size: 1.8em;
  }
  .page-ma-jiang__sub-title {
    font-size: 1.3em;
  }
  .page-ma-jiang__button {
    padding: 12px 20px;
    font-size: 1em;
  }
}