:root {
  --bg: #0e1116;
  --bg-card: #181d24;
  --text: #e8ebf0;
  --muted: #8b93a1;
  --accent: #ffd23f;
  --real: #3ecf6e;
  --fake: #ff4d5e;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  min-height: 100vh;
}

#app { max-width: 1180px; margin: 0 auto; padding: 24px 16px 64px; }

.screen { display: none; }
.screen.active { display: block; }

/* ---------- intro / end ---------- */
.intro-inner {
  max-width: 560px;
  margin: 8vh auto 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}

.kicker {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--accent);
  font-size: 0.85rem;
}

h1 {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 9vw, 5.2rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.premise { color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.premise strong { color: var(--text); }
.premise-q {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
}

.big-btn {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  background: var(--accent);
  color: #14110a;
  border: none;
  border-radius: 999px;
  padding: 14px 38px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.big-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255, 210, 63, 0.25); }
.big-btn.ghost { background: transparent; color: var(--text); border: 2px solid #2a3140; }
.big-btn.ghost:hover { box-shadow: none; border-color: var(--muted); }

.fineprint { color: #5b6372; font-size: 0.78rem; line-height: 1.5; margin-top: 14px; }
.fineprint a { color: #7e8aa0; }

/* ---------- game ---------- */
.hud {
  display: flex;
  justify-content: space-between;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 0.95rem;
}

#round-question {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 4vw, 2rem);
  text-align: center;
  margin-bottom: 22px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

.card {
  background: var(--bg-card);
  border: 2px solid #232a35;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
  position: relative;
}
.card:not(.locked):hover { transform: translateY(-4px); border-color: var(--accent); }

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #0a0d11;
}

.card .tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  background: rgba(10, 13, 17, 0.78);
  border-radius: 8px;
  padding: 4px 11px;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.card .badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  padding: 5px 12px;
  border-radius: 8px;
  display: none;
}
.card.revealed.is-real .badge { display: block; background: var(--real); color: #06280f; }
.card.revealed.is-fake .badge { display: block; background: var(--fake); color: #2b0509; }
.card.revealed.is-fake { border-color: var(--fake); }
.card.revealed.is-real { border-color: #2d5c3d; }
.card.revealed.picked-wrong { outline: 3px solid var(--fake); }

.card .info {
  padding: 12px 14px 14px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  display: none;
  border-top: 1px solid #232a35;
}
.card.revealed .info { display: block; }
.card .info .co { color: var(--text); font-weight: 700; }
.card .info a { color: #7e8aa0; }

.verdict { text-align: center; margin-top: 26px; }
.verdict.hidden { display: none; }
#verdict-text {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
#verdict-text.good { color: var(--real); }
#verdict-text.bad { color: var(--fake); }

.emoji-row { font-size: 1.5rem; letter-spacing: 0.1em; }
