/* ======================================================
   RESET + DESIGN TOKENS
====================================================== */
:root{
  --bg:#0e1117;
  --panel:#151923;
  --panel-soft:#1b2030;
  --text:#f5f7fb;
  --muted:#9aa3b2;

  --accent:#7c8cff;
  --accent-2:#5eead4;

  --stroke:#262b3a;
  --radius:16px;

  /* layout */
  --shell-max:1320px;
  --gutter:18px;
}

@media (min-width:768px){
  :root{ --gutter:32px; }
}
@media (min-width:1200px){
  :root{ --gutter:48px; }
}

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

html,body{
  margin:0;
  padding:0;
}

body{
  background:
    radial-gradient(1200px 500px at 20% -20%, #1a1f4a, transparent),
    var(--bg);
  color:var(--text);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu;
  line-height:1.55;
}

/* ======================================================
   APP SHELL  (✨ DAS IST DER FIX ✨)
====================================================== */
.app-shell{
  max-width:var(--shell-max);
  margin:0 auto;
  padding:0 var(--gutter);
}

/* ======================================================
   HEADER / NAV
====================================================== */
.top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:22px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo{
  width:44px;
  height:44px;
  border-radius:14px;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  color:#000;
}

.titles h1{
  margin:0;
  font-size:1.2rem;
}
.titles span{ color:var(--accent); }
.tagline{
  font-size:.8rem;
  color:var(--muted);
}

.top-actions{
  display:flex;
  gap:14px;
}

.tab{
  padding:8px 14px;
  border-radius:12px;
  text-decoration:none;
  color:var(--muted);
  transition:.2s ease;
}
.tab:hover{
  background:var(--panel-soft);
  color:var(--text);
}
.tab.active{
  background:var(--panel);
  color:var(--text);
}

/* ======================================================
   HERO
====================================================== */
.hero{
  margin:28px 0 36px;
  padding:48px;
  border-radius:var(--radius);
  background:
    linear-gradient(180deg, rgba(0,0,0,.35), transparent),
    radial-gradient(900px 280px at 10% -20%, #2a3170, transparent);
}

.hero-copy{
  max-width:560px;
}

.pill{
  display:inline-block;
  padding:6px 12px;
  border-radius:999px;
  font-size:.75rem;
  background:rgba(124,140,255,.15);
  color:var(--accent);
  margin-bottom:14px;
}

.hero h2{
  margin:0 0 12px;
  font-size:2.2rem;
}

.hero p{
  margin:0 0 22px;
  color:var(--muted);
}

.cta{
  padding:14px 22px;
  border-radius:14px;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  color:#000;
  font-weight:900;
  text-decoration:none;
  display:inline-block;
  transition:.2s ease;
}
.cta:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 40px rgba(0,0,0,.45);
}

/* ======================================================
   PLAYER
====================================================== */
.player{
  background:linear-gradient(180deg,var(--panel),#10131c);
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  padding:20px 22px;
  margin-bottom:32px;
  transition:.25s ease;
}
.player:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 40px rgba(0,0,0,.45);
}

.player-main{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}

.player-kicker{
  font-size:.7rem;
  letter-spacing:.12em;
  color:var(--muted);
}

.player-station{
  font-weight:900;
  margin-top:4px;
}
.player-song{
  opacity:.9;
}

.player-actions{
  display:flex;
  gap:10px;
}

.btn{
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background:var(--panel-soft);
  color:var(--text);
  font-weight:800;
  cursor:pointer;
  transition:.2s ease;
}
.btn:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(0,0,0,.35);
}
.btn-ghost{ background:transparent; }

/* ======================================================
   SECTIONS
====================================================== */
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin:32px 0 14px;
  flex-wrap:wrap;
}

.section-sub{
  font-size:.9rem;
  color:var(--muted);
}

/* ======================================================
   STATIONS
====================================================== */
.stations-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:20px;
  margin-bottom:36px;
}

.station-btn{
  background:linear-gradient(180deg,var(--panel),#121626);
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  padding:20px;
  cursor:pointer;
  transition:.25s ease;
}
.station-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 36px rgba(0,0,0,.45);
}

.station-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.badge{
  font-size:.75rem;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid var(--stroke);
  color:var(--muted);
}

/* ======================================================
   HISTORY
====================================================== */
.history{
  background:var(--panel);
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  padding:22px;
}

.track{
  display:flex;
  justify-content:space-between;
  padding:12px 0;
  border-top:1px solid var(--stroke);
}
.track:first-child{ border-top:none; }
.track-sub{ color:var(--muted); }

/* ======================================================
   FOOTER
====================================================== */
.footer{
  margin:56px 0 28px;
  padding:32px;
  border-top:1px solid var(--stroke);
  border-radius:var(--radius);
  background:
    linear-gradient(180deg, rgba(124,140,255,.08), transparent);
  text-align:center;
}

.footer-nav{
  display:flex;
  justify-content:center;
  gap:22px;
  margin-bottom:12px;
}

.footer a{
  color:var(--muted);
  text-decoration:none;
}
.footer a:hover{ color:var(--text); }

.footer small{
  font-size:.8rem;
  color:var(--muted);
}