/* Sereno Cast Receiver — Dark TV-optimized UI */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0a0a0a;
  color: #e0e0e0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#app {
  text-align: center;
  padding: 40px;
}

#logo {
  margin-bottom: 32px;
}

.logo-text {
  font-size: 64px;
  font-weight: 300;
  letter-spacing: 8px;
  color: #ffffff;
  text-transform: uppercase;
  opacity: 0.9;
}

#status {
  font-size: 20px;
  color: #888;
  margin-bottom: 48px;
  min-height: 28px;
  transition: color 0.3s ease;
}

#status.connected {
  color: #4caf50;
}

#sounds-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.sound-chip {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 12px 24px;
  font-size: 16px;
  color: #ccc;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sound-chip.playing {
  background: rgba(76, 175, 80, 0.15);
  color: #4caf50;
}

.sound-chip.loading {
  opacity: 0.5;
}

.sound-chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4caf50;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
