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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background-color: #1a1a2e;
  color: #eee;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  text-align: center;
  padding: 20px 0;
}

h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.subtitle {
  color: #888;
  font-size: 1rem;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.status {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.status.live {
  color: #4ade80;
}

.status.live::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 1.5s ease-in-out infinite;
}

.status.connecting {
  color: #fbbf24;
}

.status.error {
  color: #ef4444;
}

.status.offline {
  color: #888;
}

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

footer {
  text-align: center;
  padding: 20px 0;
  color: #666;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 640px) {
  .container {
    padding: 10px;
  }

  h1 {
    font-size: 1.5rem;
  }

  .video-container {
    border-radius: 8px;
  }

  .status {
    top: 8px;
    right: 8px;
    padding: 6px 12px;
    font-size: 0.75rem;
  }
}
