/* VBoys — platform brand system (Tim, 2026-11-11, silver revision same day)
   PLATFORM: midnight blue · silver · white. Silver is the lead metallic —
   Tim ruled the gold out ("prefer silver"). Velvet Bob's OWN content keeps
   a reserved black card, now trimmed in silver — see .vb-brand below.
   Red survives only as the functional LIVE badge.
   NOTE: --gold/--gold2 variable names kept for compatibility; they now hold
   silver values. */
:root {
  --bg: #050b21;
  --bg2: #0a1734;
  --panel: #0d1e42;
  --line: #24365e;
  --silver: #c7ceda;
  --silver2: #e9edf4;
  --gold: #aeb8c8;
  --gold2: #eef1f7;
  --ink: #f6f8fc;
  --muted: #97a5bf;
  --live: #c62f33;
  --radius: 14px;
  /* Velvet Bob brand (reserved) */
  --vb-bg: #070707;
  --vb-panel: #111111;
  --vb-line: #3a3120;
  --vb-cream: #e9edf4;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold2); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px;
  background: rgba(5, 11, 33, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: baseline; gap: 10px; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo-mark {
  font-size: 26px; font-weight: 800; letter-spacing: 0.5px; color: var(--ink);
}
.logo-mark .vb { color: var(--gold2); }
.logo-tag { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--silver); }
.site-nav { display: flex; gap: 18px; align-items: center; font-size: 14px; }
.site-nav a { color: var(--ink); }
.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #0a1734;
  font-weight: 700; font-size: 15px;
  padding: 11px 20px; border-radius: 999px;
  transition: transform 0.08s ease, background 0.15s ease;
}
.btn:hover { filter: brightness(1.07); text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn.gold { background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #0a1734; }
.btn.silver { background: linear-gradient(180deg, var(--silver2), var(--silver)); color: #0a1734; }
.btn.ghost { background: transparent; border: 1px solid var(--silver); color: var(--silver2); }
.btn[disabled] { opacity: 0.55; cursor: wait; }

/* ---------- layout ---------- */
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 18px 64px; }
section { margin-top: 44px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 10px; }
h2.section-title { font-size: 22px; letter-spacing: 0.4px; }
h2.section-title::after {
  content: ""; display: block; width: 56px; height: 3px; margin-top: 8px;
  background: linear-gradient(90deg, var(--silver), var(--gold2)); border-radius: 2px;
}
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- hero ---------- */
.hero {
  padding: 56px 0 10px; text-align: left;
  background:
    radial-gradient(700px 320px at 15% -60px, rgba(36, 54, 94, 0.85), transparent 60%),
    radial-gradient(700px 320px at 90% -80px, rgba(199, 206, 218, 0.14), transparent 60%);
}
.hero .kicker {
  display: inline-block; font-size: 12px; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--silver2); border: 1px solid var(--silver); border-radius: 999px; padding: 5px 12px;
}
.hero h1 { font-size: clamp(40px, 8vw, 68px); font-weight: 900; letter-spacing: 0.5px; margin-top: 16px; }
.hero h1 .vb { color: var(--gold2); }
.hero .tagline { font-size: clamp(17px, 3.4vw, 23px); color: var(--ink); font-weight: 600; }
.hero .offer { font-size: 17px; color: var(--muted); max-width: 640px; }
.price-chip {
  display: inline-flex; align-items: baseline; gap: 8px; margin: 18px 0 6px;
  background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 18px;
}
.price-chip .amount { font-size: 34px; font-weight: 900; color: var(--gold2); }
.price-chip .per { color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; align-items: center; }
.checkout-note { font-size: 13px; color: var(--muted); max-width: 520px; }
.checkout-note.warn { color: var(--gold2); }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 14px; }
.grid.creators { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px;
}
.card .avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 18px; color: #0a1734;
  background: linear-gradient(135deg, var(--silver2), var(--silver));
  margin-bottom: 10px;
}
.card.open .avatar { background: #1a2c52; color: var(--muted); }
.card h3 { font-size: 16px; margin-bottom: 4px; }
.card .role { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--silver); font-weight: 700; }
.card.open .role { color: var(--muted); }
.card p { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }

/* ---------- Velvet Bob brand (reserved black, silver trim) ---------- */
.vb-brand { background: var(--vb-bg) !important; border-color: var(--gold) !important; color: var(--vb-cream); }
.vb-brand .role { color: var(--gold2); }
.vb-brand p { color: #a7b0c2; }
.vb-brand .avatar { background: linear-gradient(135deg, var(--gold2), var(--gold)); color: #0a0a0a; }
.vb-brand .when { color: var(--gold2); }

/* ---------- featured show ---------- */
.featured {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; overflow: hidden;
  background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius);
}
.featured .art {
  min-height: 220px; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(5,11,33,0.05), rgba(5,11,33,0.88)),
    radial-gradient(500px 260px at 20% 0%, rgba(36,54,94,0.9), transparent 65%),
    radial-gradient(500px 260px at 85% 10%, rgba(199,206,218,0.30), transparent 60%),
    #081230;
}
.featured.vb-brand .art {
  background:
    linear-gradient(180deg, rgba(7,7,7,0.05), rgba(7,7,7,0.9)),
    radial-gradient(500px 260px at 20% 0%, rgba(199,206,218,0.40), transparent 65%),
    radial-gradient(500px 260px at 85% 10%, rgba(199,206,218,0.28), transparent 60%),
    #0a0a0a;
}
.featured .body { padding: 22px; }
.featured h3 { font-size: 24px; }
.when { color: var(--gold2); font-weight: 700; font-size: 14px; letter-spacing: 0.4px; }
@media (max-width: 720px) { .featured { grid-template-columns: 1fr; } }

/* ---------- badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 800; letter-spacing: 1.6px;
  padding: 5px 11px; border-radius: 999px; text-transform: uppercase;
}
.badge.live { background: var(--live); color: #fff; }
.badge.live .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }
.badge.demo { background: #16264a; color: var(--gold2); border: 1px solid var(--gold); }
.badge.soon { background: #16264a; color: var(--silver2); }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.25; } 100% { opacity: 1; } }

/* ---------- schedule ---------- */
.schedule { width: 100%; border-collapse: collapse; }
.schedule td, .schedule th { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; }
.schedule th { color: var(--muted); font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; }
.schedule .show-name { font-weight: 700; }

/* ---------- player ---------- */
.player-shell {
  background: #000; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.player-shell video { width: 100%; aspect-ratio: 16 / 9; display: block; background: #000; }
.player-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-top: 14px; }
.rail { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.rail .card { min-width: 230px; scroll-snap-align: start; cursor: pointer; }
.rail .card:hover { border-color: var(--silver); }
.rail .thumb {
  height: 110px; border-radius: 9px; margin-bottom: 10px; position: relative;
  background:
    linear-gradient(180deg, rgba(5,11,33,0), rgba(5,11,33,0.55)),
    radial-gradient(300px 140px at 25% 0%, rgba(36,54,94,0.9), transparent 65%),
    radial-gradient(300px 140px at 85% 10%, rgba(199,206,218,0.28), transparent 60%),
    #081230;
}
.rail .thumb .play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.rail .dur {
  position: absolute; right: 8px; bottom: 8px; font-size: 12px; font-weight: 700;
  background: rgba(0,0,0,0.75); padding: 2px 7px; border-radius: 6px;
}
.now-playing { font-size: 13px; color: var(--gold2); min-height: 18px; }

/* ---------- admin / studio ---------- */
.field { margin: 14px 0; }
.field label { display: block; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input[type="password"], .field input[type="text"] {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg2); color: var(--ink); font-size: 16px;
}
.cred-row { display: flex; gap: 8px; align-items: stretch; margin: 10px 0; }
.cred-row code {
  flex: 1; background: #02061a; border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 12px; font-size: 13.5px; overflow-x: auto; white-space: nowrap; color: var(--gold2);
}
.copy-btn { white-space: nowrap; }
.status { border-radius: 10px; padding: 12px 14px; font-size: 14px; margin: 14px 0; display: none; }
.status.show { display: block; }
.status.err { background: rgba(198,47,51,0.16); border: 1px solid var(--live); }
.status.ok { background: rgba(199,206,218,0.10); border: 1px solid var(--gold); }
ol.steps li { margin: 8px 0; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); margin-top: 64px; padding: 26px 18px 40px;
  color: var(--muted); font-size: 13px; text-align: center;
}
.site-footer .brandline { color: var(--ink); font-weight: 700; letter-spacing: 0.4px; }

/* ---------- logo art (Tim's lockup, 2026-11-11) ---------- */
.logo-img { width: 34px; height: 34px; border-radius: 8px; display: block; }
.hero-logo { width: 100%; max-width: 660px; display: block; border-radius: var(--radius); margin: 20px 0 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
