/* =========================================================================================
 * "Çıkartma" tarzı (Fall Guys sitesinden esinlenildi; renkler bizim): kalın beyaz çizgiler, balon yazı,
 * sert gölge, dalgalı bölüm kenarları, silik çizim deseni.
 * Beğenilmezse geri almak için: scripts/build.py içinde FUN_STYLE = False yapıp tekrar derle.
 * ========================================================================================= */
:root { --st-line: #fff; --st-shadow: 0 5px 0 rgba(8, 4, 24, .55); --font-fun: 'Titan One', 'Baloo 2', var(--font-sans); }

/* ---- Düğmeler: köşeli yuvarlak, koyu çerçeve, arkada beyaz KAYMIŞ gölge (çıkartma kesiği); basınca gölgeye oturur ---- */
:root { --bt-ink: #120C2E; }
.btn { border: 3px solid var(--bt-ink); border-radius: 16px; font-family: var(--font-sans); font-weight: 900; font-size: 17px; letter-spacing: .01em; text-transform: none;
  text-shadow: none; box-shadow: 5px 5px 0 #fff; transform: rotate(-.8deg);
  transition: transform .2s var(--ease-spring), box-shadow .2s var(--ease-spring), background .2s, color .2s, opacity .2s; }
.btn.primary, .btn.dark { background: var(--brand); color: #fff; }
.btn.primary svg.i polygon { fill: currentColor; }
@media (hover: hover) {
  .btn:hover { transform: translate(-2px, -2px) rotate(0deg); box-shadow: 7px 7px 0 #fff; background: var(--brand-soft); }
  .btn.primary:hover, .btn.dark:hover { background: #8D68FF; color: #fff; }
}
.btn:active { transform: translate(4px, 4px) rotate(0deg); box-shadow: 1px 1px 0 #fff; filter: none; }
.btn.glass { background: rgba(18, 12, 46, .4); color: #fff; }
.home-top.scrolled .btn.glass, .home-top.plain .btn.glass { background: var(--brand); color: #fff; }
.btn.ghost { background: transparent; color: inherit; border: 3px dashed rgba(255, 255, 255, .5); box-shadow: none; transform: none; }
.btn.ghost:active { transform: scale(.97); }
.btn:disabled { opacity: .45; box-shadow: 3px 3px 0 rgba(255, 255, 255, .6); }
.role-btn, .pf-card .btn { font-family: inherit; }
.btn.role-btn { border-width: 3px; border-radius: 18px; font-weight: 800; letter-spacing: 0; text-transform: none; box-shadow: none; transform: none; }

.icon-btn, .tb-back { border: 3px solid var(--bt-ink); box-shadow: 4px 4px 0 #fff; background: var(--brand); color: #fff; }
.icon-btn { border-radius: 14px; }
.tb-back { border-radius: 14px; font-weight: 800; }
.icon-btn:active, .tb-back:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 #fff; }
.home-top .icon-btn, .home-top.scrolled .icon-btn, .home-top.plain .icon-btn { border-color: var(--bt-ink); background: var(--brand); color: #fff; }
.nav-search input { border: 3px solid var(--bt-ink) !important; border-radius: 16px !important; background: rgba(255, 255, 255, .92) !important; color: #1b1236 !important; box-shadow: 4px 4px 0 #fff !important; }
.nav-search input::placeholder { color: #6b5f94 !important; }
.nav-search input:focus { box-shadow: 4px 4px 0 #fff, 0 0 0 4px color-mix(in srgb, var(--brand) 60%, transparent) !important; }
.ns-icon, .home-top.scrolled .ns-icon, .home-top.plain .ns-icon { color: #6b5f94 !important; }

/* ---- Oyun kutuları: beyaz çerçeveli çıkartma kart ---- */
.tile { background: linear-gradient(180deg, #26214f 0%, #1a1737 100%); border: 4px solid #fff; border-radius: 30px;
  box-shadow: 0 8px 0 rgba(8, 4, 24, .6), 0 18px 34px rgba(0, 0, 0, .35); }
@media (hover: hover) { .tile:hover { box-shadow: 0 11px 0 rgba(8, 4, 24, .6), 0 24px 40px rgba(0, 0, 0, .4); } }
.tile:active { box-shadow: 0 3px 0 rgba(8, 4, 24, .6), 0 8px 16px rgba(0, 0, 0, .3); }
.tile h2 { font-family: var(--font-fun); font-weight: 400; letter-spacing: .005em; text-shadow: 0 2px 0 rgba(0, 0, 0, .32); color: #fff; }
.tile .mini { border-radius: 20px; outline: 3px solid rgba(255, 255, 255, .95); outline-offset: -3px; box-shadow: none; }
.tile .pill { border: 2px solid #fff; background: rgba(255, 255, 255, .12); color: #fff; }
.tile .go { border: 3px solid var(--bt-ink); border-radius: 14px; background: var(--brand); color: #fff; box-shadow: 3px 3px 0 #fff; }
@media (hover: hover) { .tile:hover .go { background: #9066FF; } }

/* ---- Bölüm başlıkları ve sık sorulanlar ---- */
.section-title { font-family: var(--font-fun); font-weight: 400; text-transform: none; letter-spacing: .01em; text-shadow: 0 3px 0 rgba(0, 0, 0, .38); }
.section-title::after { height: 10px; width: 96px; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='10' viewBox='0 0 24 10' fill='none' stroke='%23B9A3FF' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M2 5 Q8 -1 12 5 T22 5'/%3E%3C/svg%3E") repeat-x left center / 24px 10px; }
.faq details { background: #1c1938; border: 3px solid #fff; border-radius: 24px; box-shadow: 0 5px 0 rgba(8, 4, 24, .55); }
.faq details[open] { background: #2b2352; }
.faq summary { font-family: var(--font-fun); font-weight: 400; font-size: 18px; letter-spacing: .005em; }
.faq summary::after { color: #fff; }

/* ---- Alt bilgi: dalgalı üst kenar ---- */
.foot { position: relative; margin-top: 110px; border-top: 0; }
.foot::before { content: ''; position: absolute; left: 0; right: 0; top: -29px; height: 30px; background: var(--paper);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 30'%3E%3Cpath d='M0 30V16Q20 0 40 16T80 16V30Z'/%3E%3C/svg%3E") repeat-x 0 100% / 80px 30px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 30'%3E%3Cpath d='M0 30V16Q20 0 40 16T80 16V30Z'/%3E%3C/svg%3E") repeat-x 0 100% / 80px 30px; }
.foot h4 { font-family: var(--font-fun); font-weight: 400; letter-spacing: .01em; }

/* ---- Arka plan: silik çizim deseni (ışıkların ve grenin üstünde, içeriğin altında) ---- */
.bgfx::after { content: ''; position: absolute; inset: 0; opacity: .1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%0A%3Cg transform='translate%2824 28%29 rotate%28-12%29'%3E%3Cpath d='M0 14 l10 10 l22 -24'/%3E%3C/g%3E%0A%3Cg transform='translate%28120 18%29 rotate%2810%29'%3E%3Cpath d='M0 0 l22 22 M22 0 l-22 22'/%3E%3C/g%3E%0A%3Cg transform='translate%28196 40%29 rotate%2814%29'%3E%3Cpolygon points='20%2C2 25%2C15 39%2C15 28%2C24 32%2C38 20%2C30 8%2C38 12%2C24 1%2C15 15%2C15'/%3E%3C/g%3E%0A%3Cg transform='translate%2860 98%29 rotate%28-8%29'%3E%3Cpath d='M10 12 a10 10 0 1 1 14 9 q-5 3 -5 8 M19 40 h.01'/%3E%3C/g%3E%0A%3Cg transform='translate%28150 104%29 rotate%288%29'%3E%3Cpath d='M20 36 C-5 20 8 2 20 14 C32 2 45 20 20 36Z'/%3E%3C/g%3E%0A%3Cg transform='translate%28214 128%29 rotate%28-18%29'%3E%3Cpath d='M0 8 q8 -10 16 0 t16 0'/%3E%3C/g%3E%0A%3Cg transform='translate%2818 170%29 rotate%2816%29'%3E%3Cpath d='M20 0 L36 20 L20 40 L4 20Z'/%3E%3C/g%3E%0A%3Cg transform='translate%28102 186%29 rotate%28-6%29'%3E%3Ccircle cx='14' cy='14' r='11'/%3E%3C/g%3E%0A%3Cg transform='translate%28176 196%29 rotate%2812%29'%3E%3Cpath d='M0 14 l10 10 l22 -24'/%3E%3C/g%3E%0A%3Cg transform='translate%28232 214%29 rotate%28-10%29'%3E%3Cpath d='M0 0 l16 16 M16 0 l-16 16'/%3E%3C/g%3E%0A%3C/svg%3E") repeat 0 0 / 260px 260px; }
@media (max-width: 640px) { .bgfx::after { background-size: 200px 200px; opacity: .09; } }
@media (prefers-reduced-motion: no-preference) { .bgfx::after { animation: doodleDrift 90s linear infinite; } }
@keyframes doodleDrift { to { background-position: 260px 260px; } }

/* ---- Bilgi sayfaları ---- */
.doc h1, .doc h2 { font-family: var(--font-fun); font-weight: 400; letter-spacing: .005em; text-shadow: 0 3px 0 rgba(0, 0, 0, .35); }
.doc h1 { text-transform: none; }


/* =========================================================================================
 * Oyun içi ekranlar (ayarlar, anlatım, sonuç): oyunun kendi rengi (--accent) kaymış gölge ve vurgu olarak kullanılır
 * ========================================================================================= */
body.game .btn.primary, body.game .btn.dark { box-shadow: 5px 5px 0 var(--accent); }
body.game .btn:hover { box-shadow: 7px 7px 0 var(--accent); }
body.game .btn:active { box-shadow: 1px 1px 0 var(--accent); }
body.game .btn.ghost { box-shadow: none; }
body.game .tb-back, body.game .icon-btn { box-shadow: 4px 4px 0 var(--accent); }
.tb-title { font-family: var(--font-fun); font-weight: 400; letter-spacing: .06em; text-transform: none; font-size: 17px; }

/* Ayar ekranı */
.setup-hero .mini { border-radius: 24px; border: 3px solid var(--bt-ink); outline: 3px solid rgba(255, 255, 255, .9); outline-offset: -6px; box-shadow: 6px 6px 0 var(--accent); }
.setup h1 { font-family: var(--font-fun); font-weight: 400; text-transform: none; letter-spacing: .01em; font-size: 38px; line-height: 1.02;
  text-shadow: 3px 3px 0 color-mix(in srgb, var(--accent) 75%, #000); }
.opt-label { display: flex; align-items: center; gap: 9px; font-family: var(--font-fun); font-weight: 400; font-size: 15px; letter-spacing: .07em; text-transform: none; color: #fff; }
.opt-label::before { content: ''; flex: none; width: 12px; height: 12px; border-radius: 4px; background: var(--accent); transform: rotate(14deg); }
.seg button { border: 3px solid rgba(255, 255, 255, .16); border-radius: 16px; background: #1b1a24; font-weight: 800; }
.seg button[aria-pressed="true"] { background: #211c47; border-color: var(--accent); box-shadow: 4px 4px 0 var(--accent); transform: translate(-1px, -1px); }
.seg button:active { transform: translate(2px, 2px); box-shadow: none; }
.seg button:disabled { opacity: .4; box-shadow: none; }
.stepper { border: 3px solid rgba(255, 255, 255, .16); border-radius: 18px; background: #1b1a24; }
.stepper button { background: #211c47; border: 3px solid var(--accent); border-radius: 12px; color: #fff; }
.stepper output { font-family: var(--font-fun); font-weight: 400; font-size: 26px; }
.field input { border: 3px solid rgba(255, 255, 255, .16); border-radius: 16px; background: #1b1a24; font-weight: 800; }
.field input:focus { border-color: var(--accent); background: #211c47; outline: none; }
.rules { background: #1c1938; border: 3px solid rgba(255, 255, 255, .2); border-radius: 20px; box-shadow: 5px 5px 0 rgba(255, 255, 255, .12); }
.rules[open] { background: #211c47; }
.rules summary { font-family: var(--font-fun); font-weight: 400; letter-spacing: .02em; }
.rules summary::after { color: var(--accent); font-family: var(--font-sans); font-weight: 900; }

/* Oyun sırasındaki ekranlar */
.script { border: 3px solid rgba(255, 255, 255, .2); border-left: 7px solid var(--accent); border-radius: 18px; box-shadow: 4px 4px 0 rgba(255, 255, 255, .1); }
.script span { font-family: var(--font-fun); font-weight: 400; letter-spacing: .06em; }
.silent { border-width: 3px; border-radius: 18px; }
.mod-note { border: 2px dashed rgba(255, 255, 255, .2); border-radius: 14px; background: transparent; }
.stats div { border: 3px solid rgba(255, 255, 255, .18); border-radius: 18px; box-shadow: 4px 4px 0 rgba(255, 255, 255, .1); }
.stats div b { font-family: var(--font-fun); font-weight: 400; }
.timer { font-family: var(--font-fun); font-weight: 400; border: 3px solid rgba(255, 255, 255, .22); border-radius: 16px; box-shadow: 4px 4px 0 var(--accent); }
.spy .h, .panel .h, h2.h { font-family: var(--font-fun); font-weight: 400; letter-spacing: .005em; text-shadow: 3px 3px 0 color-mix(in srgb, var(--accent) 70%, #000); }
.trophy, .clock { font-family: var(--font-fun); font-weight: 400; }
.pill { border: 2px solid rgba(255, 255, 255, .22); }
.words span { border: 2px solid rgba(255, 255, 255, .16); }

/* Geniş düğmeler: kaymış gölge kenara taşmasın */
.btn.big, .btn.block { width: calc(100% - 6px); }
.bar .btn.big { margin-right: 6px; }

/* Büyük harf zorlaması yok; yedek yazı tipi (İ harfi) tüm balon yazılarda */
.wordmark, .hero h1, .tile h2, .section-title, .faq summary, .doc h1, .doc h2, .setup h1, .opt-label, .tb-title, .rules summary, .timer, .stepper output, h2.h { font-family: var(--font-fun); }
.script span, .silent span, .nr-head { text-transform: none; letter-spacing: .02em; }
.spy-head .k, .reveal-box .lbl, .dead-tag { text-transform: none; letter-spacing: .02em; }


/* =========================================================================================
 * Sakinleştirme: 3B / sert gölge etkisi kısıldı. Çizgili çıkartma havası kalır, derinlik yumuşak olur.
 * ========================================================================================= */
.btn { border-width: 2.5px; box-shadow: 2px 3px 0 rgba(255, 255, 255, .9); transform: none; }
@media (hover: hover) { .btn:hover { transform: translateY(-1px); box-shadow: 2px 4px 0 rgba(255, 255, 255, .9); } }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .9); }
.btn.ghost { box-shadow: none; }
.btn.role-btn { box-shadow: none; transform: none; }
body.game .btn.primary, body.game .btn.dark { box-shadow: 2px 3px 0 var(--accent); }
body.game .btn:hover { box-shadow: 2px 4px 0 var(--accent); }
body.game .btn:active { box-shadow: 0 1px 0 var(--accent); }
body.game .btn.ghost { box-shadow: none; }
.btn.big, .btn.block { width: 100%; }
.bar .btn.big { margin-right: 0; }

.icon-btn, .tb-back, body.game .tb-back, body.game .icon-btn { border-width: 2.5px; box-shadow: none; }
.icon-btn:active, .tb-back:active { transform: scale(.94); box-shadow: none; }
.nav-search input { border-width: 2.5px !important; box-shadow: none !important; }
.nav-search input:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 55%, transparent) !important; }

.tile { border: 3px solid rgba(255, 255, 255, .92); border-radius: 26px; box-shadow: 0 10px 26px rgba(0, 0, 0, .35); }
@media (hover: hover) { .tile:hover { box-shadow: 0 14px 32px rgba(0, 0, 0, .4); } }
.tile:active { box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
.tile .mini { outline-width: 2px; outline-offset: -2px; }
.tile .go { border-width: 2.5px; box-shadow: none; }
.tile h2 { text-shadow: 0 1px 0 rgba(0, 0, 0, .3); }

.faq details { border-width: 2.5px; border-color: rgba(255, 255, 255, .85); box-shadow: none; }
.section-title, .doc h1, .doc h2 { text-shadow: 0 2px 0 rgba(0, 0, 0, .3); }

.setup-hero .mini { border: 3px solid rgba(255, 255, 255, .9); outline: none; box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.setup h1 { text-shadow: 0 3px 0 color-mix(in srgb, var(--accent) 55%, #000); }
.seg button { border-width: 2.5px; }
.seg button[aria-pressed="true"] { background: color-mix(in srgb, var(--accent) 20%, #1b1a24); border-color: var(--accent); box-shadow: none; transform: none; }
.seg button:active { transform: scale(.97); }
.stepper { border-width: 2.5px; }
.stepper button { border-width: 2.5px; }
.field input { border-width: 2.5px; }
.rules { border-width: 2.5px; box-shadow: none; }
.script { border-width: 2.5px; border-left-width: 6px; box-shadow: none; }
.stats div { border-width: 2.5px; box-shadow: none; }
.timer { border-width: 2.5px; box-shadow: none; }
h2.h, .spy .h, .panel .h { text-shadow: 0 2px 0 rgba(0, 0, 0, .4); }

/* Daha sıkı yerleşim: gereksiz boşluk yok */
.faq { gap: 8px; }
.faq details { padding: 0 16px; border-radius: 18px; }
.faq summary { padding: 11px 0; font-size: 16px; gap: 10px; }
.faq summary::after { font-size: 24px; }
.faq details p { padding: 0 0 12px; font-size: 16px; line-height: 1.45; }
.section-title { margin-bottom: 18px; padding-bottom: 12px; font-size: 26px; }
section.block { padding-top: 40px; }
@media (max-width: 560px) { section.block { padding-top: 32px; } .section-title { font-size: 24px; } }
.foot { margin-top: 80px; }
.foot-grid { gap: 20px; padding: 32px 0 20px; }
.hub { gap: 10px; }
@media (min-width: 760px) { .hub { gap: 18px; } }
.tile { gap: 8px; padding: 12px 12px 14px; }
@media (min-width: 760px) { .tile { padding: 18px 18px 20px; gap: 10px; } }
.doc h2 { margin: 24px 0 6px; }
.idea { gap: 10px; }

/* Ana paragraf ve kayan şerit için ayrı yazı tipleri */
.hero .lead-big { font-family: 'Bricolage Grotesque', var(--font-sans); font-weight: 500; font-size: 20px; line-height: 1.45; letter-spacing: -.005em; }
.strip-in span { font-family: 'Chewy', 'Baloo 2', var(--font-sans); font-weight: 400; font-size: 25px; letter-spacing: .03em; }

/* İletişim kartları */
.cc-list { display: grid; gap: 10px; margin: 20px 0 8px; }
.cc { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 2.5px solid rgba(255, 255, 255, .85); border-radius: 20px; background: #1c1938; color: #fff; transition: transform .25s var(--ease-spring), background .2s; }
a.cc:hover { background: #251f4d; transform: translateY(-2px); }
a.cc:active { transform: scale(.98); }
.cc .cc-main { display: flex; align-items: center; gap: 12px; min-width: 0; color: inherit; text-decoration: none !important; }
.cc i { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand); border: 2.5px solid #120C2E; }
.cc i svg.i { width: 22px; height: 22px; color: #fff; }
.cc .cc-main > span { display: grid; min-width: 0; }
.cc b { font-family: var(--font-fun); font-weight: 400; font-size: 18px; color: #fff; }
.cc em { font-style: normal; font-size: 15px; color: #b3afca; overflow-wrap: anywhere; }
.cc > svg.i { flex: none; color: #B9A3FF; }
.cc.off { opacity: .7; border-style: dashed; }
.cc-copy { flex: none; font: inherit; font-weight: 800; font-size: 14px; color: #fff; background: transparent; border: 2px solid rgba(255, 255, 255, .5); border-radius: 12px; padding: 8px 12px; cursor: pointer; }
.cc-copy:active { transform: scale(.96); }
.doc a.cc, .doc a.cc:not(.btn) { color: #fff; text-decoration: none; }

/* Uzun oyun adları üst çubukta kesilmesin */
.tb-title { font-size: clamp(12px, 3.7vw, 17px); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 6px; }


/* =========================================================================================
 * Telefon dostu: iPhone Safari'yi zorlayan ağır efektler kapatıldı / hafifletildi
 * (bulanık cam katmanları, filtreli büyük resimler, tam ekran sürekli animasyon, karışım kipleri)
 * ========================================================================================= */
.btn.glass, .tb-back, .icon-btn, .timer, .stats div, .board .row, .script, .rules, .stepper, .seg button, .field input, .faq details, .step,
.sheet-wrap, .count-ovl, .toast, .drawer-scrim, .ns-scrim, .nav-results, .pf-card .pf-safe { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.sheet-wrap { background: rgba(14, 12, 24, .8); }
.count-ovl { background: rgba(14, 12, 24, .92); }
.drawer-scrim, .ns-scrim { background: rgba(8, 6, 18, .72); }
.nav-results { background: rgba(28, 26, 40, .98); }

/* Kapak arkasındaki büyük döndürülmüş resim: filtre yerine karartma katmanı */
.mini.art .bk { filter: none; }
.mini.art .bk::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .62); }

/* Arka plan efekti: sürekli yeniden boyama yok */
.bgfx::after { animation: none !important; }
.bgfx .o { will-change: auto; }
@media (max-width: 760px), (hover: none) {
  .bgfx { transform: none !important; bottom: 0; }
  .bgfx .o { animation: none; width: 90vmax; height: 90vmax; }
  .bgfx .o3, .bgfx .o4, .bgfx .grain { display: none; }
}

/* Dönen şişe: her karede yeniden hesaplanan çift gölge filtresi yerine sabit yeşil ışık */
.bottle { filter: none !important; }
.arena::before { content: ''; position: absolute; left: 50%; top: 50%; width: 52%; height: 52%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(68, 203, 86, .34), rgba(68, 203, 86, 0) 70%); pointer-events: none; }
