/* Wiloxx Music – Neon Dark Theme
   --------------------------------------- */

body {
  font-family: 'Inter', sans-serif;
}

.neon-glow {
  color: #00ff80;
  text-shadow: 0 0 10px rgba(0,255,128,0.4),
               0 0 20px rgba(0,255,128,0.3);
}

/* Navigation links */
.nav-link {
  color: #cfcfcf;
  transition: color .2s, text-shadow .2s;
}
.nav-link:hover {
  color: #00ff80;
  text-shadow: 0 0 8px rgba(0,255,128,0.6);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: #00ff80;
  color: #000;
  font-weight: 600;
  padding: 0.8rem 1.4rem;
  border-radius: 9999px;
  transition: box-shadow .2s, transform .1s;
  line-height: 1;
}
.btn-primary:hover {
  box-shadow: 0 0 15px rgba(0,255,128,0.4);
  transform: translateY(-1px);
}

.btn-ghost {
  color: #cfcfcf;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 9999px;
  padding: .5rem 1.2rem;
  transition: all .2s;
}
.btn-ghost:hover {
  border-color: #00ff80;
  color: #00ff80;
}

/* Inputs */
.input {
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: .5rem;
  padding: .6rem .9rem;
  color: #fff;
  width: 100%;
}
.input:focus {
  outline: none;
  border-color: #00ff80;
  box-shadow: 0 0 6px rgba(0,255,128,0.4);
}

/* Section titles */
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #00ff80;
  text-shadow: 0 0 10px rgba(0,255,128,0.3);
}

/* Cards */
.card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: .75rem;
  padding: 1.5rem;
  text-align: center;
  transition: transform .15s, box-shadow .15s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0,255,128,0.15);
}
.card-title {
  font-weight: 700;
  margin-top: .6rem;
  color: #00ff80;
}
.card-text {
  font-size: .95rem;
  color: #cfcfcf;
  margin-top: .3rem;
}

/* Promo cards */
.promo-card {
  background: rgba(255,255,255,0.05);
  border-radius: .75rem;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.2rem;
  text-align: center;
}
.promo-name {
  font-size: 1.2rem;
  color: #00ff80;
  font-weight: 600;
}
.promo-price {
  color: #fff;
  margin-bottom: .6rem;
}
.promo-list {
  color: #cfcfcf;
  font-size: .9rem;
  list-style: none;
  padding: 0;
}

/* Footer */
footer {
  background-color: rgba(17, 17, 17, 0.9);
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fadeIn 0.25s ease-out;
}

/* Header */
header {
  background-color: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(8px);
}

/* --- Fade-in Animation für Songwechsel --- */
.fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

/* --- Einheitlicher Player Look --- */
audio {
  width: 100%;
  outline: none;
  border-radius: 0.5rem;
  background-color: #000;
  filter: drop-shadow(0 0 8px rgba(0,255,128,0.25));
}

/* --- Live Player Grid: gleich groß, gleich leuchtend --- */
#radio .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

#radio .grid > div {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  min-height: 420px;
  background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  overflow: hidden;
}

/* Kräftiger Neon-Glow um jede Box */
#radio .grid > div::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 1.5rem;
  background: radial-gradient(circle at center,
    rgba(0,255,128,0.65) 0%,
    rgba(0,255,128,0.3) 40%,
    rgba(0,255,128,0.05) 70%,
    transparent 100%);
  filter: blur(28px);
  z-index: -1;
}

/* --- Reihenfolge: Cover → Info → Player → Buttons --- */
#nowPlaying {
  order: 1;
  margin-top: 1rem;
  text-align: center;
  color: #cfcfcf;
}

#nowPlaying img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 auto 1rem auto;
  box-shadow: 0 0 25px rgba(0,255,128,0.5);
}

#nowPlaying .text-soft {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: center;
}

/* Player darunter */
#livePlayer {
  order: 2;
  width: 100%;
  max-width: 420px;
  margin: 1.5rem auto 0 auto;
}

/* Buttons darunter */
#radio .flex.flex-wrap.justify-center.gap-4.mt-5 {
  order: 3;
  margin-top: 1.5rem;
  justify-content: center;
}

/* --- Popup & Main Player Info-Styling angleichen --- */
.info-block {
  text-align: left;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.info-block strong {
  color: #00ff80;
  display: inline-block;
  width: 70px;
  min-width: 70px;
}

/* --- Responsive Verhalten --- */
@media (max-width: 1024px) {
  #radio .grid {
    grid-template-columns: 1fr;
  }
  #radio .grid > div {
    min-height: auto;
  }
}
