/* Shared styles for the Logo Quiz site. Palette matches the app's own
   (app/src/main/assets/css/style.css) — same dark background, same blue
   accent as the launcher icon, same gold for the reward/highlight tone. */

:root {
  --bg: #0B1020;
  --bg-raised: #141B33;
  --bg-sheet: #182142;
  --line: #253159;
  --text: #EAF0FF;
  --text-dim: #8B9BC4;
  --accent: #2E7BFF;
  --accent-soft: #7FB0FF;
  --good: #2BD97C;
  --gold: #FFC53D;
  --radius: 20px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Roboto", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-soft); }
a:hover { color: var(--accent); }

.wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(46, 123, 255, 0.35);
}
.badge svg { width: 26px; height: 26px; }

.brand {
  font-weight: 800;
  font-size: 1.05em;
  letter-spacing: 0.01em;
}
.brand span { color: var(--accent-soft); }

h1 {
  font-size: 2.4em;
  font-weight: 900;
  line-height: 1.08;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
h1 .accent { color: var(--accent-soft); }

.tagline {
  font-size: 1.15em;
  color: var(--text-dim);
  margin: 0 0 32px;
  line-height: 1.5;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.88em;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.pill b { color: var(--gold); }

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 8px 0 48px;
}
.shots img {
  width: 100%;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.shots figcaption {
  font-size: 0.78em;
  color: var(--text-dim);
  text-align: center;
  margin-top: 8px;
}
.shots figure { margin: 0; }

@media (max-width: 640px) {
  .shots { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
}

.card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 20px;
}
.card h2 {
  font-size: 1.15em;
  margin: 0 0 10px;
}
.card p, .card ul, .card li {
  color: var(--text-dim);
  line-height: 1.65;
  font-size: 0.98em;
}
.card ul { margin: 0; padding-left: 20px; }
.card li { margin-bottom: 6px; }

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) {
  .grid2 { grid-template-columns: 1fr; }
}

.store-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-sheet);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 20px;
  color: var(--text-dim);
  font-size: 0.92em;
  margin-bottom: 40px;
}
.store-note b { color: var(--text); }

footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 0.86em;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}
footer a { color: var(--text-dim); text-decoration: none; }
footer a:hover { color: var(--accent-soft); }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 0.92em;
  color: var(--text-dim);
  text-decoration: none;
}
.back-link:hover { color: var(--accent-soft); }

.policy h2 {
  font-size: 1.2em;
  margin: 36px 0 12px;
  color: var(--text);
}
.policy h2:first-of-type { margin-top: 0; }
.policy p, .policy li { color: var(--text-dim); line-height: 1.7; }
.policy ul { padding-left: 22px; }
.policy .updated { color: var(--text-dim); font-size: 0.88em; margin-bottom: 32px; }
.policy .contact-box {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  margin-top: 12px;
}
