:root {
  --bg: #070814;
  --panel: rgba(255, 255, 255, .08);
  --text: #f6f7fb;
  --muted: #b9bdd3;
  --brand: #7c3aed;
  --brand-2: #06b6d4;
  --accent: #f97316;
}

body {
  background:
    radial-gradient(circle at 10% 10%, rgba(124, 58, 237, .35), transparent 28%),
    radial-gradient(circle at 90% 5%, rgba(6, 182, 212, .25), transparent 24%),
    radial-gradient(circle at 60% 90%, rgba(249, 115, 22, .18), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding-bottom: 104px;
}

.navbar {
  background: rgba(7, 8, 20, .78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.navbar-brand,
.nav-link {
  color: var(--text) !important;
}

.nav-link {
  color: var(--muted) !important;
}

.nav-link:hover {
  color: #fff !important;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: inline-grid;
  place-items: center;
}

.btn-brand {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border: 0;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(124, 58, 237, .28);
}

.btn-brand:hover {
  color: #fff;
  transform: translateY(-1px);
}

.btn-glass {
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  background: rgba(255, 255, 255, .06);
}

.form-control {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--text);
}

.form-control:focus {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(6, 182, 212, .5);
  color: var(--text);
  box-shadow: 0 0 0 .25rem rgba(6, 182, 212, .16);
}

.form-control::placeholder {
  color: rgba(185, 189, 211, .72);
}

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 86px;
}

.glass-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .25);
  backdrop-filter: blur(20px);
  border-radius: 28px;
}

.badge-live {
  background: rgba(239, 68, 68, .18);
  color: #fecaca;
  border: 1px solid rgba(248, 113, 113, .35);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: #ef4444;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, .8);
  animation: pulse 1.5s infinite;
  display: inline-block;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(239, 68, 68, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.hero-title {
  font-size: clamp(2.7rem, 7vw, 6.2rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.gradient-text {
  background: linear-gradient(135deg, #fff, #a5f3fc 45%, #fcd34d);
  -webkit-background-clip: text;
  background-size: 100% 100%;
  color: transparent;
}

.hero-title-dot {
  display: inline-block;
  margin-left: 0.04em;
}

.section-title {
  letter-spacing: -.04em;
  font-weight: 850;
}

.muted {
  color: var(--muted);
}

.cover-art {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.schedule-item,
.song-item,
.dj-card,
.news-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  transition: .2s ease;
}

.schedule-item:hover,
.song-item:hover,
.dj-card:hover,
.news-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .11);
}

.song-item-requested {
  background: linear-gradient(135deg, rgba(34, 197, 94, .14), rgba(255, 255, 255, .07));
  border-color: rgba(34, 197, 94, .25);
}

.recent-request-note {
  color: #bbf7d0;
}

.avatar {
  width: 74px;
  height: 74px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(124, 58, 237, .9), rgba(6, 182, 212, .9));
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  font-weight: 800;
}

.fixed-player {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1030;
  background: rgba(10, 12, 28, .92);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
}

.player-cover {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.play-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: #111827;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.player-meta {
  min-width: 0;
}

.player-share {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  flex: 0 0 auto;
}

.now-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.now-card-text,
.track-text {
  min-width: 0;
  flex: 1 1 auto;
}

#nowTitle,
#nowArtist,
#nowAlbum,
#playerTitle,
#playerArtist {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  display: block;
}

.now-card-wave {
  flex: 0 0 76px;
  width: 76px;
  height: 70px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
}

.wave span {
  display: inline-block;
  width: 4px;
  height: 15px;
  margin: 0 1px;
  border-radius: 4px;
  background: var(--brand-2);
  animation: wave .9s infinite ease-in-out;
}

.wave span:nth-child(2) {
  animation-delay: .1s;
}

.wave span:nth-child(3) {
  animation-delay: .2s;
}

.wave span:nth-child(4) {
  animation-delay: .3s;
}

.request-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.request-list {
  display: grid;
  gap: 12px;
  max-height: 420px;
  overflow: auto;
  padding-right: 4px;
}

.request-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.request-current:empty {
  display: none;
}

.request-current-card {
  background: linear-gradient(135deg, rgba(34, 197, 94, .14), rgba(6, 182, 212, .1));
  border: 1px solid rgba(34, 197, 94, .24);
}

.request-current-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #bbf7d0;
}

.request-item-info {
  min-width: 0;
}

.request-item-title {
  display: block;
  font-weight: 700;
}

.request-item-meta {
  display: block;
  font-size: .88rem;
}

.request-button {
  white-space: nowrap;
  flex: 0 0 auto;
}

.request-button.is-sent {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  box-shadow: 0 16px 40px rgba(34, 197, 94, .22);
}

.request-load-more {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.request-now-playing-modal {
  background:
    radial-gradient(circle at top, rgba(34, 197, 94, .24), transparent 34%),
    linear-gradient(180deg, rgba(17, 24, 39, .98), rgba(7, 8, 20, .98));
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 28px;
  color: var(--text);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .45);
  backdrop-filter: blur(18px);
}

.request-now-playing-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, .14);
  border: 1px solid rgba(34, 197, 94, .3);
  color: #bbf7d0;
  font-weight: 700;
}

.request-now-playing-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto;
  border-radius: 28px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: #fff;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  box-shadow: 0 18px 40px rgba(34, 197, 94, .3);
}

.request-now-playing-artist {
  font-size: 1.05rem;
}

.request-now-playing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.request-now-playing-cover {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .32);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.request-now-playing-action {
  display: inline-flex;
}

@keyframes wave {
  50% {
    height: 30px;
  }
}

a {
  color: inherit;
}

@media (max-width: 575px) {
  .fixed-player {
    left: 8px;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    border-radius: 18px;
    padding: 12px !important;
  }

  .player-bar {
    display: grid !important;
    grid-template-columns: 44px 46px minmax(0, 1fr) 40px;
    align-items: center;
    gap: 10px !important;
  }

  .play-btn {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
  }

  .player-cover {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .player-meta .fw-bold {
    font-size: .95rem;
    line-height: 1.2;
  }

  .player-share {
    width: 40px;
    height: 40px;
  }

  .player-share i {
    font-size: .95rem;
  }

  .request-toolbar {
    grid-template-columns: 1fr;
  }

  .request-item {
    flex-direction: column;
    align-items: stretch;
  }

  .request-button {
    width: 100%;
  }

  .hide-mobile {
    display: none !important;
  }
}