.page-game-guides-mahjong-rules-tips {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #c7d2e0; /* Light text on dark background */
  background-color: #0A192F; /* Primary dark background */
}

.page-game-guides-mahjong-rules-tips__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-game-guides-mahjong-rules-tips__hero-section {
  background: linear-gradient(135deg, #0A192F, #1a3a5e);
  padding: 100px 0;
  text-align: center;
  color: #FFD700; /* Auxiliary color for hero text */
  position: relative;
  overflow: hidden;
}

.page-game-guides-mahjong-rules-tips__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:hero:mahjong,kv888,game_rules,background]') no-repeat center center/cover;
  opacity: 0.15;
  z-index: 0;
}

.page-game-guides-mahjong-rules-tips__hero-section > div {
  position: relative;
  z-index: 1;
}

.page-game-guides-mahjong-rules-tips__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-guides-mahjong-rules-tips__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  color: #c7d2e0; /* Lighter text for subtitle */
}

.page-game-guides-mahjong-rules-tips__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary color for button */
  color: #0A192F; /* Dark text on light button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-game-guides-mahjong-rules-tips__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-game-guides-mahjong-rules-tips__cta-button--bottom {
  margin-top: 40px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides-mahjong-rules-tips__content-section {
  padding: 60px 0;
}

.page-game-guides-mahjong-rules-tips__content-area article {
  background-color: #1c2a3f; /* Slightly lighter dark background for content */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-game-guides-mahjong-rules-tips__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for section titles */
  margin-top: 40px;
  margin-bottom: 25px;
  border-bottom: 3px solid #FFD700;
  padding-bottom: 10px;
}

.page-game-guides-mahjong-rules-tips__sub-section-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold for sub-section titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-game-guides-mahjong-rules-tips__content-area p {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-game-guides-mahjong-rules-tips__content-area ul {
  list-style-type: disc;
  margin-left: 30px;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-game-guides-mahjong-rules-tips__content-area ul li {
  margin-bottom: 8px;
}

.page-game-guides-mahjong-rules-tips__highlight {
  color: #FFD700;
  font-weight: bold;
}

.page-game-guides-mahjong-rules-tips__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.page-game-guides-mahjong-rules-tips__related-links {
  background-color: #0A192F;
  padding: 50px 0;
  text-align: center;
}

.page-game-guides-mahjong-rules-tips__links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.page-game-guides-mahjong-rules-tips__related-link {
  display: block;
  background-color: #FFD700;
  color: #0A192F;
  padding: 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-game-guides-mahjong-rules-tips__related-link:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-game-guides-mahjong-rules-tips__hero-title {
    font-size: 2.5em;
  }

  .page-game-guides-mahjong-rules-tips__hero-subtitle {
    font-size: 1.2em;
  }

  .page-game-guides-mahjong-rules-tips__section-title {
    font-size: 2em;
  }

  .page-game-guides-mahjong-rules-tips__sub-section-title {
    font-size: 1.5em;
  }

  .page-game-guides-mahjong-rules-tips__content-area article {
    padding: 20px;
  }

  .page-game-guides-mahjong-rules-tips__links-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-game-guides-mahjong-rules-tips__hero-title {
    font-size: 2em;
  }

  .page-game-guides-mahjong-rules-tips__hero-subtitle {
    font-size: 1em;
  }

  .page-game-guides-mahjong-rules-tips__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
}