@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;600;700&family=Space+Mono:wght@400;700&display=swap");

:root {
  --void: #04070b;
  --hull: #0a0f16;
  --panel: #0e1620;
  --line: #1f3546;
  --ink: #d8e7f7;
  --muted: #90a6bd;
  --amber: #ffad4a;
  --cyan: #6ce0ff;
  --danger: #ff6a6a;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  color: var(--ink);
  font-family: "Rajdhani", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at 14% -20%, rgba(70, 110, 145, 0.14) 0, rgba(70, 110, 145, 0) 48%),
    radial-gradient(circle at 84% -16%, rgba(137, 95, 58, 0.09) 0, rgba(137, 95, 58, 0) 40%),
    linear-gradient(180deg, #05090e 0%, #070d14 55%, #05090e 100%);
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(108, 224, 255, 0.009) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 224, 255, 0.009) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.64) 22%, transparent 100%);
  opacity: 0.24;
}
a { color: var(--cyan); text-decoration-thickness: 0.1em; }
a:hover { color: #b2efff; }
.wrap {
  width: min(1080px, 92vw);
  margin: 0 auto;
  padding: 24px 0 56px;
}
.hud {
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(14, 22, 32, 0.95), rgba(10, 15, 22, 0.92));
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.32), inset 0 0 0 1px rgba(108, 224, 255, 0.08);
}
.brand {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
}
.tagline {
  margin: 6px 0 0;
  color: var(--muted);
}
.nav {
  margin-top: 12px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-family: "Space Mono", monospace;
  font-size: 0.88rem;
}
.nav a { text-decoration: none; }
.page { margin-top: 18px; }
.page h1 {
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.post-grid {
  margin-top: 18px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(9, 15, 22, 0.85);
}
.card:hover { border-color: rgba(108, 224, 255, 0.45); }
.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.card-body { padding: 14px; }
.card h2 {
  margin: 0 0 8px;
  line-height: 1.25;
  font-size: 1.15rem;
}
.meta {
  color: var(--muted);
  font-family: "Space Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}
.content {
  margin-top: 14px;
  line-height: 1.72;
  font-size: 1.12rem;
}
.content img, .content iframe, .content video, .content figure {
  max-width: 100%;
  height: auto;
}
.content pre {
  overflow-x: auto;
  padding: 10px;
  border-radius: 8px;
  background: #04070b;
  border: 1px solid #152737;
}
.footer {
  margin-top: 24px;
  color: var(--muted);
  font-family: "Space Mono", monospace;
  font-size: 0.8rem;
}
