/* ============================================================
   SOFTRADIO.FM — DESIGN SYSTEM
   ============================================================ */
:root {
  --bg:        #0e0e0e;
  --bg-2:      #141414;
  --bg-3:      #1a1a1a;
  --border:    rgba(255,255,255,0.07);
  --border-2:  rgba(255,255,255,0.13);

  --accent:    #e8824a;
  --accent-2:  #c96030;
  --accent-dim: rgba(232,130,74,0.12);
  --accent-glow: rgba(232,130,74,0.25);

  --text-1: #f0ede8;
  --text-2: #888070;
  --text-3: #4a4540;

  --font:   'Space Grotesk', system-ui, sans-serif;
  --serif:  'Playfair Display', Georgia, serif;
  --ease:   cubic-bezier(.25,.46,.45,.94);
  --spring: cubic-bezier(.34,1.56,.64,1);
  --r:      16px;
  --r-sm:   10px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-1);
  overflow-x: hidden;
  line-height: 1.65;
}
a { text-decoration: none; color: inherit; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ── Utilities ── */
.eyebrow {
  display: inline-block;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.section-head { margin-bottom: 56px; }
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15; font-weight: 700;
}
.section-head h2 em { font-style: italic; color: var(--accent); }

/* ── Live dot ── */
.live-dot {
  display: inline-block; width: 8px; height: 8px;
  background: #4ade80; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(74,222,128,.5);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
.live-dot.small { width: 6px; height: 6px; }
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,.5); }
  70%  { box-shadow: 0 0 0 7px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: #fff; font-family: var(--font);
  font-size: .9rem; font-weight: 600;
  padding: 13px 28px; border-radius: 100px;
  transition: background .2s, transform .2s var(--spring), box-shadow .2s;
  cursor: pointer; border: none;
}
.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px var(--accent-glow);
}
.btn-primary:active { transform: scale(.97); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-2); font-size: .9rem; font-weight: 500;
  border: 1px solid var(--border-2);
  padding: 13px 28px; border-radius: 100px;
  transition: all .2s; background: none;
  cursor: pointer;
}
.btn-outline:hover { color: var(--text-1); border-color: var(--accent); }

.w-full { width: 100%; }

/* ── Logo ── */
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1.1rem; font-weight: 600;
}
.logo-text em { font-style: normal; color: var(--text-3); }
.logo-mark {
  display: flex; align-items: flex-end; gap: 3px;
  height: 22px;
}
.logo-mark span {
  display: block; width: 4px; border-radius: 2px;
  background: var(--accent);
}
.logo-mark span:nth-child(1) { height: 10px; }
.logo-mark span:nth-child(2) { height: 22px; }
.logo-mark span:nth-child(3) { height: 15px; }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(14,14,14,.85);
  backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 66px; padding: 0 32px;
}
.nav-links {
  display: flex; align-items: center; gap: 36px;
}
.nav-links a {
  font-size: .875rem; font-weight: 500; color: var(--text-2);
  transition: color .2s;
}
.nav-links a:hover { color: var(--text-1); }
.nav-pill {
  background: var(--accent-dim) !important;
  color: var(--accent) !important;
  padding: 7px 18px; border-radius: 100px;
  border: 1px solid rgba(232,130,74,.2) !important;
}
.nav-pill:hover { background: var(--accent-glow) !important; color: var(--text-1) !important; }

.burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: 8px; transition: background .2s;
}
.burger:hover { background: rgba(255,255,255,.05); }
.burger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--text-2); border-radius: 2px;
  transition: all .3s var(--ease);
}
.burger.open span:first-child { transform: rotate(45deg) translate(4.5px, 4.5px); }
.burger.open span:last-child  { transform: rotate(-45deg) translate(4.5px, -4.5px); }

.nav-drawer {
  display: none; flex-direction: column;
  background: rgba(14,14,14,.97);
  border-bottom: 1px solid var(--border);
  padding: 16px 32px 24px;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-size: 1rem; font-weight: 500; color: var(--text-2);
  padding: 13px 0; border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover { color: var(--text-1); }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 64px;
  padding: 100px 32px 64px;
  position: relative; z-index: 1;
}
.live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 500; color: #4ade80;
  background: rgba(74,222,128,.07);
  border: 1px solid rgba(74,222,128,.15);
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 1.08; font-weight: 700;
  letter-spacing: -.02em; margin-bottom: 20px;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: 1.05rem; color: var(--text-2);
  max-width: 420px; margin-bottom: 36px; line-height: 1.7;
}
.hero-actions {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 44px; flex-wrap: wrap;
}
.btn-play {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--accent); color: #fff;
  font-family: var(--font); font-size: .9rem; font-weight: 600;
  padding: 13px 26px; border-radius: 100px;
  border: none; cursor: pointer;
  transition: background .2s, transform .2s var(--spring), box-shadow .2s;
}
.btn-play:hover {
  background: var(--accent-2); transform: translateY(-1px);
  box-shadow: 0 6px 28px var(--accent-glow);
}
.btn-play:active { transform: scale(.97); }
.btn-play-icon {
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
}
.btn-play-icon svg { width: 18px; height: 18px; }
.ico-play, .ico-pause { width: 18px; height: 18px; }

.hero-stats {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.hstat b { display: block; font-size: 1.4rem; font-weight: 700; line-height: 1.1; }
.hstat span { font-size: .75rem; color: var(--text-3); }

/* ── Player Card ── */
.player-card {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
}
.player-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.player-badge {
  display: flex; align-items: center; gap: 7px;
  font-size: .72rem; font-weight: 600;
  color: var(--text-2); letter-spacing: .05em;
}
.player-genre {
  font-size: .72rem; color: var(--text-3);
  background: var(--bg-3); border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 100px;
}
.player-viz {
  background: var(--bg-3); border-radius: var(--r-sm);
  margin-bottom: 20px; overflow: hidden;
  line-height: 0;
}
#eqCanvas { display: block; width: 100%; height: 96px; }
.player-info { margin-bottom: 20px; }
.player-track { font-size: 1.05rem; font-weight: 600; margin-bottom: 3px; }
.player-bpm   { font-size: .78rem; color: var(--text-3); }

.player-controls {
  display: flex; align-items: center; justify-content: space-between;
}
.volume-wrap {
  display: flex; align-items: center; gap: 8px; color: var(--text-3);
}
.vol-slider {
  width: 90px; height: 3px;
  -webkit-appearance: none; appearance: none;
  background: var(--border-2); border-radius: 2px;
  outline: none; cursor: pointer;
}
.vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 13px; height: 13px;
  border-radius: 50%; background: var(--accent); cursor: pointer;
}
.play-btn-lg {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer;
  transition: background .2s, transform .2s var(--spring);
}
.play-btn-lg:hover { background: var(--accent-2); transform: scale(1.07); }
.play-btn-lg svg { width: 20px; height: 20px; }

/* ── Ticker ── */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 13px 0;
  background: var(--bg-2);
  position: relative; z-index: 1;
}
.ticker-inner {
  display: flex; gap: 28px; width: max-content;
  animation: ticker 28s linear infinite;
}
.ticker-inner span {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-3); white-space: nowrap;
}
.ticker-inner .sep { color: var(--accent); opacity: .5; }
@keyframes ticker { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ── Moods ── */
.moods {
  max-width: 1200px; margin: 0 auto;
  padding: 100px 32px;
  position: relative; z-index: 1;
}
.mood-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.mood-card {
  position: relative; overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 28px 22px;
  cursor: pointer;
  transition: transform .3s var(--spring), border-color .25s, box-shadow .3s;
}
.mood-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-2);
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
}
.mood-card.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 16px 48px rgba(232,130,74,.12);
}
.mood-glow {
  position: absolute; inset: 0; border-radius: inherit;
  opacity: 0; transition: opacity .3s;
  background: radial-gradient(ellipse at 50% 0%, var(--accent-dim), transparent 70%);
}
.mood-card.active .mood-glow,
.mood-card:hover  .mood-glow { opacity: 1; }

.mood-body { position: relative; z-index: 1; }
.mood-icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-2);
  border-radius: 12px; margin-bottom: 16px;
  color: var(--text-2);
  background: var(--bg-3);
}
.mood-card.active .mood-icon { color: var(--accent); border-color: rgba(232,130,74,.3); }
.mood-icon svg { width: 20px; height: 20px; }
.mood-body h3 { font-size: 1rem; font-weight: 600; margin-bottom: 5px; }
.mood-body p  { font-size: .8rem; color: var(--text-2); margin-bottom: 14px; }
.mood-chip {
  display: inline-block;
  font-size: .68rem; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: var(--text-3);
  border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 100px;
  background: var(--bg-3);
}
.mood-card.active .mood-chip { color: var(--accent); border-color: rgba(232,130,74,.3); background: var(--accent-dim); }

/* ── Features ── */
.features {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative; z-index: 1;
}
.features-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  divide-x: 1px solid var(--border);
}
.feat {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 48px 48px;
  border-right: 1px solid var(--border);
}
.feat:last-child { border-right: none; }
.feat-num {
  font-family: var(--serif); font-size: 2.4rem; font-weight: 700;
  color: var(--accent); line-height: 1; flex-shrink: 0;
  min-width: 60px;
}
.feat h3 { font-size: .95rem; font-weight: 600; margin-bottom: 6px; }
.feat p   { font-size: .82rem; color: var(--text-2); line-height: 1.65; }

/* ── Schedule ── */
.schedule {
  max-width: 900px; margin: 0 auto;
  padding: 100px 32px;
  position: relative; z-index: 1;
}
.sched-list { display: flex; flex-direction: column; }
.sched-row {
  display: grid;
  grid-template-columns: 120px 1px 1fr auto;
  align-items: center;
  gap: 0 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.sched-row:last-child { border-bottom: none; }
.sched-row.active .sched-time { color: var(--accent); }
.sched-time {
  font-size: .78rem; font-weight: 600;
  color: var(--text-3); letter-spacing: .04em;
  white-space: nowrap;
}
.sched-line {
  width: 1px; align-self: stretch;
  background: var(--border);
}
.sched-row.active .sched-line { background: var(--accent); opacity: .4; }
.sched-content h3 { font-size: .95rem; font-weight: 600; margin-bottom: 4px; }
.sched-content p  { font-size: .8rem; color: var(--text-2); }
.sched-bar-wrap { width: 120px; }
.sched-bar {
  height: 3px; background: var(--bg-3); border-radius: 2px;
}
.sched-fill {
  height: 100%; width: 0; border-radius: 2px;
  background: var(--border);
  transition: width 1s var(--ease);
}
.sched-row.active .sched-fill { background: var(--accent); }
.sched-row.active .now-tag {
  display: inline-flex;
}
.now-tag {
  display: none; align-items: center;
  font-size: .6rem; font-weight: 700; letter-spacing: .1em;
  color: #4ade80; background: rgba(74,222,128,.08);
  border: 1px solid rgba(74,222,128,.18);
  padding: 2px 8px; border-radius: 100px;
  margin-left: 8px;
}

/* ── Premium ── */
.premium {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 100px 32px;
  position: relative; z-index: 1;
}
.premium-inner { max-width: 880px; margin: 0 auto; }
.premium-header {
  text-align: center; margin-bottom: 56px;
}
.premium-header h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15; margin-bottom: 12px;
}
.premium-header h2 em { font-style: italic; color: var(--accent); }
.premium-header p { color: var(--text-2); font-size: .95rem; max-width: 420px; margin: 0 auto; }

.premium-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; align-items: start;
}
.prem-card {
  border-radius: 20px; padding: 36px 32px;
  border: 1px solid var(--border);
  background: var(--bg-3);
}
.prem-pro {
  border-color: var(--accent);
  background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--accent), 0 24px 72px rgba(232,130,74,.1);
}
.prem-tier {
  font-size: .7rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-3);
  margin-bottom: 16px;
}
.prem-pro .prem-tier { color: var(--accent); }
.prem-price-row {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 28px;
}
.prem-price { font-size: 3rem; font-weight: 700; line-height: 1; }
.prem-per   { font-size: .9rem; color: var(--text-3); }
.prem-list  { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.prem-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: .875rem; color: var(--text-2);
}
.prem-list li::before {
  content: ''; display: block;
  width: 16px; height: 16px; flex-shrink: 0;
  border-radius: 50%; border: 1px solid var(--border-2);
}
.prem-list li.yes { color: var(--text-1); }
.prem-list li.yes::before {
  background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  border-color: var(--accent);
}
.prem-list li.no { opacity: .4; }
.prem-note {
  text-align: center; font-size: .75rem;
  color: var(--text-3); margin-top: 12px;
}

/* ── Newsletter ── */
.newsletter {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
  position: relative; z-index: 1;
}
.newsletter-inner {
  max-width: 480px; margin: 0 auto; text-align: center;
}
.newsletter-inner h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 10px; font-weight: 700;
}
.newsletter-inner h2 em { font-style: italic; color: var(--accent); }
.newsletter-inner > p { color: var(--text-2); font-size: .92rem; margin-bottom: 28px; }
.nl-form { display: flex; gap: 10px; margin-bottom: 12px; }
.nl-input {
  flex: 1; padding: 13px 20px;
  background: var(--bg-2); border: 1px solid var(--border-2);
  border-radius: 100px; color: var(--text-1);
  font-family: var(--font); font-size: .875rem; outline: none;
  transition: border-color .2s;
}
.nl-input:focus { border-color: var(--accent); }
.nl-note { font-size: .73rem; color: var(--text-3); }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 32px 28px;
  position: relative; z-index: 1;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr;
  gap: 60px; margin-bottom: 48px;
}
.footer-brand p {
  font-size: .84rem; color: var(--text-3);
  max-width: 300px; line-height: 1.65; margin-top: 6px;
}
.footer-nav {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.fnav-col h4 {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 16px;
}
.fnav-col a {
  display: block; font-size: .84rem; color: var(--text-3);
  padding: 4px 0; transition: color .2s;
}
.fnav-col a:hover { color: var(--text-1); }
.footer-bar {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: .76rem; color: var(--text-3);
}

/* ── Mini Player ── */
.mini-player {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 2000;
  background: rgba(14,14,14,.95);
  backdrop-filter: blur(24px);
  border-top: 1px solid var(--border-2);
  transform: translateY(100%);
  transition: transform .4s var(--ease);
}
.mini-player.show { transform: translateY(0); }
.mp-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 54px; padding: 0 32px; gap: 24px;
}
.mp-info {
  display: flex; align-items: center; gap: 10px;
  min-width: 180px;
}
.mp-track { display: block; font-size: .86rem; font-weight: 600; }
.mp-label { display: block; font-size: .7rem; color: var(--text-3); }
#mpWave { display: block; flex-shrink: 0; }
.mp-controls { display: flex; align-items: center; gap: 16px; }
.mp-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer;
  transition: background .2s, transform .2s var(--spring); flex-shrink: 0;
}
.mp-btn:hover { background: var(--accent-2); transform: scale(1.08); }
.mp-btn svg { width: 15px; height: 15px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .mood-grid { grid-template-columns: repeat(2, 1fr); }
  .features-inner { grid-template-columns: 1fr; }
  .feat { border-right: none; border-bottom: 1px solid var(--border); }
  .feat:last-child { border-bottom: none; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 48px; }
  .premium-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .sched-row { grid-template-columns: 100px 1px 1fr; }
  .sched-bar-wrap { display: none; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .mood-grid { gap: 12px; }
  .hero { padding: 90px 20px 48px; }
  .moods, .schedule, .premium, .newsletter { padding: 72px 20px; }
  .features { padding: 0; }
  .feat { padding: 32px 20px; }
  .nav-inner { padding: 0 20px; }
  .footer { padding: 48px 20px 24px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .footer-bar { flex-direction: column; gap: 6px; text-align: center; }
  .nl-form { flex-direction: column; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .mp-inner { padding: 0 20px; }
  #mpWave { display: none; }
  .sched-row { grid-template-columns: 90px 1px 1fr; gap: 0 16px; }
}
