/* VinylScape - VIP page + badge components
   Replaces the ad-hoc light/cream .vipp styles with dark, theme-native ones.
   Badge components (.vip-pill, .vip-medallion, .vip-ring, .vip-side) are unchanged.
   ─────────────────────────────────────────────────────────────── */

/* ── Badge pill (sidebar / inline) ──────────────────────────── */
.vip-pill {
  display: inline-flex; align-items: center; gap: 4px; vertical-align: middle;
  font-family: Inter, system-ui, sans-serif; font-size: 11px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase; border-radius: 999px;
  padding: 2px 9px; line-height: 1.45; white-space: nowrap;
  color: #4a3a12; background: linear-gradient(180deg, #e7c976, #caa24a);
  border: 1px solid #d8bd6a;
}
.vip-pill svg { width: 11px; height: 11px; }
.vip-pill.patron {
  color: #3a2c0a;
  background: linear-gradient(180deg, #f6e7a6, #c79a2f 58%, #a87e1f);
  border: 1px solid #b8902c;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}

/* ── Sidebar avatar-corner medallion ─────────────────────────── */
.vip-av { position: relative; display: inline-flex; flex-shrink: 0; }
.vip-medallion {
  position: absolute; right: -3px; bottom: -3px; width: 20px; height: 20px;
  border-radius: 50%; background: linear-gradient(180deg, #e7c976, #caa24a);
  border: 1.5px solid rgba(0,0,0,.35); display: flex; align-items: center;
  justify-content: center; box-shadow: 0 1px 3px rgba(0,0,0,.35); pointer-events: none;
}
.vip-medallion svg { width: 11px; height: 11px; color: #4a3a12; }
.vip-medallion.patron {
  background: linear-gradient(180deg, #f6e7a6, #c79a2f 58%, #a87e1f);
  box-shadow: 0 1px 4px rgba(0,0,0,.45);
}

/* ── Sidebar "Unlock VIP" entry point ────────────────────────── */
.vip-side {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin-bottom: 10px; font-weight: 800; font-size: 12.5px; letter-spacing: .03em;
  text-transform: uppercase; text-decoration: none; color: #4a3a12;
  background: linear-gradient(180deg, #e7c976, #caa24a);
  border: 1px solid #d8bd6a; border-radius: 10px; padding: 9px 12px;
}
.vip-side:hover { filter: brightness(1.05); }
.vip-side-on {
  background: transparent; border: 1px solid var(--border);
  color: var(--text-2); text-transform: none; font-weight: 600;
}

/* ── Gold avatar ring (both tiers) ───────────────────────────── */
.vip-ring {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; padding: 4px;
  background: linear-gradient(135deg, #e7c976, #caa24a); flex-shrink: 0;
}
.vip-ring.patron { background: linear-gradient(135deg, #f6e7a6, #c79a2f); }


/* ════════════════════════════════════════════════════════════════
   VIP PAGE  (/vip)
   ════════════════════════════════════════════════════════════════ */

.vip-page { max-width: 720px; }

/* Thank-you banner */
.vip-thanks {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid rgba(202,162,74,.32); background: rgba(202,162,74,.07);
  border-radius: 14px; padding: 14px 18px; margin-bottom: 20px;
}
.vip-thanks > span { font-size: 14px; color: var(--text); }

/* Hero */
.vip-hero {
  position: relative; overflow: hidden;
  margin: -28px -28px 0; padding: 44px 36px 48px;
  background:
    radial-gradient(ellipse 80% 55% at 85% -5%, rgba(202,162,74,.16) 0%, transparent 60%),
    radial-gradient(ellipse 55% 40% at 10% 110%, rgba(210,105,30,.1) 0%, transparent 55%),
    linear-gradient(180deg, #1c1610 0%, #0e0b08 100%);
}
/* When the supporter thank-you banner is above it, don't let the hero's
   negative top margin pull up over the banner. */
.vip-thanks + .vip-hero { margin-top: 0; }
.vip-hero-rings {
  position: absolute; right: -80px; top: -100px; width: 440px; height: 440px;
  border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle at 50% 50%, rgba(202,162,74,.07) 0 1.5px, transparent 1.5px 26px);
}
.vip-hero-inner { position: relative; max-width: 560px; }

.vip-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #e7c976, #caa24a);
  color: #4a3a12; font-size: 10.5px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: 999px; padding: 5px 14px; margin-bottom: 20px;
}
.vip-eyebrow svg { width: 11px; height: 11px; }

.vip-hero h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 3.8vw, 46px); line-height: 1.05;
  letter-spacing: -0.045em; margin: 0 0 16px; color: var(--text);
}
.vip-hero h1 em { color: #caa24a; font-style: italic; }
.vip-hero p { color: var(--text-2); font-size: 16px; line-height: 1.65; margin: 0; max-width: 520px; }

/* Free vs VIP split */
.vip-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.vip-box { border-radius: 14px; padding: 20px 22px; }
.vip-box.free { border: 1px solid rgba(95,179,122,.3); background: rgba(95,179,122,.07); }
.vip-box.gold {
  border: 1px solid rgba(202,162,74,.4); background: rgba(202,162,74,.06);
  box-shadow: 0 0 0 4px rgba(202,162,74,.05), 0 12px 30px rgba(202,162,74,.08);
}
.vip-box .tag { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.vip-box.free .tag { color: #5fb37a; }
.vip-box.gold .tag { color: #caa24a; }
.vip-box h3 { font-family: var(--font-display); font-weight: 500; font-size: 18px; margin: 0 0 14px; letter-spacing: -.025em; }
.vip-box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.vip-box li { font-size: 13.5px; padding-left: 22px; position: relative; color: var(--text); }
.vip-box.free li::before { content: '✓'; position: absolute; left: 0; color: #5fb37a; font-weight: 800; }
.vip-box.gold li::before { content: '★'; position: absolute; left: 0; color: #caa24a; }

/* Section headings + notes */
.vip-h2 { font-family: var(--font-display); font-weight: 500; font-size: 22px; margin: 36px 0 6px; letter-spacing: -.03em; }
.vip-lede { color: var(--text-2); font-size: 15px; margin: 0 0 14px; line-height: 1.6; }
.vip-note { color: var(--muted); font-size: 13px; margin: 10px 0 0; line-height: 1.6; }

/* Why cards */
.vip-why { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vip-why-card { border: 1px solid var(--border); background: var(--panel-bg); border-radius: 14px; padding: 16px 18px; }
.vip-why-icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(202,162,74,.1); border: 1px solid rgba(202,162,74,.22);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.vip-why-icon svg { width: 17px; height: 17px; }
.vip-why-card b { display: block; font-size: 14px; margin-bottom: 5px; color: var(--text); }
.vip-why-card span { font-size: 13px; color: var(--muted); line-height: 1.55; display: block; }

/* Contribution model */
.vip-model { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.vip-tier { border: 1px solid var(--border); background: var(--panel-bg); border-radius: 14px; padding: 18px 20px; position: relative; }
.vip-tier.lead {
  border-color: rgba(202,162,74,.48);
  background:
    repeating-radial-gradient(circle at 86% 10%, rgba(206,142,74,.09) 0 1px, transparent 1px 13px),
    linear-gradient(180deg, rgba(34,26,14,.98), rgba(20,15,8,.99));
  box-shadow: 0 0 0 3px rgba(202,162,74,.08), 0 12px 28px rgba(202,162,74,.1);
}
.vip-tier .lead-dot {
  position: absolute; top: 13px; right: 13px; width: 22px; height: 22px;
  border-radius: 50%; background: linear-gradient(135deg, #e7c976, #caa24a);
  display: flex; align-items: center; justify-content: center;
}
.vip-tier .lead-dot svg { width: 11px; height: 11px; }
.vip-tier .k { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); margin-bottom: 7px; }
.vip-tier.lead .k { color: #caa24a; }
.vip-tier .v { font-family: var(--font-display); font-size: 17px; font-weight: 500; line-height: 1.2; margin-bottom: 6px; }
.vip-tier .sub { font-size: 12px; color: var(--muted); }

/* Ko-fi CTA block */
.vip-cta {
  margin-top: 28px; border: 1px solid var(--border); border-radius: 18px;
  padding: 32px 28px; text-align: center;
  background:
    repeating-radial-gradient(circle at 50% 0%, rgba(202,162,74,.06) 0 1px, transparent 1px 22px),
    linear-gradient(180deg, rgba(30,24,17,.96), rgba(21,17,12,.98));
}
.vip-cta h2 { font-family: var(--font-display); font-weight: 500; font-size: 26px; margin: 0 0 8px; letter-spacing: -.035em; }
.vip-cta .lede { color: var(--text-2); font-size: 14px; max-width: 400px; margin: 0 auto 22px; line-height: 1.65; }
.vip-kofi {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 800;
  font-size: 15px; color: #fff; background: #ff5e5b; border: none;
  border-radius: 12px; padding: 13px 28px; text-decoration: none; cursor: pointer;
  font-family: var(--font-ui);
}
.vip-kofi svg { width: 16px; height: 16px; flex-shrink: 0; }
.vip-kofi:hover { filter: brightness(1.08); color: #fff; }
.vip-claim { margin-top: 18px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.vip-claim code {
  display: inline-block; margin-top: 7px; background: rgba(202,162,74,.12);
  border: 1px solid rgba(202,162,74,.28); border-radius: 7px; padding: 4px 14px;
  font-weight: 800; letter-spacing: .1em; color: var(--text); font-size: 13.5px;
}
.vip-nonag { margin-top: 14px; color: var(--muted); font-size: 13px; }

/* VIP badge panel */
.vip-badge-panel {
  margin-top: 16px; text-align: center; border: 1px solid rgba(202,162,74,.3);
  border-radius: 14px; padding: 28px 24px;
  background:
    repeating-radial-gradient(circle at 50% 0%, rgba(202,162,74,.07) 0 1px, transparent 1px 20px),
    linear-gradient(180deg, rgba(30,24,17,.94), rgba(21,17,12,.95));
}
.vip-badge-panel h2 { font-family: var(--font-display); font-weight: 500; font-size: 20px; margin: 0 0 18px; letter-spacing: -.03em; }
.vip-badge-panel img { width: 120px; height: 120px; display: inline-block; filter: drop-shadow(0 8px 22px rgba(202,162,74,.35)); }
.vip-badge-dl {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  border: 1px solid rgba(202,162,74,.35); background: rgba(202,162,74,.1);
  color: #caa24a; border-radius: 10px; padding: 9px 18px;
  font-weight: 700; font-size: 13px; text-decoration: none;
}
.vip-badge-dl svg { width: 14px; height: 14px; }
.vip-badge-dl:hover { background: rgba(202,162,74,.16); color: #caa24a; }

/* Supporters wall */
.vip-wall { margin-top: 16px; border: 1px solid var(--border); background: var(--panel-bg); border-radius: 14px; padding: 22px 24px; }
.vip-wall h2 { font-family: var(--font-display); font-weight: 500; font-size: 20px; margin: 0 0 4px; letter-spacing: -.03em; }
.vip-wall .sub { color: var(--muted); font-size: 13px; margin: 0 0 16px; }
.vip-wall .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wall-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--elevated); border: 1px solid var(--border);
  border-radius: 999px; padding: 6px 13px; font-size: 13px;
  color: #caa24a; font-weight: 600; white-space: nowrap;
}
.wall-chip svg { width: 10px; height: 10px; flex-shrink: 0; }

/* Responsive */
@media (max-width: 640px) {
  .vip-split,
  .vip-why,
  .vip-model { grid-template-columns: 1fr; }
  .vip-hero { padding: 32px 22px 36px; }
  .vip-cta { padding: 24px 20px; }
}

/* "Become a VIP" gold coin row, in .side-nav below Send feedback (non-VIP only) */
.side-nav a.vip-nav-badge{border:1px solid rgba(202,162,74,.22);background:rgba(202,162,74,.06);
  color:#caa24a;font-weight:700;margin-top:2px}
.side-nav a.vip-nav-badge:hover{background:rgba(202,162,74,.12);border-color:rgba(202,162,74,.38);
  color:#caa24a;transform:translateX(2px)}
.side-nav a.vip-nav-badge img{width:18px;height:18px;flex-shrink:0;
  filter:drop-shadow(0 2px 6px rgba(202,162,74,.4))}


/* ===== Daylight theme (light) - VIP page overrides - v2 ===== */
/* Gold VIP artwork stays untouched. Surface/text tokens match new system. */
[data-theme="daylight"] .vip-hero{
  background:
    radial-gradient(ellipse 80% 55% at 85% -5%, rgba(202,162,74,.20) 0%, transparent 60%),
    radial-gradient(ellipse 55% 40% at 10% 110%, rgba(210,105,30,.12) 0%, transparent 55%),
    var(--grain), linear-gradient(180deg, #F5EDD8 0%, #E8D2A8 100%);
}
[data-theme="daylight"] .vip-tier.lead,
[data-theme="daylight"] .vip-cta,
[data-theme="daylight"] .vip-badge-panel{
  background:
    repeating-radial-gradient(circle at 50% 0%, rgba(202,162,74,.08) 0 1px, transparent 1px 20px),
    var(--grain), linear-gradient(180deg, rgba(255,255,255,.92), rgba(238,216,172,.92));
  box-shadow:0 12px 28px rgba(91,63,30,.16);
}
[data-theme="daylight"] .vip-thanks,
[data-theme="daylight"] .vip-box.gold,
[data-theme="daylight"] .vip-box.free{background:rgba(255,255,255,.60);}
[data-theme="daylight"] .wall-chip{background:rgba(255,255,255,.70)}
