/* VibeJam prototype · dark neon / glass style */
:root {
  --bg: #06060b;
  --bg-2: #0c0c16;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f4f4fb;
  --muted: #a3a3bd;
  --dim: #6b6b85;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --lime: #bef264;
  --amber: #fbbf24;
  --grad: linear-gradient(120deg, #8b5cf6 0%, #22d3ee 50%, #f472b6 100%);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  --font: "Space Grotesk", "Inter", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; display: block; }

/* ---------- background ---------- */
.bg-aurora {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 10% -10%, rgba(139, 92, 246, 0.28), transparent 60%),
    radial-gradient(50vw 50vh at 100% 0%, rgba(34, 211, 238, 0.18), transparent 60%),
    radial-gradient(60vw 60vh at 50% 120%, rgba(244, 114, 182, 0.14), transparent 60%),
    var(--bg);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}
#particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }

.container { width: min(1240px, 92vw); margin: 0 auto; }
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 70px 0; }

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; }
.h1 { font-size: clamp(44px, 6.4vw, 92px); font-weight: 700; }
.h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 700; margin-top: 14px; }
.h3 { font-size: 22px; font-weight: 600; }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 620px; }
.grad-text {
  background: var(--grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head .lead { margin-top: 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--grad); background-size: 200% auto; color: #0a0a12;
  box-shadow: 0 10px 40px -10px rgba(139, 92, 246, 0.8);
  animation: shine 6s linear infinite;
}
.btn-primary:hover { box-shadow: 0 16px 50px -10px rgba(34, 211, 238, 0.8); }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(255,255,255,0.03); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.07); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(6, 6, 11, 0.72); backdrop-filter: blur(18px); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; position: relative;
  background: conic-gradient(from 180deg, var(--violet), var(--cyan), var(--pink), var(--violet));
  animation: spin 8s linear infinite;
}
.logo-mark::after { content: ""; position: absolute; inset: 3px; border-radius: 8px; background: var(--bg); }
.logo-mark::before {
  content: ""; position: absolute; z-index: 1; inset: 11px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 14px var(--cyan);
}
@keyframes spin { to { transform: rotate(360deg); } }
.nav-links { display: flex; gap: 6px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 15px; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang {
  display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,0.03);
}
.lang button { padding: 5px 10px; border-radius: 999px; font-size: 12px; font-family: var(--mono); color: var(--dim); }
.lang button.on { background: rgba(255,255,255,0.1); color: var(--text); }
.points-pill {
  display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  border: 1px solid rgba(190, 242, 100, 0.25); background: rgba(190, 242, 100, 0.06);
  font-family: var(--mono); font-size: 13px; color: var(--lime);
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.hero .h1 { margin: 22px 0 24px; }
.hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.stat b { display: block; font-size: 30px; font-weight: 700; font-family: var(--mono); letter-spacing: -0.03em; }
.stat > span { color: var(--dim); font-size: 13px; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); margin-right: 6px; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.hero-visual { position: relative; height: 560px; perspective: 1200px; }
.float-card {
  position: absolute; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-2); background: var(--bg-2); box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite;
}
.float-card .art { height: 100%; }
.float-card .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85)); font-size: 13px;
}
.float-card .cap b { display: block; font-size: 15px; }
.fc-1 { width: 260px; height: 330px; top: 10px; left: 0; transform: rotate(-6deg); }
.fc-2 { width: 240px; height: 280px; top: 0; right: 10px; transform: rotate(5deg); animation-delay: -2s; }
.fc-3 { width: 230px; height: 230px; bottom: 30px; left: 60px; transform: rotate(3deg); animation-delay: -4s; }
@keyframes float { 50% { translate: 0 -16px; } }

.jam-widget {
  position: absolute; right: 0; bottom: 0; width: 320px; z-index: 3;
  padding: 22px; border-radius: var(--radius);
  background: rgba(14, 14, 26, 0.75); backdrop-filter: blur(20px);
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
}
.jam-widget .tag { font-family: var(--mono); font-size: 11px; color: var(--pink); letter-spacing: .14em; }
.jam-widget h4 { font-size: 22px; margin: 6px 0 14px; }

/* ---------- countdown ---------- */
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown div {
  text-align: center; padding: 10px 0; border-radius: 10px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line);
}
.countdown b { display: block; font-family: var(--mono); font-size: 22px; }
.countdown span { font-size: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
.countdown.big div { padding: 18px 0; border-radius: 14px; }
.countdown.big b { font-size: 40px; }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 20px 0; background: rgba(255,255,255,0.015); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel); color: var(--muted); font-size: 15px; white-space: nowrap;
  transition: all .2s;
}
.chip:hover, .chip.on { color: var(--text); border-color: var(--line-2); background: var(--panel-2); }
.chip .ico { font-size: 16px; }

/* ---------- glass card ---------- */
.glass {
  position: relative; border-radius: var(--radius); background: var(--panel);
  border: 1px solid var(--line); backdrop-filter: blur(16px);
}
.glow-border::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--a, 0deg), transparent 0 60%, var(--cyan), var(--violet), var(--pink), transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: rotateA 6s linear infinite; pointer-events: none;
}
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes rotateA { to { --a: 360deg; } }

/* ---------- jam banner (home) ---------- */
.jam-banner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; overflow: hidden; }
.jam-banner-l { padding: 52px; }
.jam-banner-r {
  padding: 52px; border-left: 1px solid var(--line);
  background: radial-gradient(circle at 80% 20%, rgba(244,114,182,0.15), transparent 60%);
  display: flex; flex-direction: column; gap: 22px; justify-content: center;
}
.jam-theme { font-size: clamp(36px, 4.4vw, 60px); font-weight: 700; margin: 12px 0 14px; letter-spacing: -0.03em; }
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.track-mini { padding: 18px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.03); border: 1px solid var(--line); }
.track-mini b { display: block; margin-bottom: 4px; }
.track-mini p { font-size: 13px; color: var(--muted); }
.prize-row { display: flex; justify-content: space-between; align-items: baseline; }
.prize-row .num { font-family: var(--mono); font-size: 46px; font-weight: 700; }

/* ---------- works grid ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.work {
  border-radius: var(--radius); overflow: hidden; background: var(--bg-2);
  border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s;
  cursor: pointer; transform-style: preserve-3d;
}
.work:hover { border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(139,92,246,0.6); }
.work .art { aspect-ratio: 4 / 3.4; position: relative; overflow: hidden; }
.work.tall .art { aspect-ratio: 4 / 5; }
.work .badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 6px; z-index: 2; }
.badge {
  padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .02em;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.14);
}
.badge.ai { color: var(--cyan); }
.badge.play { color: var(--lime); }
.badge.stage { color: var(--amber); }
.play-btn {
  position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; z-index: 2;
  display: grid; place-items: center; background: rgba(255,255,255,0.14); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3); opacity: 0; transform: scale(.8); transition: all .3s;
}
.work:hover .play-btn { opacity: 1; transform: scale(1); }
.work-body { padding: 16px 18px 18px; }
.work-body h4 { font-size: 16px; font-weight: 600; margin-bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.work-meta { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted); }
.author { display: flex; align-items: center; gap: 8px; min-width: 0; }
.author span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.2); }
.avatar.lg { width: 40px; height: 40px; }
.likes { display: flex; gap: 12px; font-family: var(--mono); font-size: 12px; }
.founder-no { font-family: var(--mono); font-size: 10px; color: var(--amber); }

/* generative art */
.art-gen { position: absolute; inset: 0; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.work:hover .art-gen { transform: scale(1.06); }
.art-gen .orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.art-gen .ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.35); }
.art-gen .bars { position: absolute; left: 10%; right: 10%; bottom: 22%; height: 34%; display: flex; align-items: flex-end; gap: 4%; }
.art-gen .bars i { flex: 1; border-radius: 4px 4px 0 0; background: rgba(255,255,255,0.75); animation: eq 1.4s ease-in-out infinite alternate; }
@keyframes eq { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
.art-gen .bars i { transform-origin: bottom; }
.art-gen .code { position: absolute; inset: 18% 12%; font-family: var(--mono); font-size: 11px; line-height: 1.7; color: rgba(255,255,255,0.75); white-space: pre; overflow: hidden; }
.art-gen .pixel { position: absolute; inset: 20%; display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; }
.art-gen .pixel i { border-radius: 2px; }
.art-gen .noise { position: absolute; inset: 0; opacity: .18; mix-blend-mode: overlay;
  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 baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- quests ---------- */
.quest-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; }
.quest-list { display: flex; flex-direction: column; gap: 10px; }
.quest {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 16px;
  padding: 16px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel);
  transition: border-color .2s, background .2s, transform .2s;
}
.quest:hover { transform: translateX(6px); border-color: var(--line-2); }
.quest .day {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; color: var(--muted); border: 1px solid var(--line); background: rgba(255,255,255,0.03);
}
.quest.done .day { background: rgba(190,242,100,0.12); border-color: rgba(190,242,100,0.4); color: var(--lime); }
.quest.current { border-color: rgba(34,211,238,0.5); background: rgba(34,211,238,0.06); box-shadow: 0 0 40px -12px rgba(34,211,238,0.5); }
.quest.current .day { background: var(--grad); color: #0a0a12; border: 0; font-weight: 700; }
.quest.locked { opacity: .55; }
.quest b { font-weight: 600; font-size: 15px; }
.quest small { display: block; color: var(--dim); font-size: 12px; }
.quest .pts { font-family: var(--mono); font-size: 13px; color: var(--lime); white-space: nowrap; }

.progress-card { padding: 36px; }
.ring-wrap { display: flex; align-items: center; gap: 28px; margin: 26px 0; }
.ring-svg { width: 132px; height: 132px; transform: rotate(-90deg); flex-shrink: 0; }
.ring-svg circle { fill: none; stroke-width: 10; }
.ring-svg .track { stroke: rgba(255,255,255,0.08); }
.ring-svg .val { stroke: url(#ringGrad); stroke-linecap: round; transition: stroke-dashoffset 1.4s cubic-bezier(.2,.8,.2,1); }
.ring-label { position: relative; }
.ring-label .center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring-label .center b { font-family: var(--mono); font-size: 30px; display: block; line-height: 1; }
.ring-label .center span { font-size: 11px; color: var(--dim); }
.badges-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.medal {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 24px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line); filter: grayscale(1); opacity: .45;
}
.medal.got { filter: none; opacity: 1; border-color: rgba(251,191,36,0.4); background: rgba(251,191,36,0.08); box-shadow: 0 0 24px -8px rgba(251,191,36,0.6); }

/* ---------- stages ---------- */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.stages::before {
  content: ""; position: absolute; top: 37px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--lime), var(--cyan), var(--violet), var(--amber)); opacity: .5;
}
.stage { text-align: center; padding: 0 20px; position: relative; }
.stage .node {
  width: 74px; height: 74px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; font-size: 30px;
  background: var(--bg-2); border: 1px solid var(--line-2); position: relative; z-index: 1;
  box-shadow: 0 0 0 8px var(--bg), 0 0 40px -6px var(--c, var(--cyan));
}
.stage h4 { font-size: 18px; margin-bottom: 8px; }
.stage p { font-size: 14px; color: var(--muted); }
.stage .reward { margin-top: 12px; font-size: 13px; color: var(--c); font-weight: 600; }

/* ---------- founders ---------- */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 56px; overflow: hidden; }
.founder-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 7px; }
.founder-grid i {
  aspect-ratio: 1; border-radius: 8px; display: grid; place-items: center;
  font-family: var(--mono); font-size: 9px; font-style: normal; color: var(--dim);
  border: 1px dashed rgba(255,255,255,0.12);
}
.founder-grid i.taken { border: 0; color: rgba(0,0,0,0.75); font-weight: 700; }
.perks { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 26px 0 32px; }
.perks li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.perks li::before { content: "✦"; color: var(--amber); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 60px 0 40px; color: var(--dim); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h5 { color: var(--text); font-size: 14px; margin-bottom: 14px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.notice { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; }

/* ---------- challenge page ---------- */
.jam-hero { padding: 150px 0 60px; position: relative; overflow: hidden; }
.jam-hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: end; position: relative; z-index: 1; }
.jam-no { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.jam-no b { color: var(--pink); }
.theme-title { font-size: clamp(52px, 8vw, 120px); font-weight: 700; letter-spacing: -0.04em; line-height: .95; margin: 18px 0 22px; }
.theme-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.deadline-card { padding: 28px; }
.deadline-card .label { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 14px; }

.timeline { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 60px; position: relative; z-index: 1; }
.tl-step { padding: 18px 16px 0; border-top: 2px solid var(--line); position: relative; }
.tl-step::before { content: ""; position: absolute; top: -7px; left: 16px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); }
.tl-step.done { border-color: rgba(190,242,100,0.5); }
.tl-step.done::before { background: var(--lime); border-color: var(--lime); }
.tl-step.now { border-image: linear-gradient(90deg, var(--cyan), transparent) 1; }
.tl-step.now::before { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 0 6px rgba(34,211,238,0.2), 0 0 20px var(--cyan); }
.tl-step b { display: block; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.tl-step span { font-size: 15px; font-weight: 600; }

.sticky-tabs {
  position: sticky; top: 72px; z-index: 20; background: rgba(6,6,11,0.8); backdrop-filter: blur(16px);
  border-block: 1px solid var(--line);
}
.sticky-tabs .container { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; }
.sticky-tabs a { padding: 9px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.sticky-tabs a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.track-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.track-card { padding: 36px; overflow: hidden; }
.track-card .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.track-card .icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; }
.track-card.new .icon { background: rgba(34,211,238,0.12); border: 1px solid rgba(34,211,238,0.3); }
.track-card.evo .icon { background: rgba(244,114,182,0.12); border: 1px solid rgba(244,114,182,0.3); }
.track-card h3 { font-size: 28px; margin-bottom: 8px; }
.track-card .desc { color: var(--muted); margin-bottom: 24px; }
.req { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.req li { display: flex; gap: 10px; font-size: 14px; color: var(--muted); }
.req li::before { content: "→"; color: var(--c); font-family: var(--mono); }
.score-bars { display: flex; flex-direction: column; gap: 12px; }
.score-bar .row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.score-bar .row b { font-family: var(--mono); }
.score-bar .bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,0.06); overflow: hidden; }
.score-bar .bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--c); transition: width 1.2s cubic-bezier(.2,.8,.2,1); box-shadow: 0 0 12px var(--c); }
.track-card .cost { font-family: var(--mono); font-size: 12px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }

.quota { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding: 30px 36px; margin-top: 24px; }
.slots { display: flex; gap: 10px; }
.slot {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 22px;
  border: 1px dashed rgba(255,255,255,0.2);
}
.slot.used { border: 1px solid rgba(34,211,238,0.5); background: rgba(34,211,238,0.1); }
.slot.bonus { border-color: rgba(251,191,36,0.4); }

.prizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prize { padding: 26px; text-align: left; }
.prize .emoji { font-size: 32px; }
.prize h4 { font-size: 16px; margin: 14px 0 4px; }
.prize .amt { font-family: var(--mono); font-size: 30px; font-weight: 700; }
.prize p { font-size: 13px; color: var(--muted); margin-top: 6px; }
.prize .trk { font-size: 11px; font-family: var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .12em; }

/* before / after */
.ba { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; user-select: none; cursor: ew-resize; }
.ba .layer { position: absolute; inset: 0; }
.ba .after { clip-path: inset(0 0 0 var(--x, 50%)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: #fff; box-shadow: 0 0 12px #fff; }
.ba .handle::after {
  content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: #000; font-size: 15px;
}
.ba .lbl { position: absolute; top: 10px; z-index: 2; font-family: var(--mono); font-size: 11px; }
.ba .lbl.l { left: 10px; } .ba .lbl.r { right: 10px; }
.evo-card { padding: 18px; }
.evo-card .changelog { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.evo-card .changelog li::before { content: "+ "; color: var(--lime); font-family: var(--mono); }
.evo-card .ver { font-family: var(--mono); font-size: 12px; color: var(--pink); }
.evo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.teammates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mate { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.mate .head { display: flex; gap: 12px; align-items: center; }
.mate .head small { display: block; color: var(--dim); font-size: 12px; }
.mate .kind { margin-left: auto; font-size: 11px; font-family: var(--mono); padding: 4px 8px; border-radius: 6px; }
.mate .kind.team { color: var(--cyan); background: rgba(34,211,238,0.1); }
.mate .kind.recruit { color: var(--pink); background: rgba(244,114,182,0.1); }
.mate p { font-size: 14px; color: var(--muted); }
.skill-row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 12px; }
.skill-row .k { color: var(--dim); width: 52px; flex-shrink: 0; }
.skill { padding: 3px 9px; border-radius: 999px; font-size: 12px; border: 1px solid var(--line); }
.skill.have { color: var(--lime); border-color: rgba(190,242,100,0.3); }
.skill.need { color: var(--amber); border-color: rgba(251,191,36,0.3); }
.newbie-tag { font-size: 11px; color: var(--lime); }

.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rule { padding: 22px 24px; display: flex; gap: 16px; }
.rule .n { font-family: var(--mono); color: var(--violet); font-size: 13px; }
.rule p { color: var(--muted); font-size: 14px; }

/* ---------- modal ---------- */
.modal-bg {
  position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-bg.open { display: flex; animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.modal { width: min(640px, 100%); max-height: 90vh; overflow: auto; padding: 36px; background: #0d0d18; animation: pop .35s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { transform: translateY(20px) scale(.97); opacity: 0; } }
.modal h3 { font-size: 26px; margin-bottom: 6px; }
.modal .x { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); }
.form { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.03); color: var(--text); font: inherit; font-size: 14px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34,211,238,0.12); }
.field select option { background: #0d0d18; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label {
  display: block; padding: 14px; border-radius: 12px; border: 1px solid var(--line-2); cursor: pointer; transition: all .2s; margin: 0;
}
.seg input { display: none; }
.seg input:checked + label { border-color: var(--cyan); background: rgba(34,211,238,0.08); color: var(--text); }
.seg label b { display: block; color: var(--text); font-size: 15px; }
.seg label small { color: var(--dim); font-size: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.check input { margin-top: 3px; accent-color: var(--cyan); }
.evo-only { display: none; }
.form.is-evo .evo-only { display: block; }

.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 30px); z-index: 200;
  padding: 14px 22px; border-radius: 14px; background: #12121f; border: 1px solid rgba(190,242,100,0.4);
  color: var(--text); box-shadow: var(--shadow); opacity: 0; transition: all .35s; pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .works { grid-template-columns: repeat(3, 1fr); }
  .prizes { grid-template-columns: repeat(2, 1fr); }
  .evo-grid, .teammates { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-grid, .jam-banner, .quest-wrap, .founders, .jam-hero-grid, .track-cards, .rules { grid-template-columns: 1fr; }
  .hero-visual { height: 480px; }
  .jam-banner-r { border-left: 0; border-top: 1px solid var(--line); }
  .stages { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stages::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .tl-step { border-top: 0; border-left: 2px solid var(--line); padding: 0 0 22px 24px; }
  .tl-step::before { top: 0; left: -7px; }
  .quota { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .works, .prizes, .evo-grid, .teammates { grid-template-columns: 1fr; }
  .jam-banner-l, .jam-banner-r, .founders, .track-card, .progress-card { padding: 28px; }
  .points-pill, .nav-right .btn-ghost { display: none; }
  .tracks, .seg { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: repeat(8, 1fr); }
  .hero-visual { height: 430px; }
  .fc-1 { width: 180px; height: 230px; }
  .fc-2 { width: 160px; height: 200px; }
  .fc-3 { width: 150px; height: 150px; left: 10px; bottom: 60px; }
  .jam-widget { width: 250px; padding: 16px; }
  .countdown b { font-size: 18px; }
  .countdown.big b { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Creative Universe (hero)
   ========================================================= */
.universe { position: relative; height: 100vh; min-height: 680px; overflow: hidden; }
.u-stage { position: absolute; inset: 0; }
.u-links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.u-links path { fill: none; stroke-linecap: round; }
.u-links .l-planet { stroke: hsla(var(--h), 90%, 70%, .35); stroke-width: 1.2; stroke-dasharray: 2 7; animation: flow 1.6s linear infinite; }
.u-links .l-faint { stroke: hsla(var(--h), 90%, 70%, .25); stroke-width: 1; stroke-dasharray: 2 6; }
.u-links .l-item { stroke: hsla(var(--h), 90%, 72%, .55); stroke-width: 1.4; stroke-dasharray: 4 6; animation: flow 1.2s linear infinite; filter: drop-shadow(0 0 4px hsla(var(--h), 90%, 60%, .9)); }
.u-links .l-item.on { stroke: #fff; stroke-width: 2; stroke-dasharray: none; }
@keyframes flow { to { stroke-dashoffset: -18; } }

.u-orb, .u-planet, .u-item {
  position: absolute; left: 0; top: 0; will-change: transform;
}
.universe.moving .u-orb, .universe.moving .u-planet, .u-item {
  transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .5s;
}
.universe.no-anim .u-orb, .universe.no-anim .u-planet, .universe.no-anim .u-item { transition: none !important; }

.u-orb { width: 420px; height: 420px; z-index: 6; cursor: pointer; }
.u-orb canvas, .u-orb video { width: 100%; height: 100%; display: block; }
.u-orb video { mix-blend-mode: screen; object-fit: cover; border-radius: 50%; }
.u-orb.fallback { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #8b5cf6 25%, #22d3ee 55%, transparent 70%); filter: blur(1px); }
.universe[data-mode="home"] .u-orb { animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { filter: brightness(1.15); } }

.u-planet { display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 5; cursor: pointer; }
.u-planet .sphere {
  position: relative; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  background:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.9), transparent 22%),
    radial-gradient(circle at 40% 35%, hsla(var(--h), 95%, 68%, 1), hsla(calc(var(--h) + 40), 90%, 40%, 1) 55%, hsla(calc(var(--h) + 60), 80%, 12%, 1) 80%);
  box-shadow: 0 0 30px hsla(var(--h), 95%, 60%, .7), 0 0 90px hsla(var(--h), 95%, 55%, .35), inset -12px -14px 30px rgba(0,0,0,.55);
  transition: box-shadow .3s, transform .3s;
  animation: bob 5s ease-in-out infinite;
}
.u-planet:nth-child(odd) .sphere { animation-delay: -2.5s; }
@keyframes bob { 50% { translate: 0 -8px; } }
.u-planet .ring {
  position: absolute; width: 150%; height: 38%; border-radius: 50%;
  border: 1.5px solid hsla(var(--h), 95%, 80%, .55); transform: rotate(-18deg);
  box-shadow: 0 0 12px hsla(var(--h), 95%, 70%, .5);
  clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
}
.u-planet .ico { font-size: 30px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }
.u-planet .lbl { text-align: center; white-space: nowrap; text-shadow: 0 2px 10px #000; }
.u-planet .lbl b { display: block; font-size: 15px; }
.u-planet .lbl small { color: var(--muted); font-size: 12px; font-family: var(--mono); }
.u-planet:hover .sphere { box-shadow: 0 0 40px hsla(var(--h), 95%, 65%, .95), 0 0 120px hsla(var(--h), 95%, 55%, .55), inset -12px -14px 30px rgba(0,0,0,.5); transform: scale(1.08); }
.universe[data-mode="module"] .u-planet:not(.on) .lbl { opacity: 0; }
.universe[data-mode="module"] .u-planet:not(.on):hover .lbl { opacity: 1; }

.u-item { z-index: 8; display: flex; align-items: center; gap: 14px; opacity: 1; }
.u-item.leaving { opacity: 0; }
.u-item .dot {
  width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; background: #fff;
  box-shadow: 0 0 0 4px hsla(var(--h), 90%, 60%, .35), 0 0 22px hsla(var(--h), 95%, 65%, 1);
}
.u-item .card {
  display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 14px; text-align: left;
  background: rgba(12, 12, 24, .72); border: 1px solid var(--line-2); backdrop-filter: blur(14px);
  transition: border-color .25s, background .25s, transform .25s;
}
.u-item .thumb { position: relative; width: 46px; height: 46px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.u-item .thumb .code { font-size: 4px; }
.u-item .txt b { display: block; font-size: 14px; max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-item .txt small { color: var(--muted); font-size: 12px; }
.u-item:hover .card, .u-item.on .card { border-color: hsla(var(--h), 90%, 70%, .8); background: rgba(20, 20, 40, .9); transform: translateX(4px); }
.u-item.on .dot { background: hsla(var(--h), 95%, 75%, 1); }

.u-copy {
  position: absolute; z-index: 10; left: max(4vw, calc((100vw - 1240px) / 2)); top: 50%; transform: translateY(-46%);
  width: min(560px, 44vw); transition: opacity .6s, transform .6s; pointer-events: none;
}
.u-copy > * { pointer-events: auto; }
.universe[data-mode="module"] .u-copy { opacity: 0; transform: translate(-40px, -46%); pointer-events: none; }
.universe[data-mode="module"] .u-copy > * { pointer-events: none; }
.u-copy .h1 { font-size: clamp(44px, 5.4vw, 84px); margin: 20px 0 22px; }
.u-jam-pill {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; padding: 8px 10px 8px 16px; border-radius: 999px;
  background: rgba(14,14,26,.7); border: 1px solid var(--line-2); backdrop-filter: blur(12px); font-size: 14px;
}
.u-jam-pill .mini-cd { font-family: var(--mono); color: var(--pink); }
.u-jam-pill .countdown { display: flex; gap: 4px; }
.u-jam-pill .countdown div { padding: 3px 6px; border-radius: 6px; }
.u-jam-pill .countdown b { font-size: 13px; color: var(--pink); }

.u-crumbs {
  position: absolute; z-index: 12; top: 92px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 999px;
  background: rgba(12,12,24,.7); border: 1px solid var(--line); backdrop-filter: blur(12px); font-size: 13px;
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.universe[data-mode="module"] .u-crumbs { opacity: 1; pointer-events: auto; }
.u-crumbs button, .u-crumbs span { padding: 5px 12px; border-radius: 999px; color: var(--muted); }
.u-crumbs button:hover { color: var(--text); background: rgba(255,255,255,.07); }
.u-crumbs span { color: var(--text); max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-crumbs i { color: var(--dim); font-style: normal; }
.u-hint {
  position: absolute; z-index: 10; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: .08em; white-space: nowrap;
}

.u-panel {
  position: absolute; z-index: 20; top: 84px; right: 20px; bottom: 20px; width: min(400px, 92vw);
  padding: 22px; border-radius: 22px; overflow-y: auto;
  background: rgba(10, 10, 20, .82); border: 1px solid var(--line-2); backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
  transform: translateX(calc(100% + 40px)); transition: transform .55s cubic-bezier(.2,.8,.2,1);
}
.universe.panel-open .u-panel { transform: none; }
.u-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(0,0,0,.4); }
.p-art { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; }
.p-badge { position: absolute; left: 12px; bottom: 12px; }
.p-kicker { margin-top: 18px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.u-panel h3 { font-size: 26px; margin: 6px 0 14px; }
.p-author { font-size: 14px; }
.p-author small { display: block; color: var(--dim); font-size: 12px; }
.p-desc { color: var(--muted); font-size: 15px; margin: 16px 0 18px; }
.p-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.p-stats div { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.p-stats b { display: block; font-family: var(--mono); font-size: 20px; }
.p-stats span { font-size: 12px; color: var(--dim); }
.p-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.p-hire {
  display: block; margin-top: 16px; padding: 14px 16px; border-radius: 14px; font-size: 14px;
  border: 1px solid rgba(251,191,36,.35); background: rgba(251,191,36,.07); color: var(--amber);
}
.p-hire:hover { background: rgba(251,191,36,.12); }

/* =========================================================
   Idea board
   ========================================================= */
.ideas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.idea { padding: 24px; display: flex; flex-direction: column; gap: 14px; transition: transform .3s, border-color .3s; }
.idea:hover { transform: translateY(-4px); border-color: var(--line-2); }
.idea .top { display: flex; justify-content: space-between; align-items: center; }
.status { font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); }
.status.idea { color: var(--amber); border-color: rgba(251,191,36,.35); }
.status.recruit { color: var(--cyan); border-color: rgba(34,211,238,.35); }
.status.making { color: var(--pink); border-color: rgba(244,114,182,.35); }
.status.done { color: var(--lime); border-color: rgba(190,242,100,.35); }
.idea h4 { font-size: 19px; line-height: 1.3; }
.idea p { color: var(--muted); font-size: 14px; flex: 1; }
.idea-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.idea-steps i { height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); }
.idea-steps i.on { background: var(--grad); }
.idea .foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.want-btn {
  display: inline-flex; gap: 6px; align-items: center; padding: 7px 12px; border-radius: 999px; font-size: 13px;
  border: 1px solid var(--line-2); font-family: var(--mono); transition: all .2s;
}
.want-btn:hover, .want-btn.on { border-color: var(--pink); color: var(--pink); background: rgba(244,114,182,.08); }

/* =========================================================
   Business (company-backed commissions)
   ========================================================= */
.biz { padding: 56px; overflow: hidden; }
.biz-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 44px 0; position: relative; }
.biz-flow::before {
  content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink), var(--amber), var(--lime)); opacity: .5;
}
.biz-step { text-align: center; position: relative; }
.biz-step .n {
  width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 20px; display: grid; place-items: center; font-size: 28px;
  background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 0 0 8px var(--bg), 0 0 36px -8px var(--c);
}
.biz-step b { display: block; font-size: 15px; margin-bottom: 6px; }
.biz-step small { color: var(--muted); font-size: 13px; }
.biz-step.core .n { background: var(--grad); border: 0; }
.biz-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.biz-side { padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.biz-side h4 { font-size: 18px; margin-bottom: 14px; }
.biz-side ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.biz-side li { display: flex; gap: 10px; color: var(--muted); font-size: 14px; }
.biz-side li::before { content: "✓"; color: var(--c); font-weight: 700; }

@media (max-width: 1080px) {
  .ideas { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .universe { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .u-copy { position: relative; left: auto; top: auto; transform: none; width: auto; padding: 120px 4vw 0; }
  .universe[data-mode="module"] .u-copy { opacity: 1; transform: none; }
  .universe[data-mode="module"] .u-copy > * { pointer-events: auto; }
  .u-stage { position: relative; height: 620px; }
  .u-crumbs { top: 12px; }
  .u-hint { bottom: 10px; }
  .u-orb { width: 300px; height: 300px; }
  .u-planet .sphere { width: 68px; height: 68px; }
  .u-planet .ico { font-size: 22px; }
  .u-panel { top: auto; bottom: 10px; height: 82%; right: 10px; left: 10px; width: auto; }
  .biz-flow { grid-template-columns: 1fr; gap: 22px; }
  .biz-flow::before { display: none; }
  .biz-sides { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ideas { grid-template-columns: 1fr; }
  .biz { padding: 28px; }
  .u-item .txt b { max-width: 120px; }
  .u-item .card { padding: 6px 10px 6px 6px; }
  .u-item .thumb { width: 34px; height: 34px; }
}
section[id] { scroll-margin-top: 70px; }

/* =========================================================
   v3 · AI creative community layout (sidebar + feed)
   ========================================================= */
.cursor-glow {
  position: fixed; left: -300px; top: -300px; width: 600px; height: 600px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(139,92,246,.14), rgba(34,211,238,.06) 40%, transparent 65%);
  transition: transform .25s ease-out;
}
.sidebar {
  position: fixed; left: 0; top: 0; bottom: 0; width: 84px; z-index: 60; padding: 18px 12px;
  display: flex; flex-direction: column; align-items: stretch; gap: 6px;
  background: rgba(8, 8, 14, .78); border-right: 1px solid var(--line); backdrop-filter: blur(18px);
  transition: width .35s cubic-bezier(.2,.8,.2,1);
  overflow: hidden;
}
.sidebar:hover { width: 220px; box-shadow: 30px 0 80px -30px rgba(0,0,0,.8); }
.sidebar .logo { padding: 4px 13px 18px; gap: 14px; white-space: nowrap; }
.sb-item {
  display: flex; align-items: center; gap: 16px; padding: 11px 16px; border-radius: 14px; color: var(--muted);
  white-space: nowrap; font-size: 14px; transition: background .2s, color .2s; position: relative;
}
.sb-item .i { width: 28px; flex-shrink: 0; text-align: center; font-size: 19px; }
.sb-item .l { opacity: 0; transition: opacity .25s; }
.sidebar:hover .sb-item .l { opacity: 1; }
.sb-item:hover { color: var(--text); background: rgba(255,255,255,.06); }
.sb-item.on { color: var(--text); background: linear-gradient(90deg, rgba(139,92,246,.25), rgba(34,211,238,.08)); }
.sb-item.on::before { content: ""; position: absolute; left: -12px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--grad); }
.sb-item .hot { position: absolute; left: 34px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 8px var(--pink); }
.sb-publish {
  margin: 4px 0 10px; display: flex; align-items: center; gap: 16px; padding: 11px 16px; border-radius: 14px; white-space: nowrap;
  background: var(--grad); background-size: 200% auto; animation: shine 6s linear infinite; color: #0a0a12; font-weight: 700; font-size: 14px;
  box-shadow: 0 8px 30px -10px rgba(139,92,246,.9);
}
.sb-publish .i { width: 28px; text-align: center; font-size: 20px; }
.sb-publish .l { opacity: 0; transition: opacity .25s; }
.sidebar:hover .sb-publish .l { opacity: 1; }
.sb-sep { height: 1px; background: var(--line); margin: 8px 4px; }
.sb-bottom { margin-top: auto; }

.main { margin-left: 84px; min-height: 100vh; }
.main .container { width: min(1480px, calc(100vw - 84px - 6vw)); }

.topbar {
  position: sticky; top: 0; z-index: 50; padding: 14px 0;
  background: linear-gradient(rgba(6,6,11,.9), rgba(6,6,11,.6)); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
}
.topbar .container { display: flex; align-items: center; gap: 20px; }
.search { position: relative; flex: 1; max-width: 640px; }
.search .field-wrap {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 0 8px 0 18px; height: 48px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-2); transition: border-color .25s, box-shadow .25s;
}
.search.open .field-wrap { border-color: transparent; box-shadow: 0 0 0 1px rgba(34,211,238,.6), 0 0 40px -6px rgba(139,92,246,.7); }
.search input { flex: 1; background: none; border: 0; outline: none; color: var(--text); font: inherit; font-size: 15px; }
.search input::placeholder { color: var(--dim); }
.search .ai-tag { font-family: var(--mono); font-size: 11px; padding: 4px 8px; border-radius: 8px; background: var(--grad); color: #0a0a12; font-weight: 700; }
.search .sbtn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.search .sbtn:hover { background: rgba(255,255,255,.08); color: var(--text); }
.search-drop {
  position: absolute; left: 0; right: 0; top: 58px; padding: 18px; border-radius: 18px; z-index: 5;
  background: rgba(12,12,22,.95); border: 1px solid var(--line-2); backdrop-filter: blur(20px); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(-6px); pointer-events: none; transition: all .25s;
}
.search.open .search-drop { opacity: 1; transform: none; pointer-events: auto; }
.search-drop .k { font-size: 12px; color: var(--dim); margin-bottom: 10px; font-family: var(--mono); }
.search-drop .hot-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hot-chip { padding: 7px 12px; border-radius: 999px; font-size: 13px; border: 1px solid var(--line-2); color: var(--muted); }
.hot-chip:hover { color: var(--text); border-color: var(--cyan); }
.topbar .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* banner coverflow */
.banner { position: relative; height: 380px; margin-top: 26px; perspective: 1600px; --px: 0; --py: 0; user-select: none; }
.slide {
  position: absolute; top: 0; left: 50%; width: min(66%, 980px); height: 100%; border-radius: 26px; overflow: hidden; cursor: pointer;
  transform: translateX(calc(-50% + var(--d) * 72%)) translateZ(calc(var(--ad) * -260px)) rotateY(calc(var(--d) * -22deg));
  transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .9s, filter .9s;
  opacity: calc(1 - var(--ad) * .35); filter: brightness(calc(1 - var(--ad) * .45)) saturate(calc(1 - var(--ad) * .3));
  z-index: calc(10 - var(--ad));
  border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9);
}
.slide[data-pos="2"], .slide[data-pos="-2"] { opacity: 0; pointer-events: none; }
.slide img { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); object-fit: cover; transition: transform .6s ease-out; }
.slide.active img { transform: translate(calc(var(--px) * -24px), calc(var(--py) * -18px)) scale(1.04); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,6,11,.92) 0%, rgba(6,6,11,.55) 45%, transparent 75%); }
.slide .bn-copy { position: absolute; z-index: 2; left: 48px; top: 50%; transform: translate(calc(var(--px) * 10px), -50%); max-width: 460px; transition: transform .6s ease-out; }
.slide .bn-k { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--cyan); }
.slide .bn-t { font-size: clamp(30px, 3.4vw, 50px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; margin: 12px 0 14px; }
.slide .bn-d { color: var(--muted); font-size: 16px; margin-bottom: 24px; }
.slide .bn-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.slide .countdown { display: flex; gap: 6px; }
.slide .countdown div { padding: 6px 10px; }
.slide .countdown b { font-size: 18px; }
.slide .countdown span { display: none; }
.slide:not(.active) .bn-copy { opacity: 0; }
.bn-nav { position: absolute; z-index: 20; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
  background: rgba(10,10,20,.7); border: 1px solid var(--line-2); backdrop-filter: blur(10px); font-size: 18px; }
.bn-nav:hover { border-color: var(--cyan); }
.bn-prev { left: 6px; } .bn-next { right: 6px; }
.bn-dots { position: absolute; z-index: 20; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.bn-dots button { width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.3); transition: width .4s, background .4s; }
.bn-dots button.on { width: 28px; background: var(--grad); }

/* campaign cards */
.camps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 22px; }
.camp {
  position: relative; height: 130px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); padding: 18px;
  display: flex; flex-direction: column; justify-content: flex-end; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s;
}
.camp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.camp::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 10%, rgba(0,0,0,.85)); }
.camp > *:not(img) { position: relative; z-index: 1; }
.camp b { font-size: 16px; }
.camp small { color: var(--muted); font-size: 12px; }
.camp .ic { position: absolute; top: 14px; right: 14px; z-index: 1; font-size: 20px; }
.camp:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 24px 50px -24px rgba(139,92,246,.8); }
.camp:hover img { transform: scale(1.1); }
.camp.grad { background: linear-gradient(135deg, #2a1258, #0b2a3a); }

/* live ticker */
.live { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.025); overflow: hidden; }
.live .lk { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--lime); flex-shrink: 0; }
.live-mask { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.live-track { display: flex; gap: 40px; width: max-content; animation: marquee 50s linear infinite; }
.live-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.live-item i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

/* feed */
.feed-head { position: sticky; top: 77px; z-index: 30; margin-top: 34px; padding: 12px 0 0; background: linear-gradient(var(--bg) 70%, transparent); }
.tabs { display: flex; gap: 30px; border-bottom: 1px solid var(--line); }
.tabs button { position: relative; padding: 10px 0 14px; font-size: 18px; color: var(--dim); font-weight: 600; }
.tabs button.on { color: var(--text); }
.tabs button.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px; background: var(--grad); }
.tabs button .new { font-size: 10px; font-family: var(--mono); margin-left: 6px; padding: 2px 6px; border-radius: 6px; background: var(--grad); color: #0a0a12; vertical-align: 3px; }
.chips { display: flex; gap: 10px; padding: 14px 0; overflow-x: auto; }
.chips .chip { padding: 8px 16px; font-size: 14px; }
.chips .chip.on { background: var(--text); color: #0a0a12; border-color: var(--text); }

.feed { columns: 4 280px; column-gap: 20px; padding-top: 8px; }
.fcard {
  break-inside: avoid; margin-bottom: 20px; perspective: 1400px; cursor: pointer;
  opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .7s var(--delay), transform .7s cubic-bezier(.2,.8,.2,1) var(--delay);
}
.fcard.in { opacity: 1; transform: none; }
.flip { position: relative; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.fcard.flipped .flip { transform: rotateY(180deg); }
.face { backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 20px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
.fcard:hover .front { border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(139,92,246,.7); }
.back { position: absolute; inset: 0; transform: rotateY(180deg); padding: 18px; display: flex; flex-direction: column; gap: 12px;
  background: radial-gradient(circle at 20% 0%, rgba(139,92,246,.25), transparent 60%), #0b0b16; border-color: rgba(139,92,246,.4); cursor: default; }
.back-head { display: flex; justify-content: space-between; align-items: center; }
.back-x { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); }
.back-model { font-size: 12px; color: var(--dim); font-family: var(--mono); }
.back-model b { color: var(--cyan); font-weight: 600; }
.prompt-text { flex: 1; overflow: auto; white-space: pre-wrap; font-family: var(--mono); font-size: 12.5px; line-height: 1.65; color: #d7d7ee;
  padding: 12px; border-radius: 12px; background: rgba(0,0,0,.35); border: 1px solid var(--line); }
.caret { color: var(--cyan); animation: pulse .8s infinite; }
.back-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; --mx: 50%; --my: 50%; }
.fcard.tall .cover { aspect-ratio: 4 / 5; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1), filter .6s; }
.fcard:hover .cover img { transform: scale(1.07); }
.shine { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.28), transparent 40%); mix-blend-mode: overlay; }
.fcard:hover .shine { opacity: 1; }
.ctop { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; z-index: 3; }
.prompt-pill {
  padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; color: #0a0a12; background: var(--grad);
  opacity: 0; transform: translateY(-6px); transition: all .3s; box-shadow: 0 6px 20px -6px rgba(34,211,238,.8);
}
.fcard:hover .prompt-pill { opacity: 1; transform: none; }
.cbody { padding: 14px 16px 16px; }
.cbody h4 { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.model-row { display: flex; gap: 8px; align-items: center; margin: 8px 0 12px; }
.model { font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 6px; color: var(--cyan); background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.2); }
.like { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; color: var(--muted); padding: 4px 8px; border-radius: 999px; transition: color .2s, background .2s; }
.like:hover { background: rgba(244,114,182,.1); color: var(--pink); }
.like.on { color: var(--pink); }
.like.on .heart { animation: pop-heart .45s cubic-bezier(.2,1.6,.4,1); display: inline-block; }
@keyframes pop-heart { 50% { transform: scale(1.7); } }
.particle { position: fixed; z-index: 300; width: 6px; height: 6px; border-radius: 50%; pointer-events: none; animation: fly .7s ease-out forwards; }
@keyframes fly { to { transform: translate(var(--tx), var(--ty)) scale(.2); opacity: 0; } }

/* video cards come alive on hover */
.scan { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 2px, transparent 2px 4px); }
.vtag { position: absolute; right: 12px; bottom: 12px; z-index: 2; font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 6px; background: rgba(0,0,0,.6); }
.vbar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.15); z-index: 2; opacity: 0; transition: opacity .3s; }
.vbar i { display: block; height: 100%; width: 0; background: var(--grad); }
.type-video:hover .scan, .type-video:hover .vbar { opacity: 1; }
.type-video:hover .vbar i { animation: vprog 8s linear infinite; }
.type-video:hover .cover img { animation: kenburns 8s ease-in-out infinite alternate; }
@keyframes vprog { to { width: 100%; } }
@keyframes kenburns { from { transform: scale(1.08) translate(0, 0); } to { transform: scale(1.22) translate(-4%, -3%); } }
/* music cards */
.eq { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 38%; display: flex; align-items: flex-end; gap: 3px; z-index: 2; opacity: .55; transition: opacity .3s; }
.eq i { flex: 1; height: 100%; border-radius: 3px 3px 0 0; background: linear-gradient(to top, var(--pink), var(--cyan)); transform-origin: bottom; transform: scaleY(.15); }
.type-music:hover .eq { opacity: 1; }
.type-music:hover .eq i { animation: eq .9s ease-in-out infinite alternate; }
/* playable cards */
.play-cta { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%) scale(.85); opacity: 0; transition: all .3s;
  padding: 12px 20px; border-radius: 999px; font-weight: 700; background: rgba(255,255,255,.16); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.35); }
.fcard:hover .play-cta { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.feed-more { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 30px 0 10px; color: var(--dim); font-family: var(--mono); font-size: 13px; opacity: 0; transition: opacity .3s; }
.feed-more.on { opacity: 1; }
.feed-more .orbit { width: 22px; height: 22px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--cyan); border-right-color: var(--violet); animation: spin .8s linear infinite; }

.universe.embedded { height: 700px; min-height: 0; border-radius: 26px; border: 1px solid var(--line-2); margin-top: 8px;
  background: radial-gradient(circle at 50% 50%, rgba(139,92,246,.12), transparent 60%); }
.universe.embedded .u-crumbs { top: 18px; }
.universe.embedded .u-panel { top: 16px; right: 16px; bottom: 16px; }

.ranks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 10px; }
.rank { padding: 22px; }
.rank h4 { font-size: 17px; margin-bottom: 16px; }
.rk { display: grid; grid-template-columns: 26px auto 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 6px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.rk .no { grid-row: span 2; font-family: var(--mono); font-weight: 700; color: var(--dim); text-align: center; }
.rk .no.n0 { color: var(--amber); } .rk .no.n1 { color: #cbd5e1; } .rk .no.n2 { color: #f59e0b99; }
.rk .avatar, .rk img { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.rk .avatar { border-radius: 50%; }
.rk b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk .bar { grid-column: 3; height: 5px; border-radius: 5px; background: rgba(255,255,255,.06); overflow: hidden; }
.rk .bar i { display: block; height: 100%; width: var(--w); background: var(--grad); border-radius: 5px; animation: grow 1.2s cubic-bezier(.2,.8,.2,1); }
@keyframes grow { from { width: 0; } }
.rk em { grid-column: 3; grid-row: 1; justify-self: end; font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.rk:not(:has(.avatar)):not(:has(img)) { grid-template-columns: 26px 1fr; }
.rk:not(:has(.avatar)):not(:has(img)) .bar, .rk:not(:has(.avatar)):not(:has(img)) em { grid-column: 2; }

/* detail modal */
.detail .modal { width: min(1180px, 100%); padding: 0; display: block; overflow: hidden; }
.dt-body { display: grid; grid-template-columns: 1.4fr 1fr; max-height: 90vh; }
.dt-media { position: relative; background: #000; display: grid; place-items: center; min-height: 420px; }
.dt-media img { width: 100%; height: 100%; max-height: 90vh; object-fit: contain; }
.dt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.dt-side { padding: 30px; overflow-y: auto; }
.dt-side h3 { font-size: 28px; margin: 12px 0 16px; }
.dt-side .p-stats { margin-top: 20px; }
.dt-prompt { margin-top: 18px; }
.dt-prompt pre { margin-top: 8px; white-space: pre-wrap; font-family: var(--mono); font-size: 13px; line-height: 1.65; color: #d7d7ee;
  padding: 14px; border-radius: 12px; background: rgba(0,0,0,.4); border: 1px solid var(--line); }

/* mobile: sidebar → bottom tab bar */
@media (max-width: 900px) {
  .sidebar { top: auto; width: 100% !important; height: 64px; flex-direction: row; padding: 6px 8px; border-right: 0; border-top: 1px solid var(--line); justify-content: space-around; }
  .sidebar .logo, .sb-sep, .sb-bottom, .sidebar .sb-item:nth-of-type(n+7) { display: none; }
  .sb-item, .sb-publish { flex-direction: column; gap: 2px; padding: 6px 8px; font-size: 10px; margin: 0; }
  .sb-item .l, .sb-publish .l { opacity: 1; }
  .sb-item.on::before { display: none; }
  .sb-publish .i, .sb-item .i { width: auto; font-size: 18px; }
  .main { margin-left: 0; padding-bottom: 70px; }
  .main .container { width: 92vw; }
  .topbar .right .btn, .topbar .points-pill { display: none; }
  .search { min-width: 0; }
  .search .sbtn:first-of-type { display: none; }
  .banner { height: 300px; }
  .slide { width: 88%; transform: translateX(calc(-50% + var(--d) * 94%)) scale(calc(1 - var(--ad) * .1)); }
  .slide .bn-copy { left: 24px; right: 24px; }
  .bn-nav { display: none; }
  .camps { grid-template-columns: repeat(5, 70%); overflow-x: auto; scroll-snap-type: x mandatory; }
  .camp { scroll-snap-align: start; }
  .feed-head { top: 77px; }
  .feed { columns: 2 150px; column-gap: 12px; }
  .fcard { margin-bottom: 12px; }
  .cbody { padding: 10px 12px 12px; }
  .model-row { display: none; }
  .ranks { grid-template-columns: 1fr; }
  .dt-body { grid-template-columns: 1fr; overflow-y: auto; }
  .tabs { gap: 18px; overflow-x: auto; }
  .tabs button { font-size: 15px; white-space: nowrap; }
}
.sidebar .logo .l { opacity: 0; transition: opacity .25s; }
.sidebar:hover .logo .l { opacity: 1; }

.chips, .tabs, .camps { scrollbar-width: none; }
.chips::-webkit-scrollbar, .tabs::-webkit-scrollbar, .camps::-webkit-scrollbar { display: none; }

/* =========================================================
   v4 · FX layer
   ========================================================= */
#silk { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; }

/* command center */
.cmd { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; margin-top: 30px; align-items: stretch; }
.cmd-left { display: flex; flex-direction: column; justify-content: center; padding: 10px 0; }
.cmd-title { font-size: clamp(42px, 4.6vw, 76px); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; margin: 18px 0 18px; min-height: 2.1em; }
.cmd-title span { display: inline-block; }
.blur-in { animation: blurIn 1.4s .6s both cubic-bezier(.2,.8,.2,1); }
@keyframes blurIn { from { filter: blur(14px); opacity: 0; transform: translateY(10px); } }
.cmd .hero-cta { margin-top: 26px; }
.magnetic { transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .2s !important; }

.term { margin-top: 28px; border-radius: 18px; overflow: hidden; background: rgba(6,6,14,.72); }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--dim); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.term-bar i:nth-child(2) { background: #febc2e; } .term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin-left: 8px; }
.term-bar .live-dot { margin-left: auto; }
.term-body { height: 168px; padding: 12px 16px; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; mask-image: linear-gradient(transparent, #000 30%); }
.tl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #e6e6f5; }
.tl .pr { color: var(--pink); }
.tl.think { color: var(--dim); }
.tl.ok { color: var(--lime); padding-left: 16px; }
.spin { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--cyan); border-right-color: var(--violet); animation: spin .7s linear infinite; vertical-align: -1px; margin-right: 6px; }

.cmd-globe { position: relative; min-height: 520px; padding: 22px; overflow: hidden;
  background: radial-gradient(circle at 50% 55%, rgba(139,92,246,.18), transparent 60%), rgba(8,8,18,.55); }
.globe-head { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.globe-stat { text-align: right; }
.globe-stat b { display: block; font-family: var(--mono); font-size: 30px; }
.globe-stat span { font-size: 12px; color: var(--muted); }
#globe { position: absolute; inset: 40px 0 30px; width: 100%; height: calc(100% - 70px); cursor: grab; touch-action: none; }
#globe:active { cursor: grabbing; }
.globe-foot { position: absolute; left: 22px; right: 22px; bottom: 16px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--dim); }

/* border beam: a light that travels around the panel edge */
.beam::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 3;
  background: conic-gradient(from var(--a), transparent 0 70%, rgba(34,211,238,.0) 72%, #22d3ee 82%, #f472b6 90%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: rotateA 5s linear infinite; filter: drop-shadow(0 0 6px #22d3ee);
}

/* spotlight panels */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), rgba(139,92,246,.18), rgba(34,211,238,.06) 40%, transparent 60%);
}
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; z-index: 1; }
.spot.cmd-globe > #globe { position: absolute; }
.spot:hover { border-color: rgba(139,92,246,.45); }

/* pulse panels */
.pulses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.pulse { padding: 18px 18px 12px; border-radius: 18px; overflow: hidden; transition: transform .3s, border-color .3s; }
.pulse:hover { transform: translateY(-4px); }
.pk { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.pv { font-family: var(--mono); font-size: 28px; font-weight: 700; margin: 6px 0 4px; letter-spacing: -.02em; }
.pv.tick { animation: tick .5s; }
@keyframes tick { 30% { color: var(--cyan); text-shadow: 0 0 18px var(--cyan); } }
.pulse svg { width: 100%; height: 60px; display: block; }
.donut-wrap { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
#donut { width: 84px; height: 84px; flex-shrink: 0; filter: drop-shadow(0 0 10px rgba(139,92,246,.5)); }
@keyframes donut { from { stroke-dasharray: 0 999; } }
.donut-legend { display: grid; gap: 4px; font-size: 12px; color: var(--muted); font-family: var(--mono); }
.donut-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }

/* holo + tilt on feed cards */
.front { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out, border-color .3s, box-shadow .3s; }
.front .cover::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .3s; mix-blend-mode: color-dodge;
  background:
    radial-gradient(circle at var(--hx, 50%) var(--hy, 50%), rgba(255,255,255,.35), transparent 35%),
    linear-gradient(115deg, transparent 25%, rgba(255,0,170,.35) 38%, rgba(0,255,255,.35) 50%, rgba(255,230,0,.3) 62%, transparent 75%);
  background-size: 100% 100%, 250% 250%;
  background-position: center, calc(var(--hx, 50%) * 1.2) calc(var(--hy, 50%) * 1.2);
}
.fcard:hover .front .cover::after { opacity: .55; }
.fcard:hover .front { box-shadow: 0 30px 60px -25px rgba(139,92,246,.75), 0 0 0 1px rgba(139,92,246,.35); }

/* chroma focus on campaign cards */
.camps:hover .camp:not(:hover) { filter: grayscale(.85) brightness(.55); }
.camp { transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s, filter .4s; }

/* click spark */
.spark { position: fixed; z-index: 400; width: 2px; height: 12px; border-radius: 2px; pointer-events: none;
  background: linear-gradient(var(--cyan), transparent); transform-origin: 50% 0;
  transform: translate(-50%, 0) rotate(var(--a)) translateY(6px); animation: spark .55s ease-out forwards; }
@keyframes spark { to { transform: translate(-50%, 0) rotate(var(--a)) translateY(30px) scaleY(.2); opacity: 0; } }

/* cursor ring */
.c-ring, .c-dot { position: fixed; left: 0; top: 0; z-index: 500; pointer-events: none; border-radius: 50%; }
.c-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1.5px solid rgba(34,211,238,.6);
  transition: width .25s, height .25s, margin .25s, border-color .25s, background .25s; mix-blend-mode: screen; }
.c-ring.hot { width: 58px; height: 58px; margin: -29px 0 0 -29px; border-color: rgba(244,114,182,.8); background: rgba(244,114,182,.08); }
.c-ring.press { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
.c-dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: #fff; box-shadow: 0 0 10px var(--cyan); }

/* dock icons */
.sb-item .i, .sb-publish .i { transition: transform .18s ease-out; display: inline-block; }

@media (max-width: 1080px) {
  .pulses { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .cmd { grid-template-columns: 1fr; }
  .cmd-globe { min-height: 420px; }
  .term-body { height: 130px; font-size: 11px; }
  .c-ring, .c-dot { display: none; }
}
.spot > .globe-foot { position: absolute; }
.tl { flex-shrink: 0; }

/* contain coverflow side-slides so mobile never scrolls sideways */
.main{overflow-x:clip}
html{overflow-x:clip}

/* =========================================================
   v5 · icon system, generation stage, control deck, HUD
   ========================================================= */
/* ---- icons ---- */
.vi { width: 1.15em; height: 1.15em; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; overflow: visible; }
.btn .vi { width: 18px; height: 18px; }
.btn-sm .vi { width: 15px; height: 15px; }
.badge .vi, .pk .vi, .points-pill .vi, .p-kicker .vi { width: 14px; height: 14px; }
.chip .vi { width: 16px; height: 16px; margin-right: 2px; }
.notice .vi { width: 14px; height: 14px; margin-right: 6px; }
.sb-item .i .vi, .sb-publish .i .vi { width: 22px; height: 22px; display: block; margin: 0 auto; }
.sb-item:hover .vi, .sb-item.on .vi { stroke: url(#vjg); --ia: #8b5cf6; --io: .4; filter: drop-shadow(0 0 6px rgba(139,92,246,.55)); }
.sb-publish .vi { stroke-width: 2.2; }
.like .heart .vi { width: 15px; height: 15px; }
.like.on .heart .vi { --io: 1; }
.like.on .heart { display: inline-flex; }
.play-btn .vi, .play-cta .vi, .vtag .vi { width: 1em; height: 1em; --io: 1; }
.p-hire .vi { width: 16px; height: 16px; }
.u-planet .ico .vi { width: 30px; height: 30px; stroke-width: 1.5; }
.newbie-tag .vi { width: 12px; height: 12px; }
.rank h4 { display: flex; align-items: center; gap: 8px; }
.rank h4 .vi { width: 18px; height: 18px; stroke: url(#vjg); --ia: #f472b6; --io: .35; }
.search .sbtn .vi { width: 18px; height: 18px; }
.bn-nav { display: grid; place-items: center; }
.bn-nav .vi { width: 22px; height: 22px; }
.camp .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(8,8,18,.55); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px); }
.camp .ic .vi { width: 20px; height: 20px; stroke: url(#vjg); --ia: #22d3ee; --io: .35; }
.logo-svg { width: 34px; height: 34px; flex-shrink: 0; filter: drop-shadow(0 0 10px rgba(34,211,238,.45)); }
.footer .logo .logo-svg { width: 30px; height: 30px; }

/* primary buttons get a light sweep */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.6) 50%, transparent 65%); transform: translateX(-130%); animation: sweep 3.6s ease-in-out infinite; pointer-events: none; }
@keyframes sweep { 0%, 55% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }

/* ---- film grain ---- */
.grain { position: fixed; inset: -50%; z-index: 60; pointer-events: none; background: var(--noise); background-size: 128px; opacity: .035; animation: grain 1s steps(5) infinite; }
@keyframes grain { 0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-4%); } 60% { transform: translate(-4%,-1%); } 80% { transform: translate(3%,3%); } }

/* ---- boot ---- */
#boot { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #12102a, #05050a 60%); clip-path: inset(0 0 0 0); transition: clip-path .8s cubic-bezier(.75,0,.2,1); cursor: pointer; }
.no-boot #boot { display: none; }
#boot.done { clip-path: inset(0 0 100% 0); }
.boot-in { width: min(380px, 80vw); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.boot-logo { width: 76px; height: 76px; overflow: visible; filter: drop-shadow(0 0 20px rgba(34,211,238,.6)); }
.boot-logo path:first-child { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s .05s forwards cubic-bezier(.6,0,.2,1); }
.boot-star { transform-origin: 16px 11px; transform: scale(0); animation: pop .5s .7s forwards cubic-bezier(.3,1.7,.5,1); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { transform: scale(1); } }
.boot-name { font-weight: 700; font-size: 22px; letter-spacing: .32em; }
.boot-name span { font: 600 10px var(--mono); margin-left: 6px; padding: 2px 6px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--cyan); letter-spacing: .1em; vertical-align: 4px; }
.boot-log { width: 100%; min-height: 80px; font: 11px/1.8 var(--mono); color: var(--dim); }
.boot-log div { display: flex; gap: 8px; animation: fadeUp .3s both; }
.boot-log i { flex: 1; border-bottom: 1px dotted rgba(255,255,255,.15); margin-bottom: 6px; }
.boot-log b { color: var(--lime); font-weight: 600; }
.boot-bar { width: 100%; height: 2px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.boot-bar i { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 12px var(--cyan); transition: width .3s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }

/* ---- hero: generation stage ---- */
.hero5 { display: grid; grid-template-columns: 1fr 1.08fr; gap: 28px; margin-top: 24px; align-items: center; }
.h5-left { position: relative; z-index: 2; min-width: 0; }
.genbar { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 26px; max-width: 620px; padding: 8px 8px 8px 10px; border-radius: 18px;
  background: rgba(8,8,18,.72); border: 1px solid var(--line-2); backdrop-filter: blur(14px); box-shadow: 0 24px 70px -30px rgba(139,92,246,.7); }
.genbar::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--a, 0deg), transparent 0 65%, var(--cyan), var(--violet), var(--pink), transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: rotateA 4s linear infinite; }
.gb-ico { width: 36px; height: 36px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; background: var(--grad); color: #0a0a12; }
.gb-ico .vi { width: 20px; height: 20px; --io: .5; }
.gb-text { flex: 1; min-width: 0; font-family: var(--mono); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #ececfa; }
.caret { display: inline-block; width: 8px; height: 16px; background: var(--cyan); vertical-align: -3px; margin-left: 2px; animation: blink 1s steps(1) infinite; box-shadow: 0 0 10px var(--cyan); }
@keyframes blink { 50% { opacity: 0; } }
.gb-model { font: 600 11px var(--mono); padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.gb-go { display: inline-flex; gap: 7px; align-items: center; padding: 10px 16px; border-radius: 12px; background: var(--text); color: #0a0a12; font-weight: 600; font-size: 14px; transition: transform .15s, box-shadow .3s; white-space: nowrap; }
.gb-go .vi { width: 16px; height: 16px; }
.gb-go.press { transform: scale(.9); box-shadow: 0 0 0 8px rgba(34,211,238,.25), 0 0 30px rgba(34,211,238,.6); }
.gb-progress { position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; transform-origin: left; transform: scaleX(var(--p, 0)); background: var(--grad); box-shadow: 0 0 14px var(--cyan); border-radius: 2px; }
.hero5 .hero-cta { margin-top: 22px; }
.h5-stats { display: flex; gap: 36px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.h5-stats b { display: block; font: 600 26px var(--mono); letter-spacing: -.02em; }
.h5-stats b em { font-style: normal; color: var(--dim); font-size: 16px; }
.h5-stats span { font-size: 12px; color: var(--muted); }

.h5-stage { position: relative; height: min(74vh, 660px); min-height: 460px; border-radius: 28px; overflow: hidden; isolation: isolate;
  background: radial-gradient(circle at 50% 46%, rgba(139,92,246,.24), transparent 52%), radial-gradient(circle at 50% 50%, rgba(34,211,238,.08), transparent 72%), rgba(6,6,14,.55);
  border: 1px solid var(--line); box-shadow: inset 0 0 120px rgba(0,0,0,.55); }
.h5-stage::before { content: ""; position: absolute; left: -50%; right: -50%; bottom: -12%; height: 52%; z-index: -1;
  background-image: linear-gradient(rgba(139,92,246,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(139,92,246,.4) 1px, transparent 1px);
  background-size: 48px 48px; transform: perspective(380px) rotateX(64deg); transform-origin: bottom; mask-image: linear-gradient(transparent, #000 75%); animation: floor 2.6s linear infinite; }
@keyframes floor { to { background-position: 0 48px; } }
.h5-stage::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }
#morph { position: absolute; inset: 0; z-index: 1; touch-action: pan-y; }
.st-ring { position: absolute; left: 50%; top: 47%; width: min(78%, 470px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; z-index: 0; pointer-events: none;
  border: 1px solid rgba(255,255,255,.06); animation: spin 60s linear infinite; }
.st-ring::before { content: ""; position: absolute; inset: -14px; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255,255,255,.22) 0 .4deg, transparent .4deg 6deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)); mask: radial-gradient(closest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)); }
.st-ring::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed rgba(34,211,238,.18); animation: spin 30s linear infinite reverse; }
.hud-tl, .hud-tr, .hud-bl, .hud-br { position: absolute; z-index: 3; font: 600 10.5px var(--mono); letter-spacing: .12em; color: var(--dim); display: flex; align-items: center; gap: 8px; text-transform: uppercase; }
.hud-tl { top: 20px; left: 22px; } .hud-tr { top: 20px; right: 22px; }
.hud-bl { bottom: 24px; left: 22px; } .hud-br { bottom: 24px; right: 22px; }
.hud-tl b { color: var(--cyan); font-weight: 600; } .hud-bl b { color: var(--lime); }
.rec { width: 7px; height: 7px; border-radius: 50%; background: #ff4d6d; box-shadow: 0 0 10px #ff4d6d; animation: blink 1.2s steps(1) infinite; }
.st-modes { position: absolute; left: 50%; bottom: 58px; transform: translateX(-50%); z-index: 4; display: flex; gap: 4px; padding: 5px; border-radius: 999px;
  background: rgba(8,8,18,.66); border: 1px solid var(--line-2); backdrop-filter: blur(12px); max-width: calc(100% - 24px); overflow-x: auto; scrollbar-width: none; }
.st-modes button { display: inline-flex; gap: 6px; align-items: center; padding: 7px 13px; border-radius: 999px; font-size: 12.5px; color: var(--muted); white-space: nowrap; transition: background .25s, color .25s; }
.st-modes button .vi { width: 15px; height: 15px; }
.st-modes button:hover { color: var(--text); }
.st-modes button.on { background: var(--text); color: #0a0a12; }

/* ---- HUD corner brackets (injected .hc) ---- */
.hc { position: absolute; inset: 9px; z-index: 3; pointer-events: none; opacity: .45; transition: inset .35s cubic-bezier(.2,.8,.2,1), opacity .35s; --c: rgba(34,211,238,.9);
  background:
    linear-gradient(var(--c), var(--c)) top left / 12px 1.5px, linear-gradient(var(--c), var(--c)) top left / 1.5px 12px,
    linear-gradient(var(--c), var(--c)) top right / 12px 1.5px, linear-gradient(var(--c), var(--c)) top right / 1.5px 12px,
    linear-gradient(var(--c), var(--c)) bottom left / 12px 1.5px, linear-gradient(var(--c), var(--c)) bottom left / 1.5px 12px,
    linear-gradient(var(--c), var(--c)) bottom right / 12px 1.5px, linear-gradient(var(--c), var(--c)) bottom right / 1.5px 12px;
  background-repeat: no-repeat; }
.hud:hover .hc, .h5-stage:hover .hc { inset: 5px; opacity: 1; }
.hc::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40%; opacity: 0;
  background: linear-gradient(transparent, rgba(34,211,238,.08) 85%, rgba(34,211,238,.45)); border-bottom: 1px solid rgba(34,211,238,.5); }
.hud:hover .hc::after { animation: hscan 1.1s ease-out; }
@keyframes hscan { 0% { top: -40%; opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* ---- model marquee ---- */
.models { display: flex; align-items: center; gap: 20px; margin-top: 40px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.models-k { display: inline-flex; gap: 8px; align-items: center; font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.models-k .vi { width: 16px; height: 16px; stroke: url(#vjg); }
.models-mask { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.models-track { display: flex; width: max-content; animation: marq 45s linear infinite; }
.models:hover .models-track { animation-play-state: paused; }
.models-track span { display: inline-flex; gap: 10px; align-items: center; margin-right: 44px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: rgba(255,255,255,.5); white-space: nowrap; transition: color .2s, text-shadow .2s; }
.models-track span:hover { color: #fff; text-shadow: 0 0 18px rgba(139,92,246,.9); }
.models-track .vi { width: 13px; height: 13px; stroke: url(#vjg); --ia: #8b5cf6; --io: .6; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---- control deck (bento) ---- */
.deck-head { display: flex; align-items: center; gap: 14px; margin: 54px 0 18px; }
.sec-idx { font: 700 11px var(--mono); color: #0a0a12; background: var(--grad); padding: 3px 7px; border-radius: 6px; letter-spacing: .02em; }
.eyebrow .sec-idx { margin-right: 4px; }
.deck-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.deck-clock { font: 12px var(--mono); color: var(--dim); letter-spacing: .08em; }
.deck { display: grid; grid-template-columns: 1fr 1fr 1.15fr 1.15fr; grid-template-areas: "term term globe globe" "p1 p2 globe globe" "p3 dn fd fd"; gap: 16px; }
.deck > * { min-width: 0; }
.d-term { grid-area: term; margin: 0 !important; }
.d-term .term-body { height: 196px; }
.d-globe { grid-area: globe; min-height: 470px; }
.d-p1 { grid-area: p1; } .d-p2 { grid-area: p2; } .d-p3 { grid-area: p3; } .d-dn { grid-area: dn; }
.d-fd { grid-area: fd; padding: 20px 22px; border-radius: var(--radius); }
.globe-foot .vi { width: 13px; height: 13px; }
.fd-n { margin-left: auto; font: 12px var(--mono); font-style: normal; color: var(--dim); }
.fd-n b { color: var(--amber); font-size: 18px; }
.d-fd .pk .vi { stroke: var(--amber); --ia: var(--amber); }
.seats { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin-top: 16px; }
.seats i { aspect-ratio: 1.55; display: grid; place-items: center; border-radius: 7px; font: 600 9px var(--mono); font-style: normal; color: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.02); transition: border-color .3s, color .3s, box-shadow .3s; cursor: default; }
.seats i.on { color: #1a0f00; background: linear-gradient(135deg, #fde68a, #fbbf24 45%, #f472b6); border-color: transparent; box-shadow: 0 0 16px -4px rgba(251,191,36,.8); animation: seatIn .6s var(--d) both cubic-bezier(.3,1.5,.5,1); }
.seats i.on:hover { transform: translateY(-2px) scale(1.08); }
.seats i.ping { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,238,.14), inset 0 0 12px rgba(34,211,238,.35); }
@keyframes seatIn { from { transform: scale(0); opacity: 0; } }

/* ---- diffusion reveal on feed covers ---- */
.cover.gen img { filter: blur(calc((1 - var(--p, 0)) * 26px)) saturate(calc(1 + (1 - var(--p, 0)) * 1.2)) contrast(calc(1 + (1 - var(--p, 0)) * .3)); }
.cover .dn { position: absolute; inset: 0; z-index: 4; pointer-events: none; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 12px 14px; transition: opacity .45s; }
.cover .dn::before { content: ""; position: absolute; inset: 0; background: var(--noise); background-size: 110px; mix-blend-mode: overlay; opacity: calc((1 - var(--p, 0)) * .95); }
.cover .dn::after { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--p, 0) * 100%); height: 1px; background: rgba(200,250,255,.9); box-shadow: 0 0 14px 2px rgba(34,211,238,.7); }
.cover .dn b, .cover .dn em { position: relative; font: 600 10px var(--mono); letter-spacing: .14em; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.8); font-style: normal; }
.cover .dn em { color: var(--cyan); letter-spacing: .06em; }
.cover.gen-done .dn { opacity: 0; }

/* ---- business pipeline ---- */
.biz-flow .pipe { position: absolute; top: 33px; left: 8%; right: 8%; height: 2px; z-index: 0; pointer-events: none; }
.pipe i { position: absolute; top: -3px; left: 0; width: 70px; height: 8px; border-radius: 8px; opacity: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.95)); filter: drop-shadow(0 0 8px var(--cyan)); animation: packet 4.2s linear infinite; }
.pipe i:nth-child(2) { animation-delay: 1.4s; } .pipe i:nth-child(3) { animation-delay: 2.8s; }
@keyframes packet { 0% { left: 0; opacity: 0; } 8%, 92% { opacity: 1; } 100% { left: calc(100% - 70px); opacity: 0; } }
.biz-step { z-index: 1; }
.biz-step .n .vi { width: 30px; height: 30px; stroke: var(--c); --ia: var(--c); --io: .3; filter: drop-shadow(0 0 8px var(--c)); }
.biz-step.core .n .vi { stroke: #0a0a12; --ia: #fff; --io: .5; filter: none; }
.biz-side h4 { display: flex; align-items: center; gap: 10px; }
.biz-side h4 .vi { width: 22px; height: 22px; stroke: var(--c); --ia: var(--c); --io: .3; }

/* ---- v5 responsive ---- */
@media (max-width: 1100px) {
  .hero5 { grid-template-columns: 1fr; }
  .h5-stage { height: 520px; }
  .deck { grid-template-columns: 1fr 1fr; grid-template-areas: "term term" "globe globe" "p1 p2" "p3 dn" "fd fd"; }
}
@media (max-width: 640px) {
  .h5-stage { height: 420px; min-height: 0; border-radius: 22px; }
  .hud-bl, .hud-br { display: none; }
  .st-modes { bottom: 14px; }
  .gb-model { display: none; }
  .gb-go span { display: none; }
  .gb-go { padding: 10px 12px; }
  .h5-stats { gap: 18px; justify-content: space-between; }
  .h5-stats b { font-size: 20px; }
  .deck { grid-template-areas: "term term" "globe globe" "p1 p2" "p3 p3" "dn dn" "fd fd"; gap: 12px; }
  .d-globe { min-height: 400px; }
  .models-k span { display: none; }
  .seats { gap: 4px; }
  .seats i { font-size: 7.5px; border-radius: 5px; }
}
.st-scan { position: absolute; left: 10%; right: 10%; top: var(--y0, 20%); height: 1.5px; z-index: 2; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, #d6fbff 20%, #d6fbff 80%, transparent); box-shadow: 0 0 18px 2px rgba(34,211,238,.65); }
.st-scan::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(transparent, rgba(34,211,238,.16)); mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }
.st-scan.run { animation: stscan .95s linear; }
@keyframes stscan { 0% { opacity: 1; transform: translateY(0); } 88% { opacity: 1; } 100% { opacity: 0; transform: translateY(var(--dy, 300px)); } }
.seats { grid-template-columns: repeat(25, 1fr); gap: 5px; }
.seats i { aspect-ratio: .78; font-size: 8px; writing-mode: vertical-rl; letter-spacing: .05em; border-radius: 6px; }
.fd-foot { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: 12.5px; color: var(--muted); }
.fd-bar { flex: 0 0 38%; height: 6px; border-radius: 6px; background: rgba(255,255,255,.06); overflow: hidden; }
.fd-bar i { display: block; width: 36%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #fbbf24, #f472b6); box-shadow: 0 0 12px rgba(251,191,36,.7); }
@media (max-width: 640px) {
  .seats { grid-template-columns: repeat(10, 1fr); }
  .seats i { aspect-ratio: 1.4; writing-mode: horizontal-tb; }
  .fd-foot { flex-direction: column; align-items: stretch; gap: 8px; }
}
.cover .dn::before { opacity: calc((1 - var(--p, 0)) * (1 - var(--p, 0)) * .85); }
.feed-head { background: linear-gradient(rgba(10,9,22,.78) 72%, rgba(10,9,22,0)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  mask-image: linear-gradient(#000 82%, transparent); -webkit-mask-image: linear-gradient(#000 82%, transparent); }
/* challenge page icons */
.theme-ico { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 26px; background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.35); box-shadow: 0 0 50px -10px rgba(251,191,36,.6); }
.theme-ico .vi { width: 46px; height: 46px; stroke: #fbbf24; --ia: #fbbf24; --io: .3; stroke-width: 1.4; }
.track-card .icon .vi { width: 28px; height: 28px; }
.track-card.new .icon .vi { stroke: var(--cyan); --ia: var(--cyan); }
.track-card.evo .icon .vi { stroke: var(--pink); --ia: var(--pink); }
.slot { display: grid; place-items: center; }
.slot .vi { width: 20px; height: 20px; }
.slot.used .vi { stroke: var(--cyan); } .slot.bonus .vi { stroke: var(--amber); }
.prize .medal { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; --m: var(--amber); background: color-mix(in srgb, var(--m) 14%, transparent); border: 1px solid color-mix(in srgb, var(--m) 40%, transparent); box-shadow: 0 0 30px -8px var(--m); }
.prize .medal .vi { width: 28px; height: 28px; stroke: var(--m); --ia: var(--m); --io: .35; }
.prize .medal.silver { --m: #cbd5e1; } .prize .medal.evo { --m: var(--pink); } .prize .medal.grow { --m: var(--lime); }
.modal .x .vi, .u-close .vi, .back-x .vi { width: 18px; height: 18px; }
.modal .x, .u-close, .back-x { display: grid; place-items: center; }
