/* ============================================
   SIGNAL — TuneInRadio.us
   Design by Claude / ZAFEM Network 2026
   Palette: Deep Space + Electric Coral + Warm Gold
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --void:        #07090f;
  --deep:        #0d1117;
  --surface:     #141820;
  --card:        #1a2030;
  --border:      #252d3d;
  --border-bright: #2e3a50;
  --coral:       #ff4d6d;
  --coral-dim:   #cc2244;
  --coral-glow:  rgba(255, 77, 109, 0.15);
  --gold:        #ffd166;
  --gold-dim:    rgba(255, 209, 102, 0.12);
  --ice:         #a8d8f0;
  --text:        #e8edf5;
  --text-mid:    #8a95a8;
  --text-dim:    #4a5568;
  --live-green:  #00d68f;
  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(0,0,0,0.4);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.3);
  --transition:  0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--void);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--deep); }
::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--coral); }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 15, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--coral), var(--coral-dim));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.logo-text span { color: var(--coral); }

.header-search {
  flex: 1;
  max-width: 400px;
  position: relative;
}

.header-search input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 16px 9px 40px;
  color: var(--text);
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  outline: none;
}

.header-search input:focus {
  border-color: var(--coral);
  background: var(--card);
  box-shadow: 0 0 0 3px var(--coral-glow);
}

.header-search input::placeholder { color: var(--text-dim); }

.header-search .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 0.9rem;
  pointer-events: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-ghost {
  background: transparent;
  color: var(--text-mid);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface); color: var(--text); border-color: var(--border-bright); }

.btn-coral {
  background: var(--coral);
  color: #fff;
}
.btn-coral:hover { background: #ff6b85; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,77,109,0.4); }

.btn-gold {
  background: var(--gold);
  color: var(--void);
}
.btn-gold:hover { background: #ffe08a; transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  padding: 72px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255,77,109,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-dim);
  border: 1px solid rgba(255,209,102,0.2);
  color: var(--gold);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--text);
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 .accent { color: var(--coral); }

.hero p {
  color: var(--text-mid);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 36px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--coral);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── SECTION ── */
.section { padding: 48px 24px; max-width: 1280px; margin: 0 auto; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; gap: 16px; }
.section-title { font-size: 1.3rem; color: var(--text); display: flex; align-items: center; gap: 10px; }
.section-title .dot { width: 8px; height: 8px; background: var(--coral); border-radius: 50%; display: inline-block; }

/* ── FILTER BAR ── */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.filter-pill {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: 'Space Grotesk', sans-serif;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-mid);
  transition: var(--transition);
}

.filter-pill:hover { border-color: var(--coral); color: var(--coral); }
.filter-pill.active { background: var(--coral); border-color: var(--coral); color: #fff; }

/* ── STATION GRID ── */
.station-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

/* ── STATION CARD ── */
.station-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}

.station-card:hover {
  border-color: var(--coral);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(255,77,109,0.15);
}

.station-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--card) 0%, rgba(255,209,102,0.05) 100%);
}

.station-card.featured::before {
  content: '★ Featured';
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--gold);
  color: var(--void);
  font-size: 0.65rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  z-index: 2;
}

.card-logo {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}

.card-logo .no-logo {
  font-size: 2.5rem;
  opacity: 0.3;
}

.card-body { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }

.card-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.card-genre {
  font-size: 0.72rem;
  color: var(--coral);
  font-weight: 500;
  font-family: 'Space Grotesk', sans-serif;
}

.card-country {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.card-footer {
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--live-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: var(--live-green);
  border-radius: 50%;
  animation: pulse-live 1.5s ease-in-out infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.card-plays {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.card-play-btn {
  width: 32px;
  height: 32px;
  background: var(--coral);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.card-play-btn:hover { background: #ff6b85; transform: scale(1.1); }
.card-play-btn.playing { background: var(--gold); color: var(--void); }

/* ── STATION PAGE ── */
.station-hero {
  background: var(--deep);
  border-bottom: 1px solid var(--border);
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}

.station-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(255,77,109,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.station-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
}

.station-logo-wrap {
  width: 140px;
  height: 140px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.station-logo-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.station-logo-wrap .no-logo { font-size: 4rem; opacity: 0.3; }

.station-info { display: flex; flex-direction: column; gap: 12px; }

.station-name-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.station-page-name {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--text);
}

.station-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.tag {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}

.tag-genre { background: var(--coral-glow); color: var(--coral); border: 1px solid rgba(255,77,109,0.2); }
.tag-country { background: var(--surface); color: var(--text-mid); border: 1px solid var(--border); }
.tag-language { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(255,209,102,0.2); }

.station-desc { color: var(--text-mid); font-size: 0.9rem; max-width: 600px; }

.station-socials { display: flex; gap: 8px; flex-wrap: wrap; }

.social-link {
  width: 34px;
  height: 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-mid);
  transition: var(--transition);
}

.social-link:hover { background: var(--coral); border-color: var(--coral); color: #fff; }

/* ── NOW PLAYING BLOCK ── */
.now-playing-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
}

.now-playing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.np-bg-blur {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(40px) saturate(0.3);
  opacity: 0.15;
  transition: background-image 1s ease;
}

.np-content {
  position: relative;
  z-index: 1;
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: center;
}

.np-album {
  width: 100px;
  height: 100px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.np-album img { width: 100%; height: 100%; object-fit: cover; }
.np-album .no-art { font-size: 2.5rem; opacity: 0.3; }

.np-info { flex: 1; min-width: 0; }

.np-label {
  font-size: 0.7rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.np-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.np-artist {
  font-size: 0.9rem;
  color: var(--text-mid);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 16px;
}

/* EQ Visualizer */
.eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
}

.eq-bar {
  width: 4px;
  background: var(--coral);
  border-radius: 2px;
  animation: eq-bounce 0.8s ease-in-out infinite alternate;
  opacity: 0.8;
}

.eq-bar:nth-child(1) { animation-delay: 0s; }
.eq-bar:nth-child(2) { animation-delay: 0.1s; }
.eq-bar:nth-child(3) { animation-delay: 0.2s; }
.eq-bar:nth-child(4) { animation-delay: 0.05s; }
.eq-bar:nth-child(5) { animation-delay: 0.15s; }
.eq-bar:nth-child(6) { animation-delay: 0.25s; }
.eq-bar:nth-child(7) { animation-delay: 0.08s; }
.eq-bar:nth-child(8) { animation-delay: 0.18s; }

@keyframes eq-bounce {
  from { height: 4px; }
  to   { height: 24px; }
}

.eq-bars.paused .eq-bar { animation-play-state: paused; height: 4px; }

.np-controls { display: flex; align-items: center; gap: 12px; margin-top: 16px; }

.play-btn-main {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--coral);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(255,77,109,0.4);
}

.play-btn-main:hover { background: #ff6b85; transform: scale(1.05); }
.play-btn-main.playing { background: var(--gold); color: var(--void); }

.vol-control { display: flex; align-items: center; gap: 8px; }
.vol-control input[type=range] {
  width: 80px;
  accent-color: var(--coral);
  cursor: pointer;
}

/* Station Info Panel */
.station-info-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.info-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.info-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.info-row:last-child { border-bottom: none; }
.info-row-label { color: var(--text-dim); }
.info-row-value { color: var(--text); font-weight: 500; text-align: right; }

/* ── PAGINATION ── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 32px 0;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-mid);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-btn:hover { border-color: var(--coral); color: var(--coral); }
.page-btn.active { background: var(--coral); border-color: var(--coral); color: #fff; }
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.8rem;
}

.site-footer a { color: var(--coral); }
.site-footer a:hover { text-decoration: underline; }

/* ── BOTTOM PLAYER ── */
.bottom-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(13, 17, 23, 0.97);
  backdrop-filter: blur(24px);
  border-top: 1px solid var(--border);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bottom-player.visible { transform: translateY(0); }

.bp-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bp-logo img { width: 100%; height: 100%; object-fit: contain; }

.bp-info { flex: 1; min-width: 0; }
.bp-station { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-track { font-size: 0.75rem; color: var(--text-mid); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.bp-eq { display: flex; align-items: flex-end; gap: 2px; height: 20px; margin: 0 8px; }
.bp-eq-bar { width: 3px; background: var(--coral); border-radius: 2px; animation: eq-bounce 0.8s ease-in-out infinite alternate; }
.bp-eq-bar:nth-child(1) { animation-delay: 0s; }
.bp-eq-bar:nth-child(2) { animation-delay: 0.15s; }
.bp-eq-bar:nth-child(3) { animation-delay: 0.05s; }
.bp-eq-bar:nth-child(4) { animation-delay: 0.2s; }
.bp-eq-bar:nth-child(5) { animation-delay: 0.1s; }
.bp-eq.paused .bp-eq-bar { animation-play-state: paused; height: 3px; }

.bp-controls { display: flex; align-items: center; gap: 10px; }

.bp-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--coral);
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.bp-play:hover { background: #ff6b85; }
.bp-play.playing { background: var(--gold); color: var(--void); }

.bp-vol { width: 70px; accent-color: var(--coral); cursor: pointer; }

.bp-close {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
  transition: var(--transition);
}
.bp-close:hover { color: var(--text); }

/* ── ADMIN ── */
.admin-body { background: var(--void); }

.admin-sidebar {
  width: 240px;
  background: var(--deep);
  border-right: 1px solid var(--border);
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
}

.admin-logo {
  padding: 0 20px 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.admin-logo span { color: var(--coral); }

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: var(--text-mid);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  border-left: 3px solid transparent;
}

.admin-nav-item:hover { color: var(--text); background: var(--surface); }
.admin-nav-item.active { color: var(--coral); border-left-color: var(--coral); background: var(--coral-glow); }

.admin-main {
  margin-left: 240px;
  padding: 32px;
  min-height: 100vh;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.admin-title {
  font-size: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
}

.admin-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-table th {
  text-align: left;
  padding: 10px 12px;
  color: var(--text-dim);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
}

.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--surface); }

.admin-table .station-thumb {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--surface);
}

.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-mid);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text);
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px var(--coral-glow);
}

.form-textarea { resize: vertical; min-height: 100px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

.toggle-switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-slider {
  width: 44px;
  height: 24px;
  background: var(--border);
  border-radius: 100px;
  transition: var(--transition);
  position: relative;
}
.toggle-slider::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: var(--transition);
}
.toggle-switch input:checked + .toggle-slider { background: var(--coral); }
.toggle-switch input:checked + .toggle-slider::after { left: 23px; }

/* ── SEARCH RESULTS ── */
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 300;
  max-height: 320px;
  overflow-y: auto;
  display: none;
}

.search-results-dropdown.open { display: block; }

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: var(--transition);
}

.search-result-item:hover { background: var(--surface); }

.search-result-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--surface);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.search-result-logo img { width: 100%; height: 100%; object-fit: contain; }

.search-result-name { font-size: 0.875rem; font-weight: 500; color: var(--text); }
.search-result-meta { font-size: 0.75rem; color: var(--text-dim); }

/* ── ALERTS ── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alert-success { background: rgba(0,214,143,0.1); border: 1px solid rgba(0,214,143,0.3); color: var(--live-green); }
.alert-error { background: var(--coral-glow); border: 1px solid rgba(255,77,109,0.3); color: var(--coral); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .header-search { display: flex !important; max-width: 100%; width: 100%; order: 3; }
  .site-header { flex-wrap: wrap; height: auto; padding: 12px 16px; gap: 8px; }
  .header-nav { margin-left: auto; }
  .hero { padding: 48px 16px 40px; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: 24px; }
  .section { padding: 32px 16px; }
  .station-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .station-hero-inner { grid-template-columns: 1fr; }
  .station-logo-wrap { width: 100px; height: 100px; }
  .now-playing-section { grid-template-columns: 1fr; }
  .form-grid, .form-grid-3 { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; padding: 16px; }
  /* search shown on mobile */
  .logo-text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 900px) {
  #mainLayout { grid-template-columns: 1fr !important; }
  #sidebarCol { display: none; }
}
