/* ── Chezarps landing — fight-poster design, no framework ─────────────── */

:root {
  --ink: #0c0e09;
  --surface: #14170e;
  --line: #2b301d;
  --bone: #f2f4e8;
  --moss: #9aa385;
  --acid: #c8f542;
  --ember: #ff4d2e;
  --display: 'Anton', sans-serif;
  --sans: 'Archivo', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* film grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.acid { color: var(--acid); }
.ember { color: var(--ember); }
.bone { color: var(--bone); }
.moss { color: var(--moss); }
.bold { font-weight: 600; }
.mono { font-family: var(--mono); }

.outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--bone);
}

/* ── animations ── */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(var(--tilt,0deg)); } 50% { transform: translateY(-14px) rotate(var(--tilt,0deg)); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.rise { animation: rise .7s cubic-bezier(.22,1,.36,1) both; }
.float { animation: floaty 5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ── hero ── */
.hero { border-bottom: 1px solid var(--line); overflow: hidden; }

.nav {
  max-width: 72rem; margin: 0 auto; padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem .75rem;
}

.logotype { font-family: var(--display); font-size: 1.5rem; letter-spacing: .02em; color: var(--acid); }
.logotype.sm { font-size: 1.125rem; }

.badge {
  border: 1px solid var(--line); border-radius: 999px; padding: .25rem .75rem;
  font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; color: var(--moss);
  white-space: nowrap;
}
@media (max-width: 560px) {
  .badge { font-size: .625rem; padding: .2rem .6rem; }
  .badge-ext { display: none; }
}
a.badge-link { text-decoration: none; color: var(--acid); border-color: var(--acid); transition: background .15s, color .15s; }
a.badge-link:hover { background: var(--acid); color: var(--ink); }

.hero-grid {
  max-width: 72rem; margin: 0 auto; padding: 3.5rem 1.5rem 5rem;
  display: grid; gap: 2.5rem;
}
@media (min-width: 768px) { .hero-grid { grid-template-columns: 1fr auto; padding-top: 5rem; } }

.hero-title {
  font-family: var(--display); text-transform: uppercase;
  line-height: .9; letter-spacing: -.01em; font-weight: 400;
}
.hero-title span { display: block; font-size: clamp(3.5rem, 12vw, 8.5rem); }
.hero-title .stakes { font-size: clamp(2.2rem, 7vw, 5rem); color: var(--ember); }

.hero-copy { margin-top: 2rem; max-width: 36rem; font-size: 1.125rem; color: var(--moss); }

.hero-cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }

.btn {
  display: inline-block; background: var(--acid); color: var(--ink);
  font-family: var(--display); text-transform: uppercase; text-decoration: none;
  font-size: 1.25rem; letter-spacing: .02em; padding: 1rem 2rem;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--ember); }
.btn-lg { font-size: 1.5rem; padding: 1.25rem 2.5rem; }

.cta-note { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; color: var(--moss); text-transform: uppercase; }

.hands { display: none; }
@media (min-width: 768px) {
  .hands { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; }
  .hand { font-size: 6.5rem; filter: drop-shadow(0 10px 30px rgba(200,245,66,.25)); }
}

/* ── ticker ── */
.ticker { border-top: 1px solid var(--line); background: var(--surface); padding: .75rem 0; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-block; animation: marquee 28s linear infinite; font-family: var(--mono); font-size: .875rem; letter-spacing: .1em; }
.ticker-track em { font-style: normal; color: var(--acid); margin: 0 1.5rem; }

/* ── sections ── */
.section { max-width: 72rem; margin: 0 auto; padding: 6rem 1.5rem; }

.h2 {
  font-family: var(--display); text-transform: uppercase; font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -.01em;
}

.section-copy { margin-top: 1.5rem; max-width: 40rem; font-size: 1.125rem; color: var(--moss); }

/* how it works */
.steps { margin-top: 3rem; display: grid; gap: 1px; background: var(--line); }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step { background: var(--ink); padding: 2rem; transition: background .2s; }
.step:hover { background: var(--surface); }
.step.highlight { outline: 2px solid var(--acid); outline-offset: -2px; }
.step-n { font-family: var(--mono); font-size: .875rem; letter-spacing: .1em; color: var(--moss); }
.step h3 { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: 1.5rem; margin-top: 1rem; letter-spacing: .02em; }
.step p { margin-top: .75rem; color: var(--moss); }

/* bracket */
.arena-grid { margin-top: 3rem; display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .arena-grid { grid-template-columns: 1fr auto; } }

.bracket-card { border: 1px solid var(--line); }
.bracket-head {
  display: flex; flex-wrap: wrap; gap: .25rem .75rem;
  justify-content: space-between; border-bottom: 1px solid var(--line);
  background: var(--surface); padding: .75rem 1.25rem;
  font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; color: var(--moss);
}
.bracket-svg { display: block; width: 100%; height: auto; padding: 1rem; }

.bk-lines path { fill: none; stroke: var(--line); stroke-width: 2; }
.bk-slots rect { fill: var(--surface); stroke: var(--line); }
.bk-slots text { fill: var(--bone); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.bk-slots .w { fill: var(--acid); font-weight: 600; }
.bk-slots .dead rect { opacity: .45; }
.bk-slots .dead text { fill: var(--moss); text-decoration: line-through; opacity: .7; }
.bk-slots .bye text:last-child { fill: var(--moss); }
.bk-slots .live rect { stroke: var(--acid); }
.bk-slots .live text:last-child { fill: var(--ember); font-weight: 600; }
.bk-champ rect { fill: var(--ink); stroke: var(--acid); stroke-width: 2; stroke-dasharray: 6 4; }
.champ-label { fill: var(--moss); font-family: var(--mono); font-size: 11px; letter-spacing: .3em; }
.champ-q { fill: var(--acid); font-family: var(--display); font-size: 22px; }

.rules { display: grid; gap: 1px; background: var(--line); align-self: start; }
@media (min-width: 640px) { .rules { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .rules { grid-template-columns: 1fr; } }
.rule { background: var(--surface); padding: 1.5rem 2rem; min-width: 0; }
.rule-glyph { font-size: 1.875rem; }
.rule-val { font-family: var(--display); font-size: 2.5rem; margin-top: .25rem; }
.rule-label { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; color: var(--moss); text-transform: uppercase; margin-top: .25rem; }

/* refer & earn band */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.band-inner { max-width: 72rem; margin: 0 auto; padding: 6rem 1.5rem; display: grid; gap: 3rem; }
@media (min-width: 768px) { .band-inner { grid-template-columns: 1fr 1fr; } }

.numbered { margin-top: 2rem; list-style: none; }
.numbered li { display: flex; gap: .75rem; margin-bottom: 1rem; color: var(--moss); }

.receipt-wrap { align-self: center; }
.receipt {
  max-width: 24rem; margin: 0 auto; padding: 1.5rem;
  background: var(--ink); border: 2px dashed rgba(242,244,232,.3);
  font-family: var(--mono); font-size: .875rem;
}
.receipt-title { text-align: center; font-weight: 600; letter-spacing: .3em; }
.receipt-sub { text-align: center; font-size: .75rem; letter-spacing: .1em; color: var(--moss); margin-top: .25rem; }
.receipt-body { border-top: 1px dashed var(--line); margin-top: 1rem; padding-top: 1rem; color: var(--moss); }
.receipt-body div, .receipt-foot div { display: flex; justify-content: space-between; margin-bottom: .5rem; }
.receipt-foot { border-top: 1px dashed var(--line); margin-top: 1rem; padding-top: 1rem; }
.receipt-fine { margin-top: 1rem; text-align: center; font-size: .625rem; letter-spacing: .1em; color: var(--moss); }

/* faq */
.faq { max-width: 48rem; }
.faq-list { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0; cursor: pointer; list-style: none;
  font-family: var(--display); text-transform: uppercase; font-size: 1.25rem; letter-spacing: .02em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.plus { color: var(--acid); font-family: var(--mono); font-size: 1.5rem; transition: transform .2s; }
details[open] .plus { transform: rotate(45deg); }
.faq-list p { padding-bottom: 1.5rem; color: var(--moss); }

/* closing cta */
.hazard { height: .75rem; opacity: .6; background-image: repeating-linear-gradient(135deg, var(--acid) 0 14px, transparent 14px 28px); }
.cta-inner { max-width: 72rem; margin: 0 auto; padding: 5rem 1.5rem; text-align: center; }
.cta-kicker { font-family: var(--mono); font-size: .75rem; letter-spacing: .4em; color: var(--moss); text-transform: uppercase; }
.cta-title {
  font-family: var(--display); text-transform: uppercase; font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 6rem); line-height: 1; letter-spacing: -.01em; margin-top: 1rem;
}
.cta-inner .btn { margin-top: 2.5rem; }

/* footer */
.footer {
  border-top: 1px solid var(--line);
  max-width: 100%; padding: 2rem 1.5rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem;
}
.footer .mono { font-size: .75rem; letter-spacing: .1em; }
