/* HeroMoves website: night blue, gold and parchment, like the game */
@font-face {
  font-family: "Pirata One";
  src: url("/fonts/PirataOne-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --night: #0a0f1d;
  --night-2: #121a30;
  --gold: #f2c464;
  --gold-deep: #b9822a;
  --frost: #a9d8ff;
  --parchment: #f3e3bd;
  --ink: #3e2711;
  --text: #e9eefb;
  --muted: #b8c2dc;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 17px/1.6 Georgia, "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--frost); }
a:hover { color: #fff; }

h1, h2, h3, .display {
  font-family: "Pirata One", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
h2 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  margin: 0 0 0.4em;
  background: linear-gradient(180deg, #fff3c9 10%, var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}
.wrap { width: min(1100px, 100% - 40px); margin: 0 auto; }

/* ------------------------------------------------------------ hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 70px;
  text-align: center;
  background: var(--night) url("/img/forest.webp") center 30% / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(10, 15, 29, 0.15), rgba(10, 15, 29, 0.75) 70%),
    linear-gradient(180deg, rgba(10, 15, 29, 0.2), var(--night) 96%);
}
.hero > * { position: relative; }
.hero-art {
  width: min(760px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.65));
}
.tagline {
  display: inline-block;
  margin: 6px auto 0;
  padding: 10px 26px;
  font-family: "Pirata One", Georgia, serif;
  font-size: clamp(1.3rem, 3.4vw, 1.9rem);
  color: #fff6d8;
  background: linear-gradient(180deg, #23407e, #142650);
  border: 2px solid var(--gold);
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.lead {
  max-width: 640px;
  margin: 22px auto 26px;
  font-size: 1.15rem;
  color: #f2f5ff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px;
  border-radius: 14px;
  background: #000;
  color: #fff;
  border: 1px solid #6b7486;
  font: 600 1rem/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0.01em;
}
.badge small { display: block; font-weight: 400; font-size: 0.72rem; color: #c9cfdb; text-transform: uppercase; letter-spacing: 0.08em; }

/* ------------------------------------------------------------ intro */
.intro { text-align: center; padding: 30px 0 10px; }
.intro p { max-width: 720px; margin: 0 auto; color: var(--muted); font-size: 1.1rem; }

/* ------------------------------------------------------------ features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  padding: 40px 0 20px;
}
.card {
  background: linear-gradient(180deg, var(--night-2), #0d1426);
  border: 1px solid rgba(242, 196, 100, 0.35);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.card .body { padding: 20px 22px 24px; }
.card h3 { margin: 0 0 8px; font-size: 2rem; color: var(--gold); }
.card p { margin: 0; color: var(--muted); }

/* ------------------------------------------------------------ realm banner */
.realm {
  margin: 40px 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
.realm img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.realm .caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 60px 28px 26px;
  background: linear-gradient(180deg, transparent, rgba(6, 10, 20, 0.88));
}
.realm .caption h3 { margin: 0 0 4px; font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--gold); }
.realm .caption p { margin: 0; max-width: 640px; color: #eef2ff; }

/* ------------------------------------------------------------ parchment */
.parchment {
  background: var(--parchment) radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.35), transparent 60%);
  color: var(--ink);
  border-radius: var(--radius);
  border: 3px solid #c99a45;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), inset 0 0 40px rgba(150, 100, 40, 0.25);
  padding: 34px clamp(22px, 5vw, 50px);
}
.parchment h2 {
  background: none; color: #6b3e10; filter: none;
  -webkit-background-clip: initial; background-clip: initial;
}
.fair ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.fair li { padding-left: 34px; position: relative; font-size: 1.08rem; }
.fair li::before { content: "\2744"; position: absolute; left: 0; top: 0; color: #2f6db5; font-size: 1.2rem; }

/* ------------------------------------------------------------ contact + footer */
.contact { text-align: center; padding: 50px 0 30px; }
.contact p { color: var(--muted); margin: 0 0 6px; }
.contact a { font-size: 1.2rem; }
footer {
  border-top: 1px solid rgba(242, 196, 100, 0.25);
  padding: 26px 0 40px;
  color: #8f9ab6;
  font-size: 0.92rem;
  text-align: center;
}
footer a { color: #c7d1ea; margin: 0 8px; }

/* ------------------------------------------------------------ privacy page */
.page-head { padding: 30px 0 10px; text-align: center; }
.page-head a.home { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.page-head img { width: 56px; border-radius: 14px; }
.page-head .display { font-size: 2rem; color: var(--gold); }
.policy { margin: 20px auto 50px; max-width: 820px; }
.policy h1 { margin: 0 0 4px; font-size: clamp(2.2rem, 5vw, 3rem); color: #6b3e10; }
.policy h2 { font-size: 1.7rem; margin: 1.6em 0 0.4em; }
.policy p, .policy li { font-size: 1.02rem; }
.policy ul { padding-left: 22px; }
.policy a { color: #1f5ca8; }
.policy .date { color: #7a5a2e; font-style: italic; margin-bottom: 1.4em; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding-bottom: 50px; }
  .card img { aspect-ratio: 1 / 1; }
  .realm { background: var(--night-2); }
  .realm .caption { position: static; background: none; padding: 18px 22px 24px; }
}
