/* =====================
    1. CORE & CINEMATIC THEME
===================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&family=Roboto:wght@400;500;700&display=swap');

:root {
  --primary: #E50914; 
  --accent: #00d4ff; 
  --bg-deep: #000000; 
  --sidebar-bg: #0f0f0f; 
  --glass-bg: rgba(18, 18, 18, 0.85); 
  --glass-border: rgba(255, 255, 255, 0.08);
  --text-main: #ffffff;
  --text-dim: #808080;
  --sidebar-width: 240px;
  
  --font-header: 'Montserrat', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-premium: 0 20px 50px rgba(0,0,0,0.5);
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  background-image: radial-gradient(circle at 50% -20%, #3d0505 0%, #000 80%);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
  /* Optimized for mobile Safari and Chrome dynamics */
  min-height: 100dvh; 
  padding-bottom: calc(110px + env(safe-area-inset-bottom)); 
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

.sr-inline-heading {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.sr-inline-link {
  color: #666;
  font-size: 13px;
  text-decoration: none;
}

.sr-loading-copy {
  font-size: 12px;
  color: #666;
}

/* Reset for Safari Form Elements */
button, input, select, textarea {
  -webkit-appearance: none;
  appearance: none;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #222; border-radius: 10px; border: 1px solid #333; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* =====================
    2. SIDEBAR & NAVIGATION
==================== */
.sidebar {
  width: var(--sidebar-width);
  background: var(--sidebar-bg);
  padding: calc(30px + env(safe-area-inset-top)) 0 0 0; 
  position: fixed;
  height: 100dvh; /* Safari Dynamic Viewport fix */
  top: 0; left: 0;
  z-index: 1000;
  border-right: 1px solid var(--glass-border);
  display: flex; 
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  -webkit-overflow-scrolling: touch; /* iOS Momentum Scroll */
}

.sidebar .logo { 
    padding: 0 20px; 
    margin-bottom: 30px; 
    letter-spacing: -1.5px;
    font-family: var(--font-header);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.sidebar .logo img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.sidebar .logo:hover img { transform: scale(1.02); }

.discover {
  font-family: var(--font-header);
  font-size: 11px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: #444; margin-bottom: 15px; padding: 0 20px;
  flex-shrink: 0;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 20px;
  margin-bottom: 18px;
  line-height: 1;
}

.sidebar-brand-primary {
  color: var(--primary);
  font-family: var(--font-header);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1.5px;
}

.sidebar-brand-secondary {
  color: #fff;
  font-family: var(--font-header);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -1.5px;
}

.nav-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 20px;
  color: var(--text-dim); cursor: pointer; transition: var(--transition-smooth);
  font-size: 14px; font-weight: 700; border-left: 3px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  text-decoration: none;
  background: transparent;
  border-top: none;
  border-right: none;
  border-bottom: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.nav-item:hover { color: #fff; background: rgba(255, 255, 255, 0.03); padding-left: 25px; }
.nav-item.active {
  color: #fff; background: linear-gradient(90deg, rgba(229, 9, 20, 0.15) 0%, transparent 100%);
  border-left: 3px solid var(--primary);
}

.nav-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.sidebar-spacer { flex: 1; }

.sidebar-socials {
  padding: 15px 0 10px 0; 
  display: flex; justify-content: center; gap: 12px; width: 100%;
  border-top: 1px solid rgba(255,255,255,0.03);
}

.social-btn {
  width: 38px; height: 38px; background: #1a1a1a;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px; color: white; text-decoration: none;
  font-size: 14px; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
  border: 1px solid var(--glass-border);
}

.social-btn:hover { background: var(--primary); transform: translateY(-3px); border-color: rgba(255,255,255,0.2); box-shadow: 0 5px 15px rgba(229, 9, 20, 0.3); }

.sidebar-footer {
    padding: 10px 20px calc(20px + env(safe-area-inset-bottom)) 20px;
    text-align: center;
}

.dj-login-link {
    margin-top: 12px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: #6f6f6f;
    font-family: var(--font-header);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    padding: 9px 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dj-login-link:hover {
    color: #fff;
    border-color: rgba(0, 212, 255, 0.28);
    background: rgba(0, 212, 255, 0.08);
}

.copyright {
    font-family: var(--font-body);
    font-size: 9px; 
    color: #444; 
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    line-height: 1.4;
    opacity: 0.8;
}

/* =====================
    3. MAIN CONTENT & TOPBAR
==================== */
.main {
  margin-left: var(--sidebar-width);
  padding: 0 50px 20px 50px; 
  display: flex; flex-direction: column; align-items: center;
  transition: margin-left 0.3s ease;
  min-height: 100dvh;
}

.main > * { width: 100%; max-width: 1100px; }

.topbar { width: 100%; padding: 30px 0; display: flex; justify-content: flex-end; }

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 60px;
  padding: 0 20px;
}

.hero-info {
  flex: 1;
  min-width: 0;
  max-width: 560px;
}

.track-info {
  max-width: 560px;
}

.logo-mobile {
  display: none;
  align-items: center;
  font-size: 20px;
  letter-spacing: -0.5px;
  line-height: 1;
  font-family: var(--font-header);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  position: relative;
  z-index: 1101;
}

.hamburger-icon {
  width: 24px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: all 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background: #fff;
  left: 0;
  transition: all 0.3s ease;
}

.hamburger-icon::before { top: -8px; }
.hamburger-icon::after { bottom: -8px; }

.menu-toggle.open .hamburger-icon {
  background: transparent;
}

.menu-toggle.open .hamburger-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-toggle.open .hamburger-icon::after {
  transform: rotate(-45deg);
  bottom: 0;
}

.logo-mobile-primary {
  color: var(--primary);
  font-weight: 900;
  font-size: 22px;
}

.logo-mobile-secondary {
  color: #fff;
  font-weight: 400;
  font-size: 22px;
}

/* =====================
    4. PREMIUM HERO PLAYER
==================== */
.hero-card {
  background: linear-gradient(165deg, rgba(229, 9, 20, 0.18) 0%, rgba(0, 0, 0, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px; padding: 60px; margin-bottom: 40px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6); 
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px); /* Safari Support */
  position: relative; overflow: hidden;
}

.hero-content { display: flex; align-items: center; gap: 50px; position: relative; z-index: 2; }

.album-art {
  width: 260px; height: 260px; border-radius: 16px; object-fit: cover;
  box-shadow: 0 25px 60px rgba(0,0,0,0.9), 0 0 30px rgba(229, 9, 20, 0.2);
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
  will-change: transform, opacity;
}

.album-art.fading { opacity: 0; transform: scale(0.96); }

#nowPlaying {
  font-family: var(--font-header);
  font-size: clamp(32px, 5vw, 52px); font-weight: 900; letter-spacing: -2px; margin-bottom: 8px;
  line-height: 1.1;
  background: linear-gradient(180deg, #ffffff 0%, #aaaaaa 100%); 
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

#djName { 
  font-size: 14px; 
  color: var(--text-dim); 
  font-weight: 600; 
  margin-bottom: 8px; 
  text-transform: uppercase; 
  letter-spacing: 2px; 
  opacity: 0.9;
}

#listeners { display: none !important; }

.live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(229, 9, 20, 0.2); border: 1px solid var(--primary);
  padding: 8px 16px; border-radius: 8px; font-size: 11px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 25px;
  font-family: var(--font-header);
}

.live-dot { 
  width: 10px; height: 10px; background: var(--primary); border-radius: 50%; 
  animation: live-glow 1.5s infinite; 
  will-change: transform, box-shadow;
}

@keyframes live-glow {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.7); }
  70% { transform: scale(1.3); box-shadow: 0 0 0 12px rgba(229, 9, 20, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(229, 9, 20, 0); }
}

.play-btn {
  font-family: var(--font-header);
  background: #fff; color: #000; padding: 15px 40px; border-radius: 12px;
  font-weight: 900; border: none; cursor: pointer; margin-top: 25px;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative; overflow: hidden;
  text-transform: uppercase; letter-spacing: 1px;
  font-size: 12px;
}

.play-btn:hover { background: var(--primary); color: #fff; transform: scale(1.05) translateY(-2px); box-shadow: 0 15px 30px rgba(229, 9, 20, 0.4); }

.play-btn::after {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: rotate(45deg); transition: 0.8s;
}
.play-btn:hover::after { left: 100%; }

.hero-actions {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 25px;
}

.hero-actions .play-btn {
  margin-top: 0;
}

.hero-notify {
  display: block;
}

.notify-btn {
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: var(--font-header);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  width: 100%;
}

.play-btn,
.notify-btn-hero {
  min-width: 164px;
  min-height: 62px;
}

.notify-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 212, 255, 0.35);
  background: rgba(0, 212, 255, 0.08);
}

.notify-btn-hero {
  margin-top: 0;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.16) 0%, rgba(5, 33, 40, 0.9) 100%);
  border-color: rgba(0, 212, 255, 0.38);
  color: #8feeff;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.22);
}

.notify-btn-hero:hover {
  border-color: rgba(0, 212, 255, 0.58);
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.24) 0%, rgba(5, 33, 40, 0.94) 100%);
  box-shadow: 0 16px 26px rgba(0, 212, 255, 0.12);
}

.notify-btn.is-enabled {
  background: rgba(0, 212, 255, 0.14);
  border-color: rgba(0, 212, 255, 0.35);
  color: #00d4ff;
}

.notify-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.notify-status {
  margin-top: 10px;
  color: #8e8e8e;
  font-size: 12px;
  letter-spacing: 0.2px;
  max-width: 340px;
  line-height: 1.5;
}

.notify-status-hero {
  max-width: 380px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.notify-status-hero::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.75);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.28);
  flex-shrink: 0;
}

/* =====================
    5. DUAL SECTIONS & CARDS 
===================== */
.dual-section { 
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px; 
  margin-bottom: 40px; align-items: stretch; width: 100%;
}

.card {
  background: var(--glass-bg); backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border); border-radius: 20px; 
  padding: 30px; min-width: 0; width: 100%;
  display: flex; flex-direction: column; overflow: hidden;
  transition: var(--transition-smooth);
}

.card:hover { border-color: rgba(255,255,255,0.18); transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }

.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.card-header h3 { font-family: var(--font-header); font-size: 22px; font-weight: 800; letter-spacing: -0.5px; color: #fff; text-transform: uppercase; }

.badge { font-family: var(--font-header); padding: 6px 14px; border-radius: 8px; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 1.5px; }

.badge-live { 
  background: rgba(229, 9, 20, 0.2); color: #ff4d4d; border: 1px solid rgba(229, 9, 20, 0.4);
  box-shadow: 0 0 15px rgba(229, 9, 20, 0.2); animation: live-pulse 2s infinite ease-in-out;
}

.badge-spotlight { background: rgba(0, 212, 255, 0.15); color: var(--accent); border: 1px solid rgba(0, 212, 255, 0.3); }

.badge-spotlight-accent {
  background: rgba(0, 212, 255, 0.15);
  color: var(--accent);
}

@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.7); background: rgba(229, 9, 20, 0.2); }
  50% { box-shadow: 0 0 20px 8px rgba(229, 9, 20, 0.3); background: rgba(229, 9, 20, 0.4); color: #fff; }
  100% { box-shadow: 0 0 0 0 rgba(229, 9, 20, 0); background: rgba(229, 9, 20, 0.2); }
}

.mini-card {
  background: rgba(255,255,255,0.03); padding: 14px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06); margin-bottom: 12px;
  display: flex; align-items: center; gap: 18px; transition: 0.3s ease;
  width: 100%; min-width: 0; 
}

.mini-card:hover { background: rgba(255, 255, 255, 0.08); transform: translateX(8px); border-color: rgba(255,255,255,0.15); }
.mini-card img { width: 58px !important; height: 58px !important; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.mini-card-info { display: flex; flex-direction: column; justify-content: center; text-align: left; flex: 1; min-width: 0; }
.mini-card h5 { font-family: var(--font-header); font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mini-card p { font-size: 12px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-card .time { font-family: var(--font-header); margin-left: auto; font-size: 10px; font-weight: 800; color: var(--primary); flex-shrink: 0; }

/* =====================
     6. MSR SPOTLIGHT
===================== */
.spotlight-inner-wrapper { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.spotlight-container { display: flex; flex-direction: column; gap: 15px; height: 100%; }

.spotlight-artist-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.5) 100%);
    border-radius: 24px; padding: 25px; border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative; overflow: hidden; transition: all 0.4s ease; flex: 1;
}

.spotlight-artist-card:hover { border-color: var(--accent); box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2); transform: translateY(-2px); }
.spotlight-header { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.spotlight-img { width: 250px; height: auto; border-radius: 18px; object-fit: cover; border: 2px solid var(--accent); box-shadow: 0 0 30px rgba(0, 212, 255, 0.3); transition: 0.5s ease; }
.spotlight-artist-card:hover .spotlight-img { transform: scale(1.03); }

.spotlight-info h4 { font-family: var(--font-header); font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 6px; letter-spacing: -1px; text-transform: uppercase; }
.spotlight-tag { font-family: var(--font-header); font-size: 12px; font-weight: 900; color: var(--accent); text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 5px; }
.spotlight-genre { color: var(--accent); font-size: 12px; font-weight: 700; }
.spotlight-bio { font-size: 15px; color: #ccc; line-height: 1.7; margin-bottom: 25px; }

.btn-spotlight { font-family: var(--font-header); width: 100%; background: var(--accent); color: #000; border: none; padding: 16px; border-radius: 12px; font-size: 13px; font-weight: 900; text-transform: uppercase; cursor: pointer; transition: 0.3s; letter-spacing: 1.5px; }
.btn-spotlight:hover { background: #fff; transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3); }

.btn-submit-subtle {
  font-family: var(--font-header); display: block; width: 100%; background: transparent; border: 1px solid rgba(0, 212, 255, 0.3); 
  color: var(--text-dim); padding: 14px; border-radius: 12px; font-size: 11px;
  font-weight: 800; text-transform: uppercase; text-decoration: none; text-align: center;
  letter-spacing: 2px; transition: all 0.3s ease; margin-top: auto; 
}
.btn-submit-subtle:hover { border-color: var(--accent); color: #fff; background: rgba(0, 212, 255, 0.08); box-shadow: 0 0 20px rgba(0, 212, 255, 0.15); }

/* =====================
     6.25 NEWS & SHARE
===================== */
.news-section {
  margin: 40px 0;
  padding: 0 5px;
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-meta-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9e9e9e;
  font-family: var(--font-header);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 0;
}

.news-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.news-body {
  padding: 16px;
}

.news-tag {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 1px;
}

.feed-item {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.feed-item:hover {
  opacity: 0.8;
}

.feed-item img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.feed-item h5 {
  color: #fff;
  font-size: 13px;
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feed-meta {
  margin-top: 4px;
  font-size: 10px;
  color: #666;
}

.feed-meta-accent {
  color: var(--accent);
}

.msr-share-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  margin: 15px 0;
  border: 1.5px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.share-title {
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  font-family: 'Inter', sans-serif;
}

.share-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.msr-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.msr-share-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

.msr-share-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.msr-share-copy:hover,
.msr-share-copy.is-copied {
  background: #0bb3d9;
  border-color: #0bb3d9;
}

.msr-share-x:hover {
  background: #111;
  border-color: rgba(255, 255, 255, 0.4);
}

.msr-share-spotify:hover {
  background: #1db954;
  border-color: #1db954;
}

.share-feedback {
  min-width: 84px;
  color: #9fdfff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: right;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.share-feedback.is-visible {
  opacity: 1;
}

/* =====================
     6.5 MEET THE TEAM
===================== */
.team-section {
  margin: 40px 0;
  padding: 0 5px;
}

.presenter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.presenter-card {
  background: var(--sidebar-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.presenter-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.presenter-img { 
  width: 100%; aspect-ratio: 1/1; overflow: hidden; position: relative; 
}

.presenter-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s ease;
}

.presenter-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  opacity: 0; 
  transition: opacity 0.4s ease;
  z-index: 2;
}

.presenter-overlay p { color: #fff; font-size: 13px; line-height: 1.5; margin-bottom: 10px; }

.presenter-overlay .handle {
  font-family: var(--font-header);
  color: var(--accent); font-weight: 800; font-size: 11px; text-transform: uppercase;
  letter-spacing: 1.5px;
}

.presenter-card:hover .presenter-overlay,
.presenter-card:active .presenter-overlay { opacity: 1; }
.presenter-card:hover .presenter-img img { transform: scale(1.15); }
.presenter-info { padding: 15px 20px; text-align: center; } 
.vibe-tag { font-family: var(--font-header); color: var(--accent); font-size: 10px; font-weight: 900; text-transform: uppercase; margin-bottom: 4px; display: block; letter-spacing: 1.5px; }
.presenter-info h3,
.presenter-info h4 {
  font-family: var(--font-header);
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

@media (min-width: 851px) {
  .presenter-grid { grid-template-columns: repeat(4, 1fr); gap: 25px; }
}

/* =====================
    7. PROGRAMS SECTION (DESKTOP)
===================== */
.schedule-section { position: relative; width: 100%; margin-bottom: 60px; }

.programs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.schedule-scroll {
  display: flex; gap: 25px; overflow-x: auto; padding: 15px 5px 40px 5px;
  scroll-behavior: smooth; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.schedule-scroll::-webkit-scrollbar { display: none; }

.program-pack {
  flex: 0 0 300px; position: relative; border-radius: 20px; overflow: hidden;
  cursor: pointer; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--glass-border); background: #000;
}

.program-pack:hover { 
    transform: translateY(-12px) scale(1.02); 
    border-color: var(--primary); 
    box-shadow: 0 25px 50px rgba(229, 9, 20, 0.3); 
}

.pack-img { width: 100%; height: auto; display: block; transition: transform 0.6s ease; }
.program-pack:hover .pack-img { transform: scale(1.08); }

.programs-nav-arrows { display: flex; gap: 12px; }
.btn-prev, .btn-next {
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border);
  color: white; width: 45px; height: 45px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all 0.3s ease;
  font-size: 18px;
}
.btn-prev:hover, .btn-next:hover { 
    background: var(--primary); border-color: var(--primary); 
    transform: scale(1.1); box-shadow: 0 0 20px rgba(229, 9, 20, 0.5);
}

/* =====================
     7.5 INTERACTION SECTION (CHAT & MAP)
===================== */
.interaction-section { margin: 50px 0; width: 100%; padding: 0 5px; }
.interaction-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }

.header-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.header-row h2 {
    font-family: var(--font-header);
    letter-spacing: -1px;
    margin: 0;
    font-size: 24px;
}

.badge-inline {
    font-family: var(--font-header);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 6px;
    letter-spacing: 1px;
}

.badge-live { background: rgba(229, 9, 20, 0.15); color: #ff4d4d; border: 1px solid rgba(229, 9, 20, 0.3); }
/* --- FlagCounter Alignment --- */
.interaction-container {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 480px;
    overflow: hidden;
    border-radius: 16px;
    background: #050505;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--glass-border);
}

.interaction-container iframe {
    width: 100%;
    flex: 1;
    border: none;
}

.location-map {
    filter: grayscale(1) invert(1) contrast(0.8);
}

.tracker-wrapper {
    padding: 25px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}

.tracker-wrapper:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.25));
}

.tracker-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.interaction-col .card {
    min-height: 480px;
    padding: 20px;
}

.location-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
}

.location-map-container {
    min-height: 280px;
}

.visitor-tracker-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px;
}

.visitor-tracker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.visitor-tracker-header h3 {
    margin: 0;
    font-family: var(--font-header);
    font-size: 16px;
    letter-spacing: -0.4px;
}

.visitor-tracker-tag {
    white-space: nowrap;
}

.visitor-tracker-summary {
    margin-bottom: 12px;
    color: #aaa;
    font-size: 12px;
    letter-spacing: 0.2px;
}

.visitor-country-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-height: 360px;
    overflow-y: auto;
    padding-right: 4px;
}

.visitor-country-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.visitor-country-name {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.visitor-country-flag {
    width: 18px;
    height: 13px;
    border-radius: 3px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.visitor-country-count {
    color: #00d4ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.visitor-tracker-empty {
    color: #777;
    font-size: 12px;
}

/* =====================
    8. PREMIUM MINI PLAYER
==================== */
.mini-player {
  position: fixed; bottom: 0; left: var(--sidebar-width); right: 0;
  height: calc(100px + env(safe-area-inset-bottom)); background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(45px) saturate(180%);
  -webkit-backdrop-filter: blur(45px) saturate(180%);
  border-top: 1px solid var(--glass-border);
  padding: 0 45px env(safe-area-inset-bottom) 45px; display: grid; grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center; z-index: 9999; transition: left 0.3s ease;
}

.mini-left { display: flex; align-items: center; gap: 18px; }
.mini-left img { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; box-shadow: 0 8px 20px rgba(0,0,0,0.5); }

.mini-left #miniDJ, .mini-left #stickyDJ {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.8;
  color: var(--text-dim);
}

.mini-left #miniNowPlaying {
  font-weight: 800;
  font-family: var(--font-header);
  color: #fff;
}

.mini-center { display: flex; justify-content: center; } 
.mini-right { display: flex; justify-content: flex-end; align-items: center; gap: 20px; }

.volume-slider { -webkit-appearance: none; appearance: none; width: 110px; height: 5px; border-radius: 3px; background: #252525; cursor: pointer; transition: 0.2s; }
.volume-slider:hover { background: #333; }
.volume-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px rgba(0,0,0,0.5); transition: 0.2s; border: 2px solid var(--primary); }
.volume-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }

.mini-play-btn { 
  width: 54px; height: 54px; border-radius: 50%; background: #fff; color: #000; 
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 22px; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.mini-play-btn:hover { transform: scale(1.1); background: var(--primary); color: #fff; box-shadow: 0 0 20px rgba(229, 9, 20, 0.4); }

/* =====================
    9. SITE FOOTER & GUARD
==================== */
.main-footer {
    width: 100%;
    margin-top: 80px;
    padding: 100px 50px 50px 50px;
    border-top: 1px solid var(--glass-border);
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.95));
    position: relative;
    z-index: 1;
}

.footer-brand-title {
    color: #fff;
    font-weight: 900;
}

.footer-brand-accent {
    color: var(--primary);
}

.footer-year {
    margin-top: 15px;
    font-size: 11px;
    opacity: 0.4;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-col h4 {
    color: var(--primary);
    font-family: var(--font-header);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 25px;
}

.footer-col p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.8;
}

.footer-link {
  display: block;
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 14px;
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.footer-link:hover {
    opacity: 1;
    color: var(--accent);
    transform: translateX(10px);
}

.footer-link-button {
  width: auto;
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.footer-spacer {
    height: 120px;
    width: 100%;
}

.footer-disclaimer {
    max-width: 1100px;
    margin: 28px auto 0 auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.46);
    font-size: 11px;
    line-height: 1.8;
    text-align: center;
    letter-spacing: 0.15px;
}

.dj-login-overlay {
    position: fixed;
    inset: 0;
    z-index: 13000;
}

.dj-login-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.74);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.dj-login-modal {
    position: relative;
    width: min(100%, 430px);
    margin: min(12vh, 120px) auto 0 auto;
    padding: 30px 28px 28px;
    border-radius: 24px;
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
}

.dj-login-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #8a8a8a;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.dj-login-close:hover {
    color: #fff;
}

.dj-login-kicker {
    margin: 0 0 10px;
    color: #6f6f6f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.dj-login-title {
    margin: 0;
    color: var(--primary);
    font-family: var(--font-header);
    font-size: 30px;
    letter-spacing: -1px;
}

.dj-login-copy {
    margin: 10px 0 0;
    color: #9a9a9a;
    font-size: 14px;
    line-height: 1.6;
}

.dj-login-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.dj-login-label {
    color: #767676;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.dj-login-input {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #090909;
    color: #fff;
    font-size: 15px;
}

.dj-login-input:focus {
    outline: none;
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.dj-login-submit {
    width: 100%;
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid var(--primary);
    background: var(--primary);
    color: #fff;
    font-family: var(--font-header);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dj-login-submit:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.dj-login-error {
    min-height: 18px;
    margin: 12px 0 0;
    color: #ff6d6d;
    font-size: 12px;
    text-align: center;
}

.install-page {
  min-height: 100dvh;
  padding: 48px 20px 80px 20px;
}

.install-shell {
  max-width: 1040px;
  margin: 0 auto;
}

.resource-shell {
  max-width: 1040px;
  margin: 0 auto;
}

.install-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.install-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d6d6d6;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.install-back:hover {
  color: #fff;
}

.install-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  line-height: 1;
  font-family: var(--font-header);
}

.install-hero {
  background: linear-gradient(165deg, rgba(229, 9, 20, 0.16) 0%, rgba(8, 8, 8, 0.88) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 35px 70px rgba(0,0,0,0.45);
  margin-bottom: 28px;
}

.install-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.08);
  color: #8feeff;
  font-family: var(--font-header);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.install-title {
  font-family: var(--font-header);
  font-size: clamp(34px, 6vw, 58px);
  line-height: 0.98;
  letter-spacing: -2px;
  margin-bottom: 14px;
}

.install-subtitle {
  max-width: 720px;
  color: #b5b5b5;
  font-size: 16px;
  line-height: 1.7;
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.install-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.install-card h2 {
  font-family: var(--font-header);
  font-size: 28px;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.install-card p {
  color: #bbbbbb;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.install-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.install-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.install-step-number {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(229, 9, 20, 0.16);
  border: 1px solid rgba(229, 9, 20, 0.28);
  color: #fff;
  font-family: var(--font-header);
  font-size: 12px;
  font-weight: 900;
}

.install-step strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: #fff;
}

.install-step span {
  color: #b8b8b8;
  font-size: 13px;
  line-height: 1.6;
}

.install-note {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.16);
  color: #aeefff;
  font-size: 13px;
  line-height: 1.6;
}

.directory-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.directory-link-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.directory-link-card h2 {
  font-family: var(--font-header);
  font-size: 22px;
  letter-spacing: -0.8px;
  margin-bottom: 10px;
}

.directory-link-card p {
  color: #bbbbbb;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.directory-link-outbound {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.18);
  background: rgba(0, 212, 255, 0.08);
  color: #8feeff;
  text-decoration: none;
  font-family: var(--font-header);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.directory-link-outbound:hover {
  background: rgba(0, 212, 255, 0.14);
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
}

.directory-badge {
  display: inline-flex;
  align-items: stretch;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

.directory-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
}

.directory-badge-internet-radio {
  background: #ffffff;
}

.directory-badge-light,
.directory-badge-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 1;
}

.directory-badge-light {
  background: #ffffff;
  color: #111111;
}

.directory-badge-accent {
  background: #d7161a;
  color: #ffffff;
}

.directory-badge-radioguide {
  background: #f4f4f4;
}

.directory-badge-dark,
.directory-badge-accent-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 1;
}

.directory-badge-dark {
  background: #f4f4f4;
  color: #111111;
}

.directory-badge-accent-alt {
  background: #1f8ed8;
  color: #ffffff;
}

.directory-badge-radoxo {
  background: #101113;
}

.directory-badge-radoxo-mark,
.directory-badge-radoxo-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  line-height: 1;
}

.directory-badge-radoxo-mark {
  width: 30px;
  background: #ff6b2d;
  color: #ffffff;
}

.directory-badge-radoxo-name {
  padding: 0 10px;
  background: #101113;
  color: #ffffff;
}

.directory-badge-listen-online {
  background: #ffffff;
}

.directory-badge-listen-main,
.directory-badge-listen-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 1;
}

.directory-badge-listen-main {
  padding: 0 10px;
  background: #ffffff;
  color: #1a1a1a;
}

.directory-badge-listen-accent {
  padding: 0 10px;
  background: #27a3ff;
  color: #ffffff;
}

.directory-badge-mytuner {
  background: #ffffff;
}

.directory-badge-mytuner-main,
.directory-badge-mytuner-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 1;
}

.directory-badge-mytuner-main {
  padding: 0 10px;
  background: #ffffff;
  color: #ea4335;
}

.directory-badge-mytuner-accent {
  padding: 0 10px;
  background: #202124;
  color: #ffffff;
}

.directory-badge-radioline {
  background: #ffffff;
}

.directory-badge-radioline-main,
.directory-badge-radioline-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  line-height: 1;
}

.directory-badge-radioline-main {
  padding: 0 10px;
  background: #ffffff;
  color: #111111;
}

.directory-badge-radioline-accent {
  padding: 0 10px;
  background: #ff5a1f;
  color: #ffffff;
}

.directory-badge-orb {
  background: #ffffff;
}

.directory-badge-orb-main,
.directory-badge-orb-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 1;
}

.directory-badge-orb-main {
  padding: 0 10px;
  background: #ffffff;
  color: #1a1a1a;
}

.directory-badge-orb-accent {
  padding: 0 10px;
  background: #27a3ff;
  color: #ffffff;
}

.directory-badge-forward {
  background: #ffffff;
}

.directory-badge-forward-main,
.directory-badge-forward-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.directory-badge-forward-main {
  padding: 0 10px;
  background: #1f232c;
  color: #ffffff;
}

.directory-badge-forward-accent {
  padding: 0 10px;
  background: #27a3ff;
  color: #ffffff;
}

/* =====================
    10. MOBILE REFINEMENTS
==================== */
@media(max-width: 850px) {
  html, body { overflow-y: auto !important; height: auto !important; position: relative !important; width: 100%; }
  .programs-nav-arrows { display: none !important; }
  .mini-player { display: none !important; }
  .main { margin-left: 0 !important; padding: env(safe-area-inset-top) 15px 120px 15px !important; width: 100% !important; align-items: center; min-height: 100dvh; }

  .sidebar {
    transform: translateY(-100%);
    width: 100% !important;
    height: 100dvh !important;
    left: 0 !important;
    top: 0 !important;
    z-index: 1050;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    background-color: rgba(5, 5, 5, 0.98) !important;
    border-right: none !important;
  }

  .sidebar.active {
    transform: translateY(0);
  }

  .logo, .sidebar-brand, .discover, .sidebar-spacer, .sidebar-socials, .sidebar-footer {
    display: none !important;
  }

  .nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 20px;
  }

  .nav-item {
    font-size: 24px !important;
    font-weight: 800 !important;
  }
  
  .topbar { 
    display: flex; 
    justify-content: center; 
    padding: 25px 0 15px 0; 
    width: 100%; 
  }

  .topbar-content {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100%;
    padding: 0 15px;
  }
  
  .logo-mobile { 
    display: flex !important; 
    font-size: 28px; 
    font-weight: 900; 
    text-align: left; 
    letter-spacing: -1.5px;
    color: var(--text-main);
    text-shadow: 0 0 20px rgba(229, 9, 20, 0.7); 
  }
  
  .menu-toggle { 
    display: flex !important; 
    z-index: 3000; 
  }

  .hero-card { background: transparent !important; border: none !important; padding: 15px 0 !important; text-align: center; margin-bottom: 25px; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero-content { flex-direction: column !important; gap: 25px !important; }
  .album-art { width: 80vw !important; height: 80vw !important; max-width: 280px; }
  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
  }
  .hero-notify {
    display: block;
    width: 100%;
  }
  
  #nowPlaying { font-size: 28px !important; line-height: 1.1; margin-top: 10px; }
  .notify-btn { width: min(100%, 280px); }
  .play-btn { margin-top: 0; }
  .play-btn, .notify-btn-hero { min-width: 0; width: min(100%, 240px); }
  .notify-status { margin-left: auto; margin-right: auto; max-width: 280px; }
  .notify-status-hero { justify-content: center; }
  .section-heading-row,
  .programs-header {
    padding-bottom: 10px;
    margin-bottom: 16px;
  }
  
  .dual-section, .interaction-grid { grid-template-columns: 1fr !important; gap: 25px; width: 100%; justify-items: center; }
  .card { width: 100%; padding: 25px; }
  .spotlight-artist-card { padding: 0 !important; background: #111 !important; border: none !important; border-radius: 28px; }
  .spotlight-header { flex-direction: column; text-align: left; gap: 0; }
  .spotlight-img { width: 100% !important; height: 320px !important; border-radius: 0 !important; border: none !important; mask-image: linear-gradient(to bottom, black 65%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, black 65%, transparent 100%); }
  .spotlight-info { padding: 20px; margin-top: -50px; z-index: 2; }
  .spotlight-bio { padding: 0 20px 20px 20px; font-style: normal; font-size: 15px; }
  .btn-spotlight, .btn-submit-subtle { width: calc(100% - 40px); margin: 0 20px 20px 20px; }
  .msr-share-bar { flex-direction: column; align-items: center; text-align: center; }
  .share-title { text-align: center; }
  .share-icons { width: 100%; justify-content: center; }
  .msr-share-btn { width: 42px; height: 42px; }
  .share-feedback { min-width: 0; text-align: center; }
  .mini-card { width: 100%; padding: 12px 14px; background: rgba(255, 255, 255, 0.05); border-radius: 12px; margin-bottom: 10px; gap: 15px; }
  .mini-card img { width: 50px !important; height: 50px !important; border-radius: 8px; }
  .mini-card h5 { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #topSongsGrid .mini-card { padding: 10px 12px; gap: 10px; margin-bottom: 8px; border-radius: 10px; }
  #topSongsGrid .mini-card img { width: 42px !important; height: 42px !important; border-radius: 7px; }
  #topSongsGrid .mini-card h5 { font-size: 14px; line-height: 1.2; }
  #topSongsGrid .mini-card p { font-size: 11px; line-height: 1.2; }
  #topSongsGrid .mini-card .time { font-size: 9px; margin-left: 10px; }
  .schedule-scroll { display: flex; flex-direction: column; gap: 25px; overflow-x: hidden; padding: 10px 0 45px 0; }
  .program-pack { flex: none; width: 100%; max-width: 100%; margin: 0 auto; border-radius: 22px; box-shadow: 0 15px 35px rgba(229, 9, 20, 0.25); border: 1px solid rgba(229, 9, 20, 0.35); }
  
  .presenter-info p { display: none; }
  .presenter-info h3, .presenter-info h4 { font-size: 13px !important; text-align: center; margin-top: 6px; letter-spacing: 1.5px; }
  .presenter-overlay { padding: 15px; opacity: 0; }
  .presenter-overlay p { font-size: 12px; margin-bottom: 5px; line-height: 1.3; display: block; }

  .main-footer { padding: 70px 20px 30px 20px; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-col p { margin: 0 auto; max-width: 320px; }
  .footer-link-button { text-align: center; }
  .footer-disclaimer { margin-top: 24px; font-size: 10px; }
  .footer-spacer { height: 150px; }
  .dj-login-modal {
    width: calc(100% - 28px);
    margin-top: max(24px, env(safe-area-inset-top));
    padding: 24px 20px 22px;
  }
  .dj-login-title { font-size: 26px; }
  .install-page { padding: 28px 15px 50px 15px; }
  .install-topbar { flex-direction: column; align-items: flex-start; margin-bottom: 18px; }
  .install-hero { padding: 26px 22px; margin-bottom: 20px; }
  .install-subtitle { font-size: 14px; }
  .install-grid { grid-template-columns: 1fr; gap: 18px; }
  .install-card { padding: 22px; }
  .install-card h2 { font-size: 24px; }
  .install-step { grid-template-columns: 30px 1fr; gap: 12px; padding: 12px 14px; }
  .install-step-number { width: 30px; height: 30px; font-size: 11px; }
  .directory-links-grid { grid-template-columns: 1fr; gap: 12px; }
  .directory-link-card { padding: 18px; }
  .directory-link-card h2 { font-size: 18px; margin-bottom: 0; }
  .directory-link-card p { display: none; }
  .directory-badge { margin-top: 12px; }
  .visitor-tracker-header { flex-direction: column; align-items: flex-start; }
  .visitor-tracker-tag { align-self: flex-start; }
  .visitor-country-list { grid-template-columns: 1fr; }
  .visitor-country-list { max-height: 320px; }
}

/* =====================
    11. STICKY HEADER (MOBILE ONLY)
===================== */
@media(min-width: 851px) { .sticky-header { display: none !important; } }
.sticky-header { 
    position: fixed; top: 0; left: 0; right: 0; background: rgba(5,5,5,0.96); 
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 1001; padding: 12px 20px; 
    display: flex; justify-content: space-between; align-items: center; 
    border-bottom: 2px solid var(--primary); transform: translateY(-100%); transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    opacity: 0;
    pointer-events: none;
}
.sticky-header.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.sticky-header .live-dot {
  width: 8px;
  height: 8px;
}

.sticky-title {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-play-btn {
  width: 35px;
  height: 35px;
  font-size: 14px;
}

/* =====================
    12. BACK TO TOP BUTTON
===================== */
#backToTop {
  display: none; 
  position: fixed;
  bottom: 115px; 
  right: 35px;
  z-index: 9998;
  border: none;
  outline: none;
  background-color: var(--glass-bg);
  color: white;
  cursor: pointer;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

#backToTop svg {
  fill: #fff;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

#backToTop:hover {
  background-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(229, 9, 20, 0.5);
  border-color: rgba(255, 255, 255, 0.3);
}

#backToTop:hover svg {
  transform: translateY(-3px);
}

@media (max-width: 850px) {
  #backToTop {
    bottom: calc(30px + env(safe-area-inset-bottom)); 
    right: 25px;
    width: 50px;
    height: 50px;
  }
}

/* =====================
    13. DJ PANEL STYLING (REFINED)
===================== */
.dj-control-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 45px;
  background: rgba(0,0,0,0.6);
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  margin-top: 50px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.6);
}

.dj-input-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dj-input-group label {
  font-family: var(--font-header);
  font-size: 13px;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 1.5px;
  font-weight: 700;
}

.dj-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  padding: 14px;
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
  font-size: 15px;
  -webkit-appearance: none; /* Safari focus fix */
}

.dj-input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.25);
}

.dj-btn-update {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 18px;
  border-radius: 12px;
  font-family: var(--font-header);
  font-weight: 900;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 2px;
  -webkit-appearance: none;
}

.dj-btn-update:hover {
  transform: translateY(-3px);
  filter: brightness(1.15);
  box-shadow: 0 15px 25px rgba(229, 9, 20, 0.35);
}

.dj-btn-update:active {
  transform: translateY(-1px);
}
