/* =========================================================
   HW.Forum — Huobi Wallet Forum
   Static, dark/neon, glassmorphism, perspective grid
   ========================================================= */

*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --bg: #02030d;
  --bg-soft: #070918;
  --panel: rgba(12, 14, 32, 0.72);
  --panel-strong: rgba(18, 21, 45, 0.92);
  --border: rgba(130, 145, 255, 0.18);
  --border-bright: rgba(125, 145, 255, 0.42);
  --text: #f6f7ff;
  --muted: #9da3b8;
  --blue: #5865ff;
  --blue-hot: #7481ff;
  --cyan: #9ee8ff;
  --violet: #8b5cff;
  --green: #8cffd2;
  --warning: #ffd166;
  --danger: #ff7a8a;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-glow: 0 0 0 1px var(--border), 0 30px 80px -20px rgba(88, 101, 255, 0.45);
  --container: 1200px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 12%, rgba(93, 108, 255, .55), transparent 34%),
    radial-gradient(circle at 82% 22%, rgba(155, 239, 255, .25), transparent 28%),
    radial-gradient(circle at 22% 70%, rgba(86, 75, 255, .16), transparent 32%),
    linear-gradient(180deg, #02030d 0%, #030614 52%, #02030d 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
}

p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
  color: var(--text);
}

ul { padding: 0; margin: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 99;
}
.skip-link:focus { left: 16px; top: 16px; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Background decor ---------- */
.bg-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.bg-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,.6), transparent 50%),
    radial-gradient(1px 1px at 80% 60%, rgba(158,232,255,.7), transparent 50%),
    radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,.5), transparent 50%),
    radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,.4), transparent 50%),
    radial-gradient(1px 1px at 10% 70%, rgba(158,232,255,.5), transparent 50%),
    radial-gradient(1.5px 1.5px at 75% 35%, rgba(255,255,255,.7), transparent 50%),
    radial-gradient(1px 1px at 30% 50%, rgba(255,255,255,.4), transparent 50%);
  background-size: 800px 800px;
  opacity: .55;
}
.bg-beam {
  position: absolute;
  top: -10%;
  right: 10%;
  width: 380px;
  height: 1100px;
  background: radial-gradient(ellipse at top, rgba(124,142,255,.55), transparent 60%);
  filter: blur(40px);
  opacity: .7;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  flex: 0 0 auto;
}
.logo-mark {
  display: inline-flex;
  width: 32px; height: 32px;
  align-items: center; justify-content: center;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(116,129,255,.2), rgba(158,232,255,.05));
  border: 1px solid var(--border-bright);
  box-shadow: 0 0 24px rgba(116,129,255,.35);
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: rgba(10, 12, 28, 0.6);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 10px 40px -10px rgba(88,101,255,.3);
}
.site-nav a {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s, background .2s;
  position: relative;
}
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="true"] {
  color: var(--text);
  background: linear-gradient(180deg, rgba(116,129,255,.25), rgba(116,129,255,.08));
  box-shadow: inset 0 -2px 0 0 var(--blue-hot);
}

.rules-link {
  flex: 0 0 auto;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  background: rgba(10,12,28,.5);
  transition: background .2s, border-color .2s;
}
.rules-link:hover {
  background: rgba(116,129,255,.12);
  border-color: var(--blue-hot);
}

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--border-bright);
  background: rgba(10,12,28,.5);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 60px 0 90px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -100px; right: 0;
  width: 60%; height: 700px;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(124,142,255,.55), transparent 55%),
    radial-gradient(ellipse at 80% 50%, rgba(158,232,255,.25), transparent 55%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-grid-floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -80px;
  height: 260px;
  opacity: .38;
  background:
    linear-gradient(rgba(103, 116, 255, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 116, 255, .18) 1px, transparent 1px);
  background-size: 64px 42px;
  transform: perspective(700px) rotateX(64deg);
  transform-origin: bottom center;
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,.8), transparent 76%);
          mask-image: linear-gradient(to top, rgba(0,0,0,.8), transparent 76%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-block;
  font-family: "Space Grotesk", monospace;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: .9;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(36px, 5.6vw, 68px);
  line-height: 1.05;
  font-weight: 700;
  margin: 0 0 22px;
  letter-spacing: -0.02em;
}
.grad {
  background: linear-gradient(90deg, #aab2ff 0%, #9ee8ff 60%, #c4caff 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 22px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.chips li {
  font-size: 12px;
  color: var(--text);
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(116,129,255,.08);
  border: 1px solid var(--border);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(180deg, #6e7cff, #4a58ee);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow:
    0 0 0 1px rgba(116,129,255,.3),
    0 12px 30px -10px rgba(88,101,255,.6),
    inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .15s, box-shadow .2s;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(116,129,255,.5),
    0 18px 40px -10px rgba(88,101,255,.75),
    inset 0 1px 0 rgba(255,255,255,.3);
}

.disclaimer {
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
  max-width: 560px;
  opacity: .85;
}

/* Hero visual: 3D wallet stack */
.hero-visual {
  position: relative;
  height: 540px;
}
.beam {
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 100%;
  background: linear-gradient(180deg, rgba(158,232,255,.0) 0%, rgba(158,232,255,.85) 30%, rgba(124,142,255,.4) 70%, transparent 100%);
  filter: blur(14px);
  border-radius: 50%;
}
.card-stack {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.float-card {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(60,73,170,.55), rgba(20,25,70,.55));
  border: 1px solid rgba(180,195,255,.35);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.05),
    0 30px 80px -20px rgba(88,101,255,.6),
    0 0 60px rgba(116,129,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: transform .3s ease;
  will-change: transform;
}
.float-card .fc-icon {
  width: 56%;
  filter: drop-shadow(0 6px 18px rgba(124,142,255,.5));
}
.float-card.c1 {
  transform: translate(-30px, -150px) rotate(-8deg);
  z-index: 3;
  animation: floatA 7s ease-in-out infinite alternate;
}
.float-card.c2 {
  transform: translate(40px, -10px) rotate(6deg);
  z-index: 2;
  width: 240px; height: 240px;
  animation: floatB 8s ease-in-out infinite alternate;
}
.float-card.c3 {
  transform: translate(-20px, 140px) rotate(-4deg);
  z-index: 1;
  animation: floatA 9s ease-in-out infinite alternate-reverse;
}
@keyframes floatA {
  from { translate: 0 0; }
  to   { translate: 0 -10px; }
}
@keyframes floatB {
  from { translate: 0 0; }
  to   { translate: 0 14px; }
}

/* Hero feature cards */
.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 60px;
  border-top: 1px solid var(--border);
  padding-top: 36px;
  position: relative;
  z-index: 2;
}
.feat-card {
  padding: 8px 28px;
  border-left: 1px solid var(--border);
}
.feat-card:first-child { border-left: 0; padding-left: 0; }
.feat-card:last-child { padding-right: 0; }
.feat-ico {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(158,232,255,.08);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}
.feat-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.feat-card p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}

/* ---------- Sections ---------- */
.section {
  padding: 110px 0;
  position: relative;
}
.section-head {
  margin-bottom: 50px;
  max-width: 760px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
}
.section-head.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: none;
}
.section-lede {
  color: var(--muted);
  font-size: 16px;
  margin: 14px 0 0;
}

/* Card grids */
.grid { display: grid; gap: 22px; }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  padding: 28px 26px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: border-color .2s, transform .2s, box-shadow .2s;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 200px at -10% -10%, rgba(116,129,255,.15), transparent 50%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.card:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(88,101,255,.4);
}
.card:hover::before { opacity: 1; }
.card-tag {
  display: inline-block;
  font-family: "Space Grotesk", monospace;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--cyan);
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(158,232,255,.08);
  border: 1px solid var(--border);
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: t;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(116,129,255,.4) 10%, rgba(116,129,255,.4) 90%, transparent);
}
.timeline li {
  position: relative;
  padding-top: 60px;
}
.timeline li::before {
  content: "";
  position: absolute;
  top: 18px; left: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--blue-hot);
  box-shadow: 0 0 0 4px rgba(116,129,255,.18), 0 0 24px rgba(116,129,255,.7);
}
.t-year {
  position: absolute;
  top: 0;
  left: 28px;
  font-family: "Space Grotesk", monospace;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--cyan);
}
.t-body {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.t-body h3 { font-size: 16px; margin-bottom: 6px; }
.t-body p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Network cards ---------- */
.net-card {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s, transform .2s;
}
.net-card:hover { border-color: var(--border-bright); transform: translateY(-3px); }
.net-card header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.net-card h3 { font-size: 18px; margin: 0; }
.net-dot {
  width: 10px; height: 10px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan);
}
.net-card ul { display: grid; gap: 6px; margin-bottom: 14px; }
.net-card ul li {
  font-size: 13px;
  color: var(--muted);
  padding-left: 14px;
  position: relative;
}
.net-card ul li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 6px; height: 1px;
  background: var(--blue-hot);
}
.net-q {
  font-size: 13px;
  color: var(--text);
  background: rgba(116,129,255,.08);
  border-left: 2px solid var(--blue-hot);
  padding: 10px 12px;
  border-radius: 8px;
  margin: 0;
}

/* ---------- Forum threads ---------- */
.thread {
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.thread:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(88,101,255,.4);
}
.thread-id {
  font-family: "Space Grotesk", monospace;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--cyan);
  text-transform: uppercase;
}
.thread h3 { font-size: 17px; margin: 0; line-height: 1.35; }
.thread-meta {
  font-size: 12px;
  color: var(--muted);
  border-top: 1px dashed var(--border);
  padding-top: 10px;
}
.thread p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Safety ---------- */
.safety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.safety-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
}
.safety-card.safe {
  border-color: rgba(140, 255, 210, .25);
  background: linear-gradient(180deg, rgba(20,40,40,.5), rgba(12,14,32,.7));
}
.safety-card.danger {
  border-color: rgba(255, 122, 138, .3);
  background: linear-gradient(180deg, rgba(40,18,28,.5), rgba(12,14,32,.7));
}
.safety-card header { margin-bottom: 16px; }
.safety-card h3 { font-size: 20px; margin: 8px 0 0; }
.badge {
  display: inline-block;
  font-family: "Space Grotesk", monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
}
.badge.ok { color: var(--green); background: rgba(140,255,210,.1); border: 1px solid rgba(140,255,210,.3); }
.badge.no { color: var(--danger); background: rgba(255,122,138,.1); border: 1px solid rgba(255,122,138,.3); }
.safety-card ul { display: grid; gap: 8px; }
.safety-card li {
  font-size: 14px;
  color: var(--text);
  padding-left: 22px;
  position: relative;
}
.safety-card.safe li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--green);
  font-weight: 700;
}
.safety-card.danger li::before {
  content: "✕";
  position: absolute; left: 0; top: 0;
  color: var(--danger);
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 22px;
  transition: border-color .2s, background .2s;
}
.faq details[open] {
  border-color: var(--border-bright);
  background: rgba(18, 21, 45, 0.92);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.chev {
  width: 12px; height: 12px;
  border-right: 2px solid var(--blue-hot);
  border-bottom: 2px solid var(--blue-hot);
  transform: rotate(45deg);
  transition: transform .2s;
  flex: 0 0 auto;
}
.faq details[open] .chev { transform: rotate(-135deg); }
.faq p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 60px;
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(7,9,24,.6));
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.foot-brand .logo { margin-bottom: 14px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.foot-nav h4, .foot-meta h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--cyan);
  margin-bottom: 14px;
}
.foot-nav ul { display: grid; gap: 8px; }
.foot-nav a { color: var(--muted); font-size: 14px; }
.foot-nav a:hover { color: var(--text); }
.foot-bottom {
  padding-top: 20px;
  color: var(--muted);
}

/* ---------- Forum index & thread page ---------- */
.crumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.crumbs a { color: var(--cyan); }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-current] { color: var(--text); }

.section-head.between {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: none;
}

/* turn thread cards into links */
.thread-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.thread-cta {
  margin-top: auto;
  font-size: 13px;
  color: var(--cyan);
  font-weight: 600;
  letter-spacing: .02em;
}
.thread-link:hover .thread-cta { color: var(--text); }

/* Forum index list rows */
.forum-list {
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
}
.thread-row {
  display: grid;
  grid-template-columns: 60px 1fr 200px;
  gap: 22px;
  padding: 22px 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.thread-row:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -20px rgba(88,101,255,.4);
}
.tr-num {
  font-family: "Space Grotesk", monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--blue-hot);
  letter-spacing: .04em;
}
.tr-main h2 {
  font-size: 18px;
  margin: 0 0 6px;
  line-height: 1.35;
}
.tr-main p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 12px;
}
.tr-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px;
  letter-spacing: .04em;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(116,129,255,.1);
  border: 1px solid var(--border);
  color: var(--text);
}
.tr-stats {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 6px 16px;
  align-content: start;
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  justify-content: end;
}
.tr-stats > div { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.tr-stats strong { color: var(--text); font-size: 16px; font-family: "Space Grotesk", monospace; }
.tr-stats span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.tr-author, .tr-date {
  grid-column: 1 / -1;
  text-align: right;
  font-size: 12px;
  color: var(--muted);
}
.tr-author em { color: var(--cyan); font-style: normal; }

.forum-notice {
  padding: 22px 24px;
  border: 1px dashed var(--border-bright);
  border-radius: var(--radius);
  background: rgba(116,129,255,.06);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}
.forum-notice strong { color: var(--cyan); }

/* Thread page */
.thread-page { padding-top: 40px; }
.thread-head {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.thread-head h1 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.15;
  margin: 6px 0 14px;
}
.thread-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}
.thread-meta-row strong { color: var(--cyan); font-weight: 600; }

.post {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.post.op-post {
  border-color: var(--border-bright);
  background: linear-gradient(180deg, rgba(116,129,255,.08), rgba(12,14,32,.72));
}
.post-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 1px solid var(--border);
  padding-right: 18px;
}
.avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6e7cff, #9ee8ff);
  color: #02030d;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: "Space Grotesk", monospace;
  font-size: 22px;
  margin-bottom: 10px;
  box-shadow: 0 0 24px rgba(116,129,255,.4);
}
.avatar-c { background: linear-gradient(135deg, #8cffd2, #5865ff); }
.post-author {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.post-role {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.post-body { min-width: 0; }
.post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.post-header h2 {
  font-size: 20px;
  margin: 0;
  line-height: 1.3;
}
.post-header time { font-size: 12px; color: var(--muted); }
.badge.note {
  color: var(--blue-hot);
  background: rgba(116,129,255,.1);
  border: 1px solid var(--border-bright);
}
.post-body p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}
.post-list { display: grid; gap: 10px; }
.post-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
}
.post-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--blue-hot);
  box-shadow: 0 0 12px rgba(116,129,255,.7);
}

.reply-blocked {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 24px;
  margin: 30px 0 50px;
  border: 1px dashed var(--border-bright);
  border-radius: var(--radius);
  background: rgba(255,209,102,.04);
}
.reply-blocked strong { color: var(--warning); }
.reply-blocked p { margin: 6px 0 0; max-width: 640px; }

.related h2 {
  font-size: 22px;
  margin-bottom: 22px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 400px; margin-top: 20px; }
  .float-card { width: 180px; height: 180px; }
  .float-card.c2 { width: 200px; height: 200px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .section-head.two-col { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .thread-row { grid-template-columns: 50px 1fr; }
  .tr-stats { grid-column: 1 / -1; justify-content: flex-start; text-align: left; flex-direction: row; display: flex; gap: 18px; }
  .tr-stats > div { align-items: flex-start; }
  .tr-author, .tr-date { text-align: left; }
}

@media (max-width: 860px) {
  .site-nav { display: none; }
  .site-nav.is-open {
    display: flex;
    position: absolute;
    top: 70px; left: 16px; right: 16px;
    z-index: 60;
  }
  .site-nav.is-open ul {
    flex-direction: column;
    width: 100%;
    border-radius: 18px;
    padding: 14px;
    background: rgba(10,12,28,.95);
  }
  .site-nav.is-open a { width: 100%; }
  .burger { display: inline-flex; }
  .rules-link { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .hero { padding: 30px 0 60px; }
  .hero-features { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; }
  .feat-card { padding: 0; border-left: 0; border-top: 1px solid var(--border); padding-top: 20px; }
  .feat-card:first-child { border-top: 0; padding-top: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-grid-floor { opacity: .2; }
  .post { grid-template-columns: 1fr; }
  .post-side { flex-direction: row; gap: 12px; border-right: 0; border-bottom: 1px solid var(--border); padding: 0 0 14px; justify-content: flex-start; text-align: left; }
  .avatar { margin-bottom: 0; width: 44px; height: 44px; font-size: 18px; }
  .section-head.between { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .g-3, .g-4, .timeline, .safety-grid { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .timeline li { padding-top: 0; padding-left: 30px; }
  .timeline li::before { top: 6px; left: 0; }
  .t-year { position: static; display: block; margin-bottom: 8px; padding-left: 0; }
  .hero-visual { height: 340px; }
  .float-card { width: 150px; height: 150px; }
  .float-card.c1 { transform: translate(-20px, -100px) rotate(-8deg); }
  .float-card.c2 { width: 170px; height: 170px; transform: translate(30px, 0) rotate(6deg); }
  .float-card.c3 { transform: translate(-10px, 100px) rotate(-4deg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}


