/* Crystal Frost: the same Frost Glass look as Killer Frost, in a lighter ice blue */
:root {
  --bg: #0a1424;
  --bg2: #16304f;
  --glass: rgba(18, 32, 58, 0.72);
  --edge: rgba(150, 205, 255, 0.45);
  --ice: #9fd6ff;
  --text: #dde9f7;
  --muted: #94a7bf;
  --warn: #ffcf7a;
}

* { box-sizing: border-box; }

html { background: radial-gradient(ellipse at 20% 0%, var(--bg2), var(--bg) 70%) fixed; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font: 16px/1.6 "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

a { color: var(--ice); }
a:hover { color: #ffffff; }

header.top {
  width: 100%;
  max-width: 960px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}

header.top .brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #ffffff;
  text-shadow: 0 0 12px rgba(120, 190, 255, 0.6);
}

header.top nav a {
  margin-left: 18px;
  text-decoration: none;
}

main.glass {
  width: calc(100% - 32px);
  max-width: 960px;
  background: var(--glass);
  border: 1px solid var(--edge);
  border-radius: 10px;
  padding: 28px 34px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

h1 { margin-top: 0; font-size: 30px; color: #ffffff; }
h2 { margin-top: 1.6em; font-size: 21px; color: var(--ice); }
h3 { font-size: 17px; }

code, kbd {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(150, 205, 255, 0.2);
  border-radius: 4px;
  padding: 1px 6px;
  font-family: Consolas, "Cascadia Code", monospace;
  font-size: 0.92em;
}

.note {
  border-left: 3px solid var(--warn);
  padding: 8px 14px;
  background: rgba(255, 207, 122, 0.07);
  border-radius: 4px;
}

.button {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid var(--edge);
  border-radius: 8px;
  text-decoration: none;
  color: #ffffff;
  background: rgba(90, 160, 230, 0.18);
}
.button:hover { background: rgba(90, 160, 230, 0.32); }

ul.topics { columns: 2; padding-left: 20px; }

footer {
  max-width: 960px;
  padding: 22px 20px 40px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 640px) {
  header.top { flex-direction: column; gap: 8px; }
  header.top nav a { margin: 0 8px; }
  main.glass { padding: 20px; }
  ul.topics { columns: 1; }
}
