:root {
  --bg: #07080c;
  --panel: rgba(16, 17, 23, 0.72);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f5f7;
  --muted: #9aa0ab;
  --accent: #00b8ff;
  --ff: #ff7a1a;
  --mx: 50%;
  --my: 20%;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}
html::-webkit-scrollbar { width: 0; height: 0; display: none; }
html, body { min-height: 100%; background: var(--bg); scrollbar-width: none; }
body {
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
}
body::-webkit-scrollbar { width: 0; height: 0; display: none; }

.fx { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.spot {
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(0, 184, 255, 0.16), transparent 55%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: drift 16s ease-in-out infinite;
}
.o1 { width: 460px; height: 460px; right: -120px; top: -140px; background: rgba(0, 184, 255, 0.28); }
.o2 { width: 340px; height: 340px; left: -120px; bottom: 10%; background: rgba(255, 122, 26, 0.16); animation-delay: -6s; }
.o3 { width: 220px; height: 220px; right: 18%; top: 42%; background: rgba(255, 255, 255, 0.05); animation-delay: -11s; }

.nav, main, .foot { position: relative; z-index: 1; }
.nav {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(7, 8, 12, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  z-index: 3;
}
.nav-inner {
  width: min(1080px, calc(100% - 40px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand, .nav-link, .foot, .panel-go {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.brand { font-weight: 650; letter-spacing: -.03em; }
.nav-link { color: var(--muted); font-size: 14px; }
.nav-link:hover { color: var(--text); }

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: transparent;
}
.brand-logo.large { width: 56px; height: 56px; margin: 0 auto 18px; }

.hero {
  min-height: calc(100dvh - 72px);
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 88px;
  position: relative;
}
.hero > * { max-width: 100%; }
.logo-stage {
  position: relative;
  width: 228px;
  height: 228px;
  margin-bottom: 28px;
  animation: rise .8s ease both;
}
.hero .kicker { animation: rise .8s ease .1s both; }
.hero h1 { animation: rise .8s ease .16s both; }
.hero .lede { animation: rise .8s ease .22s both; }
.hero .actions { animation: rise .8s ease .28s both; }
.hero-logo {
  position: relative;
  z-index: 1;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 4px auto 0;
  background: transparent;
  animation: float 5.5s ease-in-out infinite;
  filter: drop-shadow(0 18px 32px rgba(0, 184, 255, 0.28));
}
.logo-glow {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 184, 255, 0.55), rgba(255, 122, 26, 0.18) 55%, transparent 70%);
  filter: blur(22px);
  animation: pulse 3.2s ease-in-out infinite;
}
.kicker {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
h1, h2, .ff-card h2 {
  font-family: Syne, Inter, sans-serif;
  letter-spacing: -.06em;
}
h1 {
  font-size: clamp(40px, 7vw, 76px);
  line-height: .92;
  font-weight: 800;
}
.lede {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 28ch;
}
.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.button.primary { background: #fff; color: #0b0c10; }
.button.ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
}
.button:hover { transform: translateY(-2px); }
.scroll-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  animation: bounce 2.2s ease-in-out infinite;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  padding: 18px 0;
  animation: marquee 22s linear infinite;
  color: rgba(255, 255, 255, 0.38);
  font-family: Syne, sans-serif;
  font-size: 18px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.stage, .connect, .foot, .page {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}
.page { position: relative; z-index: 1; }
.stage { padding: 88px 0 20px; }
.ff-card, .hero-card, .panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 28px;
  backdrop-filter: blur(18px);
}
.ff-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px;
  overflow: hidden;
  position: relative;
}
.ff-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 122, 26, 0.28), transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}
.ff-art {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  object-fit: cover;
  position: relative;
  z-index: 1;
  box-shadow: 0 16px 40px rgba(255, 122, 26, 0.28);
}
.ff-card h2 { font-size: 36px; margin-bottom: 6px; }
.ff-card p:last-child { color: var(--muted); }

.connect { padding: 56px 0 80px; }
.connect h2 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 22px; }
.link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.panel {
  display: grid;
  gap: 8px;
  padding: 26px;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, border-color .25s ease;
}
.panel:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.2); }
.panel-kicker { color: var(--muted); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.panel strong { font-family: Syne, sans-serif; font-size: 28px; letter-spacing: -.04em; }
.panel-go { color: var(--muted); font-size: 14px; }

.foot {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0 0 48px;
  color: var(--muted);
  font-size: 13px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  animation: rise .8s ease var(--d, 0ms) both paused;
}
[data-reveal].in { animation-play-state: running; }

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-28px, 18px, 0) scale(1.08); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { opacity: .7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: .55; }
  50% { transform: translateY(7px); opacity: 1; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hero.complete {
  min-height: calc(100dvh - 88px);
  padding-bottom: 48px;
}

@media (max-width: 860px) {
  .logo-stage, .hero-logo { width: 168px; height: 168px; }
  .logo-stage { margin-bottom: 22px; }
  h1 { font-size: clamp(40px, 12vw, 56px); }
  .ff-card { flex-direction: column; align-items: flex-start; }
  .link-grid { grid-template-columns: 1fr; }
  .scroll-hint { margin-top: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
