* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 40%, #166534 100%);
  min-height: 100vh;
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
  padding: 20px;
}
.container {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 6px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  letter-spacing: 1px;
}
.subtitle {
  font-size: 1.1rem;
  color: #6ee7b7;
  margin-bottom: 24px;
}
.btn-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
button {
  background: #16a34a;
  color: #fff;
  border: 2px solid #4ade80;
  border-radius: 30px;
  padding: 12px 26px;
  font-size: 1rem;
  cursor: pointer;
  transition: all .2s;
  font-weight: 600;
}
button:hover:not(:disabled) { background: #15803d; transform: scale(1.05); }
button:disabled { opacity: .4; cursor: not-allowed; }
.media-area {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.media-box {
  background: rgba(0,0,0,0.35);
  border-radius: 16px;
  padding: 14px;
  border: 2px solid #4ade80;
}
.media-box label {
  display: block;
  font-size: .9rem;
  color: #6ee7b7;
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
video, canvas {
  display: block;
  max-width: 420px;
  width: 100%;
  border-radius: 10px;
  background: #000;
}
#canvas { min-height: 80px; }