/* ── buy-physical-media.com ───────────────────────────────────
   Dark cinephile theme — charcoal, warm gold, serif titles.      */

:root {
  --bg:        #0c0c11;
  --bg-soft:   #14141c;
  --card:      #16161f;
  --card-hi:   #1c1c28;
  --line:      #2b2b3a;
  --text:      #ece9e4;
  --muted:     #9a96a6;
  --gold:      #e5b769;
  --gold-2:    #f2d59a;
  --red:       #d6455a;
  --blue:      #5aa0e0;
  --silver:    #cdd2dc;
  --grad:      linear-gradient(120deg, #f2d59a, #e5b769 55%, #d59a4e);
  --serif:     Georgia, "Times New Roman", "Iowan Old Style", serif;
  --radius:    16px;
  --shadow:    0 20px 46px -24px rgba(0,0,0,.75);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(1000px 520px at 82% -10%, #241a12, transparent 60%),
    radial-gradient(820px 460px at -8% 4%, #171a26, transparent 55%),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── hero ─────────────────────────────────────────────────── */
.hero { max-width: 900px; margin: 0 auto; padding: 58px 22px 18px; text-align: center; }
.hero-cat { padding-top: 46px; }

.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; margin-bottom: 26px; }
.brand .reel { font-size: 24px; filter: drop-shadow(0 0 10px rgba(229,183,105,.5)); }
.brand .mark { font-family: var(--serif); font-weight: 700; font-size: clamp(19px, 3.4vw, 25px); letter-spacing: .01em; color: var(--text); }
.brand .dot { color: var(--gold); margin: 0 1px; }

.tagline {
  font-family: var(--serif);
  font-size: clamp(29px, 5.4vw, 50px);
  line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 16px; font-weight: 700; color: var(--text);
}
.sub { color: var(--muted); font-size: clamp(15px, 2.4vw, 18px); max-width: 640px; margin: 0 auto 20px; line-height: 1.55; }

.ticker { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; font-size: 13px; color: var(--muted); }
.ticker .pill { background: var(--bg-soft); border: 1px solid var(--line); padding: 6px 13px; border-radius: 999px; }
.ticker .pill b { color: var(--gold); }
.ticker .pill a { color: var(--gold); text-decoration: none; font-weight: 700; }

/* ── nav ──────────────────────────────────────────────────── */
.filters {
  position: sticky; top: 0; z-index: 5;
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  padding: 12px 16px; margin: 6px auto; max-width: 1120px; backdrop-filter: blur(9px);
}
.chip {
  text-decoration: none; display: inline-block; white-space: nowrap;
  border: 1px solid var(--line); background: var(--bg-soft); color: var(--text);
  padding: 8px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  transition: transform .12s ease, border-color .12s ease;
}
.chip:hover { transform: translateY(-1px); border-color: var(--gold); }
.chip.active { background: var(--grad); border-color: transparent; color: #1a1206; font-weight: 800; }

/* secondary collections bar (non-sticky) */
.filters-coll { position: static; padding-top: 0; margin-top: -2px; }
.chip-coll { background: transparent; border-color: rgba(229,183,105,.35); color: var(--gold-2); }
.chip-coll:hover { border-color: var(--gold); }
.chip-coll.active { background: var(--grad); border-color: transparent; color: #1a1206; }

/* ── section titles + tiles ───────────────────────────────── */
.section-title {
  font-family: var(--serif);
  max-width: 1120px; margin: 30px auto 8px; padding: 0 20px;
  font-size: 20px; letter-spacing: .01em; color: var(--gold-2); font-weight: 700;
}
.cat-tiles {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px;
  max-width: 1120px; margin: 10px auto; padding: 0 18px;
}
.tile {
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start;
  text-decoration: none; color: var(--text);
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid var(--line); border-radius: 14px; padding: 15px;
  transition: transform .14s ease, border-color .14s ease;
}
.tile:hover { transform: translateY(-3px); border-color: var(--gold); }
.tile-emoji { font-size: 26px; }
.tile-label { font-family: var(--serif); font-weight: 700; font-size: 15px; }
.tile-count { font-size: 12px; color: var(--muted); }

/* ── guide teaser / buttons ───────────────────────────────── */
.guide-teaser {
  max-width: 1120px; margin: 22px auto; padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(229,183,105,.08), rgba(214,69,90,.06));
  border: 1px solid var(--line); border-radius: var(--radius);
}
.guide-teaser h2 { font-family: var(--serif); margin: 0 0 4px; font-size: 20px; }
.guide-teaser p { margin: 0; color: var(--muted); font-size: 14px; }
.btn {
  display: inline-block; text-decoration: none; white-space: nowrap;
  background: var(--grad); color: #1a1206; font-weight: 800; font-size: 14px;
  padding: 11px 18px; border-radius: 11px; transition: transform .12s ease, filter .12s ease;
}
.btn:hover { transform: translateY(-1px) scale(1.02); filter: brightness(1.06); }

/* ── grid + cards ─────────────────────────────────────────── */
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px;
  max-width: 1120px; margin: 12px auto 40px; padding: 0 18px;
}
.card {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px 18px;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(229,183,105,.5); box-shadow: var(--shadow); }
.card .meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.card .genre { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.card h3 { font-family: var(--serif); font-size: 19px; line-height: 1.2; margin: 0 0 4px; color: var(--text); }
.card .credit { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.card .blurb { color: #c8c3d0; font-size: 13.5px; line-height: 1.5; flex: 1 0 auto; margin: 0 0 14px; }

.fmt { font-size: 10.5px; font-weight: 800; letter-spacing: .03em; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.fmt-4k { color: #1a1206; background: var(--gold); }
.fmt-criterion { color: #0c0c11; background: var(--silver); }
.fmt-bluray { color: #eaf3ff; background: rgba(90,160,224,.22); border: 1px solid rgba(90,160,224,.5); }

.buy {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: transparent; color: var(--gold-2); border: 1px solid var(--gold); text-decoration: none;
  font-weight: 700; font-size: 13.5px; padding: 10px 14px; border-radius: 11px;
  transition: background .14s ease, color .14s ease;
}
.buy:hover { background: var(--grad); color: #1a1206; border-color: transparent; }

.flag {
  position: absolute; top: 12px; right: 12px; font-size: 10.5px; font-weight: 800;
  color: var(--gold-2); background: rgba(229,183,105,.14); border: 1px solid rgba(229,183,105,.4);
  padding: 3px 8px; border-radius: 999px;
}

/* ── guide page ───────────────────────────────────────────── */
.guide { max-width: 780px; margin: 8px auto 30px; padding: 0 22px; }
.guide section { margin: 22px 0; }
.guide h2 { font-family: var(--serif); font-size: 22px; margin: 0 0 8px; color: var(--gold-2); }
.guide p { color: #cfcad8; line-height: 1.65; margin: 0 0 8px; }
.guide a { color: var(--gold); }
.guide-list { list-style: none; padding: 0; margin: 10px 0; display: flex; flex-direction: column; gap: 12px; }
.guide-list li { color: #cfcad8; line-height: 1.55; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.guide-list.plain li { background: none; border: none; padding: 4px 0; list-style: disc; margin-left: 18px; }
.guide-list .fmt { margin-right: 8px; }

/* ── breadcrumb + footer ──────────────────────────────────── */
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb span { opacity: .5; margin: 0 4px; }

.foot { max-width: 780px; margin: 0 auto; padding: 26px 22px 60px; text-align: center; }
.disclosure { color: var(--muted); font-size: 12.5px; line-height: 1.6; border-top: 1px solid var(--line); padding-top: 22px; }
.fine { color: #6d6a78; font-size: 12px; margin-top: 12px; }

@media (max-width: 480px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .card { padding: 16px 14px; }
  .card h3 { font-size: 17px; }
}
