/* ================= TOKENS ================= */
:root {
  --night: #0b1540;
  --night-2: #13205a;
  --blue: #1f4fd6;
  --red: #e0202e;
  --red-dark: #b3121f;
  --yellow: #ffc928;
  --cream: #fff8e7;
  --ink: #0a0f26;
  --muted: #b9c3e6;

  --f-display: "Bangers", "Impact", sans-serif;
  --f-body: "Inter", system-ui, sans-serif;

  --outline: 3px solid var(--ink);
  --pop: 5px 5px 0 var(--ink);
  --radius: 14px;

  --halftone: radial-gradient(rgba(255, 255, 255, 0.07) 1.2px, transparent 1.5px) 0 0 / 14px 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: clip;
  background:
    var(--halftone),
    radial-gradient(ellipse at 50% 0%, #1b2d7a, transparent 60%),
    var(--night);
}

main {
  overflow-x: clip;
}

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

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

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.hl {
  color: var(--yellow);
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  font-family: var(--f-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  border: var(--outline);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover {
  transform: translate(-2px, -2px) rotate(-1deg);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn-red {
  color: #fff;
  background: var(--red);
  text-shadow: 2px 2px 0 var(--ink);
}

.btn-blue {
  color: #fff;
  background: var(--blue);
  text-shadow: 2px 2px 0 var(--ink);
}

.btn-yellow {
  color: var(--ink);
  background: var(--yellow);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 1.1rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: var(--cream);
}

.btn-icon svg {
  width: 18px;
  height: 18px;
}

/* ================= NAV ================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px clamp(16px, 4vw, 40px);
  background: rgba(11, 21, 64, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 4px solid var(--red);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border: 3px solid var(--yellow);
  border-radius: 50%;
}

.brand-name {
  font-family: var(--f-display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: var(--cream);
  text-shadow: 2px 2px 0 var(--red);
}

.nav-links {
  display: flex;
  gap: 28px;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--yellow);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ================= HERO ================= */
.hero {
  padding-bottom: clamp(48px, 7vw, 80px);
}

.hero-banner img {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  border-bottom: 4px solid var(--ink);
}

.hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(860px, calc(100% - 32px));
  margin: clamp(-80px, -5vw, -24px) auto 0;
  padding: 80px clamp(18px, 4vw, 44px) clamp(28px, 4vw, 40px);
  text-align: center;
  color: var(--ink);
  background: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 22px;
  box-shadow: 10px 10px 0 var(--red);
}

.hero-logo {
  position: absolute;
  top: -66px;
  left: 50%;
  width: 130px;
  height: 130px;
  object-fit: cover;
  border: 5px solid var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--ink), 0 10px 30px rgba(0, 0, 0, 0.4);
  transform: translateX(-50%) rotate(-4deg);
}

.title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: var(--red);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 5px 5px 0 var(--ink);
}

.ticker {
  margin: 0;
  padding: 2px 22px;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--yellow);
  border: var(--outline);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-2deg);
}

.tagline {
  max-width: 520px;
  margin: 4px 0 0;
  font-weight: 600;
  font-size: 1.05rem;
}

.ca-pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0;
  background: #fff;
  border: var(--outline);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  overflow: hidden;
  cursor: pointer;
}

.ca-tag,
.ca-copy {
  flex: none;
  padding: 8px 16px;
  font-family: var(--f-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}

.ca-tag {
  color: #fff;
  background: var(--blue);
}

.ca-code {
  min-width: 0;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ca-copy {
  color: #fff;
  background: var(--red);
  border-left: var(--outline);
}

.ca-pill:hover .ca-copy {
  background: var(--red-dark);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
}

/* ================= STRIP ================= */
.strip {
  overflow: hidden;
  background: var(--yellow);
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  transform: rotate(-1deg);
  margin: 0 -10px;
}

.strip-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.strip-track span {
  padding: 10px 0;
  font-family: var(--f-display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  white-space: nowrap;
}

.strip-track span::after {
  content: "★";
  margin: 0 24px;
  color: var(--red);
}

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

/* ================= SECTIONS ================= */
.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 110px) 16px;
}

.eyebrow {
  margin: 0;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--yellow);
}

.h2 {
  margin: 6px 0 18px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0.03em;
  text-shadow: 3px 3px 0 var(--ink);
}

/* About */
.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.about-art {
  position: relative;
  margin: 0;
}

.about-art img {
  width: 100%;
  border: 5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 10px 10px 0 var(--yellow);
  transform: rotate(-2deg);
}

.pow {
  position: absolute;
  top: -18px;
  right: -14px;
  padding: 10px 18px;
  font-family: var(--f-display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--yellow);
  border: var(--outline);
  clip-path: polygon(50% 0, 61% 18%, 82% 6%, 80% 28%, 100% 30%, 86% 48%, 100% 66%, 80% 70%, 84% 94%, 62% 82%, 50% 100%, 38% 82%, 16% 94%, 20% 70%, 0 66%, 14% 48%, 0 30%, 20% 28%, 18% 6%, 39% 18%);
  padding: 30px 34px;
  transform: rotate(10deg);
}

.about-copy p {
  margin: 0 0 14px;
  font-size: 1.05rem;
  color: var(--muted);
}

.about-copy strong {
  color: var(--cream);
}

/* Powers */
.powers {
  padding-top: 0;
  text-align: center;
}

.power-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 32px;
  text-align: left;
}

.power {
  padding: 26px 24px;
  color: var(--ink);
  background: var(--cream);
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--pop);
  transition: transform 0.15s ease;
}

.power:nth-child(2) {
  box-shadow: 5px 5px 0 var(--red);
}

.power:nth-child(3) {
  box-shadow: 5px 5px 0 var(--yellow);
}

.power:hover {
  transform: translateY(-4px) rotate(-0.5deg);
}

.power-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #fff;
  background: var(--blue);
  border: var(--outline);
  border-radius: 50%;
}

.power-icon svg {
  width: 24px;
  height: 24px;
}

.power h3 {
  margin: 12px 0 4px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: var(--red);
}

.power p {
  margin: 0;
  font-size: 0.96rem;
}

/* Gallery */
.gallery {
  text-align: center;
}

.panels {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
  padding: 18px;
  background: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 18px;
  box-shadow: 10px 10px 0 var(--red);
}

.panel-shot {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: var(--night-2);
  border: 4px solid var(--cream);
  border-radius: 6px;
  cursor: zoom-in;
}

.panel-a { grid-column: span 7; }
.panel-b { grid-column: span 5; }
.panel-c { grid-column: span 5; }
.panel-d { grid-column: span 7; }

.panel-shot img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.panel-shot:hover img,
.panel-shot:focus-visible img {
  transform: scale(1.05);
}

.caption {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 6px 12px;
  font-family: var(--f-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-align: left;
  color: var(--ink);
  background: var(--yellow);
  border: var(--outline);
  box-shadow: 3px 3px 0 var(--ink);
}

.sfx {
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.04em;
  color: #fff;
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  text-shadow: 4px 4px 0 var(--blue);
  transform: rotate(-8deg);
}

.lightbox {
  max-width: min(94vw, 1200px);
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
}

.lightbox::backdrop {
  background: rgba(6, 12, 38, 0.9);
}

.lightbox img {
  max-height: 86vh;
  border: 5px solid var(--cream);
  border-radius: 8px;
  box-shadow: 10px 10px 0 var(--red);
}

.lb-close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 42px;
  height: 42px;
  font-size: 1rem;
  color: var(--ink);
  background: var(--yellow);
  border: var(--outline);
  border-radius: 50%;
  cursor: pointer;
}

/* How to buy */
.buy {
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 32px 22px 24px;
  background: var(--night-2);
  border: 3px solid var(--cream);
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--red);
}

.step-num {
  position: absolute;
  top: -24px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  font-family: var(--f-display);
  font-size: 1.7rem;
  color: var(--ink);
  background: var(--yellow);
  border: var(--outline);
  border-radius: 50%;
}

.step h3 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
}

.step p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
}

.mini-ca {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-top: 8px;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 8px;
  cursor: pointer;
}

.mini-ca span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-ca b {
  flex: none;
  color: var(--red);
}

/* Join */
.join {
  padding: clamp(90px, 12vw, 160px) 16px;
  background:
    linear-gradient(180deg, var(--night) 0%, rgba(11, 21, 64, 0.2) 30%, rgba(11, 21, 64, 0.2) 70%, var(--night) 100%),
    url("img/flying.webp") center 35% / cover no-repeat;
}

.join-card {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
  background: var(--halftone), var(--red);
  border: 4px solid var(--ink);
  border-radius: 22px;
  box-shadow: 10px 10px 0 var(--yellow);
}

.join-card p {
  margin: 0 0 24px;
  font-weight: 600;
  font-size: 1.05rem;
}

.join-card .btn-red {
  background: var(--blue);
}

/* ================= FOOTER ================= */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 44px 16px 36px;
  text-align: center;
  background: #060c26;
  border-top: 4px solid var(--red);
}

.footer img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: 3px solid var(--yellow);
  border-radius: 50%;
}

.footer-name {
  margin: 6px 0 0;
  font-family: var(--f-display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
}

.footer-name span {
  color: var(--yellow);
}

.footer-copy {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.7;
}

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  padding: 8px 20px;
  font-family: var(--f-display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--yellow);
  border: var(--outline);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  opacity: 0;
  transform: translate(-50%, 140%);
  transition: opacity 0.2s ease, transform 0.25s ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 960px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 44px;
  }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

  .about,
  .power-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .panel-a,
  .panel-b,
  .panel-c,
  .panel-d {
    grid-column: span 12;
  }

  .about-art {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .brand-name {
    display: none;
  }

  .hero-card {
    margin-top: 84px;
  }

  .cta .btn {
    flex: 1 1 100%;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .panels {
    padding: 12px;
    gap: 12px;
  }

  .panel-shot {
    display: flex;
    flex-direction: column;
  }

  .panel-shot img {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .caption {
    position: static;
    max-width: none;
    font-size: 1.05rem;
    border-width: 3px 0 0;
    box-shadow: none;
  }

  .sfx {
    bottom: 52px;
  }

  .pow {
    right: -4px;
    font-size: 1.4rem;
    padding: 24px 26px;
  }
}

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

  .strip-track {
    animation: none;
  }
}
