/* FateWalker website. Dark fantasy look matching the game: deep night, parchment text, gold. */
@font-face {
  font-family: "Cinzel";
  src: url("fonts/cinzel.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --bg: #0d0b09;
  --bg-2: #15110d;
  --panel: #1b1612;
  --line: #3a2f22;
  --text: #ece3d0;
  --muted: #b5a88f;
  --gold: #e0ad4f;
  --gold-2: #f5d48b;
  --red: #a8321f;
  --radius: 14px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); }
a:hover { color: #fff; }

h1, h2, h3, .brand, .btn { font-family: "Cinzel", Georgia, serif; letter-spacing: .02em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.15; margin: 0 0 .4em; color: var(--gold-2); font-weight: 700; }
h3 { font-size: 1.2rem; margin: 0 0 .35em; color: var(--gold-2); font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.kicker { font-family: "Cinzel", Georgia, serif; text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; color: var(--gold); margin: 0 0 .6em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 46ch; }

/* top bar */
.top { position: absolute; inset: 0 0 auto; z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { color: var(--gold-2); text-decoration: none; font-weight: 800; font-size: 1.15rem; text-shadow: 0 2px 8px #000; }
.top nav { display: flex; gap: 18px; }
.top nav a { color: var(--text); text-decoration: none; font-size: .95rem; text-shadow: 0 2px 8px #000; }
.top nav a:hover { color: var(--gold-2); }

/* hero */
.hero {
  position: relative; min-height: min(92vh, 860px); display: grid; place-items: end center;
  background: #000 url("img/hero.webp") center 35% / cover no-repeat;
  text-align: center; padding: 110px 0 56px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,11,9,.55) 0%, rgba(13,11,9,0) 28%, rgba(13,11,9,.35) 55%, var(--bg) 96%);
}
.hero > .wrap { position: relative; z-index: 1; display: grid; justify-items: center; }
.hero .logo { width: min(520px, 86vw); filter: drop-shadow(0 8px 24px rgba(0,0,0,.7)); margin-bottom: 4px; }
.hero h1 { font-size: clamp(1.5rem, 4.6vw, 2.6rem); margin: 0 0 .3em; font-weight: 700; color: #fff; text-shadow: 0 3px 14px #000; }
.hero .lead { margin: 0 auto 1.4em; color: #e3d8c2; text-shadow: 0 2px 10px #000; }
.small-note { font-size: .88rem; color: var(--muted); margin-top: 14px; }

.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 26px; border-radius: 999px;
  background: linear-gradient(180deg, #f2c66c, #c98e2c); color: #1a1208; text-decoration: none; font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 6px 22px rgba(224,173,79,.35), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn:hover { color: #000; filter: brightness(1.08); }
.btn svg { width: 22px; height: 22px; }
.btn-ghost { background: transparent; color: var(--gold-2); border: 1px solid var(--gold); box-shadow: none; }
.btn-ghost:hover { color: #fff; background: rgba(224,173,79,.12); }

/* sections */
section { padding: 72px 0; }
.alt { background: var(--bg-2); border-block: 1px solid #221b14; }

.split { display: grid; gap: 40px; align-items: center; grid-template-columns: 1.1fr .9fr; }
.split.flip > :first-child { order: 2; }
.phone {
  width: min(300px, 70vw); margin-inline: auto; border-radius: 26px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0,0,0,.6);
}
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 12px; transform: rotate(45deg); background: var(--gold); border-radius: 2px; }

.art { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0,0,0,.55); }
.shots-2 { display: flex; gap: 18px; justify-content: center; }
.shots-2 .phone { width: min(240px, 42vw); margin: 0; }
.watches { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.watch { width: min(250px, 42vw); border-radius: 50%; box-shadow: 0 0 0 6px #241c14, 0 0 0 7px var(--line), 0 18px 50px rgba(0,0,0,.6); }

/* feature cards */
.cards { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card img { aspect-ratio: 2 / 1; object-fit: cover; width: 100%; }
.card .body { padding: 18px 20px 20px; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }

/* screenshots */
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 18px; margin-top: 24px; scrollbar-color: var(--line) transparent; }
.shots figure { margin: 0; flex: 0 0 auto; width: 220px; scroll-snap-align: start; }
.shots img { border-radius: 18px; border: 1px solid var(--line); }
.shots figcaption { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 8px; }

/* online */
.online-badge { display: inline-block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #1a1208; background: var(--gold); padding: 4px 10px; border-radius: 999px; font-weight: 700; margin-bottom: 12px; }

/* free & private */
.pillars { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); margin-top: 26px; }
.pillar { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.pillar b { display: block; font-family: "Cinzel", Georgia, serif; color: var(--gold-2); font-size: 1.05rem; margin-bottom: 4px; }
.pillar span { color: var(--muted); font-size: .93rem; }

.cta { text-align: center; }
.cta .lead { margin: 0 auto 1.4em; }

/* text pages */
.page-head { padding: 120px 0 30px; background: linear-gradient(180deg, #1d1610, var(--bg)); border-bottom: 1px solid #221b14; }
.page-head h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); color: var(--gold-2); margin: 0; }
.doc { padding: 36px 0 70px; }
.doc .wrap { max-width: 780px; }
.doc h2 { font-size: 1.45rem; margin-top: 1.8em; }
.doc li { margin-bottom: .45em; }
.doc .updated { color: var(--muted); }
.note { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; padding: 14px 18px; margin: 1.4em 0; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin: 0 0 12px; }
summary { cursor: pointer; font-weight: 700; color: var(--gold-2); }
details[open] summary { margin-bottom: 8px; }

/* footer */
footer { border-top: 1px solid #221b14; padding: 34px 0 46px; color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: var(--muted); }

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding: 54px 0; }
  .cards { grid-template-columns: 1fr; }
  .top nav { gap: 14px; }
  .top nav a { font-size: .88rem; }
  .shots figure { width: 62vw; }
  .hero { min-height: min(88vh, 760px); background-position: 52% 30%; }
}
@media (max-width: 560px) {
  .phone { width: min(230px, 62vw); }
  .split { gap: 26px; }
}
.watch-big { width: min(320px, 72vw); }
