/* HYPERCAT — neon comic issue. Flat panels, no tilt, no crop. */

:root {
  --ink: #03110e;
  --void: #020806;
  --panel: #071814;
  --cyan: #6ff6ee;
  --cyan-deep: #12d4c4;
  --mint: #9ffdf6;
  --gold: #f0c94a;
  --gold-soft: #ffe9a0;
  --paper: #f4fff9;
  --caption: #ffe56a;
  --line: #06110e;
  --glow: 0 0 28px rgba(47, 232, 214, 0.35);
  --gutter: clamp(1.1rem, 3vw, 2.4rem);
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  font-family: "Nunito", system-ui, sans-serif;
  background-color: var(--void);
  background-image:
    radial-gradient(1200px 700px at 12% -10%, rgba(18, 212, 196, 0.2), transparent 55%),
    radial-gradient(900px 600px at 100% 8%, rgba(240, 201, 74, 0.08), transparent 46%),
    radial-gradient(800px 500px at 80% 100%, rgba(18, 212, 196, 0.1), transparent 50%),
    linear-gradient(180deg, #041512 0%, #020806 38%, #03120f 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.16;
  background-image: radial-gradient(circle, rgba(111, 246, 238, 0.55) 0.7px, transparent 0.8px);
  background-size: 18px 18px;
}

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

.energy span {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.28;
}

.energy span:nth-child(1) {
  width: 42vw;
  height: 42vw;
  left: -8%;
  top: 8%;
  background: #12d4c4;
  animation: drift 18s ease-in-out infinite;
}

.energy span:nth-child(2) {
  width: 28vw;
  height: 28vw;
  right: -6%;
  top: 36%;
  background: #f0c94a;
  opacity: 0.12;
  animation: drift 22s ease-in-out infinite reverse;
}

.energy span:nth-child(3) {
  width: 36vw;
  height: 36vw;
  left: 30%;
  bottom: -12%;
  background: #2de8d8;
  animation: drift 26s ease-in-out infinite 1s;
}

@keyframes drift {
  0%,
  100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4%, -6%, 0) scale(1.08); }
}

.site {
  position: relative;
  z-index: 1;
}

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

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

/* NAV */

.mast {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem var(--gutter);
  background: rgba(2, 8, 6, 0.82);
  border-bottom: 4px solid #000;
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid #000;
  box-shadow: 0 0 0 3px var(--cyan), var(--glow);
  background: #04110e;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-family: "Audiowide", sans-serif;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(111, 246, 238, 0.55);
}

.brand-copy small {
  margin-top: 0.28rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-links a {
  font-family: "Bangers", cursive;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  padding: 0.45rem 0.75rem;
  border: 2px solid transparent;
}

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

.nav-cta {
  display: flex;
  gap: 0.45rem;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 3px solid #000;
  background: var(--caption);
  color: #111;
  font-size: 1.3rem;
  cursor: pointer;
}

.drawer {
  display: none;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 3px solid #000;
  padding: 0.62rem 1rem;
  font-family: "Bangers", cursive;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  line-height: 1;
  box-shadow: 4px 4px 0 #000;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #000;
}

.btn-cyan {
  background: var(--cyan);
  color: #04110e;
}

.btn-gold {
  background: var(--gold);
  color: #1a1200;
}

.btn-ink {
  background: #081c18;
  color: var(--paper);
}

.btn-x {
  background: #111;
  color: #fff;
}

.btn i {
  font-size: 1.05rem;
}

/* ISSUE FRAME */

.issue {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 1.4rem auto 2.6rem;
}

.spread {
  position: relative;
  background: linear-gradient(180deg, rgba(7, 24, 20, 0.94), rgba(4, 16, 13, 0.96));
  border: 5px solid #000;
  box-shadow:
    0 0 0 3px var(--cyan-deep),
    10px 12px 0 rgba(0, 0, 0, 0.55);
  padding: clamp(1rem, 2.4vw, 1.8rem);
}

.spread + .spread {
  margin-top: 2.2rem;
}

.running {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.55rem;
  border-bottom: 3px solid #000;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.running b {
  color: var(--cyan);
  font-family: "Audiowide", sans-serif;
  letter-spacing: 0.14em;
}

.caption {
  display: inline-block;
  background: var(--caption);
  color: #111;
  font-family: "Bangers", cursive;
  letter-spacing: 0.08em;
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  padding: 0.28rem 0.8rem 0.18rem;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000;
  margin-bottom: 1rem;
}

.chrome {
  margin: 0;
  font-family: "Audiowide", sans-serif;
  font-weight: 400;
  letter-spacing: 0.08em;
  font-size: clamp(2.3rem, 8vw, 5.4rem);
  line-height: 0.95;
  background: linear-gradient(180deg, #ffffff 0%, #c6fff9 18%, #6ff6ee 42%, #10998d 52%, #8afbf3 72%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 0 #000) drop-shadow(0 0 18px rgba(111, 246, 238, 0.45));
}

.lede {
  margin: 0.85rem 0 0;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 800;
  color: var(--gold);
}

/* HERO — splash, image 1 only */

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.2rem;
  align-items: center;
}

.ink-frame {
  background: #000;
  border: 4px solid #000;
  box-shadow: inset 0 0 0 3px var(--gold);
  padding: 10px;
}

.ink-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background:
    radial-gradient(circle at 30% 20%, rgba(111, 246, 238, 0.08), transparent 40%),
    #030a08;
}

.hero-copy {
  min-width: 0;
}

.bubble {
  position: relative;
  margin: 1.1rem 0 1.2rem;
  background: #f7fffc;
  color: #10211c;
  border: 4px solid #000;
  border-radius: 28px;
  padding: 1rem 1.1rem 1.05rem;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.45;
}

.bubble::after {
  content: "";
  position: absolute;
  left: 2rem;
  bottom: -16px;
  width: 22px;
  height: 22px;
  background: #f7fffc;
  border-right: 4px solid #000;
  border-bottom: 4px solid #000;
  transform: rotate(45deg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.ca-chip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.15rem;
  padding: 0.65rem 0.75rem;
  background: #04110e;
  border: 3px solid #000;
}

.ca-chip code {
  font-family: "Audiowide", sans-serif;
  font-size: clamp(0.62rem, 1.6vw, 0.78rem);
  letter-spacing: 0.04em;
  color: var(--cyan);
  word-break: break-all;
}

.ca-chip button {
  margin-left: auto;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.pill {
  border: 2px solid #000;
  background: #0b2420;
  padding: 0.28rem 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill b {
  color: var(--gold);
}

/* ABOUT — banner lives here, not hero */

.about-stack {
  display: grid;
  gap: 1rem;
}

.banner-frame {
  background: #000;
  border: 4px solid #000;
  box-shadow: inset 0 0 0 3px var(--cyan);
  padding: 8px;
}

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

.dialogue {
  background: #f4fff9;
  color: #12241f;
  border: 4px solid #000;
  padding: 1.1rem 1.15rem 1.2rem;
}

.dialogue h3 {
  margin: 0 0 0.55rem;
  font-family: "Bangers", cursive;
  letter-spacing: 0.06em;
  font-size: 1.7rem;
}

.dialogue p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 700;
}

/* HOW TO BUY — sequential comic strip, flat */

.strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.cell {
  background: #061612;
  border: 4px solid #000;
  min-height: 100%;
  padding: 0.9rem 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.cell-num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #111;
  border: 3px solid #000;
  font-family: "Bangers", cursive;
  font-size: 1.4rem;
}

.cell h3 {
  margin: 0;
  font-family: "Bangers", cursive;
  letter-spacing: 0.05em;
  font-size: 1.35rem;
  color: var(--cyan);
}

.cell p {
  margin: 0;
  color: #d7fff8;
  line-height: 1.5;
  font-weight: 700;
}

.cell i {
  font-size: 1.5rem;
  color: var(--gold);
}

/* COMMUNITY */

.club {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.1rem;
  align-items: center;
}

.club-copy h2 {
  margin: 0.2rem 0 0.7rem;
}

.club-copy p {
  margin: 0 0 1rem;
  font-size: 1.08rem;
  line-height: 1.6;
  font-weight: 700;
  color: #e9fffa;
}

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

/* FOOTER */

.colophon {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 0 auto 2rem;
  border: 5px solid #000;
  background: #04110e;
  box-shadow: 0 0 0 3px var(--gold);
  padding: 1.1rem 1.2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.colophon img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 3px solid #000;
  object-fit: contain;
  background: #000;
}

.colophon p {
  margin: 0;
  font-weight: 800;
}

.colophon small {
  display: block;
  margin-top: 0.25rem;
  color: #9adcd4;
}

.foot-links {
  display: flex;
  gap: 0.45rem;
}

/* COPY STATE */

.is-copied {
  background: #9cff7a !important;
}

/* RESPONSIVE */

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

  .burger {
    display: grid;
    place-items: center;
  }

  .drawer {
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.8rem var(--gutter) 1rem;
    background: #04110e;
    border-bottom: 4px solid #000;
  }

  .drawer.is-open {
    display: flex;
  }

  .drawer a {
    font-family: "Bangers", cursive;
    font-size: 1.25rem;
    letter-spacing: 0.06em;
    padding: 0.45rem 0;
  }

  .hero-grid,
  .club,
  .colophon,
  .strip {
    grid-template-columns: 1fr;
  }

  .colophon {
    justify-items: center;
    text-align: center;
  }

  .ca-chip button {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .nav-cta .btn span {
    display: none;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }
}
