:root {
  --bg: #cfe0c5;
  --sky: #9cc4e4;
  --panel: #ecf3e0;
  --ink: #2a3322;
  --accent: #3e7c2b;
  --accent2: #7cb45c;
  --brick: #b04a1f;
  --border: #2a3322;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0, #cfe6c0, var(--bg) 60%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---- top bar ---- */
.topbar {
  background: linear-gradient(180deg, var(--accent2), var(--accent));
  border-bottom: 4px solid var(--border);
  padding: 8px 0;
}
.nav-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 1.3rem;
  text-shadow: 2px 2px 0 rgba(0,0,0,.35);
}
.nav-logo img {
  width: 34px;
  height: 34px;
  image-rendering: pixelated;
}
.main-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.main-nav a {
  color: #fff;
  text-decoration: none;
  padding: 6px 12px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 4px;
  font-size: .85rem;
  font-weight: bold;
}
.main-nav a:hover { background: rgba(255,255,255,.18); }
.main-nav a.active {
  background: var(--brick);
  border-color: var(--border);
}

/* ---- page ---- */
.page {
  flex: 1;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 16px;
}
.page h1 {
  font-size: 2rem;
  margin: 0 0 6px;
  line-height: 1.1;
}
.page h2 { color: var(--accent); }
.sub { margin-top: 0; opacity: .85; }

/* ---- hero ---- */
.hero { text-align: center; margin: 12px 0 40px; }
.hero-logo {
  width: 150px;
  height: 150px;
  image-rendering: pixelated;
  filter: drop-shadow(6px 8px 0 rgba(0,0,0,.15));
}
.hero h1 {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 16px 0 8px;
}
.hero p {
  max-width: 620px;
  margin: 0 auto 24px;
  font-size: 1.05rem;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- buttons ---- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 12px 22px;
  border: 3px solid var(--border);
  border-radius: 6px;
  box-shadow: 3px 3px 0 rgba(0,0,0,.25);
}
.btn:hover { background: var(--accent2); }
.btn.ghost { background: var(--panel); color: var(--ink); }
.btn.big { font-size: 1.1rem; }

/* ---- trailer ---- */
.trailer, .download {
  background: var(--panel);
  border: 3px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 4px 4px 0 rgba(0,0,0,.12);
  margin-bottom: 28px;
  text-align: center;
}
.trailer-frame {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  margin: 14px auto;
  background: var(--sky);
  border: 3px solid var(--border);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.trailer-frame img { width: 100px; opacity: .9; image-rendering: pixelated; }
.trailer-frame span {
  position: absolute;
  font-size: 3.2rem;
  color: #fff;
  text-shadow: 2px 2px 0 var(--border);
}
.hint { font-size: .85rem; opacity: .7; }

/* ---- games list ---- */
.game-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.game {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--panel);
  border: 3px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 3px 3px 0 rgba(0,0,0,.12);
}
.game:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 rgba(0,0,0,.15); }
.game-tile {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  border: 3px solid var(--border);
  flex-shrink: 0;
}
.t1 { background: var(--accent); }
.t2 { background: var(--brick); }
.t3 { background: #c98f2e; }
.game h2 { margin: 0 0 4px; }
.game p { margin: 0; opacity: .85; }
.arrow { margin-left: auto; font-size: 1.3rem; }

/* ---- FAQ ---- */
.faq-page { max-width: 720px; }
.qa {
  background: var(--panel);
  border: 3px solid var(--border);
  border-radius: 8px;
  margin-bottom: 14px;
  box-shadow: 3px 3px 0 rgba(0,0,0,.1);
  overflow: hidden;
}
.qa summary {
  cursor: pointer;
  font-weight: bold;
  padding: 14px 18px;
  background: var(--accent);
  color: #fff;
  user-select: none;
}
.qa summary:hover { background: var(--accent2); }
.qa p { margin: 0; padding: 14px 18px; line-height: 1.6; }
.qa a { color: var(--brick); }

.soon {
  background: var(--panel);
  border: 3px dashed var(--border);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
  margin: 18px 0;
}

/* ---- footer ---- */
.foot {
  border-top: 4px solid var(--border);
  background: linear-gradient(0deg, var(--accent), var(--accent2));
  color: #fff;
  text-align: center;
  padding: 14px;
  font-size: .8rem;
}

@media (max-width: 520px) {
  .hero-logo { width: 110px; height: 110px; }
  .nav-logo span { display: none; }
}