/* ============================================================
   电影天堂下载 - Chrome Metal Download Station Theme
   Deep Rose / Chrome Silver / Near Black
   ============================================================ */

:root {
  --rose-deep: #881337;
  --chrome: #e2e8f0;
  --near-black: #0c0a09;
  --dark-stone: #1c1917;
  --crimson-rose: #be123c;
  --steel-gray: #94a3b8;
  --rose-glow: #f43f5e;
  --panel: #211d1c;
  --panel-2: #2a2524;
  --panel-3: #322c2a;
  --line: #3f3836;
  --line-bright: #5a504d;
  --muted: #a8a29e;
  --text: #e7e5e4;
  --ok: #22c55e;
  --warn: #f59e0b;

  --metal-1: linear-gradient(180deg, #2b2625 0%, #1c1917 50%, #2b2625 100%);
  --metal-h: linear-gradient(180deg, #4a4341 0%, #2a2423 45%, #1a1716 55%, #3a3331 100%);
  --chrome-bar: linear-gradient(180deg, #cbd5e1 0%, #f1f5f9 18%, #94a3b8 50%, #e2e8f0 82%, #64748b 100%);
  --chrome-bar-h: linear-gradient(90deg, #94a3b8 0%, #e2e8f0 25%, #f8fafc 50%, #e2e8f0 75%, #94a3b8 100%);
  --rose-bar: linear-gradient(90deg, #881337 0%, #be123c 50%, #f43f5e 100%);
  --rivet: radial-gradient(circle at 35% 30%, #e2e8f0 0%, #94a3b8 45%, #475569 100%);
  --brushed: repeating-linear-gradient(90deg, rgba(226,232,240,0.03) 0 1px, rgba(226,232,240,0) 1px 3px);

  --shadow-1: 0 2px 0 #000, 0 6px 18px rgba(0,0,0,0.6);
  --shadow-inset: inset 0 1px 0 rgba(255,255,255,0.08), inset 0 -1px 0 rgba(0,0,0,0.5);

  --radius: 6px;
  --font: "Roboto Condensed", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

html, body {
  background: var(--dark-stone);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}

body {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(190,18,60,0.12), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(136,19,55,0.10), transparent 60%),
    var(--dark-stone);
  background-attachment: fixed;
}

/* Brushed metal texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: var(--brushed);
  opacity: 0.5;
  z-index: 0;
  mix-blend-mode: screen;
}

a { color: var(--chrome); text-decoration: none; }
a:hover { color: var(--rose-glow); }

img { max-width: 100%; display: block; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }

/* ============================================================
   TOP CHROME HEADER + NAV
   ============================================================ */
.top-bar {
  background: var(--metal-h);
  border-bottom: 1px solid #000;
  box-shadow: var(--shadow-1);
  position: relative;
  z-index: 50;
}
.top-bar::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -3px; height: 3px;
  background: var(--chrome-bar);
  opacity: 0.55;
}

.top-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 18px; flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 14px; }

.brand-logo {
  width: 52px; height: 52px;
  background: var(--chrome-bar);
  border-radius: 8px;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), inset 0 -2px 4px rgba(0,0,0,0.4), 0 4px 10px rgba(0,0,0,0.6);
  display: grid; place-items: center;
}
.brand-logo::after {
  content: "";
  width: 26px; height: 26px;
  border: 3px solid var(--near-black);
  border-top-color: transparent;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(244,63,94,0.7);
  animation: spin 2.4s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.brand-text h1 {
  font-size: 24px; font-weight: 700; letter-spacing: 1px;
  color: var(--chrome);
  text-shadow: 0 1px 0 #000, 0 0 12px rgba(244,63,94,0.45);
  line-height: 1.1;
}
.brand-text h1 span { color: var(--rose-glow); }
.brand-text p { font-size: 11px; color: var(--steel-gray); letter-spacing: 2px; text-transform: uppercase; }

.top-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.top-stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 12px;
  font-size: 12px;
  color: var(--steel-gray);
  box-shadow: var(--shadow-inset);
  display: flex; align-items: center; gap: 8px;
}
.top-stat b { color: var(--chrome); font-size: 14px; }
.top-stat .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }

/* Nav bar */
.nav {
  background: linear-gradient(180deg, #1a1716 0%, #100e0d 100%);
  border-top: 1px solid var(--line-bright);
  border-bottom: 1px solid #000;
  position: sticky; top: 0; z-index: 40;
}
.nav::before {
  content: ""; position: absolute; left:0; right:0; top:0; height:1px;
  background: linear-gradient(90deg, transparent, var(--rose-glow), transparent);
  opacity: 0.6;
}
.nav-inner { display: flex; gap: 2px; flex-wrap: wrap; }
.nav a {
  color: var(--chrome);
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: color .15s, background .15s;
}
.nav a:hover { background: var(--panel-2); color: var(--rose-glow); }
.nav a.active {
  color: var(--near-black);
  background: var(--chrome-bar);
  text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: var(--rose-glow);
  box-shadow: 0 0 10px var(--rose-glow);
}

/* ============================================================
   HERO / SECTION TITLES
   ============================================================ */
.hero {
  background: var(--metal-1);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 36px 30px;
  margin: 26px 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(226,232,240,0.04) 0 2px, transparent 2px 6px),
    radial-gradient(600px 200px at 90% 0%, rgba(244,63,94,0.18), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.hero h2 {
  font-size: 32px; color: var(--chrome); letter-spacing: 2px;
  text-shadow: 0 2px 0 #000, 0 0 18px rgba(244,63,94,0.4);
}
.hero h2 b { color: var(--rose-glow); }
.hero p { color: var(--steel-gray); margin-top: 8px; max-width: 560px; }

/* riveted corners */
.rivets::before, .rivets::after,
.rivets > .rv1, .rivets > .rv2 {
  content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%;
  background: var(--rivet);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.6), 0 1px 2px rgba(0,0,0,0.8);
}
.rivets::before { top: 8px; left: 8px; }
.rivets::after { top: 8px; right: 8px; }
.rivets > .rv1 { bottom: 8px; left: 8px; }
.rivets > .rv2 { bottom: 8px; right: 8px; }

.section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 36px 0 16px; gap: 14px; flex-wrap: wrap;
}
.section-head h3 {
  font-size: 20px; letter-spacing: 2px; color: var(--chrome);
  padding-left: 14px; border-left: 4px solid var(--rose-glow);
  text-transform: uppercase;
}
.section-head .more { font-size: 13px; color: var(--steel-gray); }
.section-head .more:hover { color: var(--rose-glow); }

/* ============================================================
   PANELS / CARDS
   ============================================================ */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-inset), 0 4px 14px rgba(0,0,0,0.5);
  position: relative;
}

/* Download / transfer card */
.dl-card {
  background: linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-inset), 0 4px 12px rgba(0,0,0,0.5);
  transition: transform .15s, border-color .15s;
}
.dl-card:hover { transform: translateY(-2px); border-color: var(--crimson-rose); }
.dl-card::before {
  content: ""; position: absolute; left:0; top:0; bottom:0; width: 3px;
  background: var(--rose-bar);
}

.dl-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.dl-icon {
  width: 46px; height: 46px; flex: 0 0 46px;
  background: var(--chrome-bar);
  border-radius: 6px;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), inset 0 -2px 3px rgba(0,0,0,0.4);
  display: grid; place-items: center;
}
/* file transfer icon */
.dl-icon::after {
  content: "";
  width: 0; height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 14px solid var(--near-black);
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.3));
}
.dl-icon.rose { background: var(--rose-bar); }
.dl-icon.rose::after { border-top-color: var(--chrome); }

.dl-title { flex: 1; min-width: 0; }
.dl-title h4 { font-size: 16px; color: var(--chrome); margin-bottom: 3px; letter-spacing: 0.5px; }
.dl-meta { font-size: 12px; color: var(--steel-gray); display: flex; gap: 10px; flex-wrap: wrap; }
.dl-meta span { display: inline-flex; align-items: center; gap: 4px; }
.dl-meta b { color: var(--chrome); }

/* progress bar */
.progress {
  height: 12px;
  background: #0c0a09;
  border: 1px solid #000;
  border-radius: 7px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.8);
}
.progress > i {
  display: block; height: 100%;
  background: var(--rose-bar);
  position: relative;
  box-shadow: 0 0 10px rgba(244,63,94,0.6);
}
.progress > i::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.18) 0 6px, transparent 6px 12px);
  animation: stripes 0.8s linear infinite;
}
.progress.chrome > i { background: var(--chrome-bar-h); box-shadow: none; }
@keyframes stripes { to { background-position: 24px 0; } }

.progress-row { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
.progress-row .progress { flex: 1; }
.progress-row .pct { font-size: 13px; color: var(--chrome); font-weight: 700; min-width: 44px; text-align: right; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px;
  font-family: var(--font);
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  border: 1px solid #000;
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
  transition: filter .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn:hover { filter: brightness(1.12); }
.btn-primary {
  background: var(--rose-bar);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 2px 6px rgba(136,19,55,0.6);
}
.btn-chrome {
  background: var(--chrome-bar);
  color: var(--near-black);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 2px 6px rgba(0,0,0,0.5);
}
.btn-ghost {
  background: var(--panel-3);
  color: var(--chrome);
  border: 1px solid var(--line-bright);
  box-shadow: var(--shadow-inset);
}
.btn-sm { padding: 5px 10px; font-size: 11px; }

/* tag chips */
.tag {
  display: inline-block;
  font-size: 10px; letter-spacing: 1px;
  padding: 2px 7px;
  border-radius: 3px;
  text-transform: uppercase;
  font-weight: 700;
  vertical-align: middle;
}
.tag-4k { background: var(--rose-bar); color: #fff; }
.tag-1080 { background: var(--chrome-bar); color: var(--near-black); }
.tag-720 { background: #334155; color: var(--chrome); }
.tag-480 { background: #44403c; color: var(--steel-gray); }
.tag-new { background: var(--rose-glow); color: #fff; box-shadow: 0 0 8px rgba(244,63,94,0.7); }
.tag-hot { background: var(--warn); color: #1c1917; }
.tag-ok { background: var(--ok); color: #052e16; }

/* ============================================================
   GRIDS
   ============================================================ */
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .grid-auto { grid-template-columns: 1fr; }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stat-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 26px 0; }
.stat-cell {
  background: var(--metal-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-inset);
}
.stat-cell::after {
  content: ""; position: absolute; left:0; right:0; top:0; height:2px;
  background: var(--chrome-bar); opacity: 0.6;
}
.stat-cell .num { font-size: 28px; color: var(--chrome); font-weight: 700; letter-spacing: 1px; text-shadow: 0 0 12px rgba(244,63,94,0.4); }
.stat-cell .num b { color: var(--rose-glow); }
.stat-cell .lbl { font-size: 12px; color: var(--steel-gray); text-transform: uppercase; letter-spacing: 2px; margin-top: 4px; }
.stat-cell .speed { font-size: 11px; color: var(--ok); margin-top: 6px; }

@media (max-width: 760px) { .stat-bar { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .stat-bar { grid-template-columns: 1fr; } }

/* ============================================================
   MIRROR / SERVER STATUS
   ============================================================ */
.mirror-list { display: flex; flex-direction: column; gap: 10px; }
.mirror-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 10px 14px;
}
.mirror-row .name { font-size: 14px; color: var(--chrome); }
.mirror-row .name small { color: var(--steel-gray); font-size: 11px; display: block; }
.mirror-row .load { width: 120px; }
.mirror-row .load .progress { height: 8px; border-radius: 4px; }
.mirror-row .load .progress > i { background: var(--chrome-bar-h); box-shadow: none; }
.mirror-row .load.warn > i { background: var(--warn); }
.mirror-row .load.high > i { background: var(--rose-bar); box-shadow: 0 0 8px rgba(244,63,94,0.5); }

/* ============================================================
   QUALITY OPTIONS
   ============================================================ */
.quality-row { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
.quality-row .qopt {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  padding: 4px 8px; border-radius: 4px;
  background: var(--panel-3); color: var(--steel-gray);
  border: 1px solid var(--line);
}
.quality-row .qopt.on { background: var(--chrome-bar); color: var(--near-black); border-color: #000; }

/* ============================================================
   RANKING LIST
   ============================================================ */
.rank-list { display: flex; flex-direction: column; gap: 8px; }
.rank-row {
  display: grid; grid-template-columns: 44px 1fr auto auto; gap: 14px; align-items: center;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--steel-gray);
  border-radius: 5px;
  padding: 12px 14px;
  transition: border-color .15s, background .15s;
}
.rank-row:hover { background: var(--panel-3); border-left-color: var(--rose-glow); }
.rank-row.top1 { border-left-color: var(--rose-glow); background: linear-gradient(90deg, rgba(244,63,94,0.10), var(--panel-2) 40%); }
.rank-row.top2 { border-left-color: var(--crimson-rose); }
.rank-row.top3 { border-left-color: var(--rose-deep); }
.rank-num {
  font-size: 26px; font-weight: 700; text-align: center;
  color: var(--steel-gray);
  text-shadow: 0 2px 0 #000;
}
.rank-row.top1 .rank-num { color: var(--rose-glow); text-shadow: 0 0 12px rgba(244,63,94,0.7); }
.rank-row.top2 .rank-num { color: var(--crimson-rose); }
.rank-row.top3 .rank-num { color: var(--rose-deep); }
.rank-info h4 { font-size: 15px; color: var(--chrome); }
.rank-info .meta { font-size: 12px; color: var(--steel-gray); margin-top: 2px; }
.rank-count { font-size: 13px; color: var(--chrome); text-align: right; }
.rank-count b { color: var(--rose-glow); font-size: 16px; }
.rank-count small { display: block; color: var(--steel-gray); font-size: 10px; text-transform: uppercase; }

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin: 18px 0;
  box-shadow: var(--shadow-inset);
}
.filter-bar .lbl { font-size: 12px; color: var(--steel-gray); text-transform: uppercase; letter-spacing: 1px; margin-right: 4px; }
.filter-bar a, .filter-bar button {
  font-size: 13px; font-family: var(--font);
  padding: 5px 12px; border-radius: 4px;
  background: var(--panel-3); color: var(--steel-gray);
  border: 1px solid var(--line); cursor: pointer;
}
.filter-bar a:hover, .filter-bar button:hover { color: var(--chrome); border-color: var(--line-bright); }
.filter-bar a.on, .filter-bar button.on { background: var(--rose-bar); color: #fff; border-color: #000; box-shadow: 0 0 8px rgba(244,63,94,0.4); }
.filter-bar .sep { flex: 1; }

/* tabs */
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--line); margin: 18px 0 16px; }
.tabs a {
  padding: 10px 22px; font-size: 14px; font-weight: 700; letter-spacing: 1px;
  color: var(--steel-gray); border: 1px solid transparent; border-bottom: none;
  border-radius: 5px 5px 0 0; cursor: pointer;
}
.tabs a:hover { color: var(--chrome); }
.tabs a.on {
  color: var(--near-black);
  background: var(--chrome-bar);
  border-color: #000;
  text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}

/* ============================================================
   GUIDE STEPS
   ============================================================ */
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 14px; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  position: relative;
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  width: 64px; height: 64px;
  background: var(--chrome-bar);
  color: var(--near-black);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 22px; font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), inset 0 -2px 4px rgba(0,0,0,0.4), 0 0 14px rgba(244,63,94,0.25);
  border: 2px solid #000;
}
.step h4 { font-size: 17px; color: var(--chrome); margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }
.step .tip { margin-top: 10px; font-size: 12px; color: var(--steel-gray); padding: 8px 12px; background: #0c0a09; border-left: 3px solid var(--rose-glow); border-radius: 3px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}
.faq-item summary {
  padding: 14px 16px;
  font-size: 15px; color: var(--chrome); font-weight: 600;
  cursor: pointer; list-style: none;
  display: flex; align-items: center; gap: 10px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "+"; color: var(--rose-glow); font-size: 20px; font-weight: 700;
  width: 22px; height: 22px; display: grid; place-items: center;
  background: var(--panel-3); border: 1px solid var(--line); border-radius: 4px;
}
.faq-item[open] summary::before { content: "−"; }
.faq-item summary:hover { background: var(--panel-3); }
.faq-item .ans { padding: 0 16px 14px 48px; color: var(--muted); font-size: 14px; }

/* speed indicator */
.speed-ind {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; color: var(--ok);
}
.speed-ind .bars { display: inline-flex; gap: 2px; align-items: flex-end; }
.speed-ind .bars i { width: 3px; background: var(--ok); border-radius: 1px; }
.speed-ind .bars i:nth-child(1) { height: 5px; }
.speed-ind .bars i:nth-child(2) { height: 8px; }
.speed-ind .bars i:nth-child(3) { height: 11px; }
.speed-ind .bars i:nth-child(4) { height: 14px; }
.speed-ind.med .bars i { background: var(--warn); }
.speed-ind.med { color: var(--warn); }
.speed-ind.low .bars i { background: var(--rose-glow); }
.speed-ind.low { color: var(--rose-glow); }

/* episode packs */
.ep-pack {
  display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 10px 14px;
  margin-bottom: 8px;
}
.ep-pack .ep-info { font-size: 13px; color: var(--chrome); }
.ep-pack .ep-info small { color: var(--steel-gray); display: block; font-size: 11px; }

/* countdown */
.countdown {
  display: inline-flex; align-items: center; gap: 4px;
  background: #0c0a09; border: 1px solid var(--line);
  border-radius: 4px; padding: 3px 8px;
  font-size: 12px; color: var(--rose-glow); font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* footer */
.footer {
  margin-top: 50px;
  background: var(--metal-h);
  border-top: 1px solid #000;
  position: relative;
  z-index: 1;
}
.footer::before {
  content: ""; position: absolute; left:0; right:0; top:0; height:3px;
  background: var(--chrome-bar); opacity: 0.5;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px;
  padding: 36px 0 24px;
}
.footer h5 { font-size: 13px; color: var(--chrome); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.footer p, .footer li { font-size: 13px; color: var(--steel-gray); margin-bottom: 6px; list-style: none; }
.footer a { color: var(--steel-gray); }
.footer a:hover { color: var(--rose-glow); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 16px 0; text-align: center;
  font-size: 12px; color: var(--muted); letter-spacing: 1px;
}
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; } }

/* utility */
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.center { justify-content: center; }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; }
.muted { color: var(--steel-gray); }
.mono { font-variant-numeric: tabular-nums; }
.metal-divider {
  height: 3px; margin: 22px 0; border-radius: 2px;
  background: var(--chrome-bar); opacity: 0.4;
  box-shadow: 0 1px 0 #000;
}

/* about / info blocks */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .info-grid { grid-template-columns: 1fr; } }
.info-block {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  box-shadow: var(--shadow-inset);
}
.info-block h4 { color: var(--chrome); font-size: 16px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); letter-spacing: 1px; }
.info-block ul { list-style: none; }
.info-block li { font-size: 13px; color: var(--muted); padding: 5px 0; padding-left: 16px; position: relative; }
.info-block li::before { content: "▸"; position: absolute; left: 0; color: var(--rose-glow); }

/* badge */
.badge {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 1px;
  padding: 2px 8px; border-radius: 3px; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--steel-gray); background: var(--panel-3);
}

/* responsive nav collapse */
@media (max-width: 720px) {
  .nav a { padding: 11px 13px; font-size: 13px; }
  .top-stats { display: none; }
  .hero h2 { font-size: 24px; }
}
