:root {
  --bg: #071018;
  --bg-2: #0c1a24;
  --panel: rgba(10, 28, 36, 0.78);
  --lime: #c6ff2a;
  --lime-dim: #8fbf12;
  --toxic: #39ff88;
  --cyan: #3de7ff;
  --pink: #ff4fd8;
  --hot: #ff6b2d;
  --ink: #e8f6ee;
  --muted: #8aa3ab;
  --stroke: rgba(198, 255, 42, 0.22);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font-display: "Bangers", system-ui, sans-serif;
  --font-body: "Rajdhani", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  overflow-x: hidden;
  letter-spacing: 0.02em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0, 0, 0, 0.08) 4px
  );
  mix-blend-mode: multiply;
}

#bubbles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bubble {
  position: absolute;
  bottom: -40px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(198, 255, 42, 0.55), rgba(61, 231, 255, 0.05) 70%);
  box-shadow: 0 0 18px rgba(57, 255, 136, 0.25);
  animation: rise linear infinite;
}

@keyframes rise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  12% { opacity: 0.7; }
  100% { transform: translateY(-110vh) scale(1.2); opacity: 0; }
}

.float-rats {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.float-rats img {
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 18px;
  border: 2px solid rgba(198, 255, 42, 0.35);
  opacity: 0.18;
  filter: saturate(1.2);
  animation: drift 28s ease-in-out infinite;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(-6deg); }
  50% { transform: translate(40px, -30px) rotate(8deg); }
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(7, 16, 24, 0.92), rgba(7, 16, 24, 0.55) 70%, transparent);
  border-bottom: 1px solid rgba(198, 255, 42, 0.12);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.06em;
  color: var(--lime);
  text-shadow: 0 0 18px rgba(198, 255, 42, 0.45);
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--lime);
  box-shadow: 0 0 16px rgba(198, 255, 42, 0.45);
  animation: pulseGlow 2.8s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(198, 255, 42, 0.3); }
  50% { box-shadow: 0 0 24px rgba(198, 255, 42, 0.8); }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
}
.nav-links a { color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--lime); }
.nav-cta { display: flex; gap: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 0.15s ease, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-lime {
  background: var(--lime);
  color: #08110a;
  box-shadow: 0 0 22px rgba(198, 255, 42, 0.35);
}
.btn-ghost {
  background: transparent;
  border-color: var(--stroke);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--stroke);
  color: var(--lime);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 20px;
}

/* HERO */
.hero {
  padding: 28px 0 10px;
}
.hero-banner {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow), 0 0 0 1px rgba(61, 231, 255, 0.08);
}
.hero-art {
  position: relative;
  overflow: hidden;
}
.hero-banner img.banner {
  width: 100%;
  height: min(52vw, 460px);
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(1.15) contrast(1.05);
  animation: ken 22s ease-in-out infinite alternate;
}
@keyframes ken {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(7,16,24,0.92) 0%, rgba(7,16,24,0.15) 45%, rgba(7,16,24,0.2) 100%),
    radial-gradient(circle at 70% 40%, rgba(198,255,42,0.12), transparent 40%);
}
.hero-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 22px;
  z-index: 2;
}
.menu-only { display: none; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
}
.kicker .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--toxic);
  box-shadow: 0 0 10px var(--toxic);
  animation: blink 1.4s infinite;
}
@keyframes blink { 50% { opacity: 0.3; } }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 108px);
  line-height: 0.9;
  color: var(--lime);
  text-shadow: 4px 4px 0 #08110a, 0 0 30px rgba(198,255,42,0.35);
  margin: 6px 0 8px;
}
.hero p.lead {
  max-width: 640px;
  font-size: clamp(16px, 2.2vw, 22px);
  color: #d7efe0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* TICKER */
.ticker {
  margin: 18px 0 8px;
  overflow: hidden;
  border-block: 1px solid var(--stroke);
  background: rgba(12, 30, 38, 0.6);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: slide 48s linear infinite;
  padding: 12px 0;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker-card {
  width: 92px;
  height: 92px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(198,255,42,0.28);
  flex: none;
  transition: transform 0.2s;
}
.ticker-card:hover { transform: scale(1.08) rotate(-3deg); }
.ticker-card img { width: 100%; height: 100%; object-fit: cover; }

/* SECTIONS */
section { padding: 64px 0 20px; }
.sec-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 62px);
  color: var(--lime);
  letter-spacing: 0.04em;
  line-height: 0.95;
}
.sec-head p { color: var(--muted); max-width: 460px; font-size: 18px; }

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.panel h3 {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--cyan);
  margin-bottom: 10px;
}
.panel p { color: #cfe3da; font-size: 18px; line-height: 1.55; margin-bottom: 12px; }
.logo-card {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.logo-card img {
  width: min(280px, 70%);
  border-radius: 28px;
  border: 3px solid var(--lime);
  box-shadow: 0 0 40px rgba(198,255,42,0.25);
  animation: floaty 4.5s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.badge {
  border: 1px solid var(--stroke);
  background: rgba(198,255,42,0.06);
  color: var(--lime);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* TOKENOMICS */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stat {
  background: linear-gradient(180deg, rgba(18,40,48,0.9), rgba(8,18,24,0.9));
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 20px 18px;
  position: relative;
  overflow: hidden;
}
.stat::after {
  content: "";
  position: absolute;
  right: -20px; top: -20px;
  width: 90px; height: 90px;
  background: radial-gradient(circle, rgba(198,255,42,0.16), transparent 70%);
}
.stat .label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
}
.stat .value {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--lime);
  margin-top: 6px;
}
.stat .sub { color: #b7cfc6; font-size: 14px; margin-top: 4px; }

.details {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  margin-top: 16px;
}
.row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(198,255,42,0.16);
  font-size: 17px;
}
.row span:first-child { color: var(--muted); }
.row strong { color: var(--ink); }
.ca-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #061016;
  border: 1px solid var(--stroke);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  word-break: break-all;
}
.copy-btn {
  border: 0;
  background: var(--lime);
  color: #08110a;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 8px;
  flex: none;
}

/* CREW */
.crew-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.rat {
  background: #0a171e;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s;
  position: relative;
}
.rat:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 24px rgba(198,255,42,0.18);
}
.rat img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #111;
}
.rat .meta {
  padding: 12px 12px 14px;
}
.rat .meta h4 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--lime);
}
.rat .meta p { color: var(--muted); font-size: 14px; }
.rat .tag {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(7,16,24,0.8);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(61,231,255,0.3);
}

/* CHART */
.chart-frame {
  border: 1px solid var(--stroke);
  border-radius: 20px;
  overflow: hidden;
  background: #050b10;
  min-height: 560px;
  position: relative;
}
.chart-frame iframe {
  width: 100%;
  height: 560px;
  border: 0;
  background: #050b10;
}
.chart-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
  background:
    radial-gradient(circle at 50% 30%, rgba(198,255,42,0.12), transparent 45%),
    linear-gradient(180deg, #0a171e, #050b10);
}
.chart-placeholder h3 {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--lime);
}
.chart-placeholder p { color: var(--muted); max-width: 520px; margin: 8px auto 16px; font-size: 18px; }

/* HOW */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.step {
  border-radius: 18px;
  border: 1px solid var(--stroke);
  padding: 22px;
  background: var(--panel);
}
.step .n {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--pink);
}
.step h3 { font-size: 22px; margin: 4px 0 8px; }
.step p { color: var(--muted); }

/* FOOTER */
footer {
  margin-top: 50px;
  padding: 28px 0 50px;
  border-top: 1px solid var(--stroke);
  color: var(--muted);
  font-size: 14px;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.disclaimer { margin-top: 12px; max-width: 820px; line-height: 1.5; }

.btn-wallet {
  background: #06141c;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 16px rgba(61, 231, 255, 0.18);
}
.btn-wallet:hover {
  background: rgba(61, 231, 255, 0.12);
  color: #e8ffff;
}

.wallet-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(198, 255, 42, 0.16), transparent 42%),
    rgba(4, 10, 14, 0.92);
  overflow: hidden;
}
.wallet-overlay.on {
  display: flex;
  animation: overlayIn 0.25s ease-out;
}
.wallet-overlay.out {
  animation: overlayOut 0.4s ease-in forwards;
}
@keyframes overlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes overlayOut {
  to { opacity: 0; }
}
.wallet-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
}
.wallet-kicker {
  letter-spacing: 0.22em;
  color: var(--cyan);
  font-weight: 800;
  font-size: 13px;
}
.wallet-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(56px, 12vw, 120px);
  color: var(--lime);
  line-height: 0.9;
  text-shadow: 4px 4px 0 #08110a, 0 0 40px rgba(198,255,42,0.45);
  animation: soonPulse 0.7s ease-in-out infinite alternate;
}
.wallet-copy p {
  color: #d7efe0;
  font-size: 20px;
  margin-top: 8px;
}
@keyframes soonPulse {
  from { transform: scale(1) rotate(-1deg); }
  to { transform: scale(1.06) rotate(1deg); }
}
.wallet-swarm { position: absolute; inset: 0; pointer-events: none; }
.swarm-rat {
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 20px;
  border: 3px solid var(--lime);
  object-fit: cover;
  box-shadow: 0 0 24px rgba(198, 255, 42, 0.35);
  animation: swarmFly 2.6s ease-in-out forwards;
}
@keyframes swarmFly {
  0% { transform: translate(0, 0) scale(0.4) rotate(-30deg); opacity: 0; }
  18% { opacity: 1; }
  50% { transform: translate(var(--dx), var(--dy)) scale(1.08) rotate(12deg); }
  100% { transform: translate(calc(var(--dx) * -0.2), calc(var(--dy) * -0.15)) scale(0.9) rotate(-8deg); opacity: 1; }
}

.btn { white-space: nowrap; }

/* TABLET */
@media (max-width: 1080px) {
  .crew-grid { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .wrap { width: min(1180px, calc(100% - 20px)); }
  .nav-inner { gap: 8px; padding: 8px 0; }
  .brand { font-size: 22px; }
  .brand img { width: 36px; height: 36px; }
  .desk-only { display: none !important; }
  .menu-only { display: block; }
  .menu-btn { display: grid; place-items: center; flex: none; }
  .nav-cta { gap: 6px; }
  .btn { padding: 8px 12px; font-size: 13px; letter-spacing: 0.04em; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 10px;
    right: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0b1a22;
    border: 1px solid var(--stroke);
    padding: 8px;
    border-radius: 14px;
    z-index: 60;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--ink);
  }
  .nav-links a:hover { background: rgba(198,255,42,0.08); color: var(--lime); }
  .story-grid, .details { grid-template-columns: 1fr; }
  .float-rats { display: none; }
  section { padding: 42px 0 12px; }
}

@media (max-width: 720px) {
  .hero { padding: 12px 0 6px; }
  .hero-banner { border-radius: 16px; }
  .hero-banner img.banner {
    height: min(58vw, 220px);
    animation: none;
  }
  .hero-copy {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 16px 14px 18px;
    background: linear-gradient(180deg, rgba(7,16,24,0.15), #071018 18%);
  }
  .hero h1 { font-size: 56px; margin: 4px 0 6px; }
  .hero p.lead { font-size: 16px; }
  .hero-actions { margin-top: 12px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .kicker { font-size: 11px; letter-spacing: 0.12em; }
  .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 16px; }
  .sec-head h2 { font-size: 40px; }
  .sec-head p { font-size: 16px; }
  .panel { padding: 18px; border-radius: 16px; }
  .panel h3 { font-size: 24px; }
  .panel p { font-size: 16px; }
  .logo-card { min-height: 240px; }
  .logo-card img { width: min(200px, 62%); }
  .stat .value { font-size: 30px; }
  .crew-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rat .meta h4 { font-size: 18px; }
  .ticker-card { width: 72px; height: 72px; }
  .chart-frame, .chart-frame iframe { min-height: 360px; height: 360px; }
  .ca-box { flex-direction: column; align-items: stretch; }
  .copy-btn { width: 100%; }
  .wallet-copy p { font-size: 16px; }
  .swarm-rat { width: 64px; height: 64px; border-width: 2px; }
  .foot { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .full-label { display: none; }
  .hero h1 { font-size: 48px; }
  .stats { grid-template-columns: 1fr; }
  .crew-grid { gap: 8px; }
  .rat .meta { padding: 8px 8px 10px; }
}

@media (hover: none) {
  .btn:hover { transform: none; }
  .rat:hover { transform: none; }
  .ticker:hover .ticker-track { animation-play-state: running; }
}
