/* JEV — JUST JEVING. Loud degen casino-brutalist. Caution-tape yellow on black. */

@font-face {
  font-family: 'Anton';
  src: url('anton-latin.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('jetbrains-mono-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('jetbrains-mono-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --bg: #0A0A0B;
  --bg-2: #121214;
  --ink: #F5F3EE;
  --dim: #9B978E;
  --faint: #5C584F;
  --acid: #FFE600;        /* caution-tape yellow */
  --acid-dim: rgba(255, 230, 0, 0.10);
  --red: #FF3B3B;         /* loss red, used sparingly */
  --line: #26241F;
  --display: 'Anton', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--acid); color: var(--bg); }

/* ---------- marquee ribbon (top) ---------- */
.ribbon {
  background: var(--acid); color: var(--bg);
  font-family: var(--display); font-size: 15px; letter-spacing: 0.08em;
  padding: 8px 0; overflow: hidden; white-space: nowrap;
}
.ribbon-track { display: inline-flex; gap: 48px; animation: ribbonscroll 22s linear infinite; }
.ribbon-track span { text-transform: uppercase; }
@keyframes ribbonscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--acid);
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px;
  background: var(--acid); color: var(--bg);
  font-family: var(--display); font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-4deg);
}
.brand-name { font-family: var(--display); font-size: 22px; letter-spacing: 0.06em; }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  color: var(--dim); text-transform: uppercase; transition: color 0.15s;
}
.nav-links a:hover { color: var(--acid); }
.nav-status {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  color: var(--bg); background: var(--acid);
  padding: 7px 14px; text-transform: uppercase;
  animation: statusblink 2.4s infinite;
}
@keyframes statusblink { 0%,100% { opacity: 1; } 50% { opacity: 0.55; } }

/* ---------- hero ---------- */
.hero {
  min-height: calc(100vh - 120px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 60px clamp(16px, 4vw, 48px) 140px;
  position: relative;
}
.hero-inner { max-width: 1400px; margin: 0 auto; width: 100%; }
.hero-kicker {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em;
  color: var(--bg); background: var(--acid);
  padding: 8px 16px; text-transform: uppercase;
  transform: rotate(-1.5deg); margin-bottom: 30px;
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(72px, 15vw, 220px);
  line-height: 0.88; letter-spacing: 0.01em;
  text-transform: uppercase;
}
.hero-title .line { display: block; }
.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 3px var(--acid);
}
.hero-title .solid { color: var(--acid); }
.hero-title .tilt { display: inline-block; transform: rotate(-2deg); }
.cursor { animation: blink 1s steps(1) infinite; color: var(--ink); }
@keyframes blink { 50% { opacity: 0; } }
.hero-sub {
  margin-top: 34px; max-width: 620px;
  color: var(--dim); font-size: 16px; line-height: 1.75;
}
.hero-sub b { color: var(--ink); font-weight: 600; }
.hero-cta { margin-top: 44px; display: flex; gap: 18px; flex-wrap: wrap; }
.btn {
  font-family: var(--display); font-size: 20px; letter-spacing: 0.06em;
  padding: 18px 36px; text-transform: uppercase;
  transition: transform 0.15s, box-shadow 0.15s;
  display: inline-block;
}
.btn-solid {
  background: var(--acid); color: var(--bg);
  box-shadow: 6px 6px 0 var(--ink);
}
.btn-solid:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.btn-ghost {
  border: 3px solid var(--acid); color: var(--acid);
  box-shadow: 6px 6px 0 rgba(255, 230, 0, 0.25);
}
.btn-ghost:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 rgba(255, 230, 0, 0.25); }

/* hero bottom ticker */
.hero-strip {
  position: absolute; bottom: 0; left: 0; right: 0;
  border-top: 2px solid var(--acid);
  border-bottom: 2px solid var(--acid);
  background: var(--bg-2);
  overflow: hidden; padding: 12px 0;
}
.strip-track {
  display: flex; gap: 80px; white-space: nowrap;
  animation: ribbonscroll 26s linear infinite;
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em;
  color: var(--acid); text-transform: uppercase;
}

/* ---------- sections ---------- */
section { padding: clamp(70px, 9vw, 120px) clamp(16px, 4vw, 48px); }
.section-head { max-width: 1400px; margin: 0 auto 48px; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.95; text-transform: uppercase; letter-spacing: 0.01em;
}
.section-head h2 .accent { color: var(--acid); }
.section-caption {
  margin-top: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.2em;
  color: var(--faint); text-transform: uppercase;
}

/* ---------- mind ---------- */
.mind { background: var(--bg-2); border-bottom: 2px solid var(--acid); }
.feed { max-width: 1400px; margin: 0 auto; }
.feed-item {
  padding: 20px 0; border-bottom: 1px solid var(--line);
  display: flex; gap: 24px; align-items: baseline;
}
.feed-time {
  font-size: 11px; font-weight: 600; color: var(--acid);
  letter-spacing: 0.1em; min-width: 90px; flex-shrink: 0;
}
.feed-text { color: var(--ink); font-size: 15px; line-height: 1.7; }
.feed-text .ticker-token { color: var(--acid); font-weight: 600; }

/* ---------- rules ---------- */
.rules-grid {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--line); border: 2px solid var(--acid);
}
.rule {
  background: var(--bg); padding: clamp(26px, 3vw, 42px);
  display: flex; flex-direction: column; gap: 14px;
  transition: background 0.2s;
}
.rule:hover { background: var(--acid-dim); }
.rule-num {
  font-family: var(--display); font-size: 44px; color: var(--acid);
  line-height: 1;
}
.rule p { color: var(--dim); font-size: 14px; line-height: 1.7; }
.rule p b { color: var(--ink); font-weight: 600; }

/* ---------- book ---------- */
.book { background: var(--bg); border-bottom: 2px solid var(--acid); }
.bk-grid {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--line); border: 2px solid var(--acid);
}
.bk-card {
  background: var(--bg); padding: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 10px; min-height: 150px;
}
.bk-wide { grid-column: 1 / -1; }
.bk-label { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; color: var(--faint); text-transform: uppercase; }
.bk-value {
  font-family: var(--display);
  font-size: clamp(34px, 4.5vw, 64px); line-height: 1; color: var(--ink);
}
.bk-sub { font-size: 11px; letter-spacing: 0.12em; color: var(--dim); text-transform: uppercase; }
.bk-list { display: flex; flex-direction: column; gap: 8px; }
.bk-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 13px; padding: 12px 0; border-bottom: 1px solid var(--line);
}
.bk-row:last-child { border-bottom: none; }
.bk-sym { color: var(--acid); font-weight: 600; }
.bk-addr { color: var(--faint); font-size: 11px; overflow-wrap: anywhere; }
.bk-bal { color: var(--ink); font-weight: 600; }
.bk-loading { font-size: 12px; letter-spacing: 0.14em; color: var(--dim); padding: 12px 0; text-transform: uppercase; }
.bk-foot {
  max-width: 1400px; margin: 22px auto 0;
  font-size: 11px; letter-spacing: 0.12em; color: var(--faint); text-transform: uppercase;
}
.bk-foot a { color: var(--acid); }

/* ---------- roadmap ---------- */
.path { max-width: 1400px; margin: 0 auto; }
.stage {
  padding: clamp(26px, 3.5vw, 44px) 0;
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 220px 1fr; gap: 32px;
  align-items: baseline;
}
.stage:last-child { border-bottom: none; }
.stage-tag {
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  color: var(--faint); text-transform: uppercase;
}
.stage.done .stage-tag {
  color: var(--bg); background: var(--acid);
  padding: 6px 12px; justify-self: start;
}
.stage h3 {
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 44px); text-transform: uppercase;
  line-height: 1;
}
.stage p { margin-top: 10px; color: var(--dim); font-size: 14px; line-height: 1.7; max-width: 62ch; }

/* ---------- wallet ---------- */
.wallet-box {
  max-width: 1400px; margin: 0 auto;
  border: 2px solid var(--acid); padding: clamp(28px, 4vw, 56px);
  background: var(--bg-2);
  box-shadow: 10px 10px 0 var(--acid-dim);
}
.wallet-label { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; color: var(--faint); text-transform: uppercase; }
.wallet-addr {
  margin-top: 14px; font-weight: 600;
  font-size: clamp(13px, 2.2vw, 22px); color: var(--acid);
  overflow-wrap: anywhere; cursor: pointer;
}
.wallet-note { margin-top: 14px; font-size: 11px; color: var(--dim); letter-spacing: 0.08em; text-transform: uppercase; }
.wallet-token { max-width: 1400px; margin: 48px auto 0; }
.token-mark {
  font-family: var(--display); font-size: clamp(56px, 9vw, 130px);
  color: var(--acid); line-height: 0.95; text-transform: uppercase;
}
.token-line {
  margin-top: 6px; font-family: var(--display);
  font-size: clamp(20px, 3vw, 36px); text-transform: uppercase; letter-spacing: 0.04em;
}
.token-sub { margin-top: 18px; color: var(--dim); font-size: 15px; line-height: 1.7; max-width: 48ch; }
.token-addr {
  margin-top: 18px; font-size: 13px; font-weight: 600;
  color: var(--bg); background: var(--acid);
  padding: 14px 18px; overflow-wrap: anywhere; cursor: pointer;
  display: inline-block;
}

/* ---------- footer ---------- */
.footer {
  border-top: 2px solid var(--acid);
  padding: 36px clamp(16px, 4vw, 48px);
  text-align: center;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  color: var(--faint); text-transform: uppercase;
}
.footer .accent { color: var(--acid); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .rules-grid { grid-template-columns: 1fr; }
  .bk-grid { grid-template-columns: 1fr; }
  .bk-wide { grid-column: auto; }
  .stage { grid-template-columns: 1fr; gap: 12px; }
  .feed-item { flex-direction: column; gap: 8px; }
  .btn { font-size: 16px; padding: 14px 24px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .ribbon-track, .strip-track, .cursor, .nav-status { animation: none; }
  html { scroll-behavior: auto; }
}
