*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #ff6fa5;
  --color-primary-dark: #d6336c;
  --color-accent: #c8a2ff;
  --color-accent-deep: #9b5de5;
  --color-bg: #fff5f8;
  --color-card: #ffffff;
  --color-text: #3a2a33;
  --color-text-secondary: #9b8593;
  --color-border: rgba(214, 51, 108, 0.14);
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 20px rgba(255, 111, 165, 0.12);
  --shadow-hover: 0 8px 28px rgba(255, 111, 165, 0.2);
  --max-width: 600px;
  --motion-fast: 220ms;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

body {
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--color-bg);
  background-image:
    radial-gradient(ellipse 90% 50% at 50% 0%, rgba(255, 111, 165, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 70% 40% at 18% 4%, rgba(200, 162, 255, 0.14) 0%, transparent 55%);
}

a {
  color: var(--color-primary-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* 顶栏 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 245, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}

.brand:hover {
  text-decoration: none;
}

.brand-icon {
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(255, 111, 165, 0.25);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-deep));
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 111, 165, 0.35);
  white-space: nowrap;
}

.cta-btn:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

main {
  padding: 20px 16px 32px;
}

/* Hero */
.hero {
  text-align: center;
  margin-bottom: 28px;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(200, 162, 255, 0.18);
  color: var(--color-accent-deep);
  font-size: 0.8rem;
  font-weight: 600;
}

.hero h1 {
  font-size: 1.65rem;
  line-height: 1.25;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-intro {
  color: var(--color-text-secondary);
  line-height: 1.55;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.hero-intro strong {
  color: var(--color-primary-dark);
}

.hero-cta {
  display: block;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
}

.hero-cta:hover {
  text-decoration: none;
}

.hero-cta-label {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary-dark);
}

.hero-cta-sub {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

/* 卡片表面 */
.neon-surface {
  background:
    linear-gradient(135deg, rgba(200, 162, 255, 0.06), transparent 44%),
    linear-gradient(145deg, rgba(255, 111, 165, 0.07), transparent 58%),
    var(--color-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

/* 静态信息卡片（只读，无 hover lift） */
.info-card {
  margin-bottom: 14px;
  padding: 18px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(200, 162, 255, 0.06), transparent 44%),
    linear-gradient(145deg, rgba(255, 111, 165, 0.07), transparent 58%),
    var(--color-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.info-card h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-primary-dark);
}

.info-card p,
.info-card .card-lead {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

.info-card p + .category-chips,
.info-card .card-lead + .category-chips {
  margin-top: 12px;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.why-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--color-text-secondary);
}

.why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-deep));
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-chip {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 111, 165, 0.1);
  border: 1px solid rgba(255, 111, 165, 0.22);
  color: var(--color-primary-dark);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.category-chip:hover {
  border-color: rgba(255, 111, 165, 0.45);
  background: rgba(255, 111, 165, 0.16);
  text-decoration: none;
}

.section-intro {
  margin-bottom: 14px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

.games-section {
  margin-top: 0;
  margin-bottom: 20px;
}

/* 游戏列表 */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: 1.1rem;
}

.section-head p {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

.game-grid {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.game-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(200, 162, 255, 0.05), transparent 44%),
    var(--color-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
}

.game-card:hover {
  border-color: rgba(255, 111, 165, 0.35);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
}

.game-card img {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  background: #fff0f6;
}

.game-card-body {
  flex: 1;
  min-width: 0;
}

.game-card h3 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-tags {
  font-size: 0.78rem;
  color: var(--color-text-secondary);
}

.play-arrow {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* 底部推广 */
.promo-card {
  margin-top: 28px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 111, 165, 0.08), transparent 55%),
    var(--color-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.promo-card h2 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.promo-card p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
}

.promo-link {
  display: inline-block;
  font-weight: 600;
  color: var(--color-primary-dark);
}

/* Hover lift */
.hover-lift {
  transition:
    transform var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    border-color var(--motion-fast) ease;
}

@media (hover: hover) {
  .hover-lift:hover {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hover-lift {
    transition: none;
  }
  .hover-lift:hover {
    transform: none;
  }
}

/* 页脚 */
.site-footer {
  padding: 20px 16px 28px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  border-top: 1px solid var(--color-border);
}

.site-footer p + p {
  margin-top: 8px;
}

.footer-meta a {
  color: var(--color-text-secondary);
}

.footer-meta a:hover {
  color: var(--color-primary-dark);
}
