:root {
  --bg: #0f1115;
  --fg: #e6e7ea;
  --muted: #a6a8ad;
  --accent: #6ea8fe;
  --card: #171a21;
  --border: #262a33;
}

html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
  background: var(--bg);
  color: var(--fg);
}

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

.container { max-width: 1100px; margin: 0 auto; padding: 1.25rem; }

header { margin: 2rem 0 1rem; }
h1 { font-size: 2rem; margin: 0 0 0.75rem; }
h2 { font-size: 1.5rem; margin: 2rem 0 0.75rem; }
h3 { font-size: 1.25rem; margin: 1.5rem 0 0.5rem; }
p { color: var(--muted); line-height: 1.6; }

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.card img { display: block; width: 100%; height: 200px; object-fit: cover; background: #0a0c10; }
.card-body { padding: 0.75rem 1rem 1rem; }
.meta { display: flex; gap: 0.75rem; flex-wrap: wrap; color: var(--muted); font-size: 0.9rem; }
.badges { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.badge { background: #23304b; color: #b8d0ff; padding: 0.25rem 0.5rem; border-radius: 999px; font-size: 0.75rem; }
.actions { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.btn { display: inline-block; padding: 0.5rem 0.75rem; border-radius: 8px; border: 1px solid var(--border); }
.btn-primary { background: var(--accent); color: black; border: none; }
.btn-outline { background: transparent; color: var(--fg); }

.hero { display: grid; grid-template-columns: 180px 1fr; gap: 1rem; align-items: start; }
@media (max-width: 640px) { .hero { grid-template-columns: 1fr; } }
.hero img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); }
.dl { display: grid; grid-template-columns: 1fr 2fr; gap: 0.75rem; }
.dl div { padding: 0.25rem 0; border-bottom: 1px dashed var(--border); }
.dl .key { color: var(--muted); }

.nav { margin: 1rem 0; display: flex; gap: 0.75rem; flex-wrap: wrap; }
.iframe-wrap { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }