/* landing/style.css — Grimoire base. Shared by home + legal pages. */

@font-face {
  font-family: "MetalMania";
  src: url("/assets/MetalMania-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #060503;
  --bg-raised: #0e0b06;
  --bg-sunken: #040302;
  --panel: #12100a;
  --panel-border: #221d12;

  --ink: #e9e4d6;
  --ink-muted: rgba(233, 228, 214, 0.62);
  --ink-dim: rgba(233, 228, 214, 0.38);

  --red: #7b0707;
  --red-hi: #a01010;
  --red-ink: #f6e4b8;
  --gold: #c9a04a;

  --font-display: "MetalMania", "Cinzel Decorative", "Cinzel", Georgia, serif;
  --font-body: "Cormorant Garamond", "Adobe Caslon Pro", Georgia, serif;
  --font-ui: "Cormorant Garamond", Georgia, serif;

  --accent: var(--red);
  --border: var(--panel-border);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1 0 auto; }

a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, color 160ms ease;
}
a:hover { color: var(--red-ink); border-bottom-color: var(--ink-muted); }

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  width: 100%;
  min-height: min(80vh, 720px);
  background-image: url("/assets/hero.webp?v=3");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-color: var(--bg);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(24px, 5vw, 64px) 16px 64px;
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: 720px;
  width: 100%;
}

.title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.92;
  color: var(--red);
  margin: 0 0 14px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.75);
}

.tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(15px, 1.5vw, 20px);
  color: rgba(233, 228, 214, 0.92);
  margin: 0 0 26px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.75);
}

.btn {
  display: inline-block;
  background: rgba(123, 7, 7, 0.2);
  color: var(--red-ink);
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1px solid var(--red);
  border-radius: 2px;
  cursor: default;
  backdrop-filter: blur(2px);
}
.btn[disabled] { opacity: 0.85; }

/* ---------- Static pages (privacy, ToS) ---------- */

.page {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 20px 80px;
}
.page h1 {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: clamp(32px, 5vw, 56px);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
  line-height: 1;
}
.page .updated {
  color: var(--ink-muted);
  font-size: 14px;
  font-style: italic;
  margin: 0 0 28px;
}

.legal-body {
  background: #f5f1e6;
  color: #1b1a17;
  padding: 36px clamp(18px, 4vw, 48px);
  border-radius: 2px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}
.legal-body a { color: #3030f1; border-bottom: none; }
.legal-body a:hover { text-decoration: underline; }

/* ---------- Site chrome (legal pages) ---------- */

.site-header {
  padding: 18px 36px;
  display: flex;
  justify-content: center;
  gap: 34px;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: rgba(11, 9, 6, 0.9);
  border-bottom: 1px solid var(--panel-border);
}
.site-header a { color: var(--ink-muted); border: 0; }
.site-header a:hover { color: var(--ink); }

footer.site-footer {
  flex-shrink: 0;
  padding: 28px 36px 36px;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: rgba(6, 5, 3, 0.6);
  border-top: 1px solid var(--panel-border);
}
footer.site-footer nav {
  display: inline-flex;
  gap: 22px;
  margin-bottom: 10px;
}
footer.site-footer nav a { color: var(--ink-muted); border: 0; }
footer.site-footer nav a:hover { color: var(--gold); }
footer.site-footer .copyright { opacity: 0.75; }

/* ---------- Responsive tweaks ---------- */

@media (max-width: 520px) {
  .hero {
    min-height: 70vh;
    align-items: center;
    padding-top: 32px;
  }
  .legal-body { padding: 24px 16px; }
}
