* { box-sizing: border-box; }

:root {
  --bg: #111111;
  --card: #1c1c1c;
  --text: #ffffff;
  --muted: #a8a8a8;
  --accent: #d71920;
  --accent-dark: #a80f15;
  --line: #333333;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

body {
  min-height: 100vh;
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.card {
  width: min(100%, 430px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  margin-bottom: 24px;
}

.logo {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
}

h1 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.1;
}

.status-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 20px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #777;
}

.status-dot.live {
  background: #e22;
  box-shadow: 0 0 0 5px rgba(220, 0, 0, .12);
}

.play-button {
  width: 108px;
  height: 108px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 2.2rem;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
  margin: 8px auto 18px;
}

.play-button:hover { transform: scale(1.04); }
.play-button:active { transform: scale(.97); }
.play-button:hover { background: var(--accent-dark); }

.now-playing {
  min-height: 24px;
  margin: 0 0 20px;
  color: var(--muted);
}

.volume {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 22px;
}

.volume input {
  width: 100%;
  accent-color: var(--accent);
}

.install-button, .share-button {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
}

.install-button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: white;
}

.share-button {
  border: 1px solid var(--line);
  background: transparent;
  color: white;
}

.hidden { display: none !important; }

.offline-message {
  color: #ffb3b3;
  font-size: .85rem;
  margin: 18px 0 0;
}

footer {
  padding: 18px;
  color: #777;
  font-size: .75rem;
}

@media (max-width: 360px) {
  .card { padding: 22px 16px; }
  .logo { width: 64px; height: 64px; }
  h1 { font-size: 1.25rem; }
}
