@font-face { font-family: "Nunito"; src: url("fonts/Nunito-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/Nunito-Black.ttf") format("truetype"); font-weight: 900; font-display: swap; }

:root {
  --ink: #3A2A20;
  --muted: #8A7466;
  --bg: #FFF9F2;
  --paper: #FFFFFF;
  --line: #F0E2D3;
  --accent: #E8833A;
  --soft: #FFF1E2;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(120, 70, 30, .10), 0 2px 6px rgba(120, 70, 30, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 800; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-weight: 900; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1100px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.lead { font-size: 1.2rem; color: var(--muted); }
.section { padding: 56px 0 8px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 249, 242, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.1rem; }
.brand:hover { text-decoration: none; }
.brand b { color: #E8833A; font-weight: 900; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #FDF0DC; border: 2px solid #E9CFA8; box-shadow: 0 3px 0 #D9B88A; font-weight: 900; color: #6B4A33; font-size: .95rem; }
nav { display: flex; gap: 22px; align-items: center; }
.top nav a { color: var(--ink); }
.top nav a.lang { padding: 6px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }

/* buttons */
.btn { display: inline-block; padding: 13px 26px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 900; box-shadow: 0 5px 0 rgba(0, 0, 0, .15); transition: transform .15s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .8rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.badge.soon { background: #FFE7C2; color: #A65A12; }
.badge.live { background: #D8F2DC; color: #2D7A3A; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 90px 0 70px; background: radial-gradient(1200px 500px at 80% -10%, #FFE2C2 0%, transparent 60%), radial-gradient(800px 400px at -10% 110%, #FDE8D4 0%, transparent 60%); }
.hero-in { position: relative; z-index: 1; max-width: 640px; margin-left: max(20px, calc((100% - 1100px) / 2)); }
.tiles { position: absolute; right: max(20px, calc((100% - 1100px) / 2)); top: 50%; transform: translateY(-50%) rotate(-6deg); display: grid; grid-template-columns: repeat(2, 96px); gap: 14px; }
.tiles span { display: grid; place-items: center; height: 96px; border-radius: 20px; background: #FDF3E3; border: 3px solid #EBD3AE; box-shadow: 0 7px 0 #D9B88A, var(--shadow); font-size: 3rem; font-weight: 900; color: #5A3E2B; }
.tiles span:nth-child(2) { background: #E8833A; color: #fff; border-color: #C9661F; box-shadow: 0 7px 0 #A9541A, var(--shadow); }
@media (max-width: 860px) { .tiles { display: none; } .hero { padding: 60px 0 40px; } }

/* game cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.card { display: flex; gap: 20px; align-items: center; padding: 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); transition: transform .2s, box-shadow .2s; }
a.card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: 0 16px 40px rgba(120, 70, 30, .16); }
.card-icon { width: 112px; height: 112px; border-radius: 26px; flex: none; box-shadow: 0 6px 16px rgba(0, 0, 0, .15); }
.card h3 { font-size: 1.4rem; margin-bottom: .2em; }
.card p { color: var(--muted); margin-bottom: .5em; }
.card .link { color: var(--accent); }
.card.ghost { justify-content: center; text-align: center; background: transparent; border: 2px dashed var(--line); box-shadow: none; color: var(--muted); min-height: 156px; }
.card.ghost h3 { font-size: 2rem; color: var(--line); }
.about p { font-size: 1.1rem; max-width: 720px; }

/* game page */
.subnav { display: flex; gap: 8px; padding-top: 18px; flex-wrap: wrap; }
.subnav a { padding: 6px 16px; border-radius: 999px; color: var(--ink); border: 1px solid var(--line); background: var(--paper); }
.subnav a.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.subnav a:hover { text-decoration: none; }
.ghero { margin-top: 18px; padding: 50px 0; background: linear-gradient(180deg, var(--soft), var(--bg)); }
.ghero-in { display: flex; gap: 40px; align-items: center; }
.ghero-in > div { max-width: 640px; }
.gicon { width: 168px; height: 168px; border-radius: 38px; flex: none; box-shadow: 0 14px 34px rgba(0, 0, 0, .18); }
@media (max-width: 700px) { .ghero-in { flex-direction: column; align-items: flex-start; gap: 22px; } .gicon { width: 120px; height: 120px; border-radius: 28px; } }
.stores { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 14px; background: #1E1611; color: #fff; font-weight: 900; font-size: 1.1rem; line-height: 1.1; }
.store small { display: block; font-size: .7rem; font-weight: 800; opacity: .8; }
.store:hover { text-decoration: none; }
.store.disabled { opacity: .35; cursor: default; }
.store-ico { width: 22px; height: 22px; border-radius: 6px; background: #fff; display: grid; place-items: center; color: #1E1611; font-size: .8rem; }
.store-ico.gp { background: linear-gradient(135deg, #34A853, #FBBC04 50%, #EA4335); color: #fff; }
.shots { display: flex; gap: 18px; overflow-x: auto; padding: 6px 4px 22px; scroll-snap-type: x mandatory; }
.shots img { width: 250px; height: auto; flex: none; border-radius: 24px; border: 6px solid #fff; box-shadow: var(--shadow); scroll-snap-align: start; }
.feats { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.feat { padding: 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.feat h3 { color: var(--accent); }
.feat p { color: var(--muted); margin: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; padding-bottom: 20px; }
.facts div { padding: 18px 22px; border-radius: var(--radius); background: var(--soft); }
.facts b { display: block; font-weight: 900; }
.facts span { color: var(--muted); }

/* support + privacy */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 900; }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.prose h2 { font-size: 1.3rem; margin-top: 1.6em; }
.prose li { margin-bottom: .4em; }

/* footer */
.foot { margin-top: 70px; padding: 40px 0 26px; background: #F6EADB; border-top: 1px solid var(--line); }
.foot-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot-in p { margin-top: 10px; max-width: 360px; }
.foot-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.foot-links a { color: var(--ink); }
.legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid #EAD8C3; font-size: .9rem; }
@media (max-width: 600px) { .foot-links { align-items: flex-start; } .top nav a:not(.lang) { display: none; } .brand { font-size: 1rem; } }
