/* =========================================================
   槿篱游戏库 · 站点样式
   ========================================================= */

:root {
  --bg: #080706;
  --bg-soft: #0b0a08;
  --surface: #12100c;
  --surface-2: #17140f;
  --surface-3: #1c1811;
  --line: rgba(214, 175, 102, 0.13);
  --line-strong: rgba(214, 175, 102, 0.3);
  --gold: #d6af66;
  --gold-strong: #efd194;
  --gold-deep: #b8893a;
  --ink: #f2ede2;
  --ink-soft: #d9d2c3;
  --muted: #9a9283;
  --muted-2: #6f685c;
  --danger: #e07a6a;
  --radius: 14px;
  --display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --sans: "Inter", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.95);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 640px at 10% -8%, rgba(190, 140, 55, 0.13), transparent 62%),
    radial-gradient(900px 540px at 96% 4%, rgba(140, 92, 24, 0.08), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: rgba(214, 175, 102, 0.28); color: #fff; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.site-main { flex: 1; position: relative; z-index: 1; }

/* ----------------------------- header ----------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(9, 8, 7, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(214, 175, 102, 0.1);
}

.header-inner {
  height: 66px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #f3d99d, #c5973f 60%, #a97a2c);
  color: #201607;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 8px 22px -12px rgba(214, 175, 102, 0.8);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--display); font-size: 15.5px; letter-spacing: 0.02em; font-weight: 700; }
.brand-text em {
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: 0.19em;
  color: var(--muted-2);
  margin-top: 3px;
  white-space: nowrap;
}

.main-nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.main-nav a {
  font-size: 13.5px;
  color: #c4bcac;
  padding: 8px 13px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: var(--gold-strong); }
.main-nav a.active {
  color: var(--gold-strong);
  background: rgba(214, 175, 102, 0.1);
  box-shadow: inset 0 0 0 1px rgba(214, 175, 102, 0.14);
}

.header-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 258px;
  height: 38px;
  padding: 0 8px 0 12px;
  border: 1px solid rgba(214, 175, 102, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.028);
  transition: border-color 0.2s, background 0.2s;
}
.header-search:focus-within { border-color: rgba(214, 175, 102, 0.45); background: rgba(214, 175, 102, 0.04); }
.header-search svg { width: 16px; height: 16px; stroke: var(--muted); fill: none; stroke-width: 1.8; flex-shrink: 0; }
.header-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12.5px;
  outline: none;
  font-family: inherit;
}
.header-search input::placeholder { color: var(--muted-2); }
.header-search input::-webkit-search-cancel-button { display: none; }
.search-kbd {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 10px;
  height: 22px;
  padding: 0 7px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}
.search-kbd:hover { color: var(--gold-strong); border-color: var(--line-strong); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  padding: 0 9px;
}
.nav-toggle span { display: block; height: 1.5px; background: var(--ink-soft); border-radius: 2px; transition: 0.2s; }

/* ------------------------------ hero ------------------------------ */

.hero { position: relative; overflow: hidden; padding: 74px 0 58px; }
.hero::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  left: -260px;
  top: -320px;
  background: radial-gradient(circle, rgba(214, 175, 102, 0.13), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 46px;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  letter-spacing: 0.26em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 500;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }

.hero-title {
  font-family: var(--display);
  font-size: clamp(42px, 4.7vw, 66px);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 24px 0 26px;
  display: flex;
  flex-direction: column;
}
.hero-title .gold {
  background: linear-gradient(100deg, #f5dfa9 5%, #d8ad5f 45%, #b8893a 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.slogan {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: #cfc6b4;
  margin-bottom: 20px;
}
.slogan::before {
  content: "";
  width: 3px;
  height: 17px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold-strong), var(--gold-deep));
}

.hero-desc { font-size: 14.5px; line-height: 2; color: var(--muted); white-space: pre-line; max-width: 470px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s, box-shadow 0.22s, background 0.22s, border-color 0.22s, color 0.22s;
}
.btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.9; }
.btn-gold {
  background: linear-gradient(135deg, #f0d698, #d3a74f 55%, #bd8c37);
  color: #241a08;
  box-shadow: 0 14px 32px -16px rgba(214, 175, 102, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -18px rgba(214, 175, 102, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-ghost { border-color: rgba(214, 175, 102, 0.28); color: #ded6c6; background: rgba(255, 255, 255, 0.015); }
.btn-ghost:hover { border-color: rgba(214, 175, 102, 0.55); color: var(--gold-strong); background: rgba(214, 175, 102, 0.06); transform: translateY(-2px); }

.hero-stats { display: flex; gap: 54px; margin-top: 44px; }
.hero-stats strong {
  display: block;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  color: #f6f1e5;
  letter-spacing: 0.02em;
}
.hero-stats span { display: block; margin-top: 4px; font-size: 11.5px; color: var(--muted-2); letter-spacing: 0.08em; }

/* hero art */
.hero-art { position: relative; height: 466px; }
.cover-stack { position: relative; width: 100%; height: 100%; }

.stack-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 420px;
  height: 420px;
  transform: translate(-50%, -46%);
  background: radial-gradient(circle, rgba(214, 175, 102, 0.22), rgba(129, 84, 20, 0.08) 45%, transparent 70%);
  filter: blur(14px);
  pointer-events: none;
}

.stack-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 232px;
  height: 318px;
  margin: -159px 0 0 -116px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 34px 60px -24px rgba(0, 0, 0, 0.92);
  background: #1a1610;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s;
}
.stack-card img { width: 100%; height: 100%; object-fit: cover; }
.stack-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 46%, rgba(4, 3, 2, 0.92) 100%); }
.stack-label {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  font-size: 12px;
  line-height: 1.5;
  color: #f3ecdc;
  padding-left: 8px;
  border-left: 2px solid var(--gold);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stack-0 { transform: translate(-42%, 12px) rotate(-13deg) scale(0.95); z-index: 1; filter: brightness(0.8); }
.stack-1 { transform: translate(0, -12px) rotate(-1deg) scale(1.03); z-index: 3; }
.stack-2 { transform: translate(42%, 12px) rotate(13deg) scale(0.95); z-index: 2; filter: brightness(0.8); }
.stack-card:hover { filter: brightness(1); }
.stack-0:hover { transform: translate(-42%, 4px) rotate(-10deg) scale(0.98); }
.stack-1:hover { transform: translate(0, -20px) rotate(0) scale(1.05); }
.stack-2:hover { transform: translate(42%, 4px) rotate(10deg) scale(0.98); }

/* --------------------------- banner strip --------------------------- */

.banner-strip {
  position: relative;
  height: 172px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s;
}
.banner-slide.active { opacity: 1; visibility: visible; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 6, 5, 0.94) 8%, rgba(7, 6, 5, 0.55) 48%, rgba(7, 6, 5, 0.1) 100%);
}
.banner-copy {
  position: absolute;
  z-index: 2;
  left: 38px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 58%;
}
.banner-copy span {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--gold);
  text-transform: uppercase;
}
.banner-copy h3 {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 700;
  margin: 9px 0 6px;
  letter-spacing: 0.01em;
}
.banner-copy p { font-size: 12.5px; color: var(--muted); }
.banner-copy a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--gold-strong);
}
.banner-copy a::after { content: "→"; transition: transform 0.2s; }
.banner-copy a:hover::after { transform: translateX(4px); }

.banner-dots { position: absolute; z-index: 3; right: 22px; bottom: 18px; display: flex; gap: 7px; }
.banner-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: all 0.25s;
}
.banner-dots button.active { width: 20px; border-radius: 4px; background: var(--gold); }

/* ---------------------------- sections ---------------------------- */

.section { padding: 46px 0; }
.section-tight { padding: 32px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.section-head .eyebrow { font-size: 9.5px; letter-spacing: 0.26em; }
.section-head h2 {
  font-family: var(--display);
  font-size: 29px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-top: 8px;
}
.section-head h2 em { font-style: normal; color: var(--gold); }
.section-link { font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s; white-space: nowrap; }
.section-link:hover { color: var(--gold-strong); }
.section-link::after { content: "→"; transition: transform 0.2s; }
.section-link:hover::after { transform: translateX(3px); }

/* game grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(202px, 1fr));
  gap: 18px;
}

.game-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #14110c, #0f0d09);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(214, 175, 102, 0.36);
  box-shadow: 0 26px 46px -28px rgba(0, 0, 0, 0.95);
}

.game-cover { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #1a1610; }
.game-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
.game-card:hover .game-cover img { transform: scale(1.055); }

.badge-platform {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  letter-spacing: 0.07em;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(8, 7, 6, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #e9e2d3;
  backdrop-filter: blur(6px);
}
.badge-rating {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 7px;
  border-radius: 6px;
  color: var(--gold-strong);
  background: rgba(8, 7, 6, 0.72);
  border: 1px solid rgba(214, 175, 102, 0.22);
  backdrop-filter: blur(6px);
}
.cover-hover {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 7px;
  text-align: center;
  font-size: 11.5px;
  border-radius: 8px;
  border: 1px solid rgba(214, 175, 102, 0.32);
  background: rgba(8, 7, 6, 0.72);
  color: var(--gold-strong);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s;
}
.game-card:hover .cover-hover { opacity: 1; transform: translateY(0); }

.game-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.game-body h3 {
  font-size: 14.5px;
  font-weight: 600;
  color: #f1eada;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-sub {
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-meta {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(214, 175, 102, 0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--muted-2);
}
.game-meta .size { color: #b6ad9b; }
.game-meta .cat { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* category tiles */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.category-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.018);
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.category-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(214, 175, 102, 0.4);
  background: rgba(214, 175, 102, 0.05);
}
.category-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-size: 16px;
  background: rgba(214, 175, 102, 0.09);
  border: 1px solid rgba(214, 175, 102, 0.14);
  flex-shrink: 0;
}
.category-tile strong { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.category-tile .cat-count { display: block; font-size: 10.5px; color: var(--muted-2); margin-top: 2px; }
.category-tile .cat-text { min-width: 0; }

/* split blocks */
.split-grid { display: grid; grid-template-columns: 1.22fr 1fr; gap: 34px; align-items: start; }

.list-panel { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.hot-row {
  display: grid;
  grid-template-columns: 30px 44px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(214, 175, 102, 0.08);
  transition: background 0.2s;
}
.hot-row:last-child { border-bottom: 0; }
.hot-row:hover { background: rgba(214, 175, 102, 0.055); }
.hot-rank { font-family: var(--display); font-size: 15px; color: var(--gold); text-align: center; }
.hot-row img { width: 44px; height: 58px; object-fit: cover; border-radius: 6px; background: #1a1610; }
.hot-info { min-width: 0; }
.hot-info strong { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-soft); }
.hot-info span { display: block; font-size: 10.5px; color: var(--muted-2); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hot-count { font-size: 11px; color: var(--muted-2); white-space: nowrap; }
.hot-count b { color: var(--gold); font-weight: 600; }

.mini-news { padding: 4px 18px; }
.mini-news-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(214, 175, 102, 0.08); align-items: baseline; }
.mini-news-row:last-child { border-bottom: 0; }
.mini-news-date { font-size: 10.5px; color: var(--muted-2); white-space: nowrap; letter-spacing: 0.03em; }
.mini-news-body { min-width: 0; }
.mini-news-body strong { display: block; font-size: 13.5px; font-weight: 500; color: var(--ink-soft); line-height: 1.5; transition: color 0.2s; }
.mini-news-body strong:hover { color: var(--gold-strong); }
.mini-news-tag { display: inline-block; font-size: 9.5px; color: var(--gold); border: 1px solid rgba(214, 175, 102, 0.25); border-radius: 4px; padding: 1px 5px; margin-right: 6px; vertical-align: 1px; letter-spacing: 0.05em; }

/* CTA */
.cta-band {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    radial-gradient(520px 240px at 88% 20%, rgba(214, 175, 102, 0.14), transparent 70%),
    linear-gradient(120deg, #12100b, #0c0a08);
  position: relative;
  overflow: hidden;
}
.cta-band h3 { font-family: var(--display); font-size: 24px; font-weight: 700; }
.cta-band p { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

/* ------------------------------ footer ------------------------------ */

.site-footer { margin-top: 84px; border-top: 1px solid rgba(214, 175, 102, 0.1); background: #070605; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.35fr; gap: 40px; padding-top: 50px; padding-bottom: 40px; }
.footer-brand p { font-size: 12.5px; color: var(--muted); line-height: 1.9; margin-top: 16px; max-width: 360px; }
.footer-mail { font-size: 12px; color: var(--muted-2); }
.footer-mail a { color: var(--gold); }
.footer-col h4 { font-size: 11px; letter-spacing: 0.16em; color: #d8d0c0; margin-bottom: 14px; font-weight: 600; }
.footer-col a { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 9px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-strong); }
.footer-tip { font-size: 11.5px; color: var(--muted-2); line-height: 1.8; margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(214, 175, 102, 0.08);
  padding-top: 20px;
  padding-bottom: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: var(--muted-2);
}

/* ---------------------------- page header ---------------------------- */

.page-head { padding: 54px 0 26px; }
.page-head h1 { font-family: var(--display); font-size: clamp(32px, 4vw, 46px); font-weight: 700; margin-top: 14px; letter-spacing: 0.01em; }
.page-head h1 em { font-style: normal; color: var(--gold); }
.page-head p { font-size: 13.5px; color: var(--muted); margin-top: 12px; max-width: 620px; line-height: 1.9; }
.page-head .head-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-size: 12px; color: var(--muted-2); }
.page-head .head-meta b { color: var(--gold); font-weight: 600; }

/* filters */
.filter-bar {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 16, 12, 0.72);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 20px;
}
.filter-row { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.filter-label { font-size: 11px; color: var(--muted-2); letter-spacing: 0.1em; margin-right: 4px; }
.filter-pill {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  transition: all 0.2s;
  white-space: nowrap;
}
.filter-pill:hover { border-color: var(--line-strong); color: var(--ink-soft); }
.filter-pill.active { color: #241a08; background: linear-gradient(135deg, #e8cb8c, #c99a3f); border-color: transparent; font-weight: 600; }

.field {
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0d0b08;
  color: var(--ink);
  font-size: 13px;
  padding: 0 12px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.field:focus { border-color: rgba(214, 175, 102, 0.5); }
select.field { cursor: pointer; }
.field-search { position: relative; display: flex; align-items: center; flex: 1; min-width: 220px; max-width: 380px; }
.field-search svg { position: absolute; left: 12px; width: 15px; height: 15px; stroke: var(--muted-2); fill: none; stroke-width: 1.8; }
.field-search input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0d0b08;
  color: var(--ink);
  font-size: 13px;
  padding: 0 12px 0 35px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}
.field-search input:focus { border-color: rgba(214, 175, 102, 0.5); }

.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 12.5px; color: var(--muted-2); margin: 18px 2px 16px; }
.results-bar b { color: var(--gold); font-weight: 600; }
.results-bar .field { height: 34px; font-size: 12px; }

/* pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 32px; flex-wrap: wrap; }
.page-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.015);
  transition: all 0.2s;
}
.page-btn:hover { border-color: var(--line-strong); color: var(--gold-strong); }
.page-btn.active { background: linear-gradient(135deg, #e8cb8c, #c99a3f); border-color: transparent; color: #241a08; font-weight: 600; }
.page-btn.disabled { opacity: 0.35; pointer-events: none; }

/* ---------------------------- game detail ---------------------------- */

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--muted-2); padding-top: 32px; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--muted-2); }

.detail-grid { display: grid; grid-template-columns: 300px 1fr; gap: 46px; align-items: start; padding-top: 26px; }
.detail-cover { position: sticky; top: 92px; }
.detail-cover .cover-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(214, 175, 102, 0.2);
  box-shadow: 0 40px 60px -36px rgba(0, 0, 0, 0.95);
  background: #1a1610;
  aspect-ratio: 3 / 4;
}
.detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.detail-cover .cover-foot { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; font-size: 12px; color: var(--muted); }
.detail-cover .cover-foot div { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(214, 175, 102, 0.12); padding-bottom: 8px; }
.detail-cover .cover-foot b { color: var(--ink-soft); font-weight: 500; }

.detail-info h1 { font-family: var(--display); font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; line-height: 1.24; letter-spacing: 0.01em; }
.detail-sub { font-size: 13px; color: var(--muted); margin-top: 10px; letter-spacing: 0.03em; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.tag {
  font-size: 11px;
  color: #c8bfae;
  padding: 3px 9px;
  border: 1px solid rgba(214, 175, 102, 0.18);
  border-radius: 999px;
  background: rgba(214, 175, 102, 0.04);
}
.tag.gold { color: var(--gold); border-color: rgba(214, 175, 102, 0.35); }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 26px 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.015);
}
.stats-row > div { padding: 14px 16px; border-right: 1px solid var(--line); }
.stats-row > div:last-child { border-right: 0; }
.stats-row strong { display: block; font-size: 17px; font-weight: 600; color: var(--ink); font-family: var(--display); }
.stats-row strong.gold { color: var(--gold); }
.stats-row span { display: block; font-size: 10.5px; color: var(--muted-2); margin-top: 3px; letter-spacing: 0.06em; }

.block-title { font-family: var(--display); font-size: 19px; font-weight: 700; margin: 32px 0 14px; display: flex; align-items: center; gap: 9px; }
.block-title::before { content: ""; width: 3px; height: 15px; border-radius: 2px; background: linear-gradient(180deg, var(--gold-strong), var(--gold-deep)); }

.prose { font-size: 14px; line-height: 2; color: #b6ae9e; }
.prose p { margin-bottom: 12px; }
.prose p:last-child { margin-bottom: 0; }

.req-table { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.req-row { display: grid; grid-template-columns: 110px 1fr; border-bottom: 1px solid rgba(214, 175, 102, 0.08); font-size: 12.5px; }
.req-row:last-child { border-bottom: 0; }
.req-row dt { padding: 11px 15px; color: var(--muted-2); background: rgba(255, 255, 255, 0.016); margin: 0; }
.req-row dd { padding: 11px 15px; color: var(--muted); margin: 0; }

.download-panel {
  border: 1px solid rgba(214, 175, 102, 0.26);
  border-radius: 16px;
  padding: 22px;
  margin-top: 30px;
  background:
    radial-gradient(400px 200px at 10% 0%, rgba(214, 175, 102, 0.1), transparent 70%),
    linear-gradient(150deg, #13100b, #0b0a08);
}
.download-panel h3 { font-family: var(--display); font-size: 19px; font-weight: 700; }
.download-panel .panel-desc { font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.box-download-btn { display: flex; width: 100%; margin-top: 16px; text-decoration: none; border-color: rgba(214, 175, 102, 0.55); background: linear-gradient(120deg, rgba(214, 175, 102, 0.18), rgba(214, 175, 102, 0.04)); }
.box-download-btn .ch-icon { background: var(--gold); color: #1a1206; font-weight: 700; }
.box-download-btn:hover { border-color: var(--gold); }
.download-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid rgba(214, 175, 102, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--ink-soft);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.22s;
  font-family: inherit;
  text-align: left;
}
.download-btn:hover { border-color: rgba(214, 175, 102, 0.5); background: rgba(214, 175, 102, 0.07); transform: translateY(-2px); }
.download-btn:disabled { opacity: 0.55; cursor: wait; }
.download-btn .ch-left { display: flex; align-items: center; gap: 9px; }
.ch-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #1d1405;
  background: linear-gradient(140deg, #ecd191, #c99a3f);
  flex-shrink: 0;
}
.download-btn small { display: block; font-size: 10px; color: var(--muted-2); margin-top: 1px; }
.download-btn > svg { width: 14px; height: 14px; flex-shrink: 0; stroke: var(--muted); fill: none; stroke-width: 1.8; }
.download-note { margin-top: 14px; font-size: 11px; color: var(--muted-2); line-height: 1.8; }

.related { margin-top: 58px; }

/* ----------------------------- rankings ----------------------------- */

.ranking-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.podium-card {
  position: relative;
  display: flex;
  gap: 15px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #15120d, #0d0b08);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.podium-card:hover { border-color: rgba(214, 175, 102, 0.4); transform: translateY(-3px); }
.podium-card::after { content: ""; position: absolute; right: -30px; top: -50px; width: 150px; height: 150px; background: radial-gradient(circle, rgba(214, 175, 102, 0.13), transparent 70%); }
.podium-card img { width: 84px; height: 112px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.podium-info { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.podium-rank { font-family: var(--display); font-size: 26px; color: rgba(214, 175, 102, 0.5); line-height: 1; }
.podium-info h3 { font-size: 15px; font-weight: 600; margin: 8px 0 4px; color: var(--ink); }
.podium-info p { font-size: 11px; color: var(--muted-2); }
.podium-info b { color: var(--gold); font-size: 12px; margin-top: 10px; font-weight: 600; }

.rank-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.rank-row {
  display: grid;
  grid-template-columns: 44px 46px 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 11px 18px;
  border-bottom: 1px solid rgba(214, 175, 102, 0.08);
  transition: background 0.2s;
}
.rank-row:last-child { border-bottom: 0; }
.rank-row:hover { background: rgba(214, 175, 102, 0.05); }
.rank-num { font-family: var(--display); font-size: 17px; color: var(--muted-2); }
.rank-row img { width: 44px; height: 58px; object-fit: cover; border-radius: 6px; background: #1a1610; }
.rank-info { min-width: 0; }
.rank-info strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-info span { display: block; font-size: 10.5px; color: var(--muted-2); margin-top: 3px; }
.rank-stat { font-size: 11.5px; color: var(--muted-2); text-align: right; white-space: nowrap; }
.rank-stat b { display: block; color: var(--gold); font-size: 12.5px; font-weight: 600; }
.rank-tag { font-size: 10.5px; color: var(--muted); border: 1px solid var(--line); padding: 3px 8px; border-radius: 5px; white-space: nowrap; }

/* ---------------------------- downloads ---------------------------- */

.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: linear-gradient(170deg, #13100c, #0d0b08);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.step-card:hover { border-color: rgba(214, 175, 102, 0.32); transform: translateY(-3px); }
.step-num { font-family: var(--display); font-size: 32px; color: rgba(214, 175, 102, 0.34); line-height: 1; }
.step-card h3 { font-size: 15px; font-weight: 600; margin: 14px 0 8px; }
.step-card p { font-size: 12px; color: var(--muted); line-height: 1.9; }

.notice-box { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 22px 24px; }
.notice-box h3 { font-family: var(--display); font-size: 18px; margin-bottom: 14px; }
.notice-box ul { margin: 0; padding-left: 18px; }
.notice-box li { font-size: 12.5px; color: var(--muted); line-height: 2; margin-bottom: 6px; }
.notice-box li::marker { color: var(--gold); }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 30px 17px 2px;
  font-size: 14px;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 18px; font-weight: 300; transition: transform 0.25s; }
.faq-item[open] summary { color: var(--gold-strong); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-body { padding: 0 30px 20px 2px; font-size: 13px; color: var(--muted); line-height: 2; white-space: pre-line; }

/* ------------------------------ news ------------------------------ */

.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px 22px;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}
.news-card:hover { border-color: rgba(214, 175, 102, 0.36); background: #14110c; transform: translateX(3px); }
.news-card h3 { font-size: 16px; font-weight: 600; color: var(--ink-soft); line-height: 1.55; }
.news-card p { font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.8; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; font-size: 10.5px; color: var(--muted-2); }
.news-tag { font-size: 10px; padding: 2px 8px; border-radius: 4px; border: 1px solid rgba(214, 175, 102, 0.3); color: var(--gold); letter-spacing: 0.05em; }
.news-tag.tutorial { border-color: rgba(126, 168, 214, 0.35); color: #9dc0e8; }
.news-pin { color: var(--gold); font-size: 10px; border: 1px solid rgba(214, 175, 102, 0.28); border-radius: 4px; padding: 2px 6px; }
.news-arrow { color: var(--muted-2); font-size: 16px; padding-top: 2px; }

.news-tabs { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }

.news-article { max-width: 840px; padding-top: 34px; }
.news-article h1 { font-family: var(--display); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.35; font-weight: 700; margin: 16px 0 14px; }
.news-article .article-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 11.5px; color: var(--muted-2); padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.article-cover { width: 100%; border-radius: 14px; border: 1px solid var(--line); margin: 26px 0; object-fit: cover; max-height: 340px; }
.article-body { margin-top: 24px; font-size: 14.5px; line-height: 2.1; color: #b9b1a1; white-space: pre-line; }
.article-body p { margin-bottom: 16px; }
.article-back { margin-top: 34px; }

/* --------------------------- states / toast --------------------------- */

.empty-state {
  border: 1px dashed rgba(214, 175, 102, 0.2);
  border-radius: var(--radius);
  padding: 64px 24px;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.012);
}
.empty-state strong { display: block; font-family: var(--display); font-size: 20px; color: var(--ink-soft); margin-bottom: 8px; }
.empty-state p { font-size: 12.5px; color: var(--muted-2); }

.skeleton-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(202px, 1fr)); gap: 18px; }
.skeleton-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #100e0a; }
.skeleton-card .sk-cover { aspect-ratio: 3 / 4; }
.skeleton-card .sk-line { height: 12px; border-radius: 4px; margin: 12px 14px; }
.skeleton-card .sk-line.short { width: 46%; }
.sk-shimmer {
  background: linear-gradient(90deg, #14110d 25%, #1d1912 37%, #14110d 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}
@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.spinner {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(214, 175, 102, 0.16);
  border-top-color: var(--gold);
  animation: spin 0.8s linear infinite;
  margin: 60px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

.toast-stack { position: fixed; right: 22px; bottom: 22px; z-index: 200; display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.toast {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(214, 175, 102, 0.3);
  background: #19150e;
  color: var(--ink-soft);
  font-size: 12.5px;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.9);
  animation: toast-in 0.25s ease;
}
.toast.error { border-color: rgba(224, 122, 106, 0.45); color: #efb3a8; }
.toast.success { border-color: rgba(126, 190, 137, 0.4); color: #b7ddb9; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.is-broken { opacity: 0; }

/* ---------------------------- responsive ---------------------------- */

@media (max-width: 1140px) {
  .header-search { width: 210px; }
  .main-nav a { padding: 8px 10px; font-size: 13px; }
  .hero-grid { gap: 24px; }
  .stack-card { width: 206px; height: 286px; margin: -143px 0 0 -103px; }
  .detail-grid { grid-template-columns: 260px 1fr; gap: 34px; }
}

@media (max-width: 960px) {
  .main-nav {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 18px 16px;
    background: rgba(9, 8, 7, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 12px; font-size: 14px; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-search { margin-left: 0; width: 230px; }
  .header-inner { gap: 14px; }
  .hero { padding: 54px 0 46px; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-art { height: 400px; order: 2; }
  .hero-copy { order: 1; }
  .split-grid { grid-template-columns: 1fr; gap: 26px; }
  .podium { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .detail-grid { grid-template-columns: 1fr; gap: 26px; }
  .detail-cover { position: static; max-width: 300px; }
  .banner-copy { max-width: 72%; left: 26px; }
}

@media (max-width: 700px) {
  .container { padding: 0 18px; }
  .header-search { display: none; }
  .header-inner { height: 62px; }
  .main-nav { top: 62px; }
  .hero { padding: 40px 0 34px; }
  .hero-title { font-size: 38px; }
  .hero-desc { font-size: 13.5px; }
  .hero-stats { gap: 30px; margin-top: 32px; }
  .hero-stats strong { font-size: 24px; }
  .hero-art { height: 330px; }
  .stack-card { width: 168px; height: 234px; margin: -117px 0 0 -84px; }
  .stack-card .stack-label { font-size: 10px; left: 9px; right: 9px; bottom: 9px; }
  .banner-strip { height: 154px; }
  .banner-copy { left: 20px; max-width: 82%; }
  .banner-copy h3 { font-size: 18px; }
  .banner-copy p { font-size: 11.5px; }
  .section { padding: 36px 0; }
  .section-head h2 { font-size: 24px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .game-body { padding: 10px 11px 12px; }
  .game-body h3 { font-size: 13px; }
  .game-sub { font-size: 10px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .category-tile { padding: 11px; gap: 9px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 24px; }
  .cta-band h3 { font-size: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .page-head { padding: 36px 0 20px; }
  .page-head h1 { font-size: 30px; }
  .filter-bar { padding: 13px; }
  .field-search { max-width: none; }
  .results-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .detail-grid { padding-top: 18px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stats-row > div:nth-child(2) { border-right: 0; }
  .stats-row > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .download-grid { grid-template-columns: 1fr; }
  .req-row { grid-template-columns: 92px 1fr; }
  .rank-row { grid-template-columns: 30px 40px 1fr auto; gap: 10px; padding: 10px 13px; }
  .rank-row .rank-tag { display: none; }
  .rank-row img { width: 40px; height: 52px; }
  .news-card { padding: 16px; gap: 14px; }
  .news-card h3 { font-size: 14.5px; }
  .step-grid { grid-template-columns: 1fr; }
  .podium-card img { width: 72px; height: 96px; }
  .toast-stack { left: 18px; right: 18px; max-width: none; bottom: 18px; }
}

/* ----------------------------- game box ------------------------------ */

.box-hero { position: relative; overflow: hidden; padding: 62px 0 26px; }
.box-hero::before {
  content: "";
  position: absolute;
  width: 760px;
  height: 520px;
  right: -180px;
  top: -160px;
  background: radial-gradient(closest-side, rgba(214, 175, 102, 0.16), transparent 72%);
  pointer-events: none;
}
.box-hero-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 44px; align-items: center; position: relative; }
.box-client-name { font-family: var(--display); font-size: clamp(30px, 3vw, 40px); font-weight: 700; color: #efd194; letter-spacing: 8px; margin: 0; text-shadow: 0 0 26px rgba(214, 175, 102, 0.3); }
.box-hero-copy h1 { font-family: var(--display); font-size: clamp(38px, 4vw, 54px); line-height: 1.22; margin: 22px 0 18px; letter-spacing: 0.02em; }
.box-hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #f5dfa9, #d8ad5f 55%, #b8893a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.box-hero-desc { font-size: 13.5px; color: var(--muted); line-height: 2; max-width: 430px; }
.box-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.box-hero-actions button.btn { font-family: inherit; cursor: pointer; }
.box-action-tip { margin-top: 14px; font-size: 12px; color: var(--gold-strong); line-height: 1.9; }
.box-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.box-chips span { font-size: 11px; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 8px; padding: 6px 11px; background: rgba(255, 255, 255, 0.02); }
.box-hero-shot {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  overflow: hidden;
  background: #0d0b09;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.box-hero-shot img { display: block; width: 100%; height: auto; }

.box-vip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 40px;
  background: linear-gradient(120deg, #100d09, #0c0a08);
}
.box-vip-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.box-vip-badge {
  border: 1px solid var(--line-strong);
  color: var(--gold-strong);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
}
.box-vip-free {
  border: 1px solid rgba(224, 90, 70, 0.35);
  background: rgba(224, 90, 70, 0.14);
  color: #ff9a86;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
}
.box-vip-copy h2 { font-family: var(--display); font-size: 28px; line-height: 1.45; margin: 16px 0 12px; }
.box-vip-copy h2 em { font-style: normal; color: var(--gold-strong); }
.box-vip-copy > p { font-size: 12.5px; color: var(--muted); line-height: 2; }
.box-vip-types { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.box-vip-types li { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: rgba(255, 255, 255, 0.02); display: flex; flex-direction: column; gap: 4px; }
.box-vip-types strong { font-size: 13.5px; color: var(--ink); }
.box-vip-types span { font-size: 11.5px; color: var(--muted-2); }
.box-vip-note { margin-top: 18px; font-size: 12px; color: var(--gold-strong); }
.box-vip-shot { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #0d0b09; }
.box-vip-shot img { display: block; width: 100%; height: auto; }
.box-vip-shot figcaption { display: block; padding: 12px 16px; font-size: 11.5px; color: var(--muted); border-top: 1px solid var(--line); }

.box-svip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 36px 40px;
  background:
    radial-gradient(520px 240px at 0% 0%, rgba(214, 175, 102, 0.16), transparent 70%),
    linear-gradient(120deg, #17130d, #0c0a08);
}
.box-svip-badge {
  display: inline-flex;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #241a08;
  background: linear-gradient(120deg, #f2d79c, #cfa157);
}
.box-svip-head { max-width: 520px; }
.box-svip-head h2 { font-family: var(--display); font-size: 28px; line-height: 1.45; margin: 16px 0 12px; }
.box-svip-head h2 em { font-style: normal; color: var(--gold-strong); }
.box-svip-head p { font-size: 12.5px; color: var(--muted); line-height: 2; }
.box-svip-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
.box-svip-item { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: rgba(8, 7, 6, 0.55); }
.box-svip-item strong { display: block; font-family: var(--display); font-size: 24px; color: var(--gold-strong); line-height: 1.1; }
.box-svip-item strong span { color: var(--gold); }
.box-svip-item h3 { font-size: 13.5px; font-weight: 600; margin: 8px 0 6px; }
.box-svip-item p { font-size: 12px; color: var(--muted); line-height: 1.9; }

.box-shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.box-svip-shot { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #0d0b09; }
.box-svip-shot img { display: block; width: 100%; height: auto; }
.box-svip-shot figcaption { display: block; padding: 12px 16px; font-size: 11.5px; color: var(--muted); border-top: 1px solid var(--line); }
.box-utral-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

.box-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.box-feature {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: linear-gradient(170deg, #13100c, #0d0b08);
  transition: border-color 0.25s, transform 0.25s;
}
.box-feature:hover { border-color: rgba(214, 175, 102, 0.32); transform: translateY(-3px); }
.box-feature-num { font-family: var(--display); font-size: 30px; color: rgba(214, 175, 102, 0.36); line-height: 1; }
.box-feature h3 { font-size: 15px; font-weight: 600; margin: 12px 0 8px; }
.box-feature p { font-size: 12.5px; color: var(--muted); line-height: 1.95; }

.box-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.box-cat {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: radial-gradient(360px 160px at 90% 0%, rgba(214, 175, 102, 0.09), transparent 70%), var(--surface);
  transition: border-color 0.25s, transform 0.25s;
}
.box-cat:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.box-cat h3 { font-family: var(--display); font-size: 21px; margin-bottom: 10px; }
.box-cat p { font-size: 12.5px; color: var(--muted); line-height: 1.9; min-height: 44px; }
.box-cat-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 12px; color: var(--gold); }
.box-cat-link svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.box-shot { margin: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #0c0a08; }
.box-shot img { display: block; width: 100%; height: auto; }
.box-shot figcaption { padding: 14px 20px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }

/* ----------------------------- 会员套餐 ----------------------------- */
.box-plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.box-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(175deg, #131009, #0b0a08);
}
.box-plan.is-featured {
  border-color: rgba(139, 111, 255, 0.6);
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(124, 92, 255, 0.12), transparent 68%),
    linear-gradient(175deg, #16121f, #0b0a08);
  box-shadow: 0 30px 60px -45px rgba(124, 92, 255, 0.7);
}
.box-plan-badge {
  position: absolute;
  top: 16px;
  right: 18px;
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid rgba(139, 111, 255, 0.55);
  background: rgba(124, 92, 255, 0.16);
  color: #bfaeff;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.box-plan h3 { font-family: var(--display); font-size: 20px; font-weight: 700; line-height: 1.4; padding-right: 54px; min-height: 28px; }
.box-plan-sub { margin-top: 6px; font-size: 12px; color: var(--muted-2); min-height: 36px; }
.box-plan-price { display: flex; align-items: flex-start; gap: 4px; margin: 20px 0 6px; color: var(--ink); }
.box-plan-price small { font-size: 15px; line-height: 2.1; color: var(--ink-soft); }
.box-plan-price strong { font-family: var(--display); font-size: 44px; line-height: 1.05; font-weight: 700; letter-spacing: -0.01em; }
.box-plan-list { list-style: none; padding: 0; margin: 18px 0 26px; flex: 1; display: flex; flex-direction: column; }
.box-plan-list li {
  position: relative;
  padding: 9px 0 9px 26px;
  font-size: 12.5px;
  color: var(--ink-soft);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.box-plan-list li:last-child { border-bottom: none; }
.box-plan-list li::before { position: absolute; left: 3px; top: 9px; font-size: 13px; font-weight: 700; }
.box-plan-list li.yes::before { content: "✓"; color: #7fd18a; }
.box-plan-list li.no { color: var(--muted-2); }
.box-plan-list li.no::before { content: "×"; color: var(--muted-2); }
.box-plan-btn {
  display: block;
  width: 100%;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.box-plan-btn:hover { border-color: var(--gold); color: var(--gold-strong); }
.box-plan.is-featured .box-plan-btn { border-color: #7c5cff; background: #7c5cff; color: #fff; font-weight: 600; }
.box-plan.is-featured .box-plan-btn:hover { background: #8b6dff; border-color: #8b6dff; }
.box-plan-tip { margin-top: 14px; text-align: center; font-size: 12px; color: var(--gold-strong); }
.box-plan-tip[hidden] { display: none; }

.box-download {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 40px 44px;
  background:
    radial-gradient(560px 260px at 92% 10%, rgba(214, 175, 102, 0.14), transparent 70%),
    linear-gradient(120deg, #14110c, #0c0a08);
}
.box-download h2 { font-family: var(--display); font-size: 32px; line-height: 1.4; margin: 12px 0 14px; }
.box-download-desc { font-size: 13px; color: var(--muted); line-height: 2; max-width: 460px; }
.box-dl-meta { list-style: none; display: flex; gap: 30px; flex-wrap: wrap; margin: 24px 0 0; padding: 0; }
.box-dl-meta li { display: flex; flex-direction: column; gap: 4px; }
.box-dl-meta span { font-size: 11px; color: var(--muted-2); letter-spacing: 0.1em; }
.box-dl-meta strong { font-family: var(--display); font-size: 20px; color: var(--gold-strong); font-weight: 600; }
.box-dl-actions { display: flex; flex-direction: column; gap: 12px; justify-content: center; align-items: flex-start; }
.box-dl-buttons { display: grid; grid-template-columns: repeat(2, auto); gap: 12px; justify-content: start; }
.box-dl-note { font-size: 11.5px; color: var(--muted-2); line-height: 1.9; max-width: 300px; }

@media (max-width: 960px) {
  .box-hero { padding: 46px 0 10px; }
  .box-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .box-vip { grid-template-columns: 1fr; padding: 28px; }
  .box-svip { grid-template-columns: 1fr; padding: 28px; }
  .box-shot-grid { grid-template-columns: 1fr; }
  .box-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .box-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .box-cat-grid { grid-template-columns: 1fr; }
  .box-download { grid-template-columns: 1fr; gap: 26px; padding: 30px; }
}

@media (max-width: 700px) {
  .box-hero-copy h1 { font-size: 34px; }
  .box-vip { padding: 22px; }
  .box-svip { padding: 22px; }
  .box-feature-grid { grid-template-columns: 1fr; }
  .box-plan-grid { grid-template-columns: 1fr; }
  .box-download { padding: 24px; }
  .box-download h2 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
