:root {
  --bg: #080a12;
  --bg-2: #0c1020;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --accent: #7dd3fc;
  --accent-2: #a78bfa;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(circle at 20% 15%, rgba(125, 211, 252, 0.08), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(167, 139, 250, 0.08), transparent 28%),
    linear-gradient(135deg, #070910, #0b0f1c 45%, #0e1428);
  color: var(--text);
  min-height: 100vh;
  padding: 96px 24px 96px;
}

.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: sticky;
  top: 72px;
  z-index: 10;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.brand { display: flex; gap: 12px; align-items: center; }
.brand__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.18), rgba(167, 139, 250, 0.2));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

h1 { margin: 2px 0; letter-spacing: 0.08em; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 11px; color: var(--muted); margin: 0; }
.lede { color: var(--muted); margin: 6px 0 0; line-height: 1.5; }

.actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

.chip {
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.15s ease;
}

.chip:hover { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.2); }
.chip--accent { background: linear-gradient(135deg, rgba(125, 211, 252, 0.2), rgba(167, 139, 250, 0.25)); border-color: rgba(125, 211, 252, 0.6); }
.chip--ghost { background: transparent; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero__copy { display: flex; flex-direction: column; gap: 16px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__badges span {
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  font-size: 12px;
}

.hero__controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.control { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.control input[type="range"] { width: 100%; accent-color: var(--accent); }
.control__value { font-weight: 700; color: var(--text); }

.hero__panel {
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.12), rgba(167, 139, 250, 0.14));
  border: 1px solid rgba(125, 211, 252, 0.25);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow);
}

.panel__header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pill { border: 1px solid var(--border); background: var(--panel); color: var(--text); border-radius: 10px; padding: 8px 12px; cursor: pointer; transition: all 0.15s ease; }
.pill:hover { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.2); }
.pill--ghost { background: transparent; }
.pill--accent { background: linear-gradient(135deg, rgba(125, 211, 252, 0.2), rgba(167, 139, 250, 0.25)); border-color: rgba(125, 211, 252, 0.5); }
.pill--status { font-size: 12px; }

.muted { color: var(--muted); margin: 0; }

.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stat { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.stat p { margin: 0; color: var(--muted); font-size: 12px; }
.stat strong { display: block; margin-top: 4px; font-size: 20px; }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 16px; display: grid; gap: 10px; box-shadow: var(--shadow); }
.card__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card h4 { margin: 4px 0 0; }

.list { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 6px; }

.mode-list { display: grid; gap: 8px; }
.mode-item { padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel-2); display: grid; gap: 4px; }
.mode-item__meta { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); }
.mode-item__meta span { padding: 4px 6px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); }

.footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips .chip { background: rgba(255, 255, 255, 0.05); }

@media (max-width: 960px) {
  body { padding-top: 84px; }
  .topbar { flex-direction: column; align-items: flex-start; top: 60px; }
  .hero { grid-template-columns: 1fr; }
  .panel__header { flex-direction: column; align-items: flex-start; }
  .footer { flex-direction: column; align-items: flex-start; }
}
