:root {
  --bg: #efe7dc;
  --bg-deep: #d7c4b2;
  --ink: #1f1a17;
  --muted: #6b5f55;
  --accent: #f0704c;
  --accent-dark: #c24a2f;
  --mint: #4aa68e;
  --shadow: 0 24px 60px rgba(22, 16, 12, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top right, #ffffff 0%, var(--bg) 45%, var(--bg-deep) 100%);
  min-height: 100vh;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 72px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(36px, 4vw, 64px);
  margin: 0;
}

.lead {
  font-size: 18px;
  max-width: 640px;
  margin: 0;
  color: var(--muted);
}

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
}

.video-shell {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #1a1411;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

video,
#overlay {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#overlay {
  position: absolute;
  inset: 0;
}

.corner-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fef7f2;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.panel {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
  backdrop-filter: blur(12px);
  animation: float-in 0.7s ease;
}

@keyframes float-in {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.status-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.status {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #c9bdb2;
  box-shadow: 0 0 0 6px rgba(201, 189, 178, 0.25);
}

.status-label {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status h2 {
  margin: 6px 0 0;
  font-size: 28px;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.metric-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
}

.metric-head strong {
  font-size: 20px;
  color: var(--ink);
}

.meter {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(31, 26, 23, 0.1);
  overflow: hidden;
}

.meter-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--mint), var(--accent));
  transition: width 0.12s ease-out;
}

.controls {
  display: flex;
  gap: 12px;
}

.btn {
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  border-radius: 999px;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.btn.primary {
  background: var(--accent);
  color: #fff5f0;
  box-shadow: 0 10px 24px rgba(240, 112, 76, 0.35);
}

.btn.primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(240, 112, 76, 0.4);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(31, 26, 23, 0.2);
}

.notes {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.footer {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
}

.footer h3 {
  margin-top: 0;
  font-family: "Fraunces", serif;
}

@media (max-width: 960px) {
  .stage {
    grid-template-columns: 1fr;
  }

  .controls {
    flex-direction: column;
  }

  .video-shell {
    aspect-ratio: 3 / 4;
  }
}
