:root {
  --bg: #0c0e16;
  --bg2: #12131f;
  --panel: #171a29;
  --panel2: #1e2236;
  --ink: #f6f1e7;
  --muted: #aaa699;
  --gold: #d6a54b;
  --gold2: #f0c66d;
  --red: #e4564f;
  --blue: #5b92f0;
  --green: #62c98a;
  --line: rgba(255,255,255,.10);
  --line2: rgba(214,165,75,.32);
  --shadow: 0 26px 70px rgba(0,0,0,.42);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 0%, rgba(214,165,75,.18), transparent 28%),
    radial-gradient(circle at 82% 6%, rgba(91,146,240,.14), transparent 28%),
    linear-gradient(180deg, #161827 0%, #0c0e16 58%, #080a10 100%);
  min-height: 100vh;
}
.site-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image: radial-gradient(circle, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 26px 26px;
  z-index: 30;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(16px, 3vw, 34px);
  background: rgba(12, 14, 22, .78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; letter-spacing: .01em; }
.mark img { width: 42px; height: 42px; object-fit: cover; border-radius: 14px; border: 1px solid var(--line2); }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
nav a { text-decoration: none; color: var(--muted); border: 1px solid transparent; padding: 9px 11px; border-radius: 999px; font-size: .92rem; }
nav a:hover { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,.05); }
.section-shell { width: min(1240px, calc(100% - 32px)); margin: 0 auto 26px; }
.loading-card { width: min(600px, calc(100% - 32px)); margin: 80px auto; padding: 30px; background: var(--panel); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }

.show-call {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  max-width: min(980px, calc(100% - 40px));
  padding: 18px 34px 19px;
  border: 4px solid rgba(246,241,231,.98);
  border-radius: 28px 28px 28px 7px;
  background: rgba(246,241,231,.94);
  color: #11131d;
  font-weight: 1000;
  font-size: clamp(1.35rem, 3.4vw, 3.35rem);
  letter-spacing: .035em;
  text-transform: uppercase;
  box-shadow: 14px 14px 0 rgba(214,165,75,.95), -8px 8px 0 rgba(228,86,79,.75), 0 24px 50px rgba(0,0,0,.38);
  transform: translateX(-50%) rotate(-2deg);
}
.show-call:after {
  content: "";
  position: absolute;
  left: 34px;
  bottom: -14px;
  width: 28px;
  height: 28px;
  background: rgba(246,241,231,.94);
  border-left: 2px solid rgba(246,241,231,.92);
  border-bottom: 2px solid rgba(246,241,231,.92);
  transform: rotate(-18deg) skew(-8deg);
}

.hero {
  margin-top: 24px;
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(26px, 5vw, 74px);
  align-items: center;
  padding: clamp(76px, 8vw, 104px) clamp(24px, 5vw, 64px) clamp(24px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(30,34,54,.94), rgba(12,14,22,.96)),
    radial-gradient(circle at 80% 20%, rgba(214,165,75,.14), transparent 30%);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero:before {
  content: "THE PERFECT ALBUM SIDE";
  position: absolute;
  right: -24px;
  top: 34px;
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: .78;
  font-weight: 1000;
  letter-spacing: -.08em;
  color: rgba(255,255,255,.035);
  max-width: 720px;
  text-align: right;
}
.hero:after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--red), var(--blue));
}
.eyebrow { margin: 0 0 10px; color: var(--gold2); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 950; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(3rem, 7vw, 7.1rem); line-height: .92; letter-spacing: -.035em; margin-bottom: 24px; font-weight: 950; }
h1 span { color: var(--gold2); }
h2 { font-size: clamp(2rem, 4vw, 4.4rem); line-height: .94; letter-spacing: -.06em; margin-bottom: 12px; font-weight: 1000; }
.hero-line { font-size: clamp(1.1rem, 2vw, 1.55rem); color: #ded8c8; max-width: 720px; line-height: 1.38; }
.hero-actions, .card-actions, .vote-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button, button { border: 0; cursor: pointer; text-decoration: none; border-radius: 999px; padding: 12px 17px; font-weight: 950; font: inherit; }
.primary { background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #11131d; box-shadow: 0 12px 26px rgba(214,165,75,.20); }
.secondary, .ghost { background: rgba(255,255,255,.055); color: var(--ink); border: 1px solid var(--line); }
.hero-logo-stage { position: relative; display: grid; place-items: center; min-height: 480px; }
.record-halo { display: none; }
.hero-logo { position: relative; width: min(72vw, 430px); border-radius: 30px; border: 1px solid rgba(214,165,75,.48); transform: none; box-shadow: 0 30px 80px rgba(0,0,0,.48); }
.shelf-card { position: absolute; right: 0; bottom: 74px; transform: rotate(3deg); background: #f6f1e7; color: #11131d; font-weight: 1000; padding: 14px 18px; border-radius: 999px; box-shadow: 0 16px 32px rgba(0,0,0,.34); }
.latest-wrap, .store-stats, .episodes-section, .submit-strip, .about, .detail-shell {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(20px, 3.5vw, 38px);
  background: rgba(23,26,41,.86);
  box-shadow: var(--shadow);
}
.latest-card { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: center; }
.album-frame { padding: 10px; background: linear-gradient(135deg, #262b43, #0d0f18); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 18px 40px rgba(0,0,0,.42); }
.album-frame img { aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.debate-panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.vote-card { border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: rgba(255,255,255,.045); color: var(--ink); text-align: left; }
.vote-card h3 { margin: 0 0 8px; }
.vote-card p { color: var(--muted); font-size: .94rem; margin-bottom: 0; }
.vote-card.steve { border-color: rgba(91,146,240,.45); }
.vote-card.windham { border-color: rgba(228,86,79,.45); }
.vote-card.fan { border-color: rgba(98,201,138,.45); }
.results { margin-top: 20px; display: none; }
.results.visible { display: block; }
.result-row { display: grid; grid-template-columns: 82px 1fr 48px; align-items: center; gap: 10px; margin: 8px 0; color: var(--muted); }
.result-track { height: 17px; background: rgba(0,0,0,.32); border-radius: 999px; overflow: hidden; }
.result-fill { height: 100%; border-radius: 999px; }
.result-fill.steve { background: var(--blue); }.result-fill.windham { background: var(--red); }.result-fill.fan { background: var(--green); }
.store-stats { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 14px; }
.stat-box { border-radius: 22px; padding: 18px; background: rgba(255,255,255,.045); border: 1px solid var(--line); }
.stat-box .number { display: block; font-size: 2.45rem; font-weight: 1000; color: var(--gold2); }
.stat-list { list-style: none; padding: 0; margin: 0; }
.stat-list li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; color: var(--muted); border-bottom: 1px solid rgba(255,255,255,.07); }
.stat-list b { color: var(--ink); }
.section-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 20px; }
.section-heading > p { color: var(--muted); max-width: 520px; }
.controls { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
input[type="search"], textarea, input[type="text"] { width: 100%; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; background: rgba(0,0,0,.24); color: var(--ink); font: inherit; }
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.pill { background: rgba(255,255,255,.055); color: var(--muted); border: 1px solid var(--line); padding: 11px 14px; }
.pill.active { background: rgba(214,165,75,.18); color: var(--ink); border-color: rgba(214,165,75,.45); }
.episode-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.episode-card { text-decoration: none; color: inherit; background: linear-gradient(180deg, rgba(30,34,54,.94), rgba(14,16,26,.96)); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 16px 34px rgba(0,0,0,.28); transition: transform .18s ease, border-color .18s ease; position: relative; }
.episode-card:hover { transform: translateY(-4px); border-color: rgba(214,165,75,.5); }
.episode-art { padding: 10px; background: #080a10; }
.episode-art img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 13px; }
.episode-info { padding: 15px; }
.kicker { color: var(--gold2); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 900; }
.episode-info h3 { font-size: 1.05rem; line-height: 1.18; min-height: 2.5em; margin: 8px 0 10px; }
.episode-info p { color: var(--muted); font-size: .9rem; line-height: 1.35; }
.mini-badge { display: inline-flex; align-items: center; gap: 6px; color: #11131d; background: var(--gold); border-radius: 999px; padding: 6px 9px; font-weight: 950; font-size: .76rem; }
.submit-strip { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: linear-gradient(135deg, rgba(214,165,75,.18), rgba(23,26,41,.90)); }
.about { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; }
.about img { border-radius: 28px; border: 1px solid rgba(214,165,75,.42); }
.back-link { display: inline-block; margin-bottom: 18px; color: var(--gold2); font-weight: 900; text-decoration: none; }
.detail-hero { display: grid; grid-template-columns: 340px 1fr; gap: 30px; align-items: start; }
.detail-hero h1 { font-size: clamp(2.5rem, 5vw, 5.5rem); }
.detail-block { margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.035); }
.song-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0; list-style: none; }
.song-list li { padding: 12px; background: rgba(255,255,255,.045); border: 1px solid var(--line); border-radius: 14px; color: var(--muted); }
.song-list strong { display: block; color: var(--ink); }
.writein-form { display: grid; gap: 10px; margin-top: 16px; }
@media (max-width: 980px) { .hero, .latest-card, .detail-hero, .store-stats { grid-template-columns: 1fr; } .episode-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .debate-panel { grid-template-columns: 1fr; } .hero { min-height: unset; } .section-heading, .controls, .submit-strip { display: block; } .filter-pills { justify-content: flex-start; margin-top: 12px; } }
@media (max-width: 620px) { .show-call { position: relative; top: auto; left: auto; margin-bottom: 22px; transform: rotate(-.7deg); font-size: 1.25rem; } .topbar { align-items: flex-start; flex-direction: column; } .episode-grid, .song-list, .about { grid-template-columns: 1fr; } .section-shell { width: min(100% - 20px, 1220px); } .hero-logo-stage { min-height: 360px; } }
