@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* ── Blaue Stunde — deep blue-teal dark palette ────────── */
  --bg-0: #080c14;
  --bg-1: #0d1420;
  --bg-2: #121b2a;
  --bg-3: #182234;
  --border: #1e2d42;
  --border-hover: #2a3d58;

  --text-primary: #eef0f8;
  --text-secondary: #7a8aaa;
  --text-muted: #3d4d68;

  /* ── Gold accent ───────────────────────────────────────── */
  --accent: #b07200;
  --accent-dim: #271800;
  --accent-hover: #f0a500;
  --accent-glow: rgba(240, 165, 0, 0.15);

  /* ── Status colors ─────────────────────────────────────── */
  --green: #22c55e;
  --green-dim: #082818;
  --yellow: #eab308;
  --yellow-dim: #221900;
  --red: #ef4444;
  --red-dim: #220a0a;
  --blue: #60a5fa;
  --blue-dim: #08183a;

  /* ── Layout ────────────────────────────────────────────── */
  --bar-height: 52px;
  --nav-height: 44px;
  --radius: 10px;
  --radius-sm: 5px;

  /* ── Typography ────────────────────────────────────────── */
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
  --font-size: 13px;
  --font-size-sm: 11px;

  /* ── Gradients ─────────────────────────────────────────── */
  --grad-bg: linear-gradient(160deg, #080c14 0%, #0a1020 40%, #0d1228 100%);
  --grad-card: linear-gradient(160deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 100%);
  --grad-gold: linear-gradient(90deg, #f0a500 0%, #ffd060 60%, #f0a500 100%);
  --grad-section: linear-gradient(90deg, #f0a500, #b07200 80%, transparent);
  --grad-hero: linear-gradient(180deg, rgba(10,18,40,0.9) 0%, rgba(8,12,20,0) 100%);
  --grad-shine: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0) 60%);
}

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

html, body {
  height: 100%;
  background: var(--bg-0);
  background-image: var(--grad-bg);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: var(--font-size);
  line-height: 1.5;
  overflow: hidden;
}

a { color: var(--accent-hover); text-decoration: none; }
a:hover { text-decoration: underline; }

button {
  font-family: var(--font);
  font-size: var(--font-size-sm);
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text-primary);
  padding: 5px 13px;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}
button:hover { background: var(--bg-3); border-color: var(--border-hover); }
button.primary {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent-hover);
  box-shadow: 0 0 12px var(--accent-glow);
}
button.primary:hover { background: var(--accent); color: #000; }
button.danger { border-color: var(--red); color: var(--red); }
button.danger:hover { background: var(--red-dim); }
button:disabled { opacity: 0.35; cursor: not-allowed; }

.badge {
  display: inline-block; padding: 2px 8px;
  border-radius: 10px; font-size: 10px;
  font-weight: 700; line-height: 1.6;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.badge.green  { background: var(--green-dim);  color: var(--green);  box-shadow: 0 0 8px rgba(34,197,94,0.2); }
.badge.yellow { background: var(--yellow-dim); color: var(--yellow); }
.badge.red    { background: var(--red-dim);    color: var(--red);    box-shadow: 0 0 8px rgba(239,68,68,0.2); }
.badge.blue   { background: var(--blue-dim);   color: var(--blue); }
.badge.muted  { background: var(--bg-3);       color: var(--text-muted); }
.badge.gold   { background: var(--accent-dim); color: var(--accent-hover); box-shadow: 0 0 8px var(--accent-glow); }

.dot {
  display: inline-block; width: 7px; height: 7px;
  border-radius: 50%; flex-shrink: 0;
}
.dot.green  { background: var(--green);  box-shadow: 0 0 6px rgba(34,197,94,0.6); }
.dot.yellow { background: var(--yellow); box-shadow: 0 0 6px rgba(234,179,8,0.5); }
.dot.red    { background: var(--red);    box-shadow: 0 0 6px rgba(239,68,68,0.6); }
.dot.muted  { background: var(--text-muted); }
.dot.gold   { background: var(--accent-hover); box-shadow: 0 0 8px var(--accent-glow); }

/* Glass card */
.card {
  position: relative;
  background: linear-gradient(160deg, rgba(18,27,42,0.95) 0%, rgba(13,20,32,0.95) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
}
.card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--grad-shine);
  pointer-events: none; border-radius: inherit;
}
.card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 0 0 1px rgba(240,165,0,0.06);
}

.section-title {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-muted); margin-bottom: 14px;
}

.empty {
  color: var(--text-muted); text-align: center;
  padding: 40px; font-size: 13px;
}

#app { display: flex; flex-direction: column; height: 100vh; }

#content {
  flex: 1; overflow-y: auto;
  padding: 0 40px 48px;
  max-width: 1320px;
  width: 100%; margin: 0 auto;
  box-sizing: border-box;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(240,165,0,0.3); }
