:root {
  --bg: #0b0d12; --card: #151922; --border: #2a3040;
  --text: #e6e9f0; --muted: #8b95a8; --accent: #6366f1;
  --success: #10b981; --radius: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; padding: 30px 20px; }
header { text-align: center; margin-bottom: 20px; }
header h1 { font-size: 1.8rem; }
.subtitle { color: var(--muted); margin-top: 6px; font-size: 0.9rem; }

/* Стили навигации */
.nav { display: flex; justify-content: center; margin-bottom: 25px; }
.btn-media {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; background: var(--accent); color: white;
  text-decoration: none; font-weight: 600; border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  transition: all 0.2s ease;
}
.btn-media:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4); background: #4f46e5; }

.dashboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto 20px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.card h3 { color: var(--muted); font-size: 0.85rem; margin-bottom: 8px; }
.val { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.bar { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; margin-top: 4px; }
.bar-fill { height: 100%; background: var(--success); transition: width 0.5s ease; width: 0%; }
footer { text-align: center; margin-top: 20px; }
.info { background: var(--card); padding: 10px 20px; border-radius: 8px; border: 1px solid var(--border); display: inline-block; }
.info span { color: var(--muted); font-size: 0.85rem; margin-right: 8px; }
.nav { gap: 15px; }

/* Адаптив кнопок */
.nav { display: flex; flex-direction: row; gap: 15px; justify-content: center; }
@media (max-width: 600px) { .nav { flex-direction: column; } }

/* Адаптив кнопок */
.nav { display: flex; flex-direction: row; gap: 15px; justify-content: center; }
@media (max-width: 600px) { .nav { flex-direction: column; } }
