:root {
  --navy: #071433;
  --navy-2: #0b1c4a;
  --navy-3: #10245c;
  --ink: #071433;
  --ink-2: rgba(11, 28, 74, 0.72);
  --ink-3: #122a66;
  --cream: #f7fbff;
  --mute: #9eb0d6;
  --lime: #7dff6b;
  --pink: #ff7ad9;
  --hot: #ff4d6d;
  --gold: #ffd54a;
  --sky: #4cc9f0;
  --violet: #9b5cff;
  --ok: #7dff6b;
  --warn: #ffd54a;
  --bad: #ff5d7a;
  --line: rgba(255, 255, 255, 0.16);
  --display: "Anton", Impact, sans-serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --pixel: "Press Start 2P", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: radial-gradient(1200px 700px at 15% -10%, #1a3d8f 0%, transparent 50%),
              radial-gradient(900px 600px at 110% 10%, #3a1070 0%, transparent 45%),
              var(--navy);
  color: var(--cream);
}
body { font-family: var(--sans); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }

.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.star {
  position: absolute;
  background: #fff;
  border-radius: 1px;
  animation: twinkle 2.8s ease-in-out infinite;
}
.star.plus {
  background: transparent;
  box-shadow: 0 -3px 0 #fff, 0 3px 0 #fff, -3px 0 0 #fff, 3px 0 0 #fff;
  width: 2px; height: 2px;
}
.star.dot { width: 3px; height: 3px; border-radius: 50%; }
.star.ring {
  width: 10px; height: 10px; border-radius: 50%;
  background: transparent; border: 2px dotted rgba(255,255,255,.45);
}
@keyframes twinkle {
  0%, 100% { opacity: .25; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.15); }
}

.flyer {
  position: absolute;
  display: flex;
  align-items: center;
  animation: fly 16s linear infinite;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,.35));
}
.flyer-b { top: 38%; animation-duration: 24s; animation-delay: -9s; transform: scale(.72); }
.flyer-c { top: 72%; animation-duration: 20s; animation-delay: -15s; transform: scale(.55); }
.rainbow-trail {
  width: 168px;
  height: 22px;
  border-radius: 2px;
  background: linear-gradient(90deg,
    #ff3b30 0 16%,
    #ff9500 16% 32%,
    #ffcc00 32% 48%,
    #34c759 48% 64%,
    #007aff 64% 82%,
    #5856d6 82% 100%);
  box-shadow: 0 0 16px rgba(255,122,217,.35);
}
.mascot {
  height: 96px;
  width: 78px;
  object-fit: cover;
  object-position: center 38%;
  image-rendering: pixelated;
  animation: bob 0.7s steps(2) infinite;
  margin-left: -8px;
}
@keyframes fly {
  0% { left: -28%; }
  100% { left: 118%; }
}

.app { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 24px;
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7, 20, 51, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg,#ff3b30,#ff9500,#ffcc00,#34c759,#007aff,#5856d6) 1;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  letter-spacing: 0.08em;
  font-size: 26px;
  text-shadow: 3px 3px 0 #ff4d6d;
}
.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background:
    linear-gradient(#ff3b30 0 16%, #ff9500 16% 33%, #ffcc00 33% 50%, #34c759 50% 66%, #007aff 66% 83%, #5856d6 83% 100%);
  animation: bob 1.4s ease-in-out infinite;
  box-shadow: 3px 3px 0 #0006;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.nav-links { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; }
.nav-links a {
  padding: 8px 12px;
  color: var(--mute);
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-links a.active {
  color: #071433;
  background: var(--gold);
  box-shadow: 3px 3px 0 #ff4d6d;
}
.nav-right { display: flex; align-items: center; gap: 10px; }
.wallet-chip {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  border: 2px solid rgba(255,213,74,.4);
  padding: 8px 12px;
  background: rgba(0,0,0,.25);
  border-radius: 12px;
}

.btn {
  border: 2px solid #fff;
  background: transparent;
  color: var(--cream);
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 800;
  border-radius: 14px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 #ff4d6d; }
.btn.primary {
  background: linear-gradient(90deg, #ff7ad9, #ffd54a 55%, #7dff6b);
  color: #141018;
  border-color: #fff;
}
.btn.primary:hover { box-shadow: 4px 4px 0 #4cc9f0; }
.btn.ghost { border-color: rgba(255,255,255,.25); color: var(--mute); font-weight: 600; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }

.page { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 44px 0 80px; flex: 1; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 36px;
  align-items: center;
  padding-bottom: 40px;
}
.kicker {
  font-family: var(--pixel);
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--gold);
  margin-bottom: 16px;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: .7 } 50% { opacity: 1 } }
h1, h2, h3 { margin: 0 0 12px; }
h1 {
  font-family: var(--display);
  font-size: clamp(52px, 9vw, 96px);
  line-height: .86;
  letter-spacing: -0.02em;
  background: linear-gradient(92deg, #fff 10%, #ffd54a 35%, #ff7ad9 62%, #7dff6b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 0 rgba(255,77,109,.28));
}
h2 { font-size: 28px; }
.lede { color: var(--mute); font-size: 18px; line-height: 1.55; max-width: 34em; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; align-items: center; flex-wrap: wrap; }

.poster {
  border: 3px solid #fff;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18,42,102,.85), rgba(7,20,51,.9));
  padding: 26px;
  box-shadow: 8px 8px 0 #ff4d6d, 16px 16px 0 #4cc9f0;
  animation: floatcard 5s ease-in-out infinite;
}
@keyframes floatcard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.poster .hit {
  font-family: var(--display);
  font-size: 48px;
  background: linear-gradient(90deg,#ff7ad9,#ffd54a,#7dff6b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--mute); font-size: 13px; }
.tiny { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); font-weight: 800; }

.section { padding: 44px 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 20px; gap: 16px; }

.card {
  border: 2px solid rgba(255,255,255,.18);
  background: rgba(11, 28, 74, .62);
  padding: 18px;
  border-radius: 18px;
  backdrop-filter: blur(10px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.card:hover, .card:hover {
  transform: translate(-3px, -3px);
  border-color: #ffd54a;
  box-shadow: 6px 6px 0 rgba(255,77,109,.45);
}
.coin-row, .grid-2, .grid-3 { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.coin-row { grid-template-columns: 1.3fr 1fr 1fr auto; align-items: center; }
.coin-row .identity { display: flex; gap: 14px; align-items: center; }

.status {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 800;
  border: 2px solid rgba(255,255,255,.2);
  padding: 4px 8px;
  display: inline-block;
  border-radius: 999px;
}
.status.window { color: #071433; background: var(--lime); border-color: #fff; }
.status.scheduled { color: #071433; background: var(--gold); border-color: #fff; }
.status.settled { color: #fff; background: #4cc9f0; border-color: #fff; }
.status.failed { color: #fff; background: var(--hot); border-color: #fff; }

.meter {
  height: 10px;
  background: #0a1638;
  position: relative;
  overflow: hidden;
  border-radius: 99px;
  border: 2px solid rgba(255,255,255,.2);
}
.meter > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg,#ff3b30,#ff9500,#ffcc00,#34c759,#007aff,#5856d6);
  background-size: 200% 100%;
  animation: slide 2.4s linear infinite;
}
@keyframes slide { to { background-position: 200% 0; } }
.meter .soft, .meter .hard {
  position: absolute; top: -5px; width: 3px; height: 18px; background: #fff;
}

.roadmap { display: grid; gap: 10px; }
.step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  border: 2px solid rgba(255,255,255,.14);
  padding: 14px 16px;
  background: rgba(11,28,74,.55);
  border-radius: 16px;
}
.num { font-family: var(--display); color: var(--gold); font-size: 24px; }

.form { display: grid; gap: 14px; max-width: 720px; }
label { display: grid; gap: 6px; font-size: 13px; color: var(--mute); font-weight: 700; }
input, textarea, select {
  background: rgba(7,20,51,.7);
  border: 2px solid rgba(255,255,255,.16);
  padding: 12px 14px;
  outline: none;
  border-radius: 12px;
}
input:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,213,74,.2); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { font-size: 12px; color: var(--mute); }
.notice {
  border: 2px dashed rgba(255,213,74,.4);
  padding: 12px 14px;
  color: var(--mute);
  font-size: 13px;
  background: rgba(7,20,51,.45);
  border-radius: 14px;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #122a66;
  border: 3px solid #ffd54a;
  padding: 12px 16px;
  z-index: 50;
  border-radius: 16px;
  box-shadow: 6px 6px 0 #ff4d6d;
}

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; color: var(--mute); font-weight: 800; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
td, th { padding: 10px 8px; border-bottom: 1px solid rgba(255,255,255,.1); }
.mono { font-family: var(--mono); font-size: 12px; }

.footer {
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg,#ff3b30,#ff9500,#ffcc00,#34c759,#007aff,#5856d6) 1;
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--mute);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.docs p, .guide p { color: var(--mute); line-height: 1.7; max-width: 46em; }
.docs h3, .guide h3 { margin-top: 28px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }

.avatar, .glyph {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  border: 3px solid #fff;
  object-fit: cover;
  background: #122a66;
  box-shadow: 4px 4px 0 #ff4d6d;
}
.glyph { display: grid; place-items: center; font-family: var(--display); color: var(--gold); font-size: 28px; }
.avatar.lg, .glyph.lg { width: 96px; height: 96px; }

@media (max-width: 900px) {
  .hero, .grid-2, .grid-3, .coin-row, .pillars, .row-2 { grid-template-columns: 1fr; }
  .nav { flex-wrap: wrap; }
  .page { width: calc(100% - 24px); }
  .poster { box-shadow: 5px 5px 0 #ff4d6d; }
}
