/* ========================================
   UKV Radio — Player Styles
   ======================================== */

/* ---- Player Container ---- */
.player {
  background: var(--bg-card);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-md) var(--space-lg);
  position: relative;
  overflow: hidden;
  max-width: 380px;
  width: 380px;
  margin: 0 auto;
  flex-shrink: 0;
}

.player::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta), var(--neon-purple));
}

/* ---- Player Header ---- */
.player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.player-status {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.player-status .label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

/* ---- Player Artwork / Visualizer ---- */
.player-visualizer {
  width: 100%;
  height: 140px;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.1);
}

.player-visualizer .logo-display {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
  z-index: 1;
  user-select: none;
}

/* Circular equalizer */
.circular-eq {
  position: absolute;
  width: 120px;
  height: 120px;
}

.circular-eq .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
}

.circular-eq .ring:nth-child(1) {
  border-top-color: var(--neon-cyan);
  border-bottom-color: var(--neon-cyan);
  animation: rotate 3s linear infinite;
}

.circular-eq .ring:nth-child(2) {
  inset: 15px;
  border-left-color: var(--neon-magenta);
  border-right-color: var(--neon-magenta);
  animation: rotate 4s linear infinite reverse;
}

.circular-eq .ring:nth-child(3) {
  inset: 30px;
  border-top-color: var(--neon-purple);
  border-bottom-color: var(--neon-purple);
  animation: rotate 2.5s linear infinite;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

/* ---- Track Info ---- */
.player-track {
  text-align: center;
  margin-bottom: 4px;
}

.player-track .track-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-track .track-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: var(--space-xs);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-track .track-artist {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ---- Controls ---- */
.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: 4px;
}

.play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--neon-cyan);
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--glow-cyan-sm);
}

.play-btn:hover {
  background: rgba(0, 240, 255, 0.15);
  box-shadow: var(--glow-cyan);
  transform: scale(1.05);
}

.play-btn:active {
  transform: scale(0.95);
}

.play-btn svg {
  width: 18px;
  height: 18px;
}

.play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--neon-cyan);
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--glow-cyan-sm);
}

.play-btn:hover {
  background: rgba(0, 240, 255, 0.15);
  box-shadow: var(--glow-cyan);
  transform: scale(1.05);
}

.play-btn:active {
  transform: scale(0.95);
}

.play-btn svg {
  width: 22px;
  height: 22px;
}

/* ---- Volume ---- */
.player-volume {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.player-volume .icon {
  color: var(--text-muted);
  font-size: var(--text-lg);
}

.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  background: var(--neon-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-cyan);
  cursor: pointer;
}

.volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: var(--neon-cyan);
  border-radius: 50%;
  border: none;
  box-shadow: 0 0 8px var(--neon-cyan);
  cursor: pointer;
}

/* ---- Equalizer in Player ---- */
.player-eq {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 20px;
}

.player-eq .bar {
  width: 3px;
  background: var(--neon-cyan);
  border-radius: 1px;
  box-shadow: 0 0 4px var(--neon-cyan);
  transition: height 0.15s ease;
}

/* ---- Hero Section ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--space-lg);
  margin-top: -80px;
  position: relative;
}

.hero-title {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 4px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  max-width: 400px;
  margin: 0 auto var(--space-md);
}

/* ---- Feature Cards Grid ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  text-align: center;
  padding: var(--space-2xl);
}

.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.feature-card h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: var(--text-sm);
}

/* ---- Hero Player Layout with Banners ---- */
.hero-player-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  width: 100%;
  max-width: 900px;
}

.hero-banner {
  flex-shrink: 0;
  align-self: stretch;
}

.banner-placeholder {
  width: 200px;
  height: 100%;
  background: rgba(0, 240, 255, 0.03);
  border: 1px dashed rgba(0, 240, 255, 0.15);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  opacity: 0.4;
  transition: opacity var(--transition-base);
}

.banner-placeholder:hover {
  opacity: 0.7;
}

.banner-label {
  font-family: var(--font-display);
  font-size: 0.6rem;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---- Styled Banner Ads ---- */
.banner-ad {
  display: block;
  width: 200px;
  height: 100%;
  border-radius: var(--radius-lg);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.banner-ad:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.banner-ad-1 {
  background: linear-gradient(135deg, #0a1628 0%, #1a0a2e 50%, #0a1628 100%);
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.banner-ad-2 {
  background: linear-gradient(135deg, #1a0a2e 0%, #0a0a1a 50%, #1a0a2e 100%);
  border: 1px solid rgba(176, 38, 255, 0.2);
  cursor: default;
}

.banner-ad-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: var(--space-lg);
  text-align: center;
  gap: var(--space-sm);
}

.banner-ad-icon {
  font-size: 3rem;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5));
}

.banner-ad-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-bright);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.banner-ad-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.banner-ad-cta {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-top: var(--space-sm);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.banner-ad-badge {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neon-magenta);
  background: rgba(255, 0, 170, 0.15);
  border: 1px solid rgba(255, 0, 170, 0.4);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

/* ---- Feature Icons ---- */
.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  margin: 0 auto var(--space-md);
  position: relative;
  transition: all var(--transition-base);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-icon-cyan {
  background: rgba(0, 240, 255, 0.1);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2), inset 0 0 15px rgba(0, 240, 255, 0.05);
}

.feature-card:hover .feature-icon-cyan {
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.4), inset 0 0 20px rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.6);
}

.feature-icon-magenta {
  background: rgba(255, 0, 170, 0.1);
  color: var(--neon-magenta);
  border: 1px solid rgba(255, 0, 170, 0.3);
  box-shadow: 0 0 15px rgba(255, 0, 170, 0.2), inset 0 0 15px rgba(255, 0, 170, 0.05);
}

.feature-card:hover .feature-icon-magenta {
  box-shadow: 0 0 25px rgba(255, 0, 170, 0.4), inset 0 0 20px rgba(255, 0, 170, 0.1);
  border-color: rgba(255, 0, 170, 0.6);
}

.feature-icon-yellow {
  background: rgba(255, 230, 0, 0.1);
  color: var(--neon-yellow);
  border: 1px solid rgba(255, 230, 0, 0.3);
  box-shadow: 0 0 15px rgba(255, 230, 0, 0.2), inset 0 0 15px rgba(255, 230, 0, 0.05);
}

.feature-card:hover .feature-icon-yellow {
  box-shadow: 0 0 25px rgba(255, 230, 0, 0.4), inset 0 0 20px rgba(255, 230, 0, 0.1);
  border-color: rgba(255, 230, 0, 0.6);
}

.feature-icon-purple {
  background: rgba(176, 38, 255, 0.1);
  color: var(--neon-purple);
  border: 1px solid rgba(176, 38, 255, 0.3);
  box-shadow: 0 0 15px rgba(176, 38, 255, 0.2), inset 0 0 15px rgba(176, 38, 255, 0.05);
}

.feature-card:hover .feature-icon-purple {
  box-shadow: 0 0 25px rgba(176, 38, 255, 0.4), inset 0 0 20px rgba(176, 38, 255, 0.1);
  border-color: rgba(176, 38, 255, 0.6);
}

.feature-icon-green {
  background: rgba(57, 255, 20, 0.1);
  color: var(--neon-green);
  border: 1px solid rgba(57, 255, 20, 0.3);
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.2), inset 0 0 15px rgba(57, 255, 20, 0.05);
}

.feature-card:hover .feature-icon-green {
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.4), inset 0 0 20px rgba(57, 255, 20, 0.1);
  border-color: rgba(57, 255, 20, 0.6);
}

.feature-icon-pink {
  background: rgba(255, 45, 123, 0.1);
  color: var(--neon-pink);
  border: 1px solid rgba(255, 45, 123, 0.3);
  box-shadow: 0 0 15px rgba(255, 45, 123, 0.2), inset 0 0 15px rgba(255, 45, 123, 0.05);
}

.feature-card:hover .feature-icon-pink {
  box-shadow: 0 0 25px rgba(255, 45, 123, 0.4), inset 0 0 20px rgba(255, 45, 123, 0.1);
  border-color: rgba(255, 45, 123, 0.6);
}
/* ---- Sticky Mini Player (sub-pages) ---- */
body:has(.sticky-player) {
  padding-bottom: 70px;
}

.sticky-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 12, 26, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 240, 255, 0.2);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 100%;
}

.sticky-player::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-magenta), transparent);
}

.sticky-player .play-btn {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.sticky-player .play-btn svg {
  width: 16px;
  height: 16px;
}

.sticky-player .sp-status {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.sticky-player .sp-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}

.sticky-player .sp-status .dot.live {
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.sticky-player .sp-track {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.sticky-player .sp-track-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-player .sp-eq {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  height: 14px;
  flex-shrink: 0;
}

.sticky-player .sp-eq .bar {
  width: 2px;
  background: var(--neon-cyan);
  border-radius: 1px;
  box-shadow: 0 0 3px var(--neon-cyan);
  transition: height 0.15s ease;
}

.sticky-player .sp-eq.paused .bar {
  height: 3px !important;
}

.sticky-player .sp-volume {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.sticky-player .sp-volume .icon {
  cursor: pointer;
  font-size: 14px;
}

.sticky-player .volume-slider {
  width: 70px;
}

@media (max-width: 600px) {
  .sticky-player {
    padding: 8px 12px;
    gap: 10px;
  }
  .sticky-player .sp-volume {
    display: none;
  }
  .sticky-player .sp-track-name {
    font-size: var(--text-xs);
  }
}
