:root {
  --cream: #f4f1ea;
  --cream-2: #e8e2d8;
  --paper: #faf7f2;
  --ink: #110e08;
  --ink-soft: #35322d;
  --muted: #6e6860;
  --accent: #ccff00;
  --accent-ink: #110e08;
  --red: #ccff00;
  --red-deep: #b8e600;
  --gold: #ccff00;
  --gold-2: #e8ff8a;
  --black: #110e08;
  --black-2: #1c180d;
  --line: rgba(17, 14, 8, 0.12);
  --line-light: rgba(255, 255, 255, 0.12);
  --green: #00c805;
  --loss: #ff5000;
  --nav-h: 64px;
  --max: 1280px;
  --font: "Outfit", "Noto Sans JP", system-ui, sans-serif;
  --display: "Cormorant Garamond", "Noto Serif JP", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: fixed;
  left: 8px;
  top: 8px;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  background: #fff;
  padding: 8px 12px;
  z-index: 80;
}

/* Wordmark */
.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 11px;
  padding: 8px 11px 7px;
  line-height: 1;
  border: 0;
}
.mark--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.mark img { width: 18px; height: 18px; margin-right: 8px; }

/* Nav: main cream site */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 22px;
  color: #fff;
  mix-blend-mode: normal;
}
.nav.is-solid {
  background: rgba(7,7,7,.92);
  backdrop-filter: blur(10px);
}
.nav--light {
  color: var(--ink);
  background: rgba(243,239,232,.92);
  border-bottom: 1px solid var(--line);
}
.nav--light.is-solid { background: rgba(243,239,232,.98); }
.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 500;
  text-transform: uppercase;
}
.nav-right { justify-content: flex-end; }
.nav-left a:hover, .nav-right a:hover { opacity: 0.65; }
.nav-center { display: flex; justify-content: center; }
.nav-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  color: inherit;
}
.nav-icon svg { width: 100%; height: 100%; fill: currentColor; }
.nav-burger {
  display: none;
  background: none;
  border: 0;
  color: inherit;
  padding: 6px;
}
.nav-cta {
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  padding: 8px 12px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Dark TCG nav */
.nav-tcg {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  color: #f3efe8;
  background: linear-gradient(to bottom, rgba(0,0,0,.7), transparent);
}
.nav-tcg.is-solid { background: rgba(17,14,8,.94); }
.nav-tcg .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  letter-spacing: 0.28em;
  font-size: 13px;
}
.nav-tcg .brand img { width: 28px; height: 28px; }
.nav-tcg-links {
  display: flex;
  gap: 26px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-tcg-links a:hover { color: var(--accent); }

/* Hero home */
.hero-home {
  position: relative;
  min-height: 100vh;
  background: #050505;
  overflow: hidden;
  color: #fff;
}
.hero-home .bg {
  position: absolute;
  inset: 0;
  background: #050505 center/cover no-repeat;
  animation: ken 28s ease-in-out infinite alternate;
  transform: scale(1.05);
}
.hero-home .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent 42%);
}
@keyframes ken {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.12) translateY(-2%); }
}
.hero-panel {
  position: absolute;
  right: 28px;
  bottom: 36px;
  width: min(420px, calc(100% - 40px));
  background: rgba(10,10,10,.88);
  border: 1px solid rgba(255,255,255,.08);
  padding: 22px 22px 18px;
  overflow: hidden;
}
.hero-panel h1 {
  margin: 0 0 10px;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: 0.08em;
  font-weight: 600;
  line-height: 1.35;
}
.hero-panel p { margin: 0 0 14px; color: #cfc8be; font-size: 13px; }
.signup {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255,255,255,.18);
}
.signup input {
  flex: 1;
  background: transparent;
  border: 0;
  color: #fff;
  padding: 10px 12px;
  font-size: 13px;
}
.signup input::placeholder { color: #8a857c; }
.signup button {
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  padding: 0 16px;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 600;
}
.hero-home::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--red);
}

/* Sections */
.wrap { width: min(var(--max), calc(100% - 56px)); margin: 0 auto; }
.section { padding: 72px 0 80px; }
.kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.lede { margin: 0; color: var(--muted); font-size: 14px; }
.row-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 28px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  background: #fff;
}
.pill:hover { border-color: var(--ink); }
.pill--dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.25);
}
.pill--red {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

/* Story */
.story-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.7fr;
  gap: 14px;
}
.player {
  position: relative;
  background: #111;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid var(--accent);
}
.player img, .thumb img { width: 100%; height: 100%; object-fit: cover; }
.player-ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent 40%);
  color: #fff;
}
.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  border: 0;
  color: var(--accent-ink);
  display: grid;
  place-items: center;
}
.play-btn svg { width: 22px; margin-left: 3px; }
.player-title {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0;
  text-transform: uppercase;
}
.thumbs { display: grid; gap: 10px; }
.thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
  border: 2px solid var(--accent);
}
.thumb span {
  position: absolute;
  left: 10px;
  bottom: 8px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.thumb .mini-play {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  display: grid;
  place-items: center;
}

/* TCG mid banner */
.tcg-banner {
  position: relative;
  min-height: 520px;
  color: #f6f0e6;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  background: #0b0b0b;
}
.tcg-banner .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.45);
  transform: scale(1.06);
}
.tcg-banner .inner { position: relative; z-index: 1; padding: 80px 20px; }
.tcg-banner .emblem { width: 54px; height: 54px; margin: 0 auto 18px; }
.tcg-banner h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: 0.12em;
  line-height: 1.15;
  margin: 0 0 22px;
}

/* Shop */
.shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 14px;
}
.product {
  background: #fff;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
}
.product .shot {
  aspect-ratio: 1;
  background: var(--paper);
  overflow: hidden;
  margin-bottom: 14px;
}
.product .shot img { width: 100%; height: 100%; object-fit: cover; }
.product .meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product .price { color: var(--muted); }
.product.wide .shot { aspect-ratio: 4/3; }

/* News */
.news-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 22px;
}
.news-feature img { width: 100%; height: auto; object-fit: cover; max-height: 420px; }
.news-feature .tag {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin: 12px 0 8px;
}
.news-feature h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}
.news-feature p { margin: 0; color: var(--muted); font-size: 14px; }
.news-side { display: grid; gap: 16px; }
.news-mini {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: start;
}
.news-mini img { width: 120px; height: 80px; object-fit: cover; }
.news-mini .tag { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.news-mini h3 { margin: 4px 0 0; font-size: 14px; line-height: 1.35; }

/* Community */
.community {
  background: var(--black);
  color: #f3efe8;
  padding: 64px 0 0;
}
.community .row-head { width: min(var(--max), calc(100% - 56px)); margin: 0 auto 24px; }
.mosaic {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  padding: 0 6px 6px;
}
.mosaic img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  filter: grayscale(.15) contrast(1.05);
}
.mosaic img:hover { filter: none; }

/* Footer */
.footer {
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer h4 {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.footer a { display: block; font-size: 13px; color: var(--ink-soft); padding: 4px 0; }
.footer a.mark { display: inline-flex; width: auto; font-size: 11px; color: var(--accent-ink); padding: 8px 11px 7px; }
.footer a:hover { color: var(--accent-ink); }
.footer a.mark:hover { color: var(--accent-ink); }
.legal { margin-top: 36px; font-size: 11px; color: var(--muted); letter-spacing: 0.08em; }
.footer-bar { height: 4px; background: var(--red); }

/* ========== TCG page ========== */
body.tcg {
  background: var(--black);
  color: #f3efe8;
}
.hero-tcg {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}
.hero-tcg .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  animation: ken 32s ease-in-out infinite alternate;
}
.hero-tcg .veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center, rgba(17,14,8,.58) 0%, rgba(17,14,8,.28) 42%, rgba(17,14,8,.78) 100%);
}
.hero-float {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.float-card {
  position: absolute;
  width: min(172px, 20vw);
  aspect-ratio: 63 / 88;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #110e08;
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 1px rgba(204,255,0,.35), 0 18px 40px rgba(0,0,0,.5), 0 0 24px rgba(204,255,0,.18);
  will-change: transform;
  animation: float-y 9s ease-in-out infinite;
}
.tcg-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 5px 7px 4px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  flex-shrink: 0;
}
.tcg-art {
  flex: 1;
  min-height: 0;
  background: #1c180d;
}
.tcg-art img,
.float-card img { width: 100%; height: 100%; object-fit: cover; }
.tcg-meta {
  flex-shrink: 0;
  padding: 6px 7px 7px;
  text-align: left;
  background: #110e08;
  border-top: 1px solid rgba(204,255,0,.35);
}
.tcg-meta b {
  display: block;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.15;
  color: #fff;
}
.tcg-meta span {
  display: block;
  margin-top: 3px;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.float-card:nth-child(1) { left: 5%; top: 16%; transform: rotate(-12deg); animation-duration: 8.5s; }
.float-card:nth-child(2) { right: 6%; top: 14%; transform: rotate(10deg); animation-duration: 10s; animation-delay: -2s; }
.float-card:nth-child(3) { left: 3%; bottom: 10%; transform: rotate(7deg); animation-duration: 9.5s; animation-delay: -4s; width: min(148px, 17vw); }
.float-card:nth-child(4) { right: 4%; bottom: 12%; transform: rotate(-8deg); animation-duration: 11s; animation-delay: -1s; width: min(156px, 18vw); }
.float-card:nth-child(5),
.float-card:nth-child(6) { display: none; }
@keyframes float-y {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -18px; }
}
.hero-tcg .inner {
  position: relative;
  z-index: 3;
  padding: 120px 24px 80px;
  max-width: 640px;
  margin: 0 auto;
}
.hero-tcg .brand-stack { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 18px; }
.hero-tcg .brand-stack img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}
.hero-tcg .kicker {
  color: var(--accent);
  margin-bottom: 12px;
}
.hero-tcg h1 {
  font-family: var(--display);
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  line-height: 1.05;
}
.hero-tcg p.lead {
  max-width: 34rem;
  margin: 0 auto 26px;
  color: #e8e2d4;
  font-size: 17px;
  line-height: 1.45;
  text-wrap: pretty;
}
.cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,.28);
  background: transparent;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.btn:hover { background: #fff; color: #111; }
.btn-red { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-red:hover { background: #fff; color: var(--accent-ink); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #111; }
.mail-line {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}
.mail-line .signup { width: min(420px, 100%); background: rgba(0,0,0,.45); }

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gold);
  letter-spacing: 0.4em;
  font-size: 10px;
  margin: 8px 0 18px;
}
.ornament::before, .ornament::after {
  content: "· · ·";
  color: var(--gold);
}

/* Card carousel */
.carousel-sec { padding: 72px 0 90px; text-align: center; background: #050505; }
.carousel {
  position: relative;
  height: 520px;
  margin: 28px auto 0;
  max-width: 980px;
  perspective: 1200px;
}
.carousel-track { position: relative; height: 100%; }
.card-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  aspect-ratio: 63/88;
  transform: translate(-50%, -50%) scale(.82);
  opacity: .45;
  transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity .4s;
  z-index: 1;
  cursor: pointer;
}
.card-slide.is-prev { transform: translate(calc(-50% - 240px), -50%) scale(.78) rotateY(18deg); }
.card-slide.is-next { transform: translate(calc(-50% + 240px), -50%) scale(.78) rotateY(-18deg); }
.card-slide.is-active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 3;
}
.card-slide.is-far { opacity: 0; pointer-events: none; }
.card-face {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 50px rgba(0,0,0,.55), 0 0 22px rgba(204,255,0,.16);
  border: 2px solid var(--accent);
}
.card-face img { width: 100%; height: 100%; object-fit: cover; }
.card-plate {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 12px 12px;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
  text-align: left;
}
.card-plate .rare { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2); }
.card-plate h3 { margin: 2px 0 0; font-size: 16px; }
.card-plate .illus { font-size: 10px; color: #b7b0a6; letter-spacing: 0.08em; }
.car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.4);
  color: #fff;
  z-index: 4;
}
.car-btn.prev { left: 8px; }
.car-btn.next { right: 8px; }

/* Gameplay */
.play-sec {
  background: var(--cream);
  color: var(--ink);
  padding: 80px 0;
}
.play-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
}
.play-visual {
  background: #111;
  padding: 16px;
  position: relative;
  border: 2px solid var(--accent);
}
.play-visual img { width: 100%; height: auto; }
.corner {
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid var(--accent);
}
.corner.tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.corner.tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; }
.corner.br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
.play-copy h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  margin: 0 0 16px;
}
.play-copy h3 { margin: 0 0 10px; font-size: 18px; }
.play-copy p { color: var(--ink-soft); }
.map-card {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

/* What's new */
.news3 {
  padding: 80px 0;
  background: #0a0a0a;
  text-align: center;
}
.news3 h2 {
  font-family: var(--display);
  letter-spacing: 0.14em;
  font-size: 28px;
}
.cards3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
  margin-top: 28px;
}
.ncard { background: #111; overflow: hidden; color: #f3efe8; border: 2px solid var(--accent); }
.ncard img { width: 100%; height: 210px; object-fit: cover; }
.ncard .pad { padding: 16px; }
.ncard .meta { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.ncard h3 { margin: 8px 0; font-size: 18px; }
.ncard p { margin: 0; color: #b7b0a6; font-size: 14px; }

/* Social feed */
.feed-sec { padding: 80px 0; background: #050505; text-align: center; }
.feed-sec h2 { font-family: var(--display); letter-spacing: 0.12em; font-size: 32px; }
.socials { display: flex; gap: 14px; justify-content: center; margin: 8px 0 28px; }
.socials a { width: 28px; height: 28px; color: #fff; }
.feed {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.fcard { background: #141414; text-align: left; overflow: hidden; border: 2px solid var(--accent); }
.fcard img { width: 100%; height: 180px; object-fit: cover; }
.fcard .pad { padding: 10px 12px 14px; font-size: 12px; color: #cfc8be; }
.fcard .who { font-size: 11px; color: #fff; margin-bottom: 6px; }

/* TCG shop */
.tcg-shop { padding: 80px 0; background: #070707; text-align: center; }
.tcg-shop h2 { font-family: var(--display); letter-spacing: 0.14em; }
.prod2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 720px;
  margin: 28px auto 0;
}
.prod2 .product { background: #111; color: #f3efe8; }
.prod2 .shot { background: #0b0b0b; }

/* Partners */
.partners { padding: 70px 0; text-align: center; background: #050505; }
.partners h2 {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.logo-row {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 22px 0;
  align-items: center;
}
.logo-pill {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: grid;
  place-items: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.grade { opacity: .9; font-size: 13px; color: #cfc8be; margin-top: 10px; }
.grade strong { color: #fff; letter-spacing: 0.16em; }

/* App download */
.app-dl {
  padding: 80px 0 40px;
  text-align: center;
  background: radial-gradient(ellipse at center, #1a120c 0%, #050505 70%);
}
.app-dl h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}
.app-dl p { color: #cfc8be; max-width: 520px; margin: 0 auto 20px; }
.phones {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  align-items: flex-end;
}
.phone {
  width: 220px;
  height: 440px;
  background: #111;
  border-radius: 28px;
  border: 8px solid #1c1c1c;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone.mid { width: 250px; height: 500px; z-index: 2; }

.footer-dark {
  background: #110e08;
  color: #cfc8be;
  padding: 48px 0 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-dark .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--display);
  letter-spacing: 0.28em;
  font-size: 13px;
}
.footer-dark .brand img { width: 28px; height: 28px; border-radius: 6px; }
.footer-dark h4 {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}
.footer-dark a { display: block; font-size: 13px; padding: 4px 0; color: #cfc8be; }
.footer-dark a:hover { color: var(--accent); }
.footer-dark .legal { color: #7a746c; margin-top: 16px; }
.build-note {
  border: 2px solid var(--accent);
  background: rgba(204,255,0,.08);
  color: #f3efe8;
  padding: 18px 20px;
  margin: 0 0 40px;
  text-align: left;
}
.build-note strong { color: var(--accent); }

/* Inner pages */
.page-hero {
  padding: 140px 0 40px;
  background: var(--cream);
}
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(36px, 6vw, 64px);
  margin: 0 0 10px;
  letter-spacing: 0.06em;
}
body.tcg .page-hero { background: #110e08; color: #f3efe8; }
body.tcg .page-hero .lede { color: #cfc8be; }
body.tcg .step img { border: 2px solid var(--accent); width: 100%; }
body.tcg .ncard { color: #f3efe8; }
body.tcg .ncard h3 { color: #fff; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-grid > * {
  aspect-ratio: 63 / 88;
  overflow: hidden;
  border-radius: 14px;
  position: relative;
  background: #111;
  border: 2px solid var(--accent);
  box-shadow: 0 0 18px rgba(204,255,0,.12);
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 24px; }
.filter-row button {
  border: 1px solid var(--line);
  background: transparent;
  padding: 8px 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: inherit;
}
.filter-row button.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.steps { display: grid; gap: 48px; }
.step {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
}
.step:nth-child(even) { grid-template-columns: .9fr 1.1fr; }
.step:nth-child(even) .step-copy { order: 2; }
.step-num { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.stores-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.store {
  border: 1px solid var(--line);
  padding: 16px;
  background: #fff;
}
body.tcg .store { background: #111; border-color: rgba(255,255,255,.1); }

/* App shell */
.app-shell {
  min-height: 100vh;
  background: #0b0b0b;
  color: #f3efe8;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.app-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.app-tabs { display: flex; gap: 6px; }
.app-tabs button {
  background: transparent;
  border: 0;
  color: #cfc8be;
  padding: 8px 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
}
.app-tabs button.is-on { color: #fff; border-bottom: 2px solid var(--accent); }
.app-panel { display: none; padding: 18px; }
.app-panel.is-on { display: block; }
.match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  background: #141414;
  padding: 18px;
  margin-bottom: 12px;
}
.hp { font-family: var(--mono); font-size: 28px; }
.hp.me { color: var(--green); }
.hp.opp { color: var(--loss); }

/* 404 */
.notfound {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 20px;
}
.notfound h1 { font-family: var(--display); font-size: 56px; margin: 12px 0; }

/* Reveal: visible unless JS is running */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .thumbs .thumb { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .thumbs.is-in .thumb { opacity: 1; transform: none; }
.js .thumbs.is-in .thumb:nth-child(1) { transition-delay: .05s; }
.js .thumbs.is-in .thumb:nth-child(2) { transition-delay: .12s; }
.js .thumbs.is-in .thumb:nth-child(3) { transition-delay: .2s; }
.js .thumbs.is-in .thumb:nth-child(4) { transition-delay: .28s; }
.js .cards3 .ncard, .js .feed .fcard { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .cards3.is-in .ncard, .js .feed.is-in .fcard { opacity: 1; transform: none; }
.js .cards3.is-in .ncard:nth-child(2), .js .feed.is-in .fcard:nth-child(2) { transition-delay: .1s; }
.js .cards3.is-in .ncard:nth-child(3), .js .feed.is-in .fcard:nth-child(3) { transition-delay: .18s; }
.js .feed.is-in .fcard:nth-child(4) { transition-delay: .26s; }
.js .feed.is-in .fcard:nth-child(5) { transition-delay: .32s; }

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  color: #fff;
  padding: 10px 16px;
  font-size: 13px;
  z-index: 70;
  display: none;
}
.toast.on { display: block; }

@media (max-width: 980px) {
  .nav-left span.desk, .nav-tcg-links { display: none; }
  .nav-burger { display: block; }
  .story-grid, .shop-grid, .news-grid, .play-grid, .cards3, .feed, .gallery-grid, .footer-grid, .prod2, .stores-list {
    grid-template-columns: 1fr;
  }
  .step, .step:nth-child(even) { grid-template-columns: 1fr; }
  .step:nth-child(even) .step-copy { order: 0; }
  .mosaic { grid-template-columns: repeat(4, 1fr); }
  .hero-panel { right: 16px; left: 16px; width: auto; }
  .carousel { height: 440px; }
  .card-slide { width: 210px; }
  .card-slide.is-prev { transform: translate(calc(-50% - 150px), -50%) scale(.7); }
  .card-slide.is-next { transform: translate(calc(-50% + 150px), -50%) scale(.7); }
  .phones { transform: scale(.85); }
  .float-card { width: min(118px, 30vw); }
  .tcg-meta b { font-size: 9px; }
  .tcg-bar, .tcg-meta span { font-size: 7px; }
  .news-mini { grid-template-columns: 90px 1fr; }
  .wrap { width: min(var(--max), calc(100% - 32px)); }
}
@media (max-width: 640px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mosaic img { height: 120px; }
  .nav { padding: 0 12px; }
  .hero-tcg h1 { font-size: 32px; }
}

.drawer {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 60;
  display: none;
}
.drawer.on { display: block; }
.drawer nav {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: min(320px, 86vw);
  background: #111;
  color: #fff;
  padding: 72px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .hero-home .bg, .hero-tcg .bg { transform: none; animation: none; }
  .float-card { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
