:root {
  --bg: #0d0914;
  --panel: #171021;
  --line: #2c1f3d;
  --text: #e9e4ef;
  --muted: #a99db8;
  --accent: #b0172d;
  --accent-hi: #d4243e;
  --violet: #3b1a5e;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 17px/1.65 "Inter", system-ui, sans-serif; }
a { color: #e7c9ff; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

.nav { border-bottom: 1px solid var(--line); background: rgba(13, 9, 20, 0.92); position: sticky; top: 0; z-index: 5; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 16px; }
.brand { font-family: "Pirata One", "Cinzel", serif; font-size: 26px; letter-spacing: 1px; color: var(--text); text-decoration: none; }
.nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav ul a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--text); }

.hero { position: relative; background: radial-gradient(ellipse at center, #3a1660 0%, var(--bg) 70%); }
.hero img { width: 100%; max-height: 520px; object-fit: cover; opacity: 0.95; }
.hero .tag { text-align: center; padding: 8px 20px 44px; }
.hero h1 { font-family: "Pirata One", "Cinzel", serif; font-weight: 400; font-size: clamp(30px, 5vw, 46px); margin: 0 0 8px; }
.hero p { color: var(--muted); font-size: 19px; margin: 0 auto; max-width: 640px; }

section { padding: 48px 0; border-top: 1px solid var(--line); }
h2 { font-family: "Pirata One", "Cinzel", serif; font-weight: 400; font-size: 32px; margin: 0 0 16px; }
h3 { font-size: 18px; margin: 28px 0 6px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.card .body { padding: 16px 18px 20px; }
.card h3 { margin-top: 0; }
.card p { color: var(--muted); margin: 0; }
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; padding: 12px 22px; border-radius: 4px; font-weight: 600; }
.btn:hover { background: var(--accent-hi); }

.doc { padding: 40px 0 64px; max-width: 760px; }
.doc h1 { font-family: "Pirata One", "Cinzel", serif; font-weight: 400; font-size: 42px; margin: 0 0 4px; }
.doc .updated { color: var(--muted); margin: 0 0 28px; }
.doc p, .doc li { color: #d7cfe0; }
.doc ul { padding-left: 22px; }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; padding: 28px 0 40px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
footer a { color: var(--muted); }
@media (max-width: 560px) { .nav ul { gap: 14px; } body { font-size: 16px; } }
