:root {
  --bg: #0a0618;
  --bg-2: #140a28;
  --panel: #1a0c32;
  --ink: #05030c;
  --text: #fff5fb;
  --muted: #e8c4dc;
  --hot: #f64c8d;
  --hot-2: #fc6163;
  --cyan: #14bbde;
  --sun: #ffd253;
  --violet: #9a38b8;
  --night: #241f7d;
  --line: 3px solid var(--ink);
  --radius: 14px;
  --font-display: "Bangers", sans-serif;
  --font-script: "Pacifico", cursive;
  --font-body: "Nunito", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(246, 76, 141, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(20, 187, 222, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 35% at 50% 100%, rgba(154, 56, 184, 0.14), transparent 55%),
    var(--bg);
  line-height: 1.55;
}

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

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

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* NAV — sticky glass */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 6, 24, 0.88);
  border-bottom: var(--line);
  backdrop-filter: blur(12px);
}

.nav-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border: var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.05em;
  font-weight: 400;
  line-height: 1;
  color: var(--sun);
}

.brand span {
  display: block;
  font-family: var(--font-script);
  font-size: 0.82rem;
  color: var(--hot);
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  font-size: 1.15rem;
}

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

.nav-buy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.05rem;
  background: linear-gradient(135deg, var(--hot), var(--hot-2));
  color: var(--ink);
  border: var(--line);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--sun);
}

.nav-buy img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.menu-btn {
  display: none;
  border: var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 10px;
  padding: 0.45rem 0.85rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  cursor: pointer;
}

/* HERO — full-bleed art, dark wash, copy on top (no plate box) */
.hero {
  background: #080414;
}

.hero-stage {
  position: relative;
  width: 100%;
  isolation: isolate;
}

.hero-bg {
  width: 100%;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}

.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(8, 4, 20, 0.92) 0%,
    rgba(8, 4, 20, 0.72) 26%,
    rgba(8, 4, 20, 0.28) 48%,
    transparent 68%
  );
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: max(1rem, calc((100% - 1120px) / 2));
  bottom: clamp(1.25rem, 4vw, 2.75rem);
  width: min(540px, calc(100% - 2rem));
}

.hero-kicker {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  color: var(--sun);
  font-size: 1.05rem;
  text-shadow: 0 2px 12px rgba(8, 4, 20, 0.85);
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  letter-spacing: 0.03em;
  line-height: 0.92;
  font-weight: 400;
  text-shadow:
    3px 3px 0 var(--ink),
    0 0 28px rgba(246, 76, 141, 0.35);
}

.hero-script {
  margin: 0.15rem 0 0.75rem;
  font-family: var(--font-script);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  color: var(--hot);
  text-shadow: 0 2px 10px rgba(8, 4, 20, 0.9);
}

.hero-bio {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 1.05rem;
  text-shadow: 0 2px 14px rgba(8, 4, 20, 0.95);
  max-width: 34rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.65rem 1.05rem;
  border: var(--line);
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn img,
.btn i {
  width: 20px;
  height: 20px;
  object-fit: contain;
  font-size: 1.05rem;
  line-height: 1;
}

.btn-hot {
  background: linear-gradient(135deg, var(--hot), var(--hot-2));
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--sun);
}

.btn-ghost {
  background: rgba(26, 12, 50, 0.75);
  color: var(--text);
  backdrop-filter: blur(6px);
}

.ca-pill {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.85rem;
  background: rgba(26, 12, 50, 0.78);
  border: 1px solid rgba(255, 210, 83, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  width: fit-content;
  max-width: 100%;
}

.ca-pill .label {
  font-family: var(--font-display);
  color: var(--sun);
  letter-spacing: 0.06em;
}

.ca-pill code {
  flex: 1 1 160px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.8rem;
  word-break: break-all;
  color: #fff;
}

.ca-pill button {
  border: var(--line);
  border-radius: 999px;
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-display);
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  letter-spacing: 0.04em;
}

/* SECTIONS */
.section {
  padding: 4.5rem 0;
}

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

.section-head .eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--font-script);
  color: var(--cyan);
  font-size: 1.2rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  letter-spacing: 0.04em;
  font-weight: 400;
  line-height: 1;
}

.section-head p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  max-width: 38rem;
  font-size: 1.05rem;
}

/* ABOUT */
.about {
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(246, 76, 141, 0.12), transparent 55%),
    radial-gradient(ellipse 55% 40% at 100% 40%, rgba(255, 210, 83, 0.08), transparent 50%),
    var(--bg);
}

.about-top {
  display: grid;
  grid-template-columns: 1fr minmax(0, 28rem);
  gap: 1rem 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.about-head {
  margin-bottom: 0;
}

.about-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.about-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.35rem;
  align-items: stretch;
  margin-bottom: 1.75rem;
}

.about-art {
  margin: 0;
  border: 4px solid var(--ink);
  border-radius: 18px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 8px 8px 0 var(--cyan);
}

.about-art img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about-story {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 1.4rem;
  background: var(--panel);
  border: 4px solid var(--ink);
  border-radius: 18px;
  box-shadow: 8px 8px 0 var(--hot);
}

.about-story p {
  margin: 0 0 0.95rem;
  color: var(--muted);
}

.about-story p:last-of-type {
  margin-bottom: 1.2rem;
}

.story-panels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.story-panel {
  margin: 0;
}

.story-panel img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 4px solid var(--ink);
  border-radius: 16px;
  background: var(--ink);
  box-shadow: 5px 5px 0 var(--sun);
}

.story-panel:nth-child(2) img {
  box-shadow: 5px 5px 0 var(--hot);
}

.story-panel:nth-child(3) img {
  box-shadow: 5px 5px 0 var(--cyan);
}

.story-panel:nth-child(4) img {
  box-shadow: 5px 5px 0 var(--violet);
}

.story-panel figcaption {
  margin-top: 0.55rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  color: var(--muted);
}

/* HOW TO BUY — desk left, mission cards right */
.howto {
  background: var(--bg-2);
}

.howto-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: start;
}

.howto-desk {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem;
  background: var(--panel);
  border: 4px solid var(--ink);
  border-radius: 18px;
  box-shadow: 8px 8px 0 var(--cyan);
}

.howto-desk .ca-pill {
  border-radius: 14px;
  width: 100%;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.45rem 0.85rem;
  border: var(--line);
  border-radius: 999px;
  background: rgba(20, 187, 222, 0.12);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  color: var(--sun);
}

.chip img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.steps {
  display: grid;
  gap: 0.9rem;
}

.step {
  padding: 1.15rem 1.2rem;
  background: rgba(26, 12, 50, 0.85);
  border: 4px solid var(--ink);
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--hot);
}

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

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

.step .icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 0.55rem;
}

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

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

/* COMMUNITY — banner as section background */
.community {
  position: relative;
  isolation: isolate;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  background: var(--bg);
}

.community-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0618;
}

.community-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.community-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(10, 6, 24, 0.88) 0%,
    rgba(10, 6, 24, 0.78) 40%,
    rgba(10, 6, 24, 0.92) 100%
  );
}

.community-inner {
  position: relative;
  z-index: 2;
}

.crew-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.crew-card {
  margin: 0;
}

.crew-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 4px solid var(--ink);
  border-radius: 16px;
  background: rgba(5, 3, 12, 0.65);
  box-shadow: 5px 5px 0 var(--hot);
}

.crew-card:nth-child(2) img {
  box-shadow: 5px 5px 0 var(--cyan);
}

.crew-card:nth-child(3) img {
  box-shadow: 5px 5px 0 var(--sun);
}

.crew-card:nth-child(4) img {
  box-shadow: 5px 5px 0 var(--violet);
}

.crew-card figcaption {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-size: 1.1rem;
  text-align: center;
}

.community-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 210, 83, 0.25);
  border-bottom: 1px solid rgba(255, 210, 83, 0.25);
}

.community-cta h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  font-weight: 400;
}

.community-cta p {
  margin: 0;
  color: var(--muted);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logo-frame {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  border: 4px solid var(--ink);
  border-radius: 18px;
  background: rgba(5, 3, 12, 0.7);
  box-shadow: 5px 5px 0 var(--sun);
  overflow: hidden;
}

.logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-note h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  font-weight: 400;
}

.logo-note p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.logo-note strong {
  color: var(--sun);
}

/* FOOTER */
.footer {
  padding: 1.75rem 0 2rem;
  border-top: var(--line);
  background: #060310;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border: var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-weight: 400;
  font-size: 1.2rem;
}

.footer-brand span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

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

/* Motion */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy {
  animation: rise-in 0.7s ease both;
}

.nav-buy {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-buy:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 var(--cyan);
}

.story-panel img,
.crew-card img {
  transition: transform 0.25s ease;
}

.story-panel:hover img,
.crew-card:hover img {
  transform: translateY(-4px);
}

/* Responsive */
@media (max-width: 960px) {
  .about-top,
  .about-feature,
  .howto-layout {
    grid-template-columns: 1fr;
  }

  .story-panels,
  .crew-board {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    background: rgba(10, 6, 24, 0.96);
    border-bottom: var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.7rem 0.25rem;
  }

  .hero-shade {
    background: linear-gradient(
      180deg,
      rgba(8, 4, 20, 0.35) 0%,
      rgba(8, 4, 20, 0.55) 35%,
      rgba(8, 4, 20, 0.92) 72%,
      rgba(8, 4, 20, 0.96) 100%
    );
  }

  .hero-copy {
    left: 1rem;
    right: 1rem;
    width: auto;
    bottom: 1rem;
  }

  .story-panels,
  .crew-board {
    grid-template-columns: 1fr 1fr;
  }

  .logo-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .ca-pill {
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .story-panels,
  .crew-board {
    grid-template-columns: 1fr;
  }
}
