/* WIZARDHUNTS — restrained dark/gold theme */
:root {
  --bg: #050505;
  --bg-2: #0b0a08;
  --bg-3: #14110a;
  --line: #262013;
  --text: #ece5d3;
  --muted: #97896c;
  --gold: #f5b915;
  --gold-2: #ffd968;
  --orange: #ff7a1a;
  --radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--gold); color: #000; }

#embers { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }

/* nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(16px, 4vw, 48px);
  background: rgba(5,5,5,.78); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-color: var(--line); }
.brand { text-decoration: none; color: var(--text); font-weight: 800; letter-spacing: 3px; font-size: 16px; }
.brand span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; transition: color .2s; }
.nav-links a:hover { color: var(--gold-2); }
.nav-links a.nav-cta {
  color: #000; background: linear-gradient(135deg, var(--gold-2), var(--orange));
  padding: 8px 18px; border-radius: 99px; font-weight: 700;
  transition: transform .2s, box-shadow .2s;
}
.nav-links a.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 0 22px rgba(255,122,26,.4); color: #000; }

/* hero */
.hero {
  min-height: 92svh; display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; z-index: 3; padding: 110px 20px 60px;
  background: radial-gradient(700px 380px at 50% 0%, rgba(200,55,30,.12), transparent 60%);
}
.hero-kicker { color: var(--muted); letter-spacing: 4px; font-size: 12px; font-weight: 700; }
.hero-title {
  font-size: clamp(40px, 9vw, 92px); font-weight: 900; letter-spacing: .05em; line-height: 1;
  margin: 18px 0 22px; color: var(--text);
}
.hero-title span { color: var(--gold); }
.hero-sub { color: var(--muted); max-width: 620px; margin: 0 auto; font-size: clamp(14px, 1.8vw, 16.5px); line-height: 1.7; }
.hero-cta { margin-top: 34px; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700; cursor: pointer;
  padding: 13px 30px; border-radius: 99px; font-size: 14.5px; border: none;
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn-primary {
  color: #000; background: linear-gradient(135deg, var(--gold-2), var(--orange));
  box-shadow: 0 0 20px rgba(255,122,26,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 38px rgba(255,122,26,.6); }

/* features */
.section { position: relative; z-index: 3; max-width: 1120px; margin: 0 auto; padding: clamp(70px, 10vw, 110px) 20px; }
.sec-title { text-align: center; font-size: clamp(26px, 4.5vw, 40px); font-weight: 800; }
.sec-sub { text-align: center; color: var(--muted); margin: 12px auto 48px; max-width: 560px; font-size: 15px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(245,185,21,.45); box-shadow: 0 12px 36px rgba(245,185,21,.09); }
.ico { width: 26px; height: 26px; color: var(--gold); margin-bottom: 16px; display: block; }
.card h3 { font-size: 16.5px; margin-bottom: 9px; color: var(--text); font-weight: 700; }
.card p { color: var(--muted); font-size: 13.8px; line-height: 1.68; }

/* footer */
.footer {
  position: relative; z-index: 3; text-align: center; padding: 48px 20px 56px;
  border-top: 1px solid var(--line); background: var(--bg-2);
}
.foot-brand { font-weight: 800; letter-spacing: 3px; margin-bottom: 14px; }
.foot-brand span { color: var(--gold); }
.fine { color: #6b6049; font-size: 12px; margin-top: 8px; line-height: 1.6; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 560px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .card { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
