:root {
  --espresso: #140c08;
  --roast: #24140d;
  --bean: #3a2216;
  --foam: #f7ecd4;
  --crema: #ead7b0;
  --gold: #f0c14b;
  --ink: #100805;
  --sol-purple: #b56bff;
  --sol-green: #14f195;
  --neon: #3ef0ff;
  --steam: rgba(247, 236, 212, 0.18);
  --gutter: 22px;
  --ticket-hole: #f3e6c4;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--foam);
  background: var(--espresso);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.scene-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% -10%, #4a2a18 0%, transparent 46%),
    radial-gradient(ellipse at 80% 20%, rgba(153, 69, 255, 0.16), transparent 36%),
    radial-gradient(ellipse at 12% 70%, rgba(20, 241, 149, 0.08), transparent 30%),
    linear-gradient(#1b100b, #0c0705 55%, #160d09);
}

.vanish-ceiling,
.vanish-floor {
  position: absolute;
  left: 50%;
  width: 160vw;
  height: 48vh;
  transform-origin: center;
  background-size: 72px 72px;
}

.vanish-ceiling {
  top: -8%;
  transform: translateX(-50%) perspective(720px) rotateX(-62deg);
  background-image:
    linear-gradient(rgba(240, 193, 75, 0.07) 2px, transparent 2px),
    linear-gradient(90deg, rgba(240, 193, 75, 0.07) 2px, transparent 2px);
  mask-image: linear-gradient(to bottom, black, transparent);
}

.vanish-floor {
  bottom: -12%;
  transform: translateX(-50%) perspective(720px) rotateX(64deg);
  background-image:
    linear-gradient(rgba(62, 240, 255, 0.08) 2px, transparent 2px),
    linear-gradient(90deg, rgba(240, 193, 75, 0.09) 2px, transparent 2px);
  background-color: #1a100b;
  mask-image: linear-gradient(to top, black 20%, transparent);
}

.halftone {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: radial-gradient(circle, #f0c14b 0.8px, transparent 1.1px);
  background-size: 10px 10px;
}

.steam-puff {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--steam), transparent 68%);
  animation: drift 11s ease-in-out infinite;
}

.steam-puff:nth-child(1) { left: 8%; top: 18%; animation-delay: 0s; }
.steam-puff:nth-child(2) { right: 12%; top: 36%; animation-delay: 2s; width: 130px; height: 130px; }
.steam-puff:nth-child(3) { left: 40%; bottom: 18%; animation-delay: 4s; width: 160px; height: 160px; }

@keyframes drift {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.35; }
  50% { transform: translateY(-28px) scale(1.15); opacity: 0.7; }
}

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

.navbar {
  background: rgba(16, 8, 5, 0.88);
  border-bottom: 4px solid var(--gold);
  backdrop-filter: blur(12px);
  padding: 0.55rem 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: var(--foam);
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--gold);
  padding: 2px;
}

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

.brand-copy strong {
  font-family: "Bangers", cursive;
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.brand-copy span {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--crema);
}

.nav-link {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--foam) !important;
}

.nav-link:hover {
  color: var(--gold) !important;
}

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

.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
  background: var(--foam);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--gold);
  font-size: 1.15rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.icon-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--sol-green);
  color: var(--ink);
}

.icon-btn.buy { background: var(--sol-green); }
.icon-btn.chart { background: var(--neon); }
.icon-btn.x { background: var(--foam); }

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.2rem 1rem 3rem;
}

.issue-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--gold);
  color: var(--ink);
  border: 4px solid var(--ink);
  padding: 0.45rem 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: var(--gutter);
  box-shadow: 6px 6px 0 #000;
}

.panel {
  border: 5px solid var(--ink);
  box-shadow: 10px 10px 0 #000;
  margin-bottom: 2rem;
  position: relative;
  overflow: visible;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 1rem;
  background: var(--ink);
  color: var(--gold);
  font-family: "Bangers", cursive;
  letter-spacing: 0.14em;
  font-size: 1.35rem;
  border-bottom: 4px solid var(--ink);
}

.stamp {
  background: var(--sol-purple);
  color: #fff;
  border: 2px dashed #fff;
  padding: 0.15rem 0.55rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-panel {
  background:
    linear-gradient(180deg, #f7ecd4 0%, #efe0b8 100%);
  color: var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
}

.hero-copy {
  padding: 1.6rem 1.7rem 1.8rem;
}

.kicker {
  display: inline-block;
  background: var(--ink);
  color: var(--gold);
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.hero-title {
  font-family: "Bangers", cursive;
  font-size: clamp(3.1rem, 8vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  margin: 0 0 0.45rem;
  color: #1a0c07;
  text-shadow: 4px 4px 0 var(--gold);
}

.ticker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--sol-green);
  border: 3px solid var(--ink);
  padding: 0.15rem 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.speech {
  position: relative;
  background: #fff;
  border: 4px solid var(--ink);
  border-radius: 28px 28px 28px 8px;
  padding: 1rem 1.1rem 1.15rem;
  margin: 1.15rem 0 1.25rem;
  font-family: "Kalam", cursive;
  font-size: 1.18rem;
  line-height: 1.35;
}

.speech::after {
  content: "";
  position: absolute;
  left: 2rem;
  bottom: -18px;
  width: 0;
  height: 0;
  border: 12px solid transparent;
  border-top-color: var(--ink);
}

.speech b {
  color: #7a3d14;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.btn-comic {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 3px solid var(--ink);
  padding: 0.7rem 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-buy { background: var(--sol-green); }
.btn-chart { background: var(--neon); }
.btn-x { background: #fff; }

.hero-art {
  background:
    radial-gradient(circle at 50% 20%, rgba(62, 240, 255, 0.25), transparent 42%),
    linear-gradient(160deg, #2a1810, #120a08);
  padding: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 5px solid var(--ink);
}

.art-frame {
  width: 100%;
  background: var(--foam);
  border: 4px solid var(--ink);
  padding: 8px;
  box-shadow: 0 0 0 6px #f0c14b inset;
}

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

.caption-box {
  margin-top: 0.65rem;
  background: var(--gold);
  color: var(--ink);
  border: 3px solid var(--ink);
  padding: 0.35rem 0.6rem;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.about-panel {
  background: #efe3c4;
  color: var(--ink);
}

.about-body {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
}

.story-col {
  padding: 1.4rem 1.5rem 1.6rem;
}

.story-col h2 {
  font-family: "Bangers", cursive;
  font-size: 2.6rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}

.lede {
  font-weight: 800;
  color: #7a3d14;
  margin-bottom: 0.85rem;
}

.story-col p {
  font-size: 1.02rem;
  line-height: 1.55;
  margin-bottom: 0.9rem;
}

.meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  border: 3px solid var(--ink);
  background: #fff;
  padding: 0.28rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-art {
  padding: 1.1rem;
  background:
    radial-gradient(circle at 70% 20%, rgba(181, 107, 255, 0.35), transparent 40%),
    #1b2238;
  border-left: 5px solid var(--ink);
}

.spread {
  margin: 0 0 2rem;
  background: #0d0a12;
  border: 5px solid var(--ink);
  box-shadow: 10px 10px 0 #000;
  padding: 0.7rem;
}

.spread img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #0d0a12;
}

.spread-label {
  display: flex;
  justify-content: space-between;
  color: var(--gold);
  font-family: "Bangers", cursive;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.2rem 0.15rem;
}

.buy-panel {
  background: repeating-linear-gradient(
    180deg,
    #fbf3de 0px,
    #fbf3de 28px,
    #f3e6c4 28px,
    #f3e6c4 29px
  );
  color: var(--ink);
}

.menu-wrap {
  padding: 1.3rem 1.2rem 1.6rem;
}

.menu-title {
  text-align: center;
  font-family: "Bangers", cursive;
  font-size: 2.4rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.menu-sub {
  text-align: center;
  font-family: "Kalam", cursive;
  margin-bottom: 1.2rem;
}

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

.ticket {
  background: #fffdf6;
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  padding: 1rem 0.85rem 1.05rem;
  position: relative;
}

.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 10px;
    background-image: radial-gradient(circle, var(--ticket-hole) 5px, transparent 6px);
  background-size: 14px 10px;
  background-repeat: repeat-x;
}

.ticket::before { top: -6px; }
.ticket::after { bottom: -6px; transform: rotate(180deg); }

.shot-no {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--gold);
  font-family: "Bangers", cursive;
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
}

.ticket h3 {
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.ticket p {
  font-size: 0.92rem;
  line-height: 1.4;
  margin: 0;
}

.ticket a {
  color: #7a3d14;
  font-weight: 800;
}

.community-panel {
  background:
    radial-gradient(circle at 50% 0%, rgba(62, 240, 255, 0.2), transparent 46%),
    linear-gradient(#1a1230, #120c1c);
  color: var(--foam);
}

.community-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.stage-art {
  padding: 1.1rem;
}

.community-copy {
  padding: 1.5rem 1.4rem 1.6rem;
  border-left: 5px solid var(--gold);
}

.neon-title {
  font-family: "Bangers", cursive;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 0.08em;
  color: var(--neon);
  text-shadow: 0 0 10px rgba(62, 240, 255, 0.8), 3px 3px 0 #000;
  margin-bottom: 0.4rem;
}

.community-copy p {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #efe6d4;
}

.mascot-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1rem 0 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 3px solid var(--gold);
  padding: 0.55rem;
}

.mascot-row img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  background: var(--foam);
  border: 3px solid var(--ink);
}

.ca-box {
  background: #0b0706;
  border: 3px dashed var(--gold);
  padding: 0.75rem 0.8rem;
  margin: 1rem 0 1.2rem;
}

.ca-box small {
  display: block;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
  font-weight: 800;
}

.ca-row {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.ca-row code {
  flex: 1;
  color: var(--sol-green);
  word-break: break-all;
  font-size: 0.86rem;
}

.copy-btn {
  border: 3px solid var(--ink);
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  padding: 0.35rem 0.6rem;
  white-space: nowrap;
}

.disclaimer {
  font-size: 0.82rem;
  color: #cbbca8;
  border-top: 2px solid rgba(240, 193, 75, 0.35);
  padding-top: 0.85rem;
  margin-top: 1rem;
}

.site-footer {
  text-align: center;
  padding: 0.4rem 1rem 2.2rem;
}

.footer-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 0.7rem;
  background: var(--foam);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--gold);
  padding: 3px;
}

.site-footer p {
  color: #cbbca8;
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 991px) {
  .hero-grid,
  .about-body,
  .community-grid,
  .brew-grid {
    grid-template-columns: 1fr;
  }

  .hero-art,
  .about-art,
  .community-copy {
    border-left: 0;
    border-top: 5px solid var(--ink);
  }

  .community-copy {
    border-top-color: var(--gold);
  }

  .brand-copy span {
    display: none;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 3rem;
  }

  .issue-bar {
    flex-direction: column;
    text-align: center;
  }

  .cta-row .btn-comic {
    width: 100%;
    justify-content: center;
  }
}
