/* Styles for the static modpack pages (scripts/build-seo.mjs). Same look as the
   panel: original textures and the self-hosted Pixelify Sans font. */
@font-face {
  font-family: "Pixelify Sans";
  src: url("/fonts/PixelifySans.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --pixel: "Pixelify Sans", ui-monospace, monospace;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --inv: #c6c6c6;
  --inv-text: #2e2e2e;
  --inv-muted: #555;
  --yellow: #ffff55;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font: 16px/1.55 var(--body);
  color: #f2f2f2;
  background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url("/textures/dark-stone.svg") 0 0 / 64px 64px;
  background-color: #262626;
}
a { color: var(--yellow); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; image-rendering: auto; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3, .brand, .button { font-family: var(--pixel); letter-spacing: 0.02em; }
h1 { font-size: clamp(28px, 5vw, 42px); line-height: 1.15; margin: 4px 0 12px; text-shadow: 3px 3px 0 #000; }
h2 { font-size: 24px; margin: 0 0 12px; }
h2.section { margin: 32px 0 14px; text-shadow: 2px 2px 0 #000; }
h3 { font-size: 18px; margin: 18px 0 4px; }

.nav { background: rgba(0, 0, 0, 0.55); border-bottom: 2px solid #000; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.brand { font-size: 22px; color: #fff; }
.mark { color: #5d9e34; }
.nav nav { display: flex; align-items: center; gap: 16px; }
@media (max-width: 560px) { .nav nav a:not(.button) { display: none; } }

.button {
  display: inline-block;
  color: #fff;
  text-shadow: 2px 2px 0 #3f3f3f;
  background: #6f6f6f;
  border: 2px solid #000;
  box-shadow: inset 2px 2px 0 #aaa, inset -2px -3px 0 #464646;
  padding: 8px 18px;
}
.button:hover { color: var(--yellow); text-decoration: none; outline: 2px solid #fff; outline-offset: -2px; }
.button.big { font-size: 20px; padding: 12px 26px; background: #4f8a2a; box-shadow: inset 2px 2px 0 #7cc04e, inset -2px -3px 0 #2f5a17; }

.hero { display: flex; gap: 24px; align-items: flex-start; padding: 40px 0 24px; }
.hero.hub { padding-bottom: 12px; }
.pack-icon { width: 96px; height: 96px; border: 2px solid #000; flex-shrink: 0; }
@media (max-width: 640px) { .hero { flex-direction: column; } }
.eyebrow { color: #55ff55; font-family: var(--pixel); margin: 0; }
.lead { font-size: 18px; max-width: 640px; }
.meta { color: #b9b9b9; }
.small { font-size: 13px; color: #b9b9b9; }

.card {
  background: var(--inv);
  color: var(--inv-text);
  border: 2px solid #000;
  box-shadow: inset 3px 3px 0 #fff, inset -3px -3px 0 #555;
  padding: 20px 22px;
  margin: 0 0 16px;
}
.card a { color: #1d4ed8; }
.card a.button { color: #fff; }
.steps li, .check li { margin: 6px 0; }
.check { list-style: none; padding: 0; }
.check li::before { content: "✔ "; color: #2f7d16; font-weight: 700; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.plan { display: flex; flex-direction: column; margin: 0; }
.plan h3 { font-family: var(--body); font-weight: 800; font-size: 20px; margin: 0; }
.plan.featured { outline: 3px solid #ffaa00; }
.price { font-size: 28px; font-weight: 800; margin: 6px 0; }
.price span { font-size: 14px; font-weight: 400; color: var(--inv-muted); }
.plan ul { padding-left: 18px; flex: 1; }

.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 24px; }
.tile { display: flex; gap: 12px; align-items: center; margin: 0; padding: 12px; color: var(--inv-text) !important; }
.tile:hover { text-decoration: none; outline: 2px solid #fff; outline-offset: -2px; }
.tile img { width: 48px; height: 48px; border: 2px solid #000; }
.tile span { display: flex; flex-direction: column; }
.tile small { color: var(--inv-muted); }

.footer { padding: 24px 16px 40px; color: #b9b9b9; font-size: 13px; }
