:root {
  --bg: #0a0a0c;
  --bg-2: #15161a;
  --ink: #ffffff;
  --accent: #2ea1ff;
  --accent-2: #ff3b6b;
  --og: #ffd166;
  --new: #2ea1ff;
  --grid-line: rgba(255,255,255,0.04);
}

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

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Space Mono', ui-monospace, Menlo, monospace;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(46,161,255,0.14), transparent 60%),
    radial-gradient(800px 400px at 90% 20%, rgba(255,59,107,0.06), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  padding: 0;
  position: relative;
}

/* Film grain / concrete noise */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
  z-index: 1;
}

/* Subway-tile grid behind content */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.hero, .grid, .foot { position: relative; z-index: 2; }

/* Hero */
.hero {
  text-align: center;
  padding: 56px 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-logo {
  width: min(520px, 86vw);
  height: auto;
  display: block;
  margin: 0 auto 20px;
  filter: drop-shadow(6px 6px 0 #000) drop-shadow(0 0 30px rgba(46,161,255,0.25));
  user-select: none;
  -webkit-user-drag: none;
}

.hero-sub {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.tag {
  font-family: 'Archivo Black', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  padding: 6px 12px;
  background: #fff;
  color: #000;
  border: 2px solid #000;
  box-shadow: 3px 3px 0 #000;
  transform: rotate(-1.5deg);
}
.tag:nth-child(2) { transform: rotate(1deg); background: var(--accent); color: #000; }
.tag:nth-child(3) { transform: rotate(-0.5deg); background: var(--accent-2); color: #fff; }

.hero-lede {
  max-width: 560px;
  margin: 12px auto 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
}

.og-inline, .new-inline {
  font-family: 'Archivo Black', sans-serif;
  letter-spacing: 0.08em;
  padding: 1px 6px;
  border: 1.5px solid #000;
  box-shadow: 2px 2px 0 #000;
  font-size: 12px;
}
.og-inline { background: var(--og); color: #000; }
.new-inline { background: var(--new); color: #000; }

/* Grid */
.grid {
  max-width: 1240px;
  margin: 32px auto 80px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; gap: 18px; }
  .hero { padding-top: 40px; }
}

/* Card */
.card {
  position: relative;
  aspect-ratio: 1 / 1.15;
  perspective: 1400px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.card-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.card.flipped .card-inner {
  transform: rotateY(180deg);
}

.face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 3px solid #000;
  background: #1b1d22;
  box-shadow: 8px 8px 0 #000, inset 0 0 0 1px rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.face.back {
  transform: rotateY(180deg);
  background: #12141a;
}

.face.front { background: #1b1d22; }

.face-img-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(255,255,255,0.06), transparent 60%),
    linear-gradient(180deg, #1b1d22 0%, #0f1116 100%);
  overflow: hidden;
}

.face.back .face-img-wrap {
  background:
    radial-gradient(circle at 50% 40%, rgba(46,161,255,0.18), transparent 60%),
    linear-gradient(180deg, #141821 0%, #0b0d12 100%);
}

.face-img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
  pointer-events: none;
  filter: drop-shadow(4px 6px 0 rgba(0,0,0,0.5));
}

.face-label {
  padding: 10px 12px 12px;
  background: #000;
  color: #fff;
  border-top: 3px solid #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 58px;
}

.face-label .name {
  font-family: 'Bebas Neue', 'Archivo Black', sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  line-height: 1;
}

.face-label .pill {
  font-family: 'Archivo Black', sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 4px 8px;
  border: 2px solid #000;
  box-shadow: 2px 2px 0 #000;
  flex-shrink: 0;
}

.face.front .pill { background: var(--og); color: #000; }
.face.back .pill { background: var(--new); color: #000; }

/* Index number on card */
.face-num {
  position: absolute;
  top: 10px;
  left: 12px;
  font-family: 'Permanent Marker', cursive;
  font-size: 28px;
  color: rgba(255,255,255,0.14);
  z-index: 1;
  pointer-events: none;
}

/* "Tap to flip" hint on first card */
.hint {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: 'Archivo Black', sans-serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: #000;
  background: #fff;
  padding: 4px 7px;
  border: 2px solid #000;
  box-shadow: 2px 2px 0 #000;
  transform: rotate(3deg);
  z-index: 2;
  pointer-events: none;
  animation: hintPulse 2.2s ease-in-out infinite;
}
@keyframes hintPulse {
  0%, 100% { transform: rotate(3deg) scale(1); }
  50% { transform: rotate(3deg) scale(1.08); }
}

.card.flipped .hint { display: none; }

/* Hover lift (desktop only) */
@media (hover: hover) {
  .card:hover .card-inner { transform: translateY(-4px); }
  .card.flipped:hover .card-inner { transform: rotateY(180deg) translateY(-4px); }
}

/* Shop CTA */
.shop-cta {
  max-width: 1240px;
  margin: 12px auto 40px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.shop-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 40px 22px;
  background: #fff;
  border: 3px solid #000;
  box-shadow: 10px 10px 0 #000;
  text-decoration: none;
  color: #000;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.18s;
  max-width: 100%;
}

.shop-link:hover,
.shop-link:focus-visible {
  transform: translate(-3px, -3px);
  box-shadow: 13px 13px 0 #000, 0 0 40px rgba(46,161,255,0.35);
  outline: none;
}

.shop-link:active {
  transform: translate(4px, 4px);
  box-shadow: 6px 6px 0 #000;
}

.shop-link img {
  width: min(420px, 72vw);
  height: auto;
  display: block;
}

.shop-hint {
  font-family: 'Archivo Black', sans-serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: #000;
  background: var(--accent);
  padding: 6px 14px;
  border: 2px solid #000;
  box-shadow: 3px 3px 0 #000;
}

@media (max-width: 560px) {
  .shop-link { padding: 22px 24px 18px; box-shadow: 7px 7px 0 #000; }
  .shop-link:hover, .shop-link:focus-visible { box-shadow: 10px 10px 0 #000, 0 0 30px rgba(46,161,255,0.35); }
}

/* Hype tape button */
.hype-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  background: #fff;
  color: #000;
  border: 3px solid #000;
  box-shadow: 5px 5px 0 #000;
  font-family: 'Archivo Black', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.hype-btn:hover,
.hype-btn:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 #000;
  outline: none;
}
.hype-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 #000;
}

.hype-btn.playing {
  background: var(--accent);
}

.hype-icon {
  width: 30px;
  height: 30px;
  background: #000;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.hype-btn.playing .hype-icon {
  background: #000;
  color: var(--accent);
}

.hype-play { display: block; }
.hype-btn.playing .hype-play { display: none; }

.hype-bars {
  display: none;
  gap: 2px;
  align-items: flex-end;
  height: 16px;
}
.hype-bars i {
  display: block;
  width: 3px;
  background: var(--accent);
  animation: hypeBar 0.8s ease-in-out infinite;
}
.hype-bars i:nth-child(1) { height: 40%; animation-delay: 0s; }
.hype-bars i:nth-child(2) { height: 80%; animation-delay: 0.15s; }
.hype-bars i:nth-child(3) { height: 55%; animation-delay: 0.3s; }
.hype-bars i:nth-child(4) { height: 90%; animation-delay: 0.45s; }

.hype-btn.playing .hype-bars { display: inline-flex; }

@keyframes hypeBar {
  0%, 100% { transform: scaleY(0.4); transform-origin: bottom; }
  50% { transform: scaleY(1); transform-origin: bottom; }
}

@media (prefers-reduced-motion: reduce) {
  .hype-bars i { animation: none; }
}

@media (max-width: 560px) {
  .hype-btn {
    right: 12px;
    bottom: 12px;
    padding: 8px 12px 8px 8px;
    font-size: 11px;
  }
  .hype-icon { width: 26px; height: 26px; }
}

/* Footer */
.foot {
  text-align: center;
  padding: 32px 20px 48px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.foot-sub { margin-top: 6px; opacity: 0.6; }
