:root {
  --ink: #050708;
  --ink-soft: #0a1012;
  --paper: #f2f6e9;
  --muted: #96a1a0;
  --acid: #9aff00;
  --acid-2: #caff4a;
  --cyan: #00d9ff;
  --pink: #ff1fba;
  --line: rgba(225, 255, 235, 0.16);
  --line-strong: rgba(225, 255, 235, 0.3);
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
  --mono: "Courier New", Courier, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 76% 12%, rgba(0, 217, 255, 0.08), transparent 24rem),
    radial-gradient(circle at 10% 44%, rgba(154, 255, 0, 0.05), transparent 28rem),
    var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  cursor: default;
}

body.game-live {
  cursor: crosshair;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

::selection {
  color: var(--ink);
  background: var(--acid);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--acid);
  transform: translateY(-200%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-noise {
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
  opacity: 0.17;
  background-image:
    repeating-radial-gradient(circle at 17% 31%, transparent 0 2px, rgba(255, 255, 255, 0.14) 3px 4px, transparent 5px 9px),
    repeating-linear-gradient(113deg, transparent 0 5px, rgba(255, 255, 255, 0.05) 6px, transparent 7px 12px);
  background-size: 89px 83px, 71px 67px;
  mix-blend-mode: overlay;
}

.cursor-orb {
  position: fixed;
  z-index: 120;
  top: -12px;
  left: -12px;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(154, 255, 0, 0.75);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--cursor-x, -50px), var(--cursor-y, -50px), 0);
  transition: width 180ms ease, height 180ms ease, opacity 180ms ease, border-color 180ms ease;
  mix-blend-mode: difference;
}

.cursor-orb::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: inherit;
  background: var(--acid);
}

.cursor-orb.is-visible {
  opacity: 1;
}

.cursor-orb.is-active {
  width: 48px;
  height: 48px;
  border-color: var(--cyan);
}

.topbar {
  position: fixed;
  z-index: 90;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 74px;
  padding: 0 4vw;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(5, 7, 8, 0.94), rgba(5, 7, 8, 0));
  transition: min-height 240ms ease, border-color 240ms ease, background 240ms ease, backdrop-filter 240ms ease;
}

.topbar.is-scrolled {
  min-height: 62px;
  border-color: var(--line);
  background: rgba(5, 7, 8, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: 0.7rem;
  width: max-content;
}

.brand-mark {
  position: relative;
  display: inline-flex;
  justify-content: space-around;
  align-items: center;
  width: 34px;
  height: 28px;
  border: 2px solid var(--acid);
  border-radius: 50% 50% 45% 45%;
  background: rgba(154, 255, 0, 0.12);
  box-shadow: 0 0 18px rgba(154, 255, 0, 0.18);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 7px;
  bottom: 6px;
  left: 7px;
  border-top: 2px solid var(--acid);
}

.brand-mark span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--acid);
}

.brand-word {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.brand-tag {
  padding: 0.3rem 0.45rem;
  color: var(--acid);
  border: 1px solid rgba(154, 255, 0, 0.28);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
}

.desktop-nav {
  display: flex;
  gap: clamp(1.3rem, 3vw, 3rem);
  color: #bbc3c1;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.desktop-nav a {
  position: relative;
  padding: 0.5rem 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-buy {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 0.65rem;
  padding: 0.72rem 1rem;
  color: var(--ink);
  border: 1px solid var(--acid);
  background: var(--acid);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.nav-buy:hover,
.nav-buy:focus-visible {
  color: var(--acid);
  background: transparent;
  box-shadow: 0 0 25px rgba(154, 255, 0, 0.16);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  min-height: 100svh;
  padding: 8.5rem 5vw 4.6rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid,
.arena-grid {
  position: absolute;
  z-index: -4;
  inset: 0;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(100, 170, 175, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 170, 175, 0.13) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 93%);
  mask-image: linear-gradient(to bottom, black, transparent 93%);
}

.hero-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(116deg, var(--ink) 5%, transparent 47%, rgba(5, 7, 8, 0.58) 100%);
}

.hero-glow {
  position: absolute;
  z-index: -3;
  width: 44vw;
  height: 44vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.13;
}

.hero-glow-cyan {
  top: 10%;
  right: 8%;
  background: var(--cyan);
}

.hero-glow-pink {
  right: -30%;
  bottom: -28%;
  background: var(--pink);
}

.side-code {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 1.35rem;
  color: rgba(0, 217, 255, 0.55);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

.hero-copy {
  position: relative;
  z-index: 4;
  align-self: center;
  max-width: 680px;
  padding-top: 1rem;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.3rem;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: clamp(0.6rem, 0.8vw, 0.74rem);
  font-weight: 700;
  letter-spacing: 0.13em;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 0 rgba(154, 255, 0, 0.6);
  animation: ping 2s infinite;
}

.hero-title {
  position: relative;
  display: flex;
  align-items: baseline;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(6.4rem, 13.2vw, 13.5rem);
  font-stretch: condensed;
  font-weight: 900;
  line-height: 0.7;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.title-fro {
  color: var(--paper);
  text-shadow: 8px 8px 0 rgba(255, 31, 186, 0.1);
}

.title-gun {
  color: var(--acid);
  -webkit-text-stroke: 1px var(--acid);
  text-shadow: 0 0 38px rgba(154, 255, 0, 0.2);
}

.hero-statement {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  margin-top: 2.3rem;
}

.statement-line {
  width: 3px;
  background: linear-gradient(var(--cyan), rgba(0, 217, 255, 0));
}

.hero-statement p {
  margin: 0;
  color: #b8c0be;
  font-size: clamp(1rem, 1.45vw, 1.3rem);
  line-height: 1.55;
}

.hero-statement strong {
  color: var(--paper);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.3rem;
}

.button {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  min-height: 54px;
  padding: 0.85rem 1.3rem;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.095em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  top: -120%;
  bottom: -120%;
  left: -25%;
  width: 18%;
  background: rgba(255, 255, 255, 0.46);
  transform: rotate(18deg);
  transition: left 420ms ease;
}

.button:hover::before {
  left: 118%;
}

.button:active {
  transform: translateY(2px);
}

.button-primary {
  min-width: 220px;
  color: var(--ink);
  border-color: var(--acid);
  background: var(--acid);
  box-shadow: 0 0 0 rgba(154, 255, 0, 0);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 0 36px rgba(154, 255, 0, 0.24);
}

.button-ghost {
  color: var(--paper);
  border-color: var(--line-strong);
  background: rgba(6, 11, 12, 0.62);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(0, 217, 255, 0.04);
}

.button-dot {
  width: 7px;
  height: 7px;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
}

.button-arrow {
  font-size: 1.1rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
  color: #8f9997;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: color 160ms ease, border-color 160ms ease;
}

.social-chip:hover,
.social-chip:focus-visible {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.32);
}

.social-icon {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  color: var(--ink);
  background: var(--paper);
  font-size: 0.62rem;
  font-weight: 900;
}

.hero-art {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: min(49vw, 700px);
  padding: 1rem 0 1.6rem 2.5rem;
  transform: translate3d(calc(var(--parallax-x, 0) * 1px), calc(var(--parallax-y, 0) * 1px), 0);
  transition: transform 120ms linear;
}

.art-index {
  position: absolute;
  z-index: 3;
  top: -0.1rem;
  right: 1.4rem;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.14em;
}

.art-frame {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(0, 217, 255, 0.3);
  background: #070916;
  clip-path: polygon(8% 0, 100% 0, 100% 86%, 88% 100%, 0 100%, 0 10%);
  box-shadow:
    -24px 28px 0 rgba(154, 255, 0, 0.03),
    0 0 70px rgba(0, 217, 255, 0.08);
}

.art-frame::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(0, 217, 255, 0.12), transparent 24%, transparent 74%, rgba(255, 31, 186, 0.12)),
    linear-gradient(180deg, transparent 65%, rgba(2, 3, 10, 0.88));
}

.art-cut {
  position: absolute;
  z-index: 6;
  top: 10%;
  right: -28%;
  width: 110%;
  height: 2px;
  opacity: 0.76;
  background: var(--cyan);
  box-shadow: 0 0 18px 4px rgba(0, 217, 255, 0.45);
  transform: rotate(-47deg);
  transform-origin: center;
}

.frogun-hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(1.12);
  transform: scale(1.02);
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 500ms ease;
}

.hero-art:hover .frogun-hero {
  filter: contrast(1.12) saturate(1.2);
  transform: scale(1.055);
}

.scanline {
  position: absolute;
  z-index: 5;
  top: -20%;
  right: 0;
  left: 0;
  height: 18%;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(0, 217, 255, 0.1), transparent);
  animation: scan 6s linear infinite;
}

.crosshair {
  position: absolute;
  z-index: 7;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 1.15rem;
}

.crosshair-a {
  top: 12%;
  left: 10%;
}

.crosshair-b {
  right: 10%;
  bottom: 17%;
}

.art-caption {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(0, 217, 255, 0.22);
  font-family: var(--mono);
  font-size: clamp(0.48rem, 0.65vw, 0.62rem);
  letter-spacing: 0.1em;
}

.art-note {
  margin: 0.7rem 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.36);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-align: right;
}

.contract-bar {
  position: relative;
  z-index: 8;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  align-self: end;
  min-height: 68px;
  margin-top: 1.8rem;
  border: 1px solid var(--line-strong);
  background: rgba(5, 9, 10, 0.72);
  backdrop-filter: blur(12px);
}

.contract-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  align-self: stretch;
  padding: 0 1.2rem;
  border-right: 1px solid var(--line);
}

.contract-label > span {
  color: var(--ink);
  background: var(--cyan);
  padding: 0.35rem 0.45rem;
  font-family: var(--display);
  font-size: 1rem;
}

.contract-label small {
  color: #7f8a89;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
}

.contract-value {
  display: block;
  min-width: 0;
  padding: 0 1.2rem;
  overflow: hidden;
  color: var(--paper);
  font-family: var(--mono);
  font-size: clamp(0.68rem, 1vw, 0.9rem);
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0 1.2rem;
  color: var(--acid);
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.copy-button:hover,
.copy-button:focus-visible {
  background: rgba(154, 255, 0, 0.07);
}

.copy-icon {
  font-size: 1rem;
}

.scroll-cue {
  position: absolute;
  z-index: 8;
  right: 1.3rem;
  bottom: 6.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--mono);
  font-size: 0.48rem;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.scroll-cue span:last-child {
  color: var(--acid);
  font-size: 1rem;
  animation: bob 1.7s ease-in-out infinite;
}

.ticker {
  position: relative;
  z-index: 6;
  overflow: hidden;
  color: var(--ink);
  background: var(--acid);
  border-top: 1px solid var(--acid);
  border-bottom: 1px solid var(--acid);
  transform: rotate(-1deg) scale(1.02);
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 1.4rem;
  padding: 0.75rem 0;
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.65rem);
  letter-spacing: 0.075em;
  animation: ticker 18s linear infinite;
}

.ticker-track i {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.8em;
}

.section-shell {
  position: relative;
  padding: clamp(6rem, 10vw, 10rem) 6vw;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.section-head .section-kicker {
  align-self: flex-start;
}

.section-head h2,
.dojo h2,
.signal h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.section-head h2 em,
.dojo h2 em,
.signal h2 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px rgba(242, 246, 233, 0.6);
}

.lore {
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
}

.lore::before {
  content: "FROGUN";
  position: absolute;
  z-index: -1;
  right: -0.04em;
  bottom: -0.18em;
  color: rgba(255, 255, 255, 0.018);
  font-family: var(--display);
  font-size: 34vw;
  letter-spacing: -0.08em;
  line-height: 1;
}

.lore-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.1fr);
  gap: 8vw;
  align-items: start;
}

.lore-manifesto {
  position: sticky;
  top: 8rem;
  padding: 3rem 1.5rem 2rem 3rem;
  border-left: 1px solid var(--cyan);
}

.manifesto-quote {
  position: absolute;
  top: -2.7rem;
  left: 1.5rem;
  color: rgba(0, 217, 255, 0.16);
  font-family: Georgia, serif;
  font-size: 9rem;
  line-height: 1;
}

.lore-manifesto p {
  position: relative;
  margin: 0;
  font-size: clamp(1.25rem, 2.3vw, 2.25rem);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.signature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
}

.signature-line {
  width: 54px;
  height: 1px;
  background: var(--acid);
}

.lore-cards {
  display: grid;
  gap: 1rem;
}

.lore-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 150px;
  padding: 1.6rem 1.8rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.025), transparent);
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.lore-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(100deg, rgba(154, 255, 0, 0.08), transparent 60%);
  transition: opacity 220ms ease;
}

.lore-card:hover {
  border-color: rgba(154, 255, 0, 0.5);
  background: rgba(154, 255, 0, 0.025);
  transform: translateX(-8px);
}

.lore-card:hover::before {
  opacity: 1;
}

.card-number {
  color: var(--cyan);
  font-family: Georgia, serif;
  font-size: 2rem;
  font-style: italic;
}

.lore-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  letter-spacing: 0.02em;
}

.lore-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.card-mark {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.22);
  font-size: 2rem;
}

.dojo {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(520px, 1.3fr);
  gap: 6vw;
  align-items: center;
  min-height: 100vh;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 50%, rgba(255, 31, 186, 0.1), transparent 28rem),
    #07090b;
}

.dojo .section-kicker,
.signal .section-kicker {
  margin-bottom: 2rem;
}

.dojo h2 em {
  color: var(--acid);
  -webkit-text-stroke: 0;
}

.dojo-copy {
  max-width: 500px;
  margin: 2.2rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.dojo-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 2.2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dojo-stats > div {
  padding: 1rem 0.8rem 1rem 0;
  border-right: 1px solid var(--line);
}

.dojo-stats > div + div {
  padding-left: 0.8rem;
}

.dojo-stats > div:last-child {
  border-right: 0;
}

.stat-label {
  display: block;
  margin-bottom: 0.45rem;
  color: #6f7978;
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.13em;
}

.dojo-stats strong {
  display: block;
  overflow: hidden;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.45rem);
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dojo-stats small {
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.5em;
}

.dojo-stats .rank-value {
  color: var(--cyan);
  font-size: clamp(1.05rem, 1.8vw, 1.6rem);
}

.dojo-start {
  width: 100%;
}

.dojo-arena {
  position: relative;
  isolation: isolate;
  min-height: min(660px, 72vw);
  overflow: hidden;
  border: 1px solid rgba(0, 217, 255, 0.26);
  background: #09071a;
  clip-path: polygon(0 0, 94% 0, 100% 7%, 100% 100%, 7% 100%, 0 93%);
  box-shadow: 0 0 90px rgba(0, 217, 255, 0.05);
}

.dojo-arena::before,
.dojo-arena::after {
  content: "";
  position: absolute;
  z-index: 5;
  pointer-events: none;
}

.dojo-arena::before {
  top: 12%;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(154, 255, 0, 0.3);
}

.dojo-arena::after {
  top: 0;
  bottom: 0;
  left: 18%;
  width: 1px;
  background: rgba(0, 217, 255, 0.22);
}

.arena-grid {
  z-index: -3;
  opacity: 0.44;
  transform: perspective(500px) rotateX(60deg) scale(1.5) translateY(20%);
  transform-origin: bottom;
}

.arena-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 7, 24, 0.84) 0%, rgba(8, 7, 24, 0.3) 50%, rgba(8, 7, 24, 0.72) 100%),
    url("./frogun-card.webp") center / cover no-repeat;
  filter: saturate(1.1) contrast(1.04);
  transform: scale(1.03);
  transition: transform 4s ease;
}

.game-live .arena-image {
  transform: scale(1.1);
}

.arena-vignette {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 5, 8, 0.5), transparent 26%, transparent 70%, rgba(4, 5, 8, 0.92)),
    radial-gradient(circle, transparent 30%, rgba(5, 7, 8, 0.74));
}

.arena-hud {
  position: absolute;
  z-index: 4;
  top: 1rem;
  right: 1rem;
  left: 1rem;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.54);
  font-family: var(--mono);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
}

.arena-message {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: min(320px, 70%);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(4, 5, 8, 0.72);
  backdrop-filter: blur(12px);
  transform: translate(-50%, -50%);
  transition: opacity 200ms ease, transform 200ms ease;
}

.arena-message.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -44%) scale(0.96);
}

.arena-symbol {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1rem;
  color: var(--acid);
  border: 1px solid rgba(154, 255, 0, 0.5);
  border-radius: 50%;
  font-size: 1.75rem;
}

.arena-message strong {
  font-family: var(--display);
  font-size: 2.6rem;
  letter-spacing: 0.04em;
}

.arena-message small {
  margin-top: 0.5rem;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
}

.fud-field {
  position: absolute;
  z-index: 8;
  inset: 3.5rem 1.5rem 1.5rem;
  overflow: hidden;
}

.fud-target {
  position: absolute;
  display: grid;
  place-items: center;
  width: clamp(68px, 7vw, 94px);
  aspect-ratio: 1;
  color: var(--paper);
  border: 1px solid var(--pink);
  border-radius: 50%;
  background: rgba(255, 31, 186, 0.12);
  box-shadow: 0 0 32px rgba(255, 31, 186, 0.22), inset 0 0 22px rgba(255, 31, 186, 0.13);
  font-family: var(--mono);
  font-size: clamp(0.52rem, 0.8vw, 0.68rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  cursor: crosshair;
  animation: target-in 180ms ease-out, target-pulse 1s ease-in-out infinite alternate;
}

.fud-target::before,
.fud-target::after {
  content: "";
  position: absolute;
  background: var(--pink);
  opacity: 0.55;
}

.fud-target::before {
  width: 120%;
  height: 1px;
}

.fud-target::after {
  width: 1px;
  height: 120%;
}

.fud-target:hover,
.fud-target:focus-visible {
  color: var(--ink);
  background: var(--pink);
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

.slash-mark {
  position: absolute;
  z-index: 20;
  width: 170px;
  height: 3px;
  pointer-events: none;
  background: white;
  box-shadow: 0 0 12px 3px var(--cyan), 0 0 30px 7px rgba(0, 217, 255, 0.5);
  transform: translate(-50%, -50%) rotate(-38deg) scaleX(0);
  animation: slash 400ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.signal {
  isolation: isolate;
  overflow: hidden;
}

.signal-bg {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.22;
  background: url("./frogun-hero.webp") 82% 40% / 65% auto no-repeat;
  filter: grayscale(1) contrast(1.3);
  -webkit-mask-image: linear-gradient(90deg, transparent 28%, black 80%);
  mask-image: linear-gradient(90deg, transparent 28%, black 80%);
}

.signal::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 18%, transparent 86%),
    linear-gradient(180deg, var(--ink), transparent 38%, var(--ink));
}

.signal-copy {
  max-width: 800px;
}

.signal h2 em {
  color: var(--cyan);
  -webkit-text-stroke: 0;
}

.signal-copy > p:last-child {
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.signal-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 5rem;
}

.signal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(5, 7, 8, 0.68);
  backdrop-filter: blur(10px);
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.signal-card + .signal-card {
  border-left: 0;
}

.signal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--card-color, var(--acid));
  transform: translateY(101%);
  transition: transform 280ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.signal-card:hover,
.signal-card:focus-visible {
  color: var(--ink);
  transform: translateY(-8px);
}

.signal-card:hover::before,
.signal-card:focus-visible::before {
  transform: translateY(0);
}

.signal-tg {
  --card-color: var(--cyan);
}

.signal-x {
  --card-color: var(--paper);
}

.signal-buy {
  --card-color: var(--acid);
}

.signal-card > * {
  position: relative;
  z-index: 1;
}

.signal-number {
  margin-bottom: auto;
  color: #75807e;
  font-family: var(--mono);
  font-size: 0.6rem;
}

.signal-card:hover .signal-number,
.signal-card:focus-visible .signal-number {
  color: rgba(5, 7, 8, 0.55);
}

.signal-card strong {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: 0.025em;
}

.signal-card small {
  margin-top: 0.45rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
}

.signal-card:hover small,
.signal-card:focus-visible small {
  color: rgba(5, 7, 8, 0.62);
}

.signal-arrow {
  position: absolute;
  top: 1.1rem;
  right: 1.3rem;
  font-size: 1.5rem;
}

.final-ca {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 82px;
  margin-top: 1rem;
  border: 1px solid var(--line);
  background: rgba(5, 7, 8, 0.76);
}

.final-ca > span {
  padding: 0 1.3rem;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
}

.final-ca code {
  min-width: 0;
  padding: 0 1.3rem;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  font-family: var(--mono);
  font-size: clamp(0.68rem, 1vw, 0.86rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.final-ca button {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 1.3rem;
  color: var(--acid);
  border: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.final-ca button:hover,
.final-ca button:focus-visible {
  background: rgba(154, 255, 0, 0.07);
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem 5vw;
  color: #737d7b;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.54rem;
  letter-spacing: 0.09em;
}

.footer-brand {
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.disclaimer {
  color: #4f5857;
}

.slash-overlay {
  position: fixed;
  z-index: 300;
  top: 50%;
  left: 50%;
  width: 160vw;
  height: 5px;
  pointer-events: none;
  opacity: 0;
  background: white;
  box-shadow: 0 0 22px 8px var(--cyan), 0 0 60px 16px rgba(0, 217, 255, 0.5);
  transform: translate(-50%, -50%) rotate(-14deg) scaleX(0);
}

.slash-overlay.is-active {
  animation: screen-slash 600ms cubic-bezier(0.15, 0.8, 0.25, 1);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.reveal[data-delay="1"] {
  transition-delay: 100ms;
}

.reveal[data-delay="2"] {
  transition-delay: 200ms;
}

.reveal[data-delay="3"] {
  transition-delay: 300ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes ping {
  0%, 100% { box-shadow: 0 0 0 0 rgba(154, 255, 0, 0.52); }
  50% { box-shadow: 0 0 0 7px rgba(154, 255, 0, 0); }
}

@keyframes scan {
  from { transform: translateY(-120%); }
  to { transform: translateY(700%); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@keyframes target-in {
  from { opacity: 0; transform: scale(0.5) rotate(-12deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes target-pulse {
  from { box-shadow: 0 0 20px rgba(255, 31, 186, 0.18), inset 0 0 16px rgba(255, 31, 186, 0.12); }
  to { box-shadow: 0 0 42px rgba(255, 31, 186, 0.38), inset 0 0 24px rgba(255, 31, 186, 0.2); }
}

@keyframes slash {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-38deg) scaleX(0); }
  28% { opacity: 1; transform: translate(-50%, -50%) rotate(-38deg) scaleX(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(-38deg) scaleX(1.25); }
}

@keyframes screen-slash {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-14deg) scaleX(0); }
  18% { opacity: 1; }
  42% { opacity: 1; transform: translate(-50%, -50%) rotate(-14deg) scaleX(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(-14deg) scaleX(1); }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    padding-right: 4vw;
    padding-left: 4vw;
  }

  .hero-title {
    font-size: clamp(5.8rem, 12.5vw, 9rem);
  }

  .hero-art {
    width: min(52vw, 620px);
  }

  .dojo {
    grid-template-columns: minmax(270px, 0.75fr) minmax(430px, 1.25fr);
    gap: 4vw;
  }

  .footer {
    grid-template-columns: auto 1fr auto;
  }

  .footer .disclaimer {
    display: none;
  }
}

@media (max-width: 820px) {
  .topbar {
    grid-template-columns: 1fr auto;
    min-height: 64px;
    padding: 0 1rem;
  }

  .desktop-nav,
  .brand-tag {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: auto;
    padding: 7.5rem 1rem 4rem;
  }

  .side-code,
  .scroll-cue {
    display: none;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(5.5rem, 24vw, 11rem);
  }

  .hero-art {
    justify-self: center;
    width: min(94vw, 620px);
    margin-top: 3.5rem;
    padding-left: 0;
  }

  .contract-bar {
    grid-row: 3;
    margin-top: 1rem;
  }

  .lore-grid,
  .dojo {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head .section-kicker {
    margin-bottom: 2rem;
  }

  .lore-manifesto {
    position: relative;
    top: auto;
  }

  .dojo {
    gap: 4rem;
  }

  .dojo-arena {
    min-height: min(660px, 112vw);
  }

  .signal-links {
    grid-template-columns: 1fr;
  }

  .signal-card + .signal-card {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .signal-card {
    min-height: 180px;
  }

  .signal-bg {
    background-position: center 30%;
    background-size: auto 90%;
    -webkit-mask-image: linear-gradient(180deg, transparent, black 45%, transparent);
    mask-image: linear-gradient(180deg, transparent, black 45%, transparent);
  }
}

@media (max-width: 560px) {
  .nav-buy {
    padding: 0.65rem 0.8rem;
    font-size: 0.62rem;
  }

  .brand-word {
    font-size: 1.12rem;
  }

  .hero-title {
    font-size: clamp(4.7rem, 23vw, 7.4rem);
  }

  .hero-statement {
    margin-top: 1.7rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .social-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .social-chip {
    justify-content: center;
  }

  .art-caption {
    gap: 0.4rem;
    padding: 0.9rem;
  }

  .contract-bar,
  .final-ca {
    grid-template-columns: 1fr auto;
  }

  .contract-label,
  .final-ca > span {
    display: none;
  }

  .contract-value,
  .final-ca code {
    padding: 0 0.9rem;
    border-left: 0;
  }

  .copy-button,
  .final-ca button {
    padding: 0 0.9rem;
  }

  .section-shell {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .section-head h2,
  .dojo h2,
  .signal h2 {
    font-size: clamp(3.7rem, 19vw, 6rem);
  }

  .lore-grid {
    gap: 3rem;
  }

  .lore-manifesto {
    padding: 2rem 0 2rem 1.5rem;
  }

  .lore-card {
    grid-template-columns: auto 1fr;
    min-height: 130px;
    padding: 1.25rem;
  }

  .card-mark {
    display: none;
  }

  .dojo-stats {
    grid-template-columns: 0.8fr 0.8fr 1.4fr;
  }

  .dojo-stats strong {
    font-size: 1.4rem;
  }

  .dojo-stats .rank-value {
    font-size: 0.92rem;
  }

  .dojo-arena {
    min-height: 125vw;
  }

  .fud-field {
    inset: 3rem 0.75rem 0.75rem;
  }

  .fud-target {
    width: 66px;
  }

  .arena-hud {
    font-size: 0.46rem;
  }

  .footer {
    grid-template-columns: 1fr auto;
    gap: 0.8rem;
    padding: 1.5rem 1rem;
  }

  .footer > p {
    display: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-orb {
    display: none;
  }

  .hero-art {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
