
/* =========================
   Global reset
========================= */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: #0b0b0b;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* =========================
   Size variables
========================= */
:root {
  --control-size: 72px;      /* play button & logo */
  --player-radius: 24px;
  --player-padding: 22px;
}

/* =========================
   Layout container
========================= */
.container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
}

/* =========================
   Player card
========================= */
.player {
  width: 100%;
  max-width: 460px;
  background: linear-gradient(145deg, #121212, #0a0a0a);
  border-radius: var(--player-radius);
  padding: var(--player-padding);
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

/* =========================
   Play button
========================= */
.play-btn {
  width: var(--control-size);
  height: var(--control-size);
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #e50914, #ff4d4d);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn.playing {
  background: linear-gradient(135deg, #1db954, #1ed760);
}

/* =========================
   Text area
========================= */
.title {
  flex: 1;
  min-width: 0;
}

.title strong {
  font-size: 20px;
  display: block;
  line-height: 1.2;
}

/* =========================
   LIVE indicator
========================= */
.live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  margin-top: 6px;
  color: #1ed760;
}

.live::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #1ed760;
  border-radius: 50%;
  animation: pulse 1.4s infinite;
}

/* =========================
   Status message
========================= */
.status {
  margin-top: 6px;
  font-size: 13px;
  min-height: 16px;
  color: #aaa;
}

.status.warning {
  color: #f5c542;
}

.status.error {
  color: #ff6b6b;
}

/* =========================
   Logo
========================= */
.player-logo {
  width: var(--control-size);
  height: var(--control-size);
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.1);
}

/* =========================
   Animations
========================= */
@keyframes pulse {
  0%   { opacity: 1; }
  50%  { opacity: 0.3; }
  100% { opacity: 1; }
}

/* =========================
   Mobile adjustments
========================= */
@media (max-width: 420px) {
  :root {
    --control-size: 64px;
    --player-padding: 18px;
  }

  .title strong {
    font-size: 18px;
  }

  .play-btn {
    font-size: 22px;
  }
}

