/*
 * The app's own tokens, straight from ui/design/QueenTokens.kt. This page is not styled to
 * resemble the game — it is the same palette, the same typeface and the same zero-blur offset
 * shadow the app draws with.
 *
 * Shared by index.html (hu), en.html and privacy.html, so the design has one home.
 */
:root{
  --paper:#F6ECD8; --card:#FFFDF6; --ink:#2C2118;
  --felt:#E8672F; --accent:#F2C14E; --danger:#C0392B;
  --muted:#8A7B66; --muted2:#6B5747;
  --shadow-sm:3px 3px 0 var(--ink);
  --shadow-md:5px 5px 0 var(--ink);
  --shadow-lg:7px 7px 0 var(--ink);
}
*{box-sizing:border-box}
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:'Fredoka',system-ui,-apple-system,'Segoe UI',sans-serif;
  font-weight:500; line-height:1.55; -webkit-font-smoothing:antialiased;
}
.wrap{max-width:1040px; margin:0 auto; padding:0 22px}
h1,h2,h3{margin:0; font-weight:700; line-height:1.15}

/* ---------- language bar ---------- */
.langbar{border-bottom:2px solid rgba(44,33,24,.12)}
.langbar .wrap{display:flex; justify-content:flex-end; gap:8px; padding-top:14px; padding-bottom:14px}
.lang{
  display:inline-block; padding:6px 15px; border-radius:999px;
  text-decoration:none; font-weight:600; font-size:.88rem; letter-spacing:.03em;
  background:var(--card); border:2px solid var(--ink); color:var(--ink);
}
.lang[aria-current="true"]{background:var(--accent); box-shadow:var(--shadow-sm)}

/* ---------- hero ---------- */
.hero{text-align:center; padding:58px 0 10px}
.hero img.icon{
  width:132px; height:132px; border-radius:28px;
  border:3px solid var(--ink); box-shadow:var(--shadow-lg);
}
h1{font-size:clamp(3rem,11vw,5.5rem); letter-spacing:.04em; margin-top:26px}
.tagline{
  display:inline-block; margin-top:14px; padding:7px 18px;
  background:var(--accent); border:2px solid var(--ink); border-radius:999px;
  box-shadow:var(--shadow-sm); font-weight:600;
}
.lead{max-width:52ch; margin:26px auto 0; color:var(--muted2); font-size:1.14rem}

/* ---------- buttons ---------- */
.cta{display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:34px}
.btn{
  display:inline-flex; align-items:center; gap:11px;
  padding:15px 28px; border-radius:15px; border:3px solid var(--ink);
  text-decoration:none; font-weight:700; font-size:1.06rem;
  box-shadow:var(--shadow-md); transition:transform .08s, box-shadow .08s;
}
.btn:active{transform:translate(3px,3px); box-shadow:2px 2px 0 var(--ink)}
.btn-primary{background:var(--felt); color:var(--card)}
.btn-secondary{background:var(--card); color:var(--ink)}
.btn svg{width:22px; height:22px; flex:none}
.cta-note{margin-top:12px; font-size:.92rem; color:var(--muted)}

/* ---------- sections ---------- */
section{padding:72px 0}
.section-title{text-align:center; font-size:clamp(1.7rem,4.5vw,2.4rem)}
.section-sub{text-align:center; color:var(--muted); margin:10px auto 0; max-width:46ch}

.rules{display:grid; gap:14px; grid-template-columns:repeat(auto-fit,minmax(290px,1fr)); margin-top:38px}
.rule{
  display:flex; gap:14px; align-items:flex-start;
  background:var(--card); border:2.5px solid var(--ink); border-radius:15px;
  padding:16px; box-shadow:var(--shadow-md);
}
.badge{
  flex:none; min-width:40px; height:40px; padding:0 8px;
  display:grid; place-items:center;
  background:var(--accent); border:2px solid var(--ink); border-radius:10px;
  font-weight:700; font-size:.88rem; letter-spacing:.02em;
}
.rule h3{font-size:1.05rem}
.rule p{margin:3px 0 0; color:var(--muted2); font-size:.96rem}

/* ---------- screenshots ---------- */
.shots{
  display:flex; gap:22px; overflow-x:auto; padding:38px 4px 10px;
  scroll-snap-type:x mandatory;
}
.shots figure{margin:0; flex:none; width:232px; scroll-snap-align:center}
.shots img{
  width:100%; display:block; border-radius:20px;
  border:3px solid var(--ink); box-shadow:var(--shadow-md);
}
.shots figcaption{margin-top:11px; text-align:center; font-size:.92rem; color:var(--muted)}

/* ---------- features ---------- */
.features{display:grid; gap:14px; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); margin-top:38px}
.feature{
  background:var(--card); border:2.5px solid var(--ink); border-radius:15px;
  padding:20px; box-shadow:var(--shadow-sm);
}
.feature h3{font-size:1.02rem; margin-bottom:5px}
.feature p{margin:0; color:var(--muted2); font-size:.95rem}

.band{background:var(--felt); color:var(--card); border-top:3px solid var(--ink); border-bottom:3px solid var(--ink)}
.band .section-title,.band .section-sub{color:var(--card)}
.band .feature{background:var(--card); color:var(--ink)}

footer{padding:46px 0 60px; text-align:center; color:var(--muted); font-size:.92rem}
footer a{color:var(--muted2)}
footer .sep{margin:0 9px; opacity:.5}

/* ---------- privacy policy ---------- */
.doc{max-width:760px; font-weight:400; line-height:1.65}
.doc .home{display:inline-flex; align-items:center; gap:9px; text-decoration:none; color:var(--muted2); font-weight:600}
.doc .home img{width:34px; height:34px; border-radius:9px; border:2px solid var(--ink)}
.doc h1{font-size:2.05rem; margin:24px 0 4px; letter-spacing:0}
.doc .updated{color:var(--muted); font-size:.93rem; margin:0}
.doc h2{font-size:1.5rem; margin:54px 0 6px; padding-top:20px; border-top:3px solid var(--ink)}
.doc h3{font-size:1.08rem; font-weight:600; margin:28px 0 4px}
.doc p,.doc li{color:var(--muted2)}
.doc ul{padding-left:20px}
.doc li{margin:5px 0}
.doc strong{color:var(--ink); font-weight:600}
.doc a{color:var(--felt)}
.doc table{width:100%; border-collapse:collapse; margin:14px 0; font-size:.95rem}
.doc th,.doc td{text-align:left; padding:10px 12px; border:2px solid var(--ink); vertical-align:top}
.doc th{background:var(--accent); color:var(--ink); font-weight:600}
.doc td{background:var(--card); color:var(--muted2)}
.note{
  background:var(--card); border:2.5px solid var(--ink); border-radius:14px;
  padding:16px 18px; box-shadow:var(--shadow-sm); margin:22px 0;
}
.note p{margin:0}

/* The privacy page's in-document jump links, reusing the .lang pill. */
.langs{margin:22px 0 0; display:flex; gap:10px; flex-wrap:wrap}
.doc footer{padding:46px 0 60px}
