/* ============================================================
   $Robber — Dripping mask theme
   Pure black • blood red • bone white • money green
   ============================================================ */

:root {
  --bg: #08080a;
  --bg-2: #0d0d11;
  --bg-3: #14141a;
  --ink: #ece8df;
  --ink-dim: #a39e93;
  --ink-faint: #5a564f;
  --red: #ef1a3a;
  --red-hot: #ff3357;
  --red-shadow: rgba(239, 26, 58, 0.45);
  --bone: #f4efe3;
  --green: #2cff95;
  --tape: #ffd400;
  --line: rgba(244, 239, 227, 0.08);
  --line-strong: rgba(244, 239, 227, 0.16);

  --maxw: 1180px;
  --maxw-narrow: 760px;

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --r: 14px;
  --r-sm: 8px;

  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  background-image:
    radial-gradient(1100px 600px at 50% -10%, rgba(239,26,58,0.16), transparent 60%),
    radial-gradient(900px 500px at 100% 100%, rgba(239,26,58,0.10), transparent 65%),
    linear-gradient(180deg, #07070a 0%, #050507 100%);
  background-attachment: fixed;
}

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

img { display: block; max-width: 100%; }

::selection { background: var(--red); color: var(--bone); }

/* ---------- Overlays: grain + vignette ---------- */
.grain,
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.grain {
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1   0 0 0 0 1   0 0 0 0 1   0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.vignette {
  background:
    radial-gradient(120% 80% at 50% 50%, transparent 55%, rgba(0,0,0,0.55) 100%);
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--maxw);
  padding: 0 24px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.container--narrow { max-width: var(--maxw-narrow); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(8, 8, 10, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand__logo {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 50%;
  border: 1.5px solid var(--red);
  box-shadow:
    0 0 16px rgba(239,26,58,0.45),
    inset 0 0 0 2px rgba(0,0,0,0.4);
}
.brand__name {
  font-size: 18px;
  text-transform: uppercase;
  color: var(--bone);
}
.nav__links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transition: right .25s var(--ease);
}
.nav__links a:hover { color: var(--bone); }
.nav__links a:hover::after { right: 0; }

@media (max-width: 860px) {
  .nav__links { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  --bg-btn: var(--bone);
  --fg-btn: #0a0a0c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  background: var(--bg-btn);
  color: var(--fg-btn);
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--red {
  --bg-btn: var(--red);
  --fg-btn: var(--bone);
  box-shadow: 0 8px 30px -8px var(--red-shadow), inset 0 1px 0 rgba(255,255,255,0.12);
}
.btn--red:hover {
  --bg-btn: var(--red-hot);
  box-shadow: 0 14px 40px -10px var(--red-shadow), inset 0 1px 0 rgba(255,255,255,0.18);
}

.btn--ghost {
  --bg-btn: transparent;
  --fg-btn: var(--bone);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--red);
  color: var(--red-hot);
  background: rgba(239,26,58,0.06);
}

.btn--lg {
  padding: 16px 28px;
  font-size: 15px;
}

.nav__cta { padding: 10px 18px; font-size: 12.5px; }

@media (max-width: 520px) {
  .nav__cta { display: none; }
}

/* ============================================================
   TAPE TICKER (police-tape ribbon)
   ============================================================ */
.tape {
  position: relative;
  background: var(--tape);
  color: #0a0a0c;
  overflow: hidden;
  border-block: 2px solid #0a0a0c;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  z-index: 3;
}
.tape::before, .tape::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 6px;
  background-image: repeating-linear-gradient(135deg, #0a0a0c 0 14px, var(--tape) 14px 28px);
  z-index: 1;
}
.tape::before { top: 0; }
.tape::after { bottom: 0; }
.tape__track {
  display: flex;
  width: max-content;
  padding: 16px 0;
  animation: tape 28s linear infinite;
  position: relative;
  z-index: 2;
}
.tape__track span { padding-right: 4ch; white-space: nowrap; }
@keyframes tape {
  to { transform: translateX(-33.3333%); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 64px 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(239,26,58,0.22), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 36px;
}
.hero__copy { flex: 1 1 0; min-width: 0; }
.hero__side { flex: 0 0 auto; }
.hero__copy { text-align: center; }
.hero__copy .pill { margin-inline: auto; }
.hero__copy .hero__sub { margin-inline: auto; }
.hero__copy .hero__title { align-items: center; }
.hero__copy .hero__actions { justify-content: center; }

.hero__side {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__side--left {
  justify-content: flex-start;
}
.hero__side--right {
  justify-content: flex-end;
}

.hero__emoji {
  font-size: clamp(140px, 16vw, 220px);
  line-height: 1;
  display: inline-block;
  filter:
    drop-shadow(0 24px 40px rgba(0,0,0,0.55))
    drop-shadow(0 0 28px rgba(239,26,58,0.35));
  animation: car-bob 4s ease-in-out infinite;
  transform-origin: center;
}
.hero__emoji--car {
  transform: rotate(-6deg);
}
@keyframes car-bob {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50%      { transform: rotate(-6deg) translateY(-8px); }
}

.hero__img-wrap {
  position: relative;
  width: clamp(180px, 22vw, 280px);
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--red);
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.7),
    0 0 40px -8px rgba(239,26,58,0.45),
    inset 0 0 0 4px rgba(0,0,0,0.35);
  transform: rotate(3deg);
  background: #0a0a0c;
}
.hero__img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 60%, rgba(239,26,58,0.18));
  pointer-events: none;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero__side { display: none; }
}
@media (max-width: 720px) {
  .hero { padding: 56px 0 72px; }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  background: rgba(255,255,255,0.02);
  margin-bottom: 22px;
}
.pill__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px var(--red);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .55; transform: scale(.85); }
}

.hero__title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  font-size: clamp(44px, 7vw, 88px);
  color: var(--bone);
  margin: 0 0 22px;
  text-transform: uppercase;
  gap: 0.18em;
}
.hero__title-line { display: block; }
.hero__title-line:nth-child(2) { margin-bottom: 0.32em; }

.drip {
  position: relative;
  display: inline-block;
  color: var(--red);
  text-shadow:
    0 0 28px rgba(239,26,58,0.45),
    0 2px 0 rgba(0,0,0,0.55);
}
.drip::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 100%;
  height: 0.42em;
  background: var(--red);
  -webkit-mask:
    radial-gradient(circle at 12% 0, var(--red) 14%, transparent 15%) no-repeat,
    radial-gradient(circle at 32% 0, var(--red) 10%, transparent 11%) no-repeat,
    radial-gradient(circle at 56% 0, var(--red) 18%, transparent 19%) no-repeat,
    radial-gradient(circle at 78% 0, var(--red) 11%, transparent 12%) no-repeat,
    radial-gradient(circle at 92% 0, var(--red) 9%, transparent 10%) no-repeat;
          mask:
    radial-gradient(circle at 12% 0, var(--red) 14%, transparent 15%) no-repeat,
    radial-gradient(circle at 32% 0, var(--red) 10%, transparent 11%) no-repeat,
    radial-gradient(circle at 56% 0, var(--red) 18%, transparent 19%) no-repeat,
    radial-gradient(circle at 78% 0, var(--red) 11%, transparent 12%) no-repeat,
    radial-gradient(circle at 92% 0, var(--red) 9%, transparent 10%) no-repeat;
  filter: drop-shadow(0 8px 14px rgba(239,26,58,0.35));
  opacity: .85;
}

.hero__sub {
  color: var(--ink-dim);
  font-size: 17px;
  line-height: 1.65;
  max-width: 52ch;
  margin: 0 0 30px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* ---------- Contract address pill ---------- */
.ca {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.0));
  border-radius: 14px;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}
.ca::before {
  content: "";
  position: absolute;
  left: -1px; top: -1px; bottom: -1px;
  width: 4px;
  background: var(--red);
  border-radius: 14px 0 0 14px;
  box-shadow: 0 0 16px var(--red);
}
.ca__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding-left: 6px;
}
.ca__addr {
  flex: 1 1 auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: var(--bone);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ca__copy {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 9px 14px;
  border-radius: 999px;
  border: 0;
  background: var(--bone);
  color: #0a0a0c;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.ca__copy:hover { background: var(--red); color: var(--bone); }
.ca__copy.copied {
  background: var(--green);
  color: #00150a;
}
.ca--wide { max-width: 760px; margin: 30px auto 0; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  position: relative;
  padding: 100px 0;
  border-top: 1px solid var(--line);
}
.section--alt {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.015), transparent);
}
@media (max-width: 720px) {
  .section { padding: 72px 0; }
}

.section__head { text-align: center; margin-bottom: 56px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.section__head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--bone);
  margin: 0 0 14px;
}
.stencil {
  position: relative;
  display: inline-block;
  background: linear-gradient(180deg, var(--bone) 60%, rgba(244,239,227,0.55));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}
.stencil::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  height: 4px;
  width: 56px;
  background: var(--red);
  box-shadow: 0 0 18px var(--red);
}
.section__head p {
  color: var(--ink-dim);
  max-width: 60ch;
  margin: 16px auto 0;
  font-size: 16px;
}

/* ============================================================
   STEPS (The Heist)
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  padding: 32px 24px 28px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0));
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
  overflow: hidden;
}
.step::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(420px 220px at 50% -10%, rgba(239,26,58,0.18), transparent 60%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.step:hover { transform: translateY(-3px); border-color: rgba(239,26,58,0.5); }
.step:hover::before { opacity: 1; }
.step__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 72px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  opacity: .9;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--bone);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.step p { color: var(--ink-dim); margin: 0; }

/* ============================================================
   FEATURES (Why)
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .features { grid-template-columns: 1fr; } }

.feature {
  padding: 26px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0));
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.feature:hover { transform: translateY(-3px); border-color: rgba(239,26,58,0.45); }
.feature__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font-size: 22px;
  border-radius: 12px;
  background: rgba(239,26,58,0.08);
  border: 1px solid rgba(239,26,58,0.28);
  margin-bottom: 14px;
}
.feature h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bone);
  margin: 0 0 6px;
}
.feature p { color: var(--ink-dim); margin: 0; font-size: 14.5px; }

/* ============================================================
   TOKENOMICS
   ============================================================ */
.tokenomics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}
@media (max-width: 760px) { .tokenomics { grid-template-columns: repeat(2, 1fr); } }

.stat {
  position: relative;
  padding: 22px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0));
  display: flex; flex-direction: column; gap: 8px;
}
.stat::after {
  content: "";
  position: absolute;
  top: 14px; right: 14px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
}
.stat__k {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.stat__v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--bone);
  letter-spacing: -0.005em;
}

.links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: 12px; }
.faq__item {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255,255,255,0.018);
  overflow: hidden;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.faq__item[open] {
  border-color: rgba(239,26,58,0.45);
  background: rgba(239,26,58,0.04);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--bone);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--red);
  font-size: 22px;
  line-height: 1;
  transition: transform .25s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--ink-dim);
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(800px 380px at 50% 0%, rgba(239,26,58,0.20), transparent 60%);
}
.cta__mask {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, 70vw);
  opacity: 0.08;
  filter: grayscale(1) contrast(1.2) blur(0.5px);
  pointer-events: none;
  border-radius: 50%;
  overflow: hidden;
}
.cta__mask img { width: 100%; height: auto; }
.cta__inner { text-align: center; position: relative; z-index: 2; }
.cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--bone);
  font-size: clamp(36px, 5.5vw, 64px);
  margin: 0 0 12px;
}
.cta p {
  color: var(--ink-dim);
  font-size: 17px;
  margin: 0 0 28px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 60px 0 40px;
  background: #050507;
}
.footer__tape {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background-image: repeating-linear-gradient(135deg, var(--tape) 0 14px, #0a0a0c 14px 28px);
}
.footer__inner {
  display: grid;
  gap: 18px;
  text-align: center;
  align-items: center;
  justify-items: center;
}
.footer__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--bone);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer__brand img {
  width: 30px; height: 30px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--red);
  box-shadow: 0 0 10px rgba(239,26,58,0.4);
}
.footer__disclaimer {
  max-width: 70ch;
  color: var(--ink-faint);
  font-size: 13px;
  margin: 0;
  line-height: 1.65;
}
.footer__copy {
  color: var(--ink-faint);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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