/* Renkler mobil uygulamanın tasarım tokenlarıyla aynı (mobile/src/constants/theme.ts). */
:root {
  --page: #f6f3ff;
  --card: #ffffff;
  --subtle: #eeeaff;
  --brand: #6c4df6;
  --brand-deep: #4a2fd0;
  --on-brand: #ffffff;
  --text: #2b2247;
  --text-2: #5a5478;
  --muted: #8b86a8;
  --border: #e4ddfb;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #16122a;
    --card: #221d3d;
    --subtle: #2c2550;
    --brand: #8a6bf9;
    --brand-deep: #5334d8;
    --text: #f2efff;
    --text-2: #b8b1d6;
    --border: #332b57;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--page);
  color: var(--text);
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}
main {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.icon {
  width: 112px;
  height: 112px;
  border-radius: 26px;
  margin-bottom: 12px;
  border-bottom: 4px solid var(--border);
}
h1 { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -0.5px; }
.tagline { margin: 0 0 18px; font-size: 16px; color: var(--text-2); line-height: 1.4; }
.stores { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.store {
  display: block;
  width: 100%;
  padding: 16px 20px;
  border-radius: 18px;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 4px solid;
  transition: transform 70ms ease, border-bottom-width 70ms ease;
}
.store:active { transform: translateY(4px); border-bottom-width: 0; margin-bottom: 4px; }
.store.primary { background: var(--brand); color: var(--on-brand); border-color: var(--brand-deep); }
.store.secondary { background: var(--card); color: var(--brand); border-color: var(--border); }
.features {
  list-style: none;
  margin: 22px 0 0;
  padding: 16px 18px;
  width: 100%;
  background: var(--card);
  border-radius: 22px;
  border-bottom: 3px solid var(--border);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-2);
}
.features li { display: flex; gap: 10px; align-items: baseline; }
footer { margin-top: 28px; font-size: 12px; color: var(--muted); letter-spacing: 2px; }

/* Meydan okuma sayfası (functions/m/[code].ts) */
h1.challenge { font-size: 26px; line-height: 1.2; }
.challenge-card {
  width: 100%;
  margin: 6px 0 18px;
  padding: 16px 18px;
  background: var(--card);
  border-radius: 22px;
  border-bottom: 3px solid var(--border);
  text-align: left;
}
.challenge-card .category { font-size: 11px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--brand); }
.challenge-card .quiz { margin: 2px 0 10px; font-size: 18px; font-weight: 800; }
.challenge-card .score { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 2px solid var(--border); }
.challenge-card .score span { color: var(--text-2); font-size: 14px; }
.challenge-card .score strong { color: var(--brand); font-size: 24px; font-weight: 800; }
.note { margin: 14px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.open-app { margin-top: 4px; font-size: 14px; font-weight: 800; color: var(--brand); text-decoration: none; padding: 10px; }
