:root {
  --bg: #07040d;
  --bg-2: #0d0716;
  --panel: rgba(168, 85, 247, 0.06);
  --border: rgba(168, 85, 247, 0.25);
  --purple: #a855f7;
  --magenta: #e879f9;
  --ice: #d9f1ff;
  --text: #ede9f5;
  --muted: #9d93b3;
  --pink: #f2699e;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
#embers { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.page { position: relative; z-index: 1; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 4, 13, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 26px; padding: 16px 0; }
.nav .logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ice);
  font-family: "Eater", cursive; font-size: 1.05rem; letter-spacing: .04em;
  text-shadow: 0 0 12px rgba(217,241,255,.3);
}
.nav .logo img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-weight: 700; font-size: .88rem;
  letter-spacing: .12em; text-transform: uppercase; transition: color .15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--ice); }
.nav-links a.active { text-shadow: 0 0 10px rgba(168,85,247,.6); }
.nav .cta {
  background: var(--purple); color: #fff; text-decoration: none;
  font-weight: 700; padding: 9px 18px; border-radius: 8px; font-size: .9rem;
  box-shadow: 0 0 18px rgba(168,85,247,.35); transition: background .15s ease;
}
.nav .cta:hover { background: #9333ea; }
.menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-btn span {
  display: block; width: 22px; height: 2px; background: var(--ice);
  margin: 5px 0; border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav { justify-content: space-between; gap: 10px; padding: 12px 0; position: relative; }
  .menu-btn { display: block; }
  .nav .logo {
    position: absolute; left: 50%; transform: translateX(-50%);
    font-size: .92rem; white-space: nowrap;
  }
  .nav .cta { padding: 8px 13px; font-size: .82rem; }
  .nav-links {
    display: none;
    position: fixed; top: 59px; left: 0; right: 0; z-index: 49;
    flex-direction: column; gap: 0; margin: 0;
    background: rgba(7, 4, 13, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 16px 24px; font-size: 1rem;
    border-top: 1px solid rgba(168, 85, 247, 0.12);
  }
}
/* Narrow phones: keep the centered logo clear of the hamburger and CTA */
@media (max-width: 440px) {
  .nav .logo { font-size: .72rem; gap: 0; }
  .nav .logo img { display: none; }
  .nav .cta { padding: 7px 11px; font-size: .74rem; }
  .menu-btn { padding: 6px; }
}

/* ---------- Glitch brand text ---------- */
.brand {
  font-family: "Eater", cursive;
  letter-spacing: 0.06em;
  color: var(--ice);
  position: relative;
  display: inline-block;
  text-shadow: 0 0 18px rgba(217, 241, 255, 0.35), 0 0 60px rgba(168, 85, 247, 0.35);
}
.brand::before, .brand::after {
  content: attr(data-text);
  position: absolute; inset: 0; opacity: 0.8; pointer-events: none;
}
.brand::before {
  color: var(--magenta); z-index: -1;
  clip-path: inset(0 0 60% 0);
  animation: glitchA 3.2s steps(2, end) infinite;
}
.brand::after {
  color: #67e8f9; z-index: -2;
  clip-path: inset(55% 0 0 0);
  animation: glitchB 2.7s steps(2, end) infinite;
}
@keyframes glitchA {
  0%, 91%, 100% { transform: translate(0); opacity: 0; }
  92% { transform: translate(-4px, 2px); opacity: .8; }
  94% { transform: translate(3px, -1px); opacity: .8; }
  96% { transform: translate(-2px, 1px); opacity: .6; }
  98% { transform: translate(0); opacity: 0; }
}
@keyframes glitchB {
  0%, 88%, 100% { transform: translate(0); opacity: 0; }
  89% { transform: translate(4px, -2px); opacity: .8; }
  92% { transform: translate(-3px, 2px); opacity: .7; }
  95% { transform: translate(2px, 0); opacity: .5; }
  97% { transform: translate(0); opacity: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  border-radius: 10px; padding: 14px 28px; font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer; border: none; font-family: inherit;
}
.btn-primary {
  background: var(--purple); color: #fff;
  box-shadow: 0 0 24px rgba(168,85,247,.4);
}
.btn-primary:hover { background: #9333ea; transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--ice);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--purple); box-shadow: 0 0 18px rgba(168,85,247,.25); }

/* ---------- Sections ---------- */
section { padding: 70px 0; position: relative; }
.kicker {
  color: var(--magenta); font-weight: 700; text-transform: uppercase;
  letter-spacing: .18em; font-size: .78rem;
}
.sec-head { margin-bottom: 38px; }
.sec-head h2 {
  font-family: "Eater", cursive; font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem); color: var(--ice); margin-top: 10px;
  text-shadow: 0 0 20px rgba(168,85,247,.35);
}
.sec-head p { color: var(--muted); margin-top: 10px; max-width: 560px; }

/* ---------- Promo slideshow ---------- */
/* Full-bleed: no section padding or borders, so the controls sit on the artwork itself */
.promo { position: relative; overflow: hidden; background: #0a0614; padding: 0; }
.promo-track { position: relative; height: clamp(360px, 38vw, 520px); }
.slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .7s ease;
}
.slide.active { opacity: 1; visibility: visible; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-fill { position: absolute; inset: 0; }
.slide-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,4,13,.94) 0%, rgba(7,4,13,.82) 30%, rgba(7,4,13,.35) 56%, rgba(7,4,13,.12) 100%);
}
/* Character group — anchored bottom, toward the middle/right of the banner */
.slide-chars {
  position: absolute; right: 2%; bottom: 0; top: 0;
  display: flex; align-items: flex-end; pointer-events: none;
}
.slide-chars img {
  display: block; width: auto; flex: 0 0 auto;   /* never let the pair squish to fit */
  filter: drop-shadow(0 14px 34px rgba(0,0,0,.6));
}
.slide-chars .ch-w { height: 93%; margin-right: clamp(-106px, -6.6vw, -38px); animation: driftLeft 20s ease-in-out infinite; }
.slide-chars .ch-m { height: 97%; animation: driftRight 20s ease-in-out infinite; }
@keyframes driftLeft  { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-15px); } }
@keyframes driftRight { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(15px); } }
/* Banner 2 — sized on its own so this pair reads at the same scale as banner 1 */
.slide-chars.chars-2 .ch-w { height: 91%; margin-right: clamp(-100px, -6.2vw, -36px); }
.slide-chars.chars-2 .ch-m { height: 99%; }

.slide-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.slide-copy { max-width: min(440px, 45%); }
.slide-copy .tagline {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--magenta);
  border: 1px solid rgba(232,121,249,.45); border-radius: 999px; padding: 5px 13px;
}
.slide-copy h2 {
  font-family: "Eater", cursive; font-weight: 400;
  font-size: clamp(1.5rem, 3.6vw, 2.6rem); color: var(--ice); margin: 16px 0 0;
  text-shadow: 0 0 22px rgba(168,85,247,.45);
}
.slide-copy h2 .w-ult { color: #ff3b3b; text-shadow: 0 0 22px rgba(255, 59, 59, .5); }
.slide-copy h2 .w-sup { color: #ffd23f; text-shadow: 0 0 22px rgba(255, 210, 63, .5); white-space: nowrap; }
.slide-copy p { color: #c6b9d8; margin-top: 12px; font-size: clamp(.9rem, 1.5vw, 1rem); }
.slide-copy .btn { margin-top: 22px; }

.promo-arrow {
  position: absolute; bottom: 14px; z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: transparent; border: none; color: var(--ice);
  font-size: 1.9rem; line-height: 1; display: grid; place-items: center;
  /* transparent over artwork — the shadow keeps the chevron readable on light frames */
  text-shadow: 0 1px 5px rgba(0,0,0,.85), 0 0 14px rgba(0,0,0,.6);
  transition: color .15s ease, transform .15s ease;
}
.promo-arrow:hover { color: var(--magenta); transform: scale(1.15); }
.promo-arrow.prev { right: 68px; }
.promo-arrow.next { right: 14px; }

.promo-dots { position: absolute; bottom: 28px; left: 26px; z-index: 5; display: flex; gap: 9px; }
.promo-dots button {
  width: 9px; height: 9px; border-radius: 50%; cursor: pointer; padding: 0;
  background: rgba(255,255,255,.45); border: none;
  box-shadow: 0 1px 4px rgba(0,0,0,.7);
  transition: background .2s ease, width .2s ease;
}
.promo-dots button.active { background: var(--purple); width: 26px; border-radius: 6px; }

/* Mid widths: shrink the pair so it never crowds the copy */
@media (max-width: 1150px) {
  .slide-chars .ch-w { height: 79%; }
  .slide-chars .ch-m { height: 82%; }
  .slide-chars.chars-2 .ch-w { height: 77%; }
  .slide-chars.chars-2 .ch-m { height: 84%; }
}
/* Mobile: copy stacks on top, the pair sits full-width along the bottom */
@media (max-width: 760px) {
  .promo-track { height: 640px; }
  .slide-scrim {
    background: linear-gradient(180deg, rgba(7,4,13,.92) 0%, rgba(7,4,13,.86) 38%, rgba(7,4,13,.3) 62%, rgba(7,4,13,.5) 100%);
  }
  /* Phones: bigger pair, centered, instead of tucked into the right corner */
  .slide-chars { left: 50%; right: auto; width: max-content; transform: translateX(-50%); }
  .slide-chars .ch-w { height: 50%; margin-right: -40px; }
  .slide-chars .ch-m { height: 53%; }
  .slide-chars.chars-2 .ch-w { height: 49%; margin-right: -40px; }
  .slide-chars.chars-2 .ch-m { height: 52%; }
  .slide-inner { align-items: flex-start; padding-top: 30px; }
  .slide-copy { max-width: 100%; }
  .slide-copy h2 { font-size: 1.55rem; margin-top: 12px; }
  .slide-copy p { margin-top: 10px; }
  .slide-copy .btn { margin-top: 18px; padding: 12px 24px; }
  .promo-arrow { width: 38px; height: 38px; bottom: 12px; }
  .promo-arrow.prev { right: 56px; } .promo-arrow.next { right: 10px; }
  .promo-dots { bottom: 22px; left: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
  .slide-chars .ch-w, .slide-chars .ch-m { animation: none; }
}

/* ---------- Product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .prod-grid { grid-template-columns: 1fr; } }
.prod {
  background: var(--panel); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.prod:hover {
  transform: translateY(-5px);
  border-color: var(--purple);
  box-shadow: 0 14px 40px rgba(168,85,247,.22);
}
.prod .cover { aspect-ratio: 4 / 3; display: block; width: 100%; overflow: hidden; }
.prod .cover svg { width: 100%; height: 100%; display: block; }
.prod .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prod .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.prod .tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--magenta); margin-bottom: 6px;
}
.prod h3 { font-size: 1.08rem; color: var(--text); font-weight: 700; }
.prod p.desc { color: var(--muted); font-size: .88rem; margin-top: 6px; flex: 1; }
.prod .row {
  display: flex; align-items: center; justify-content: space-between; margin-top: 16px;
}
.prod .price { font-weight: 700; font-size: 1.15rem; color: var(--ice); }
.prod .price s { color: var(--muted); font-weight: 400; font-size: .85rem; margin-right: 6px; }
.prod .buy {
  background: var(--purple); color: #fff; text-decoration: none; font-weight: 700;
  padding: 10px 18px; border-radius: 8px; font-size: .88rem;
  transition: background .15s ease, box-shadow .15s ease;
}
.prod .buy:hover { background: #9333ea; box-shadow: 0 0 16px rgba(168,85,247,.5); }

/* ---------- Smooth page transitions ----------
   Modern browsers morph the product cover between pages; older ones
   just navigate normally, so nothing breaks. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------- Product detail page ---------- */
.crumbs { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; padding: 26px 0 4px; font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ice); }
.crumbs b { color: var(--ice); font-weight: 600; }
.crumbs span { opacity: .45; }

.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; padding: 22px 0 60px; align-items: start; }
@media (max-width: 860px) { .pd { grid-template-columns: 1fr; gap: 26px; } }
.pd-media {
  border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  background: #120a20; position: sticky; top: 92px;
}
@media (max-width: 860px) { .pd-media { position: static; } }
.pd-media svg, .pd-media img { width: 100%; height: auto; display: block; }

.pd-badge {
  display: inline-block; background: var(--magenta); color: #2a0b33;
  font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 6px; margin-bottom: 12px;
}
.pd-tag { display: block; color: var(--magenta); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.pd-info h1 {
  font-family: "Eater", cursive; font-weight: 400; color: var(--ice);
  font-size: clamp(1.6rem, 4vw, 2.5rem); margin: 10px 0 14px; line-height: 1.15;
  text-shadow: 0 0 22px rgba(168,85,247,.4);
}
.pd-price { font-size: 1.9rem; font-weight: 700; color: var(--ice); }
.pd-price s { color: var(--muted); font-size: 1.1rem; font-weight: 400; margin-right: 10px; }
.pd-blurb { color: var(--muted); margin-top: 12px; line-height: 1.6; }
.buy-btn { display: block; text-align: center; margin-top: 24px; padding: 17px 28px; font-size: 1.05rem; }
.pd-secure { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 10px; }
.pd-block { margin-top: 30px; border-top: 1px solid rgba(168,85,247,.16); padding-top: 22px; }
.pd-block h2 { font-size: 1rem; color: var(--ice); letter-spacing: .04em; margin-bottom: 10px; }
.pd-block p { color: var(--muted); line-height: 1.65; }
.pd-list { list-style: none; display: grid; gap: 9px; }
.pd-list li { color: var(--muted); padding-left: 26px; position: relative; line-height: 1.5; }
.pd-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--magenta); font-weight: 700;
}
.pd-more { padding: 10px 0 70px; border-top: 1px solid rgba(168,85,247,.14); }
.prod-missing { text-align: center; padding: 90px 0; }
.prod-missing p { color: var(--muted); margin: 14px 0 26px; }

/* product cards rendered as links */
a.prod { text-decoration: none; }
a.prod .cover, a.prod .body { display: block; }
a.prod .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
a.prod .pname { font-size: 1.08rem; color: var(--text); font-weight: 700; }
a.prod .desc { color: var(--muted); font-size: .88rem; margin-top: 6px; flex: 1; }
a.prod .row { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
a.prod .buy { display: inline-block; }

/* ---------- Series page ---------- */
.series { padding: 54px 0; border-bottom: 1px solid rgba(168,85,247,.14); }
.series:last-child { border-bottom: none; }
.series-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 34px; align-items: center; }
@media (max-width: 820px) { .series-top { grid-template-columns: 1fr; gap: 22px; } }

.series-poster {
  position: relative; display: block; width: 100%; padding: 0; cursor: pointer;
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  background: #120a20; aspect-ratio: 16 / 9;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.series-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.series-poster:hover { transform: translateY(-4px); border-color: var(--purple); box-shadow: 0 16px 40px rgba(168,85,247,.28); }
.series-poster .play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(7,4,13,.15), rgba(7,4,13,.55));
}
.series-poster .play svg {
  width: 64px; height: 64px; fill: #fff;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.7));
  transition: transform .18s ease, fill .18s ease;
}
.series-poster:hover .play svg { transform: scale(1.12); fill: var(--magenta); }

.series-info h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); margin-bottom: 10px; }
.series-meta { color: var(--magenta); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; display: flex; gap: 10px; flex-wrap: wrap; }
.series-meta .sep { opacity: .5; }
.series-blurb { color: var(--muted); margin-top: 14px; line-height: 1.6; }
.series-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.series-actions .btn { padding: 12px 22px; font-size: .95rem; }

.ep-strip {
  margin-top: 28px; display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px;
  scroll-snap-type: x proximity;
}
.ep-strip::-webkit-scrollbar { height: 8px; }
.ep-strip::-webkit-scrollbar-track { background: rgba(168,85,247,.08); border-radius: 4px; }
.ep-strip::-webkit-scrollbar-thumb { background: rgba(168,85,247,.45); border-radius: 4px; }
.ep {
  flex: 0 0 200px; scroll-snap-align: start; cursor: pointer; text-align: left;
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  padding: 0 0 12px; overflow: hidden; color: var(--text);
  font-family: inherit; text-decoration: none;
  display: flex; flex-direction: column; gap: 6px;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.ep:hover { transform: translateY(-3px); border-color: var(--purple); box-shadow: 0 10px 26px rgba(168,85,247,.2); }
.ep-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #120a20; }
.ep-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-num {
  position: absolute; left: 8px; top: 8px; font-size: .7rem; font-weight: 700;
  background: rgba(7,4,13,.8); color: var(--ice); padding: 3px 8px; border-radius: 6px;
}
.ep-title {
  padding: 0 12px; font-size: .85rem; font-weight: 600; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ep-views { padding: 0 12px; font-size: .75rem; color: var(--muted); margin-top: auto; }
.ep-more { align-items: center; justify-content: center; padding: 0; }
.ep-more-inner { text-align: center; color: var(--magenta); font-weight: 700; font-size: .9rem; line-height: 1.5; }
.ep-more-inner small { color: var(--muted); font-weight: 500; }

/* Player overlay */
.player {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: rgba(4, 2, 9, .93); backdrop-filter: blur(6px); padding: 20px;
}
.player[hidden] { display: none; }
.player-inner { width: min(1100px, 100%); }
.player-bar { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.player-title {
  font-family: "Eater", cursive; color: var(--ice); font-size: clamp(.95rem, 2.4vw, 1.3rem);
  text-shadow: 0 0 18px rgba(168,85,247,.5);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.player-close {
  margin-left: auto; flex-shrink: 0; cursor: pointer;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(168,85,247,.15); border: 1px solid var(--border); color: var(--ice);
  font-size: 1.1rem; line-height: 1; transition: background .15s ease, border-color .15s ease;
}
.player-close:hover { background: rgba(168,85,247,.4); border-color: var(--purple); }
.player-frame {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border-radius: 14px; overflow: hidden; background: #000;
  box-shadow: 0 24px 70px rgba(0,0,0,.7), 0 0 0 1px var(--border);
}
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Latest posts feed ---------- */
.feed-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.chip {
  font-family: inherit; font-size: .88rem; font-weight: 600; cursor: pointer;
  padding: 9px 18px; border-radius: 999px;
  background: transparent; color: var(--muted);
  border: 1px solid var(--border);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.chip:hover { color: var(--ice); border-color: var(--purple); }
.chip.active { background: rgba(168,85,247,.18); color: var(--ice); border-color: var(--purple); }

.feed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .feed-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .feed-grid { grid-template-columns: 1fr; } }

.feed-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
  text-decoration: none; color: var(--text);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feed-card:hover {
  transform: translateY(-4px); border-color: var(--purple);
  box-shadow: 0 12px 32px rgba(168,85,247,.2);
}
.feed-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #120a20; }
.feed-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feed-card.no-thumb .feed-body { padding-top: 20px; }
.feed-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.feed-title {
  font-weight: 700; font-size: .96rem; line-height: 1.35; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.feed-meta {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  color: var(--muted); font-size: .8rem; margin-top: auto;
}
.feed-plat { display: inline-flex; align-items: center; gap: 6px; color: var(--ice); font-weight: 600; }
.feed-plat svg { width: 14px; height: 14px; fill: currentColor; }
.feed-dot { opacity: .6; }
.feed-empty { color: var(--muted); text-align: center; padding: 20px 0; }
.feed-empty a { color: var(--magenta); }

/* ---------- Footer ---------- */
footer.site {
  border-top: 1px solid var(--border);
  padding: 44px 0 90px; color: var(--muted); font-size: .88rem;
}
footer.site .cols {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center;
}
footer.site .foot-brand { font-family: "Eater", cursive; color: var(--ice); font-size: 1rem; }
footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--ice); }

@media (prefers-reduced-motion: reduce) {
  .brand::before, .brand::after { animation: none; }
  #embers { display: none; }
}
