/* Derlemede üretildi: apps/mobile/src/core/theme/tokens.ts */
:root {
  --ground: #24101B;
  --ground-deep: #120810;
  --surface: #351B2B;
  --surface-pressed: #4A2A3D;
  --line: #8F7482;
  --line-soft: #6F5162;
  --cream: #FFF1DC;
  --cream-edge: #D2B897;
  --cream-pressed: #EFDCC0;
  --ink-muted: #C3A6B2;
  --ink-secondary: #DCC6CF;
  --poster: #C8321A;
  --poster-edge: #8C2112;
  --poster-text-shadow: rgba(126,29,15,0.4);
  --poster-stripe: rgba(0,0,0,0.11);
  --claim: #DF8A19;
  --claim-edge: #A9640C;
  --claim-pressed: #C77A12;
  --shadow: #0E0509;
  --scrim: rgba(18,8,16,0.85);
  --danger: #FF9C87;
  --success: #8FD9A8;
  --disabled-ink: #8F7482;
  --disabled-line: #5A3F4E;
  --mode-tombala: #C8321A;
  --mode-tombala-edge: #8C2112;
  --mode-vampir-koylu: #8550D0;
  --mode-vampir-koylu-edge: #5D3892;
  --mode-isim-sehir: #13917F;
  --mode-isim-sehir-edge: #0D6659;
  --mode-casus: #3477E0;
  --mode-casus-edge: #24539D;
}
/*
 * Sitenin tek stil dosyası. Renk değişkenleri (:root) derlemede apps/mobile/src/core/theme/tokens.ts
 * dosyasından üretilip bu dosyanın başına eklenir — değerler burada elle yazılmaz (docs/DESIGN.md).
 * Tek sabit koyu tema (DESIGN.md bölüm 2). Kırmızı yalnız "şu anki" şeye: burada spiker ekranındaki
 * son sayı. Türkçe büyük harf için CSS text-transform KULLANILMAZ; metin önceden büyük yazılır.
 * Yazı tipleri: Anton 400 (başlık, sayı) + Barlow Semi Condensed 500/700/800 (metin), kendi
 * sunucumuzdan (SIL OFL 1.1, docs/LICENSES.md). Sahte kalınlık yok: font-synthesis none.
 */
@font-face { font-family: 'Anton'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/anton-400.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 500; font-style: normal; font-display: swap; src: url('/assets/fonts/barlow-semi-condensed-500.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 700; font-style: normal; font-display: swap; src: url('/assets/fonts/barlow-semi-condensed-700.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 800; font-style: normal; font-display: swap; src: url('/assets/fonts/barlow-semi-condensed-800.woff2') format('woff2'); }

:root {
  --display: 'Anton', Impact, 'Arial Narrow Bold', sans-serif;
  --ui: 'Barlow Semi Condensed', 'Avenir Next Condensed', 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
  --r-sm: 4px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px;
  --stripe: repeating-linear-gradient(90deg, transparent 0 22px, var(--poster-stripe) 22px 24px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--cream);
  font-family: var(--ui);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.1px;
  font-synthesis: none;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
strong, b, th, summary { font-weight: 700; }
a { color: var(--cream); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--line); }
a:hover { text-decoration-color: var(--cream); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--cream); outline-offset: 2px; border-radius: var(--r-sm); }
p, ul, ol { margin: 0 0 16px; }
ul, ol { padding-left: 24px; }
li + li { margin-top: 6px; }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.15; }

.skip { position: absolute; left: 16px; top: -100px; background: var(--cream); color: var(--ground); padding: 8px 12px; border-radius: var(--r-md); z-index: 10; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- üst bant ---------- */
.site-header { border-bottom: 2px solid var(--surface); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-top: 12px; padding-bottom: 12px; }
.wordmark { font-family: var(--display); font-weight: 400; font-size: 24px; letter-spacing: 0.5px; line-height: 1.2; text-decoration: none; color: var(--cream); }
.header-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-weight: 700; font-size: 17px; }
.header-nav a { text-decoration: none; padding: 8px 0; }
.header-nav a.cta { padding: 6px 14px; }
.header-nav a[aria-current='page'] { text-decoration: underline; text-decoration-color: var(--cream); }
.lang-switch { border: 2px solid var(--line); border-radius: var(--r-md); padding: 4px 10px !important; line-height: 1.3; }
.cta { display: inline-block; font-weight: 800; border-radius: var(--r-md); padding: 6px 14px; line-height: 1.3; }
a.cta { background: var(--cream); color: var(--ground); box-shadow: inset 0 -3px 0 var(--cream-edge); }
.cta-soon { border: 2px dashed var(--line); color: var(--ink-secondary); }

/* ---------- giriş ---------- */
.hero { padding: 40px 0 56px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.overline { font-weight: 700; font-size: 14px; letter-spacing: 1.4px; color: var(--ink-secondary); margin-bottom: 12px; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(42px, 8vw, 76px); line-height: 1.08; letter-spacing: 0.5px; margin-bottom: 20px; }
.lead { font-size: 20px; line-height: 1.5; color: var(--cream); }
.facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.facts li { margin: 0; border: 2px solid var(--cream); border-radius: var(--r-md); padding: 2px 10px; font-weight: 800; font-size: 16px; }
@media (min-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
}

/* ---------- mağaza rozetleri ---------- */
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 8px 0; }
.center-badges { justify-content: center; }
.badge { display: inline-block; text-decoration: none; }
.badge-ios img { height: 48px; width: auto; }
.badge-android img { height: 72px; width: auto; margin: -12px 0; }
.soon-pill { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border: 2px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: var(--ink-secondary); font-weight: 700; font-size: 16px; }

/* ---------- spiker ekranı (gerçek arayüz, HTML ile; home.mjs) ---------- */
.phone { margin: 0 auto; width: min(320px, 100%); border-radius: 36px; background: var(--ground); box-shadow: 0 0 0 6px #000, 0 24px 64px rgba(0, 0, 0, 0.6); overflow: hidden; }
.phone-screen { padding: 28px 10px 18px; display: flex; flex-direction: column; gap: 6px; }
.m-status { display: flex; align-items: center; gap: 8px; height: 26px; }
.m-wait { flex: 1; font-weight: 800; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-count { flex: none; border: 2px solid var(--cream); border-radius: var(--r-md); padding: 0 8px; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; line-height: 22px; }
.m-poster { position: relative; height: 172px; margin: 0 -10px; background-color: var(--poster); background-image: var(--stripe); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), 0 100%); overflow: hidden; }
.m-num { display: block; font-family: var(--display); font-size: 190px; line-height: 1; letter-spacing: -3px; text-align: center; margin-top: -14px; color: var(--cream); text-shadow: 0 3px 0 var(--poster-text-shadow); }
.m-reading { position: absolute; left: 10px; bottom: 18px; font-weight: 700; font-size: 17px; line-height: 1.05; }
.m-reading::before { content: ''; display: block; width: 20px; height: 3px; background: var(--cream); margin-bottom: 5px; }
.m-menu { position: absolute; top: 6px; right: 10px; width: 44px; height: 44px; border: 2px solid var(--cream); border-radius: var(--r-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font-weight: 700; font-size: 11px; }
.m-menu svg { width: 18px; height: 15px; }
.m-prev { display: flex; align-items: center; gap: 5px; height: 24px; }
.m-prev-label { flex: none; font-weight: 700; font-size: 12px; letter-spacing: 1px; color: var(--ink-secondary); padding-right: 2px; }
.m-prev b { flex: 1; height: 24px; display: grid; place-items: center; font-family: var(--display); font-weight: 400; font-size: 18px; border-top: 2px solid var(--cream); border-bottom: 2px solid var(--cream); }
.m-prev b.yeni { background: var(--cream); color: var(--ground); border-radius: var(--r-sm); box-shadow: inset 0 -3px 0 var(--cream-edge); }
.m-board { display: grid; grid-template-columns: repeat(10, 1fr); gap: 2px; }
.k { height: 25px; display: grid; place-items: center; font-style: normal; font-family: var(--display); font-size: 13px; color: var(--ink-muted); border: 1.5px solid var(--line-soft); border-radius: var(--r-sm); }
.k.tas { background: var(--cream); border-color: var(--cream); color: var(--ground); font-size: 14px; padding-bottom: 2px; box-shadow: inset 0 -3px 0 var(--cream-edge), 0 2px 0 var(--shadow); }
.k.son { position: relative; z-index: 1; background: var(--poster); border-color: var(--poster); color: var(--cream); font-size: 15px; padding-bottom: 2px; box-shadow: inset 0 -3px 0 var(--poster-edge); outline: 2px solid var(--cream); outline-offset: 1px; }
.m-primary { margin-top: 4px; height: 46px; border: 3px solid var(--cream); border-radius: 12px; padding: 3px; display: flex; }
.m-primary { align-items: center; justify-content: center; gap: 8px; background: var(--cream); background-clip: content-box; color: var(--ground); font-weight: 800; font-size: 19px; box-shadow: inset 0 0 0 3px var(--ground); }
.m-primary svg { width: 18px; height: 18px; }
.m-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.m-btn { height: 46px; border: 2px solid var(--line); border-radius: var(--r-lg); background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-weight: 700; font-size: 13px; line-height: 1.1; white-space: nowrap; }
.m-btn svg { width: 17px; height: 17px; }
.m-claim { background: var(--claim); border-color: var(--claim); color: var(--ground); font-weight: 800; box-shadow: inset 0 -3px 0 var(--claim-edge); }

/* ---------- bölümler ---------- */
.section { padding: 40px 0; }
.section h2 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 5vw, 44px); letter-spacing: 0.5px; }
.section-lead { color: var(--ink-secondary); max-width: 760px; margin-bottom: 24px; }

.mode-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .mode-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .mode-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.mode-card { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.mode-band { height: 64px; padding: 0 16px; display: flex; align-items: center; background-image: var(--stripe); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), 0 100%); }
.mode-band h3 { font-family: var(--display); font-weight: 400; font-size: 32px; letter-spacing: 0.5px; margin: 0; padding-bottom: 4px; line-height: 1.2; }
.mode-tombala .mode-band { background-color: var(--mode-tombala); }
.mode-vampir-koylu .mode-band { background-color: var(--mode-vampir-koylu); }
.mode-isim-sehir .mode-band { background-color: var(--mode-isim-sehir); }
.mode-casus .mode-band { background-color: var(--mode-casus); }
.mode-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.mode-line { font-weight: 700; font-size: 19px; }
.aka { display: block; font-weight: 500; font-size: 16px; color: var(--ink-secondary); }
.mode-body ul { color: var(--ink-secondary); font-size: 17px; }
.chips { margin-top: auto; margin-bottom: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 2px solid var(--line); border-radius: var(--r-md); padding: 0 10px; line-height: 26px; font-weight: 700; font-size: 15px; }

.stones { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 16px 32px; }
@media (min-width: 700px) { .stones { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .stones { grid-template-columns: repeat(3, 1fr); } }
.stones li { margin: 0; position: relative; padding-left: 48px; }
.stones li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 2px; width: 34px; height: 34px; border-radius: var(--r-sm); background: var(--cream); color: var(--ground); font-family: var(--display); font-size: 19px; display: grid; place-items: center; padding-bottom: 2px; box-shadow: inset 0 -3px 0 var(--cream-edge), 0 2px 0 var(--shadow); }
.stones strong { display: block; font-weight: 800; font-size: 20px; }
.stones span { color: var(--ink-secondary); }

.panel { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-xl); padding: 24px 20px; }
.panel h2 { margin-bottom: 16px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li + li { margin-top: 10px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 14px; height: 8px; border-left: 3px solid var(--cream); border-bottom: 3px solid var(--cream); transform: rotate(-45deg); }

/* ---------- SSS ---------- */
.faq { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-lg); margin-bottom: 8px; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 48px 14px 16px; font-size: 19px; position: relative; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: 26px; line-height: 1; }
.faq[open] summary::after { content: '−'; }
.faq > :not(summary) { margin: 0 16px 16px; }
.faq > ul, .faq > ol { padding-left: 24px; margin-left: 16px; }
.more { margin-top: 16px; font-weight: 700; }

/* ---------- belge sayfaları ---------- */
.doc { padding-top: 32px; padding-bottom: 56px; }
.doc h1 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 6vw, 54px); letter-spacing: 0.5px; }
.doc h2 { font-weight: 800; font-size: 24px; line-height: 1.2; margin-top: 36px; }
.doc h3 { font-weight: 800; font-size: 20px; margin-top: 24px; }
.legal-head { margin-bottom: 24px; }
.meta { color: var(--ink-secondary); font-size: 16px; }
.callout { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-lg); padding: 16px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 8px; }
.toc a { border: 2px solid var(--line); border-radius: var(--r-md); padding: 2px 10px; text-decoration: none; font-weight: 700; font-size: 16px; }
.faq-group h2 { font-family: var(--display); font-weight: 400; font-size: 32px; letter-spacing: 0.5px; margin-top: 40px; }
.related { margin-top: 40px; color: var(--ink-secondary); }
table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 16px; line-height: 1.4; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 2px solid var(--surface); overflow-wrap: anywhere; }
th { color: var(--ink-secondary); font-size: 14px; letter-spacing: 0.6px; border-bottom-color: var(--line); }
td:first-child { font-weight: 700; }
.placeholder { background: var(--claim); color: var(--ground); border-radius: var(--r-sm); padding: 0 4px; font-weight: 800; }

/* ---------- indirme ---------- */
.download .notice { background: var(--surface); border: 2px solid var(--line); border-radius: var(--r-lg); padding: 16px; text-align: left; }
.download .notice h2 { margin-top: 0; }
.qr { margin: 24px auto 0; display: inline-flex; flex-direction: column; align-items: center; gap: 8px; }
.qr svg { border-radius: var(--r-md); }
.qr figcaption { color: var(--ink-secondary); font-size: 15px; max-width: 260px; }
.big-num { font-family: var(--display); font-size: 120px; line-height: 1; margin: 16px 0 8px; color: var(--cream); }

/* ---------- alt bilgi ---------- */
.site-footer { border-top: 2px solid var(--surface); padding: 32px 0 40px; color: var(--ink-secondary); font-size: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 16px; font-weight: 700; }
.footer-links a { color: var(--cream); padding: 6px 0; }
.fine { font-size: 14px; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
