/* ============================================
   BRAINS, BRAINS, BRAINS
   1970s living-room television
   Fraunces (display) + Jost (text)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght,SOFT,WONK@0,9..144,100..900,0..100,0..1;1,9..144,100..900,0..100,0..1&family=Jost:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* ---- Tokens ---- */
:root {
  /* Room + surfaces */
  --bg-primary:     #1a130d;   /* living-room dark */
  --bg-secondary:   #211810;
  --bg-card:        #231a12;
  --bg-card-hover:  #2a1f15;

  /* 70s accents */
  --tangerine:      #e2702f;
  --gold:           #d9a33a;
  --cream:          #efe3c8;
  --avocado:        #8a9a4b;
  --walnut:         #57371f;
  --osd-green:      #9fe0a0;

  /* Legacy names, remapped so every page picks up the new look */
  --accent-red:        var(--tangerine);
  --accent-red-bright: #f08545;
  --accent-red-dark:   #6b3217;
  --accent-amber:      var(--gold);
  --accent-amber-dim:  #7a5a22;
  --accent-green:      var(--avocado);
  --accent-green-bright: #a6b865;
  --phosphor:          var(--cream);
  --phosphor-dim:      #b3a07f;
  --phosphor-bright:   #f8eed8;

  --text-primary:   #efe3c8;
  --text-secondary: #d6c6a6;
  --text-muted:     #b3a07f;
  --border-color:   #3a2b1d;
  --border-accent:  #4a3522;

  --font-display: 'Fraunces', 'Cooper Black', Georgia, serif;
  --font-text:    'Jost', 'Futura', 'Century Gothic', sans-serif;
  --font-title:   var(--font-display);
  --font-horror:  var(--font-display);
  --font-heading: var(--font-text);   /* small labels & numbers on inner pages */
  --font-ui:      var(--font-text);
  --font-body:    var(--font-text);

  /* Glows retired — the TV screen is the only thing that glows */
  --glow-red:    none;
  --glow-amber:  none;
  --glow-text:   none;
  --shadow-card: 0 18px 40px -18px rgba(0,0,0,0.7);

  --radius: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --tube: 30px / 24px;          /* CRT corner shape for images */
  --transition: 0.2s ease;

  --stripe: linear-gradient(180deg,
    var(--tangerine) 0 33.33%, var(--gold) 33.33% 66.66%, var(--cream) 66.66% 100%);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--cream); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-variation-settings: 'SOFT' 100, 'WONK' 0;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.fr, .vhs-title, .page-hero-title, .section-title, .card-title, .nav-logo, .cta-strip h2,
.product-name, .video-info h3, .blog-mini-info h4 {
  font-variation-settings: 'SOFT' 100, 'WONK' 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}
.section-title span { color: inherit; }   /* no single-word accenting */

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}
.blood-divider { display: none; }

/* ---- Layout ---- */
.container { max-width: 1312px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.section--dark { background: var(--bg-secondary); }
.section--darker { background: var(--bg-primary); }
.section-header-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; margin-bottom: 2.75rem; flex-wrap: wrap;
}
.view-all {
  font-size: 1rem; font-weight: 500; color: var(--text-primary);
  padding-bottom: 3px; border-bottom: 1.5px solid var(--tangerine);
}
.view-all:hover { color: var(--gold); border-color: var(--gold); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  text-decoration: none;
  line-height: 1.2;
}
.btn-primary { background: var(--tangerine); color: #1a120b; }
.btn-primary:hover { background: var(--accent-red-bright); color: #1a120b; }
.btn-outline { background: transparent; color: var(--cream); border-color: var(--cream); font-weight: 500; }
.btn-outline:hover { background: var(--cream); color: #1a120b; }
.btn-ghost { background: transparent; color: var(--text-secondary); border-color: var(--border-accent); font-weight: 500; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---- Header ---- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(26, 19, 13, 0.96);
  backdrop-filter: blur(8px);
}
.site-header::after {           /* the 70s triple stripe */
  content: ''; display: block; height: 12px; background: var(--stripe);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px; padding: 0 2rem; max-width: 1376px; margin: 0 auto;
}
.nav-logo {
  display: flex; flex-direction: column; gap: 3px;
  font-family: var(--font-display);
  font-size: 1.75rem; font-weight: 800; font-style: italic;
  letter-spacing: -0.01em; line-height: 1;
  color: var(--cream);
}
.nav-logo:hover { color: var(--cream); }
.nav-logo .logo-sub {
  font-family: var(--font-text); font-style: normal; font-weight: 400;
  font-size: 0.8rem; letter-spacing: 0.01em; color: var(--text-muted);
}
.nav-logo span { color: inherit; }
.nav-links { display: flex; align-items: center; gap: 0.35rem; }
.nav-links a {
  font-size: 1rem; font-weight: 500; color: var(--text-primary);
  padding: 0.5rem 0.8rem; border-radius: var(--radius-pill);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--tangerine); }
.nav-links .nav-shop {
  margin-left: 0.6rem; padding: 0.6rem 1.35rem;
  border: 1.5px solid var(--cream); color: var(--cream);
}
.nav-links .nav-shop:hover, .nav-links .nav-shop.active { background: var(--cream); color: #1a120b; }
.nav-toggle {
  display: none; flex-direction: column; gap: 6px; cursor: pointer;
  padding: 10px; background: none; border: none; border-radius: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--cream); }

/* ============================================
   THE TELEVISION (homepage hero)
   ============================================ */
.tv-stage {
  /* header (96px) + room for the rabbit ears; the TV fills the rest of the screen */
  --ears: 120px;
  padding: calc(96px + var(--ears)) clamp(0.75rem, 2vw, 2.5rem) 1.25rem;
  background: radial-gradient(ellipse at 50% 60%, #2e2117 0%, var(--bg-primary) 62%);
  display: flex; justify-content: center;
}
.tv { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; }

/* Rabbit ears */
.tv-antenna { position: absolute; z-index: 1; left: 50%; top: -160px; width: 160px; height: 176px; margin-left: -120px; pointer-events: none; }
.tv-antenna .rod {
  position: absolute; left: 78px; bottom: 20px; width: 4px; border-radius: 2px;
  background: linear-gradient(90deg, #7d7a74 0%, #f2efe8 45%, #8a867e 100%);
}
.tv-antenna .rod::before {
  content: ''; position: absolute; left: -2px; top: -4px; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #9a968e 70%);
}
.tv-antenna .rod-l { height: 160px; transform: rotate(-30deg); transform-origin: 2px 160px; }
.tv-antenna .rod-r { height: 150px; transform: rotate(24deg);  transform-origin: 2px 150px; }
.tv-antenna .base {
  position: absolute; left: 40px; bottom: 0; width: 80px; height: 30px;
  border-radius: 40px 40px 6px 6px;
  background: radial-gradient(ellipse at 40% 25%, #4a4038 0%, #221b16 70%);
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

/* Walnut cabinet */
.tv-cabinet {
  position: relative; width: 100%;
  /* fill the viewport height: screen minus header, ears, legs and floor */
  min-height: calc(100vh - 96px - var(--ears) - 76px);
  min-height: calc(100svh - 96px - var(--ears) - 76px);
  display: grid; grid-template-columns: minmax(0, 1fr) 196px; gap: 28px;
  padding: clamp(18px, 2.4vw, 40px); border-radius: clamp(26px, 3vw, 48px);
  background:
    linear-gradient(180deg, rgba(255,226,180,0.16) 0%, rgba(255,226,180,0) 9%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.38) 100%),
    radial-gradient(ellipse 120px 26px at 88% 88%, rgba(40,22,10,0.55) 0%, rgba(40,22,10,0) 100%),
    radial-gradient(ellipse 90px 20px at 15% 9%, rgba(40,22,10,0.4) 0%, rgba(40,22,10,0) 100%),
    repeating-linear-gradient(89deg, rgba(0,0,0,0.10) 0, rgba(0,0,0,0) 1px, rgba(0,0,0,0) 23px, rgba(0,0,0,0.07) 25px, rgba(0,0,0,0) 26px, rgba(0,0,0,0) 61px),
    repeating-linear-gradient(91deg, #5a3920 0, #4b2f1b 3px, #603e24 7px, #4e311c 12px, #573720 14px, #45291a 19px, #5b3a22 26px, #4c2f1b 31px);
  box-shadow: 0 50px 70px -20px rgba(0,0,0,0.75), inset 0 3px 0 rgba(255,226,180,0.25),
              inset 0 0 0 2px rgba(0,0,0,0.25), inset 0 -6px 0 rgba(0,0,0,0.35);
}

/* Bezel, chrome ring, glass */
.tv-bezel {
  padding: 24px; border-radius: 32px;
  background: linear-gradient(165deg, #312a23 0%, #1a1511 55%, #120e0b 100%);
  box-shadow: inset 0 4px 8px rgba(0,0,0,0.75), inset 0 -1px 0 rgba(255,226,180,0.08), 0 2px 0 rgba(255,226,180,0.14);
}
.tv-trim {
  height: 100%; padding: 5px; border-radius: calc(clamp(40px, 5vw, 90px) + 4px) / calc(clamp(32px, 4vw, 72px) + 4px);
  background: linear-gradient(160deg, #d9d5cc 0%, #6e6a63 30%, #b9b4aa 55%, #4a4640 80%, #a29d93 100%);
  box-shadow: 0 0 0 2px #0b0907;
}
.tv-screen {
  position: relative; height: 100%; min-height: 0; overflow: hidden;
  border-radius: clamp(40px, 5vw, 90px) / clamp(32px, 4vw, 72px);
  background: radial-gradient(ellipse at 50% 46%, #3e3629 0%, #221d16 50%, #0c0a07 88%, #050403 100%);
  box-shadow: inset 0 0 110px rgba(0,0,0,0.92), inset 0 0 24px rgba(0,0,0,0.9), inset 0 0 0 1px rgba(255,255,255,0.05);
  display: flex;
}
.tv-picture {             /* optional still behind the words */
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0.32; filter: sepia(0.55) saturate(0.7) contrast(1.05) blur(0.4px);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.9) 65%);
          mask-image: linear-gradient(90deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.9) 65%);
}
.tv-content {
  position: relative; z-index: 2; width: 100%;
  padding: clamp(28px, 5vh, 88px) clamp(44px, 5.5vw, 120px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem;
}
.tv-osd {
  display: flex; justify-content: space-between;
  font-size: 1.05rem; font-weight: 600; letter-spacing: 0.12em;
  color: var(--osd-green); text-shadow: 0 0 10px rgba(140,230,140,0.55);
}
.tv-main { display: flex; flex-direction: column; gap: clamp(0.7rem, 1.9vh, 1.5rem); }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, min(6.6vw, 9.5vh), 9rem);
  font-weight: 900; line-height: 0.92; letter-spacing: -0.02em;
  color: #f6ead0;
  text-shadow: 0 0 22px rgba(255,220,160,0.35), 0 0 3px rgba(255,235,200,0.6),
               1px 0 0 rgba(255,80,60,0.25), -1px 0 0 rgba(80,160,255,0.2);
}
.hero-tagline {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 2.2rem);
  color: #e8c98c; text-shadow: 0 0 12px rgba(230,180,90,0.35);
}
.hero-description { max-width: 34em; font-size: clamp(1.05rem, 1.2vw, 1.35rem); line-height: 1.6; color: #cdbd9c; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 0.4rem; }
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; font-size: 1rem; color: var(--text-muted); }
.hero-stat-number { font-size: 1.4rem; font-weight: 600; color: var(--cream); margin-right: 0.35rem; }

/* Glass effects (never catch clicks) */
.tv-fx { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.tv-mask { opacity: 0.5; background: repeating-linear-gradient(90deg,
  rgba(255,60,40,0.05) 0 1px, rgba(60,255,90,0.05) 1px 2px, rgba(60,110,255,0.05) 2px 3px); }
.tv-scan { opacity: 0.22; background: repeating-linear-gradient(0deg,
  rgba(0,0,0,0.9) 0 1px, rgba(0,0,0,0) 1px 3px); }
.tv-curve { background: radial-gradient(ellipse 62% 66% at 50% 50%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.55) 100%); }
.tv-window {
  inset: auto; left: 7%; top: 5%; width: 30%; height: 28%; border-radius: 36px;
  background: linear-gradient(155deg, rgba(255,248,230,0.11) 0%, rgba(255,248,230,0.03) 55%, rgba(255,248,230,0) 80%);
  filter: blur(7px);
}
.tv-edge {
  inset: auto; left: 10%; right: 10%; top: 10px; height: 60px; border-radius: 50%;
  border-top: 2px solid rgba(255,250,240,0.10); filter: blur(1.5px);
}
.tv-sheen { background: linear-gradient(115deg, rgba(255,255,255,0) 58%, rgba(255,245,225,0.045) 64%, rgba(255,255,255,0) 72%); }

/* Controls */
.tv-controls { display: flex; flex-direction: column; gap: 22px; }
.tv-speaker {
  position: relative; height: auto; flex: 1 1 120px; min-height: 90px; max-height: 320px; border-radius: 14px; overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,0.35) 0 1px, rgba(0,0,0,0) 1px 3px),
    repeating-linear-gradient(-45deg, rgba(255,220,170,0.08) 0 1px, rgba(0,0,0,0) 1px 3px),
    #3b2a1c;
  box-shadow: inset 0 3px 8px rgba(0,0,0,0.8);
  display: flex; justify-content: space-evenly;
}
.tv-speaker i {
  width: 9px; height: 100%;
  background: linear-gradient(90deg, #6a4527 0%, #4a2e1a 100%); box-shadow: 2px 0 4px rgba(0,0,0,0.5);
}
.tv-panel {
  flex: 0 0 auto; border-radius: 14px; padding: 14px 0 16px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 1px, rgba(0,0,0,0.03) 1px 2px),
    linear-gradient(90deg, #8f8a80 0%, #d8d3c8 35%, #b3ada2 60%, #7d786f 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), inset 0 -2px 3px rgba(0,0,0,0.3), 0 2px 4px rgba(0,0,0,0.5);
  color: #2a2018; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
}
.tv-dial { position: relative; width: 150px; height: 150px; }
.tv-dial .ch {
  position: absolute; left: 64px; top: 67px; width: 22px; height: 16px;
  text-align: center; font-size: 0.72rem; line-height: 16px; letter-spacing: 0;
  transform: rotate(var(--a)) translateY(-66px) rotate(calc(-1 * var(--a)));
}
.tv-dial .ch.on { color: #b44a18; }
.knob {
  position: absolute; border-radius: 50%;
  background: repeating-conic-gradient(#1e1814 0deg 5deg, #3c332c 5deg 10deg);
  box-shadow: 0 6px 10px rgba(0,0,0,0.55);
}
.knob::before {       /* chrome cap */
  content: ''; position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #f4efe4 0%, #b6afa2 42%, #5e574e 100%);
  box-shadow: inset 0 -3px 5px rgba(0,0,0,0.35);
}
.knob::after {        /* pointer */
  content: ''; position: absolute; left: calc(50% - 2px); top: 16%; width: 4px; height: 34%;
  border-radius: 2px; background: #2a2018;
  transform: rotate(var(--turn, 0deg)); transform-origin: 2px 100%;
}
.tv-dial .knob { left: 26px; top: 26px; width: 98px; height: 98px; --turn: 30deg; }
.tv-dial .knob::after { background: var(--tangerine); }
.tv-small-knobs { display: flex; gap: 22px; margin-top: 6px; }
.tv-small-knobs > div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.knob-sm { position: relative; width: 50px; height: 50px; }
.knob-sm::after { width: 2px; left: calc(50% - 1px); transform-origin: 1px 100%; }
.tv-power { margin-top: 10px; display: flex; align-items: center; gap: 12px; }
.tv-power .button {
  width: 44px; height: 20px; border-radius: 4px;
  background: linear-gradient(180deg, #3a322b 0%, #15110e 100%);
  box-shadow: 0 2px 0 #0b0907, inset 0 1px 0 rgba(255,255,255,0.15);
}
.tv-power .lamp { width: 9px; height: 9px; border-radius: 50%; background: var(--tangerine); box-shadow: 0 0 8px var(--tangerine), 0 0 2px #fff; }

/* Legs + floor shadow */
.tv-legs { width: 86%; flex-shrink: 0; height: 56px; display: flex; justify-content: space-between; }
.tv-legs i {
  width: 34px; height: 56px;
  background: linear-gradient(90deg, #6a4527 0%, #3e2616 100%);
  clip-path: polygon(0 0, 100% 0, 70% 100%, 45% 100%);
  transform: rotate(8deg); transform-origin: 50% 0;
}
.tv-legs i + i { clip-path: polygon(0 0, 100% 0, 55% 100%, 30% 100%); transform: rotate(-8deg); }
.tv-floor {
  width: 90%; height: 26px; margin-top: -14px; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 70%);
}

/* ============================================
   REALISM PASS — quieter materials, room light, film grain
   ============================================ */
:root {
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* The room: dim, lit from above-left, heavy vignette, grain over everything */
.tv-stage {
  position: relative; isolation: isolate;
  background:
    radial-gradient(ellipse 60% 55% at 38% 30%, rgba(255,214,160,0.07) 0%, rgba(255,214,160,0) 70%),
    radial-gradient(ellipse at 50% 55%, #241a12 0%, #140e09 70%, #0c0805 100%);
}
.tv-stage::after {
  content: ''; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background-image: var(--noise); background-size: 240px 240px;
  opacity: 0.16; mix-blend-mode: overlay;
  animation: grain-shift 0.9s steps(6) infinite;
}
.tv-stage::before {                         /* lens vignette */
  content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: radial-gradient(ellipse 85% 80% at 50% 50%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%);
}
@keyframes grain-shift {
  0% { background-position: 0 0; }       20% { background-position: -37px 21px; }
  40% { background-position: 58px -44px; } 60% { background-position: -12px 73px; }
  80% { background-position: 91px 8px; }   100% { background-position: -66px -29px; }
}

/* Cabinet: matte veneer, less contrast, squarer, lit from one side */
.tv-cabinet {
  border-radius: clamp(14px, 1.5vw, 26px);
  background:
    linear-gradient(100deg, rgba(255,220,170,0.07) 0%, rgba(255,220,170,0) 35%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.30) 100%),
    linear-gradient(180deg, rgba(255,226,180,0.08) 0%, rgba(0,0,0,0) 12%, rgba(0,0,0,0) 75%, rgba(0,0,0,0.32) 100%),
    repeating-linear-gradient(90.6deg, rgba(0,0,0,0.06) 0, rgba(0,0,0,0) 2px, rgba(0,0,0,0) 17px, rgba(0,0,0,0.05) 19px, rgba(0,0,0,0) 20px, rgba(0,0,0,0) 47px),
    repeating-linear-gradient(90.3deg, #3f2918 0, #3a2516 4px, #432c1a 9px, #3b2617 15px, #412a19 22px, #372314 29px),
    #3d2818;
  box-shadow:
    0 60px 90px -30px rgba(0,0,0,0.85),
    0 8px 18px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,226,180,0.14),
    inset 1px 0 0 rgba(255,226,180,0.06),
    inset 0 -3px 6px rgba(0,0,0,0.35);
}
.tv-cabinet::after {                        /* veneer grain */
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background-image: var(--noise); background-size: 180px 180px;
  opacity: 0.22; mix-blend-mode: multiply;
}

/* Bezel: dull moulded plastic */
.tv-bezel {
  border-radius: clamp(12px, 1.2vw, 20px);
  background: linear-gradient(170deg, #26211c 0%, #191511 60%, #110e0b 100%);
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.7), inset 0 -1px 0 rgba(255,226,180,0.05), 0 1px 0 rgba(255,226,180,0.07);
}
/* Trim: thin smoked metal instead of bright chrome */
.tv-trim {
  padding: 2px;
  background: linear-gradient(160deg, #6d665c 0%, #34302b 35%, #57514a 60%, #221f1b 100%);
  box-shadow: 0 0 0 1px #070605;
}

/* Screen: deeper black glass, heavier falloff, animated static */
.tv-screen {
  background: radial-gradient(ellipse at 50% 46%, #312b22 0%, #1a1611 50%, #080705 90%, #030302 100%);
  box-shadow: inset 0 0 140px rgba(0,0,0,0.95), inset 0 0 30px rgba(0,0,0,0.9), inset 0 0 0 1px rgba(255,255,255,0.03);
}
.tv-grain {
  background-image: var(--noise); background-size: 200px 200px;
  opacity: 0.11; mix-blend-mode: screen;
  animation: grain-shift 0.5s steps(5) infinite;
}
.tv-picture { opacity: 0.26; filter: sepia(0.5) saturate(0.55) contrast(1.1) blur(0.6px); }
.hero-title { text-shadow: 0 0 18px rgba(255,220,160,0.22), 0 0 2px rgba(255,235,200,0.45), 1px 0 0 rgba(255,80,60,0.18), -1px 0 0 rgba(80,160,255,0.14); }
.tv-window { opacity: 0.7; }
.tv-edge { border-top-color: rgba(255,250,240,0.06); }

/* Rabbit ears: thinner, duller, with a soft shadow */
.tv-antenna .rod { width: 3px; background: linear-gradient(90deg, #4f4b45 0%, #a9a49b 45%, #57534c 100%); filter: drop-shadow(0 6px 6px rgba(0,0,0,0.5)); }
.tv-antenna .rod::before { left: -2px; width: 7px; height: 7px; background: radial-gradient(circle at 35% 30%, #c9c4ba 0%, #5c5850 75%); }
.tv-antenna .base { background: radial-gradient(ellipse at 40% 25%, #2e2823 0%, #14100d 75%); }

/* Speaker + control plate: aged, not shiny */
.tv-speaker { background:
    repeating-linear-gradient(45deg, rgba(0,0,0,0.4) 0 1px, rgba(0,0,0,0) 1px 3px),
    repeating-linear-gradient(-45deg, rgba(255,220,170,0.05) 0 1px, rgba(0,0,0,0) 1px 3px),
    #2b1f15; }
.tv-speaker i { width: 8px; background: linear-gradient(90deg, #45301d 0%, #2f1f12 100%); box-shadow: 2px 0 3px rgba(0,0,0,0.55); }
.tv-panel {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, rgba(0,0,0,0.035) 1px 2px),
    linear-gradient(95deg, #5d5850 0%, #8e877b 38%, #777166 62%, #4f4b44 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -2px 3px rgba(0,0,0,0.35), 0 1px 3px rgba(0,0,0,0.6);
  color: #1d1610;
}
.knob { background: repeating-conic-gradient(#141110 0deg 5deg, #26211d 5deg 10deg); box-shadow: 0 5px 9px rgba(0,0,0,0.6); }
.knob::before { background: radial-gradient(circle at 38% 30%, #a8a195 0%, #6f685e 48%, #36312b 100%); }
.tv-dial .ch.on { color: #7a2f0e; }
.tv-power .lamp { background: #b8541f; box-shadow: 0 0 6px rgba(226,112,47,0.7); }

/* Legs + floor: darker, softer */
.tv-legs i { background: linear-gradient(90deg, #3e2817 0%, #22150b 100%); }
.tv-floor { height: 34px; margin-top: -20px; background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 72%); filter: blur(4px); }

/* ---- Now showing band (was the ticker) ---- */
.ticker-wrap {
  background: var(--cream); color: #2a1d12;
  display: flex; align-items: center; gap: 1.75rem;
  height: 64px; padding-left: 2rem; overflow: hidden; white-space: nowrap;
}
.ticker-label {
  flex-shrink: 0; position: relative; z-index: 1; padding-right: 1.25rem; background: var(--cream);
  font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.35rem;
  color: var(--tangerine);
}
.ticker-content {
  display: inline-block; animation: ticker 60s linear infinite;
  font-size: 1.1rem; font-weight: 500;
}
.ticker-content span { margin: 0 1.1rem; color: #b8813a; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 14px;
  transition: border-color var(--transition), background var(--transition);
  position: relative;
}
.card:hover { border-color: var(--border-accent); background: var(--bg-card-hover); }

/* Every image is a little TV screen */
.card-image, .product-image, .game-thumb, .list-post-thumb, .blog-mini-thumb {
  position: relative; overflow: hidden;
  border-radius: var(--tube);
  background: radial-gradient(ellipse at 50% 45%, #45362a 0%, #221a12 60%, #0e0a07 100%);
}
.card-image { aspect-ratio: 16/10; }
.card-image img, .product-image img, .game-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  filter: sepia(0.18) saturate(0.9) contrast(1.03);
  transition: filter 0.4s ease;
}
.card:hover .card-image img { filter: none; }
.card-image::after, .product-image::after, .game-thumb::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background:
    radial-gradient(ellipse 70% 45% at 28% 12%, rgba(255,245,225,0.12) 0%, rgba(255,245,225,0) 70%),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.18) 0 1px, rgba(0,0,0,0) 1px 3px);
  box-shadow: inset 0 0 44px rgba(0,0,0,0.75);
}

.card-badge {
  position: absolute; top: 14px; left: 16px; z-index: 2;
  background: var(--gold); color: #1a120b;
  font-size: 0.8rem; font-weight: 600;
  padding: 0.25rem 0.8rem; border-radius: var(--radius-pill);
}
.card-badge--green { background: var(--avocado); color: #14100a; }

.card-body { padding: 1.1rem 0.6rem 0.6rem; }
.card-category { font-size: 0.9rem; font-weight: 500; color: var(--gold); margin-bottom: 0.35rem; }
.card-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.55rem; line-height: 1.15; color: var(--text-primary); margin-bottom: 0.45rem;
}
.card-excerpt { font-size: 1rem; color: var(--text-secondary); line-height: 1.6; margin: 0.4rem 0 0.9rem; }
.card-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 0.9rem; flex-wrap: wrap;
  font-size: 0.92rem; color: var(--text-muted);
}
.card-meta .rating { color: var(--cream); font-weight: 600; }

/* ---- Grids ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }

.stars { color: var(--tangerine); letter-spacing: 3px; font-size: 1.05rem; }

/* ---- Featured card: the picture sits in its own bezel ---- */
.featured-card {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3.25rem; align-items: center;
  background: none; border: none; overflow: visible;
}
.featured-card .card-image {
  aspect-ratio: 5/3; min-height: 0;
  border-radius: 40px / 32px;
  outline: 18px solid #1d1813; outline-offset: 0;
  box-shadow: 0 0 0 20px #0f0c09, 0 30px 50px -20px rgba(0,0,0,0.8);
  margin: 20px;
}
.featured-card .card-badge { top: 18px; left: 22px; }
.featured-card .card-body { padding: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.featured-card .card-title { font-size: clamp(2rem, 3.4vw, 2.9rem) !important; font-weight: 800; }
.featured-card .card-excerpt { font-size: 1.1rem; line-height: 1.65; }
.featured-card .card-meta { justify-content: flex-start; gap: 1.4rem; }
.featured-card .btn { align-self: flex-start; }

/* ---- Inner page hero ---- */
.page-hero {
  position: relative;
  padding: calc(96px + 5rem) 0 4.5rem;
  text-align: center;
  background: radial-gradient(ellipse at 50% 70%, #2e2117 0%, var(--bg-primary) 65%);
}
.page-hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 9px; background: var(--stripe);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 5.4rem);
  font-weight: 900; letter-spacing: -0.02em; line-height: 0.98;
  color: var(--cream); margin-bottom: 1rem;
}
.page-hero-title span { color: inherit; }
.page-hero-subtitle { color: var(--text-secondary); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

.hero-eyebrow {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1rem; font-weight: 500; color: var(--gold); margin-bottom: 1rem;
}

/* ---- Filter bar ---- */
.filter-bar {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 2.75rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--border-color);
}
.filter-label { font-size: 0.95rem; color: var(--text-muted); margin-right: 0.4rem; }
.filter-btn {
  font-family: var(--font-ui); font-size: 0.95rem; font-weight: 500;
  padding: 0.45rem 1.05rem; background: transparent; color: var(--text-secondary);
  border: 1.5px solid var(--border-accent); border-radius: var(--radius-pill);
  cursor: pointer; transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--cream); border-color: var(--cream); color: #1a120b; }

/* ---- Video ---- */
.video-wrapper {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  background: #0c0a07; border-radius: var(--tube);
}
.video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.video-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); overflow: hidden; padding: 14px;
  transition: border-color var(--transition);
}
.video-card:hover { border-color: var(--border-accent); }
.video-info { padding: 1rem 0.5rem 0.4rem; }
.video-info h3 { font-size: 1.3rem; margin-bottom: 0.35rem; color: var(--text-primary); }
.video-info p { font-size: 0.98rem; color: var(--text-secondary); }

/* ---- Blog (shared bits) ---- */
.blog-featured { display: grid; grid-template-columns: 2fr 1fr; gap: 1.6rem; margin-bottom: 3rem; }
.blog-post-full .card-image { aspect-ratio: 16/7; }
.blog-post-full .card-title { font-size: 1.9rem; }
.blog-sidebar-posts { display: flex; flex-direction: column; gap: 0.9rem; }
.blog-mini-card {
  display: flex; gap: 0.8rem; padding: 0.8rem;
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius);
}
.blog-mini-thumb { width: 70px; height: 70px; flex-shrink: 0; border-radius: 16px / 13px; }
.blog-mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-mini-info h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.blog-mini-info span { font-size: 0.85rem; color: var(--text-muted); }

/* ---- Shop / product (homepage + shop page) ---- */
.product-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); overflow: hidden; padding: 14px;
  transition: border-color var(--transition);
}
.product-card:hover { border-color: var(--border-accent); }
.product-image { aspect-ratio: 1/1; }
.product-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: rgba(26,19,13,0.72);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
  opacity: 0; transition: opacity var(--transition);
}
.product-card:hover .product-overlay, .product-card:focus-within .product-overlay { opacity: 1; }
.product-info { padding: 1rem 0.5rem 0.4rem; }
.product-name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-bottom: 0.3rem; color: var(--text-primary); }
.product-price { font-size: 1.15rem; font-weight: 600; color: var(--gold); }
.product-price .original { font-size: 0.95rem; font-weight: 400; color: var(--text-muted); text-decoration: line-through; margin-right: 0.45rem; }
.product-tag {
  position: absolute; top: 12px; left: 14px; z-index: 3;
  background: var(--gold); color: #1a120b;
  font-size: 0.8rem; font-weight: 600; padding: 0.22rem 0.75rem; border-radius: var(--radius-pill);
}

/* ---- Wiki (shared bits) ---- */
.wiki-table { width: 100%; border-collapse: collapse; }
.wiki-table .movie-title { font-family: var(--font-text); }

/* ---- Tags ---- */
.tag {
  display: inline-block; font-size: 0.85rem; font-weight: 500;
  padding: 0.2rem 0.75rem; border-radius: var(--radius-pill);
  background: transparent; color: var(--text-secondary); border: 1px solid var(--border-accent);
}
.tag--red   { color: var(--tangerine); border-color: rgba(226,112,47,0.55); }
.tag--green { color: var(--accent-green-bright); border-color: rgba(138,154,75,0.6); }
.tag--amber { color: var(--gold); border-color: rgba(217,163,58,0.6); }

/* ---- Newsletter ---- */
.cta-strip { padding: 2rem 2rem 6rem; }
.cta-strip > .container {
  background: var(--cream); color: #1f150d;
  max-width: calc(1312px - 4rem); border-radius: 40px; padding: 4.25rem 4.5rem;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 4rem; align-items: center;
}
.cta-strip h2 {
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: clamp(2.4rem, 4.4vw, 3.8rem); line-height: 1; letter-spacing: -0.02em; color: #1f150d;
}
.cta-strip h2 .text-red { color: inherit; }
.cta-strip p { grid-column: 1; color: #4a3826; font-size: 1.15rem; }
.newsletter-form { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 0.6rem; }
.newsletter-form input {
  flex: 1; min-width: 0; height: 56px; padding: 0 1.4rem;
  background: #f8f0dd; border: 1.5px solid #1f150d; border-radius: var(--radius-pill);
  color: #1f150d; font-family: var(--font-ui); font-size: 1.05rem;
}
.newsletter-form input::placeholder { color: #7a6650; }
.newsletter-form input:focus { outline: 2px solid var(--tangerine); outline-offset: 2px; }
.newsletter-form .btn { height: 56px; background: #1f150d; color: var(--cream); padding: 0 1.8rem; }
.newsletter-form .btn:hover { background: #3a2a1c; color: var(--cream); }

/* ---- Footer ---- */
.site-footer { background: var(--bg-primary); padding: 4.5rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 1rem; color: var(--text-muted); line-height: 1.6; max-width: 340px; }
.footer-col h4 { font-family: var(--font-ui); font-size: 1rem; font-weight: 600; color: var(--gold); margin-bottom: 0.9rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { font-size: 1rem; color: var(--text-primary); }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: 2.2rem; font-size: 0.95rem; color: var(--text-muted); position: relative;
}
.footer-bottom::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 12px; background: var(--stripe); }
.social-links { display: flex; gap: 0.5rem; }
.social-link {
  min-width: 44px; height: 44px; padding: 0 0.8rem;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border-accent); border-radius: var(--radius-pill);
  color: var(--text-primary); font-size: 0.9rem; font-weight: 600;
}
.social-link:hover { border-color: var(--cream); background: var(--cream); color: #1a120b; }

/* ---- Sidebar headings on inner pages: clean sentence-style labels ---- */
.sidebar-widget h4, .shop-sidebar h4, .connect-widget h4 {
  font-family: var(--font-text) !important; font-size: 1.05rem !important; font-weight: 600 !important;
  letter-spacing: 0 !important; text-transform: none !important; color: var(--gold) !important;
}

/* ---- Breadcrumb ---- */
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--gold); }

/* ---- Scrollbar / selection ---- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--walnut); border-radius: 10px; border: 2px solid var(--bg-primary); }
::selection { background: var(--gold); color: #1a120b; }

/* ---- Utility ---- */
.text-red   { color: var(--tangerine); }
.text-amber { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1180px) {
  .nav-links a { padding: 0.5rem 0.55rem; font-size: 0.95rem; }
  .tv-cabinet { grid-template-columns: minmax(0, 1fr); padding: 26px; }
  .tv-controls { flex-direction: row; align-items: stretch; }
  .tv-speaker { height: auto; flex: 1; min-height: 80px; }
  .tv-panel { flex-grow: 0; flex-direction: row; padding: 10px 22px; gap: 22px; }
  .tv-dial { transform: scale(0.72); margin: -21px; }
  .tv-small-knobs { margin-top: 0; }
  .tv-power { margin-top: 0; }
}

/* Short laptop screens: tighten the set so it still fits in one view */
@media (max-height: 920px) and (min-width: 641px) {
  .tv-stage { --ears: 96px; }
  .tv-antenna { transform: scale(0.8); transform-origin: 50% 100%; top: -150px; }
  .tv-cabinet { padding: 20px; gap: 20px; }
  .tv-bezel { padding: 14px; border-radius: 26px; }
  .hero-description { max-width: 46em; font-size: 1rem; line-height: 1.5; }
  .hero-actions { margin-top: 0; }
  .btn { padding: 0.7rem 1.5rem; }
  .tv-legs { height: 40px; }
  .tv-legs i { height: 40px; }
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .featured-card { grid-template-columns: 1fr; gap: 2rem; }
  .cta-strip > .container { grid-template-columns: 1fr; padding: 3rem; }
  .newsletter-form { grid-column: 1; grid-row: auto; }
}

@media (max-width: 900px) {
  .nav-links {
    display: none; flex-direction: column; align-items: stretch;
    position: fixed; top: 96px; left: 0; right: 0;
    background: rgba(26,19,13,0.98); padding: 1.25rem 1.5rem 1.75rem; gap: 0.2rem;
    border-bottom: 1px solid var(--border-accent);
  }
  .nav-links a { font-size: 1.1rem; padding: 0.75rem 0.5rem; }
  .nav-links .nav-shop { margin: 0.5rem 0 0; text-align: center; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .tv-screen { min-height: 0; }
  .tv-content { padding: 40px 44px; }
  .tv-speaker { display: none; }
  .tv-controls { justify-content: center; }
}

@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .blog-featured { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; padding-top: 2.5rem; }
  .section { padding: 4.5rem 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 1.25rem; }
  .nav-inner { padding: 0 1.25rem; height: 76px; }
  .nav-links { top: 88px; }
  .nav-logo { font-size: 1.4rem; }
  .nav-logo .logo-sub { display: none; }
  .tv-stage { --ears: 110px; padding: calc(88px + var(--ears)) 0.75rem 1rem; }
  .tv-cabinet { min-height: calc(100svh - 88px - var(--ears) - 60px); }
  .tv-screen { min-height: 0; }
  .tv-antenna { transform: scale(0.7); transform-origin: 50% 100%; top: -135px; }
  .tv-cabinet { padding: 14px; border-radius: 26px; }
  .tv-bezel { padding: 10px; border-radius: 20px; }
  .tv-trim { border-radius: 36px / 30px; padding: 3px; }
  .tv-screen { border-radius: 34px / 28px; }
  .tv-content { padding: 30px 24px 28px; gap: 1.4rem; }
  .tv-controls { display: none; }
  .tv-legs i { height: 40px; }
  .tv-legs { height: 40px; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; font-size: 0.85rem; line-height: 1.3; }
  .hero-stats > span { display: flex; flex-direction: column; }
  .hero-stat-number { font-size: 1.25rem; margin: 0; }
  .cta-strip { padding: 1rem 1rem 4rem; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .featured-card .card-image { margin: 12px; outline-width: 10px; box-shadow: 0 0 0 12px #0f0c09; }
  .cta-strip > .container { padding: 2.25rem 1.5rem; border-radius: 28px; }
  .newsletter-form { flex-direction: column; }
  .ticker-wrap { padding-left: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ticker-wrap { overflow-x: auto; }
}

/* ============================================
   COMMUNITY WIKI — film pages, discussion, accounts, moderation
   ============================================ */
.nav-links .nav-account { color: var(--gold); }

/* Forms */
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label, .field .label { font-size: 0.95rem; font-weight: 500; color: var(--text-secondary); }
.field .hint { font-size: 0.85rem; color: var(--text-muted); }
.input, .textarea {
  width: 100%; background: #16100b; color: var(--text-primary);
  border: 1.5px solid var(--border-accent); border-radius: 12px;
  font-family: var(--font-text); font-size: 1rem; padding: 0.75rem 0.95rem;
  transition: border-color var(--transition);
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.input:focus, .textarea:focus { outline: none; border-color: var(--gold); }
.check { display: flex; align-items: center; gap: 0.55rem; font-size: 0.95rem; color: var(--text-secondary); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--tangerine); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-actions { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.92rem; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.link-btn {
  background: none; border: none; padding: 0.35rem 0.1rem; cursor: pointer;
  font-family: var(--font-text); font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
}
.link-btn:hover { color: var(--gold); }
.link-btn.danger:hover { color: var(--tangerine); }
.notice {
  padding: 0.9rem 1.1rem; border-radius: 14px; font-size: 0.98rem;
  background: rgba(217,163,58,0.1); border: 1px solid rgba(217,163,58,0.35); color: var(--text-primary);
}
.notice.error { background: rgba(226,112,47,0.1); border-color: rgba(226,112,47,0.45); }
.panel { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 1.75rem; }
.pill {
  display: inline-block; font-size: 0.78rem; font-weight: 600; padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill); border: 1px solid var(--border-accent); color: var(--text-secondary);
}
.pill.pending { color: var(--gold); border-color: rgba(217,163,58,0.5); }
.pill.approved { color: var(--accent-green-bright); border-color: rgba(138,154,75,0.55); }
.pill.rejected { color: var(--tangerine); border-color: rgba(226,112,47,0.5); }
.pill.role-admin, .pill.role-mod { color: #1a120b; background: var(--gold); border-color: var(--gold); }
.muted { color: var(--text-muted); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); z-index: 2000;
  background: var(--cream); color: #1a120b; padding: 0.85rem 1.4rem; border-radius: var(--radius-pill);
  font-weight: 500; box-shadow: 0 16px 40px rgba(0,0,0,0.5); opacity: 0; pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: var(--tangerine); }

/* Film page */
.film-hero { padding: calc(96px + 3.5rem) 0 3rem; text-align: left; }
.film-hero .breadcrumb { margin-bottom: 1rem; }
.film-hero .page-hero-title { font-size: clamp(2.4rem, 5.5vw, 4.4rem); margin-bottom: 0.6rem; }
.film-hero .page-hero-title .year { font-weight: 400; font-style: italic; color: var(--text-muted); }
.film-aka { font-size: 1.1rem; color: var(--text-secondary); font-style: italic; font-family: var(--font-display); }
.film-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 1rem; color: var(--text-secondary); font-size: 1.02rem; }
.film-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem; align-items: start; }
.film-main { display: flex; flex-direction: column; gap: 3.5rem; min-width: 0; }

.tabs { display: flex; gap: 0.4rem; border-bottom: 1px solid var(--border-color); margin-bottom: 1.75rem; }
.tab {
  background: none; border: none; cursor: pointer; font-family: var(--font-text);
  font-size: 1rem; font-weight: 500; color: var(--text-muted);
  padding: 0.7rem 1rem; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab:hover { color: var(--text-primary); }
.tab[aria-selected="true"] { color: var(--cream); border-bottom-color: var(--tangerine); }
.tab .count { font-size: 0.8rem; color: var(--gold); margin-left: 0.25rem; }

.article { font-size: 1.12rem; line-height: 1.8; color: var(--text-secondary); max-width: 68ch; }
.article p + p { margin-top: 1.1rem; }
.article-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.article-byline { margin-top: 1.5rem; font-size: 0.9rem; color: var(--text-muted); }

.edit-form { display: flex; flex-direction: column; gap: 1.2rem; max-width: 760px; }
.edit-form .textarea.summary { min-height: 280px; }

.history-list { display: flex; flex-direction: column; }
.history-item {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center;
  padding: 0.9rem 0; border-bottom: 1px solid var(--border-color);
}
.history-item .who { font-weight: 600; color: var(--text-primary); }
.history-item .note { color: var(--text-secondary); font-size: 0.95rem; }
.history-item time { color: var(--text-muted); font-size: 0.9rem; white-space: nowrap; }
.history-view { margin-top: 1.5rem; }
.history-view dl { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 0.5rem 1rem; margin: 1rem 0; }
.history-view dt { color: var(--text-muted); }
.history-view dd { color: var(--text-primary); white-space: pre-wrap; }

/* Infobox: a small set on the shelf */
.infobox { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 1.25rem; }
.infobox .panel { padding: 1.4rem; }
.score-screen {
  position: relative; overflow: hidden; border-radius: 28px / 22px; padding: 1.4rem 1.5rem;
  background: radial-gradient(ellipse at 50% 45%, #312b22 0%, #15110d 70%, #080705 100%);
  box-shadow: inset 0 0 50px rgba(0,0,0,0.9), 0 0 0 10px #1b1612, 0 0 0 12px #0c0a08;
  margin: 12px;
}
.score-screen::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,0.25) 0 1px, rgba(0,0,0,0) 1px 3px),
              radial-gradient(ellipse 70% 45% at 28% 12%, rgba(255,245,225,0.1) 0%, rgba(255,245,225,0) 70%);
}
.score-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.score-row + .score-row { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid rgba(255,255,255,0.06); }
.score-row .label { color: var(--osd-green); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.06em; text-shadow: 0 0 8px rgba(140,230,140,0.4); }
.score-row .value { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: #f6ead0; text-shadow: 0 0 14px rgba(255,220,160,0.3); }
.score-row .value small { font-size: 0.95rem; font-weight: 400; color: var(--text-muted); text-shadow: none; }
.rate-title { font-weight: 600; margin-bottom: 0.7rem; }
.rate-scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.4rem; }
.rate-scale button {
  height: 44px; border-radius: 12px; cursor: pointer;
  background: transparent; border: 1.5px solid var(--border-accent); color: var(--text-secondary);
  font-family: var(--font-text); font-size: 1rem; font-weight: 600;
}
.rate-scale button:hover { border-color: var(--gold); color: var(--gold); }
.rate-scale button[aria-pressed="true"] { background: var(--tangerine); border-color: var(--tangerine); color: #1a120b; }
.info-list { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.55rem 1rem; font-size: 0.98rem; }
.info-list dt { color: var(--text-muted); }
.info-list dd { color: var(--text-primary); }

/* Discussion */
.discussion-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.discussion-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.sort-toggle { display: flex; gap: 0.3rem; }
.composer { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.composer .form-actions { justify-content: space-between; }
.login-prompt { margin-bottom: 2rem; }

.thread { display: flex; flex-direction: column; gap: 0.25rem; }
.comment { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0.75rem; padding: 0.9rem 0 0.2rem; }
.comment .children { margin-top: 0.4rem; padding-left: 1rem; border-left: 2px solid var(--border-color); }
.comment .children .comment { padding-top: 0.75rem; }
.votes { display: flex; flex-direction: column; align-items: center; gap: 0.1rem; padding-top: 0.1rem; }
.vote-btn {
  width: 34px; height: 30px; display: grid; place-items: center; cursor: pointer;
  background: none; border: none; border-radius: 8px; color: var(--text-muted);
}
.vote-btn:hover { background: rgba(255,255,255,0.05); color: var(--text-primary); }
.vote-btn[aria-pressed="true"].up { color: var(--tangerine); }
.vote-btn[aria-pressed="true"].down { color: #8fa3c7; }
.vote-btn svg { width: 16px; height: 16px; }
.score { font-weight: 600; font-size: 0.95rem; color: var(--text-primary); }
.comment-head { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; font-size: 0.92rem; }
.comment-head .who { font-weight: 600; color: var(--text-primary); }
.comment-head time { color: var(--text-muted); }
.comment-body { margin-top: 0.3rem; font-size: 1.02rem; line-height: 1.65; color: var(--text-secondary); white-space: pre-wrap; overflow-wrap: anywhere; }
.comment-body.removed { font-style: italic; color: var(--text-muted); }
.spoiler-cover {
  display: inline-flex; margin-top: 0.4rem; padding: 0.4rem 0.9rem; border-radius: 10px; cursor: pointer;
  background: #0f0c09; border: 1px dashed var(--border-accent); color: var(--gold);
  font-family: var(--font-text); font-size: 0.92rem; font-weight: 500;
}
.comment-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 0.15rem; }
.reply-box { margin-top: 0.6rem; display: flex; flex-direction: column; gap: 0.6rem; }
.reply-box .textarea { min-height: 90px; }
.empty-thread { color: var(--text-muted); padding: 1.5rem 0; }

/* Account page */
.account-wrap { max-width: 520px; margin: 0 auto; }
.account-wrap .panel { padding: 2.25rem; }
.account-wrap form { display: flex; flex-direction: column; gap: 1.1rem; }

/* Moderation */
.mod-section + .mod-section { margin-top: 3.5rem; }
.mod-section h2 { font-size: 2rem; margin-bottom: 1.25rem; }
.mod-card { display: flex; flex-direction: column; gap: 1rem; }
.mod-card + .mod-card { margin-top: 1.25rem; }
.mod-card header { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: baseline; }
.mod-card h3 { font-size: 1.4rem; }
.diff { display: flex; flex-direction: column; gap: 0.9rem; }
.diff-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1fr); gap: 0.9rem; font-size: 0.95rem; }
.diff-row .k { color: var(--text-muted); }
.diff-row .old, .diff-row .new { padding: 0.55rem 0.75rem; border-radius: 10px; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 260px; overflow: auto; }
.diff-row .old { background: rgba(226,112,47,0.08); color: var(--text-muted); text-decoration: line-through; text-decoration-color: rgba(226,112,47,0.5); }
.diff-row .new { background: rgba(138,154,75,0.12); color: var(--text-primary); }
.quote { padding: 0.8rem 1rem; border-radius: 12px; background: #16100b; color: var(--text-secondary); white-space: pre-wrap; overflow-wrap: anywhere; }

/* Wiki index additions */
.wiki-add { white-space: nowrap; }
.wiki-table .community { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 0.15rem; }

@media (max-width: 1024px) {
  .film-layout { grid-template-columns: 1fr; }
  .infobox { position: static; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .diff-row { grid-template-columns: 1fr; }
  .history-item { grid-template-columns: 1fr; gap: 0.3rem; }
  .comment { grid-template-columns: 34px minmax(0, 1fr); gap: 0.5rem; }
  .comment .children { padding-left: 0.6rem; }
}

/* Subgenre tags (shared by the wiki index and film pages) */
.wiki-tag {
  display: inline-block; font-size: 0.8rem; font-weight: 500;
  padding: 0.1rem 0.6rem; border-radius: var(--radius-pill); margin-right: 0.25rem;
  color: var(--text-secondary); border: 1px solid var(--border-accent);
}
.wiki-tag.gore    { color: #e0735a; border-color: rgba(224,115,90,0.45); }
.wiki-tag.comedy  { color: #a6b865; border-color: rgba(166,184,101,0.45); }
.wiki-tag.slow    { color: #a9a3d6; border-color: rgba(169,163,214,0.4); }
.wiki-tag.fast    { color: #e2944f; border-color: rgba(226,148,79,0.45); }
.wiki-tag.found   { color: #d9c55a; border-color: rgba(217,197,90,0.45); }
.wiki-tag.italian { color: #7fb4d4; border-color: rgba(127,180,212,0.45); }
@media (max-width: 1024px) { .infobox { order: -1; } }
