/* Taskbar Fire tanıtım sitesi.
   Sayfa bir masaüstüdür: gece duvar kâğıdı, altta sabit görev çubuğu, açılışta görev çubuğunun üstünde oyunun
   gerçek kampı. Kartlar oyunun kendi panelleri, düğmeler oyunun kendi düğme renkleri (js/ui.js STYLES). */

/* Yazı tipleri kendi sunucumuzdan (tools/site-fonts.py hazırlar, lisans: SIL OFL 1.1).
   Pixelify Sans 500/700 sabit, latin dosyasında 5 yeniden çizilmiş. Bir kalınlığın latin ve latin-ext
   parçaları birebir aynı font-weight ile tanımlanmalı, yoksa tarayıcı ikisini birleştirmez. */
@font-face { font-family: 'Pixelify Sans'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/pixelify-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Pixelify Sans'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/pixelify-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Pixelify Sans'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/pixelify-latin-ext-500.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Pixelify Sans'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/pixelify-latin-ext-700.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('../fonts/atkinson-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('../fonts/atkinson-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/atkinson-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/atkinson-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Gece */
  --night: #0d1020;
  --night-hi: #151a36;
  --dusk: #2a1a2a;
  /* Oyun paneli */
  --edge: #140c10;
  --panel: #2a1a16;
  --panel-hi: #6b4424;
  --panel-lo: #1e120e;
  /* Ateş */
  --gold: #ffd24a;
  --ember: #ff8a2a;
  --kor: #d8401a;
  /* Metin */
  --cream: #ffe8b0;
  --text: #e8dcc6;
  --muted: #a89080;
  --dim: #7a6a60;
  /* Yalnızca odak bölümü */
  --breath: #6ab8f0;

  --taskbar-h: 48px;
  /* Açılıştaki kampın yüksekliği: ekran kısa ise küçülür, kamp her zaman ilk ekranda görünür */
  --camp-h: clamp(92px, 21svh, 184px);
  --display: 'Pixelify Sans', ui-monospace, monospace;
  --body: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  --space: clamp(72px, 10vw, 136px);

  /* Oyundaki panel: köşesi kesik çerçeve, üstte ışık, altta gölge. 1 oyun pikseli = 3 CSS pikseli */
  --frame: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 6' width='6' height='6' shape-rendering='crispEdges'%3E%3Cpath fill='%23140c10' d='M1 0h4v1h1v4h-1v1H1V5H0V1h1z'/%3E%3Cpath fill='%232a1a16' d='M1 1h4v4H1z'/%3E%3Cpath fill='%236b4424' d='M2 1h2v1H2z'/%3E%3Cpath fill='%231e120e' d='M2 4h2v1H2z'/%3E%3C/svg%3E");
  --frame-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 6' width='6' height='6' shape-rendering='crispEdges'%3E%3Cpath fill='%23ffd24a' d='M1 0h4v1h1v4h-1v1H1V5H0V1h1z'/%3E%3Cpath fill='%233a2410' d='M1 1h4v4H1z'/%3E%3Cpath fill='%23fff0a0' d='M2 1h2v1H2z'/%3E%3Cpath fill='%23241408' d='M2 4h2v1H2z'/%3E%3C/svg%3E");
  --frame-sky: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 6' width='6' height='6' shape-rendering='crispEdges'%3E%3Cpath fill='%23140c10' d='M1 0h4v1h1v4h-1v1H1V5H0V1h1z'/%3E%3Cpath fill='%236b4424' d='M2 1h2v1H2z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 18px/1.6 var(--body);
  color: var(--text);
  background: var(--night);
  padding-bottom: var(--taskbar-h);
  overflow-x: hidden;
}
/* Duvar kâğıdı: gece gökyüzü ve piksel yıldızlar, sayfa kayarken yerinde durur */
body::before, body::after { content: ''; position: fixed; inset: 0; pointer-events: none; }
body::before {
  z-index: -2;
  background:
    radial-gradient(120% 60% at 50% 110%, #3a1f24 0%, transparent 60%),
    linear-gradient(180deg, #0a0c1a 0%, #10142c 40%, #171633 72%, #231a30 100%);
}
body::after {
  z-index: -1;
  opacity: .75;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='190' shape-rendering='crispEdges'%3E%3Cg fill='%23fff6d8'%3E%3Crect x='14' y='22' width='2' height='2'/%3E%3Crect x='96' y='64' width='2' height='2'/%3E%3Crect x='171' y='18' width='3' height='3'/%3E%3Crect x='232' y='102' width='2' height='2'/%3E%3Crect x='58' y='151' width='2' height='2'/%3E%3C/g%3E%3Cg fill='%23c9d4ff'%3E%3Crect x='130' y='132' width='2' height='2'/%3E%3Crect x='204' y='168' width='2' height='2'/%3E%3Crect x='38' y='94' width='2' height='2'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='410' height='330' shape-rendering='crispEdges'%3E%3Cg fill='%23ffe8b0' opacity='.6'%3E%3Crect x='77' y='40' width='2' height='2'/%3E%3Crect x='301' y='120' width='2' height='2'/%3E%3Crect x='190' y='270' width='2' height='2'/%3E%3Crect x='360' y='300' width='2' height='2'/%3E%3C/g%3E%3C/svg%3E");
  background-position: 0 0, 130px 90px;
}

img { max-width: 100%; }
.px { image-rendering: crisp-edges; image-rendering: pixelated; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--cream); margin: 0; text-wrap: balance; }
h2 {
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.05;
  letter-spacing: -.005em;
  text-shadow: 0 3px 0 var(--edge);
  margin-bottom: 18px;
}
h3 { font-size: 21px; line-height: 1.2; margin-bottom: 6px; }
p { margin: 0 0 14px; max-width: 62ch; }
a { color: var(--gold); }
:focus-visible { outline: 3px dashed var(--gold); outline-offset: 4px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--gold); color: var(--edge); padding: 8px 12px; font-family: var(--display); }
.skip:focus { top: 12px; }

/* ---------- Oyunun paneli ve düğmeleri ---------- */
.panel {
  border: 6px solid transparent;
  border-image: var(--frame) 2 fill / 6px stretch;
  image-rendering: pixelated;
  padding: 16px 20px 18px;
}
.btn {
  --bg: #7a4424; --hi: #a8643a; --lo: #4a2614; --tx: #ffe8b0;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 17px/1 var(--display);
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--tx);
  background: var(--bg);
  border: 3px solid var(--edge);
  box-shadow: inset 0 3px 0 var(--hi), inset 0 -3px 0 var(--lo);
  /* oyundaki düğme gibi köşeleri kesik */
  clip-path: polygon(3px 0, calc(100% - 3px) 0, calc(100% - 3px) 3px, 100% 3px, 100% calc(100% - 3px), calc(100% - 3px) calc(100% - 3px), calc(100% - 3px) 100%, 3px 100%, 3px calc(100% - 3px), 0 calc(100% - 3px), 0 3px, 3px 3px);
  padding: 11px 16px 12px;
  cursor: pointer;
  transition: transform .06s steps(1);
}
.btn:hover { --bg: #8e5230; --hi: #c07848; --tx: #fff4d8; }
.btn:active { transform: translateY(3px); box-shadow: inset 0 3px 0 var(--lo); }
.btn-buy { --bg: #8a3a1a; --hi: #c05a2a; --lo: #4a1a0a; --tx: #ffe0b0; }
.btn-buy:hover { --bg: #a04a22; --hi: #d86a34; --tx: #fff0d8; }
.btn-big { font-size: 20px; padding: 15px 22px 16px; }
.btn[aria-disabled='true'] { cursor: default; }
.btn[aria-disabled='true']:active { transform: none; box-shadow: inset 0 3px 0 var(--hi), inset 0 -3px 0 var(--lo); }

/* Bölüm etiketi: özelliğin oyunda bulunduğu menü sekmesinin adı, sekme düğmesi görünümünde */
.tab { margin: 0 0 14px; }
.tab span {
  display: inline-block;
  font: 700 14px/1 var(--display);
  letter-spacing: .06em;
  color: #ffe8b0;
  background: #7a4424;
  border: 3px solid var(--edge);
  box-shadow: inset 0 3px 0 #a8643a, inset 0 -3px 0 #4a2614;
  clip-path: polygon(3px 0, calc(100% - 3px) 0, calc(100% - 3px) 3px, 100% 3px, 100% calc(100% - 3px), calc(100% - 3px) calc(100% - 3px), calc(100% - 3px) 100%, 3px 100%, 3px calc(100% - 3px), 0 calc(100% - 3px), 0 3px, 3px 3px);
  padding: 7px 10px 8px;
}
.tab-blue span { background: #2a5a8a; box-shadow: inset 0 3px 0 #4a8ac0, inset 0 -3px 0 #183850; color: #e0f2ff; }

/* ---------- Üst çubuk ---------- */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  display: flex; align-items: center; gap: clamp(12px, 2.5vw, 32px);
  padding: 18px clamp(16px, 4vw, 44px);
}
/* Ankasız yazı logosu; alt yazı (FROM SPARK TO PHOENIX) okunacak kadar büyük */
.brand img { display: block; width: auto; height: clamp(64px, 9svh, 84px); }
.nav { display: flex; gap: clamp(14px, 2vw, 28px); margin-left: auto; }
.nav a {
  font: 700 17px/1 var(--display); color: var(--cream); text-decoration: none;
  padding: 6px 0; border-bottom: 3px solid transparent;
}
.nav a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.lang { display: flex; }
.lang button {
  font: 700 14px/1 var(--display); letter-spacing: .06em;
  color: #b8a898; background: #4a3a34; border: 3px solid var(--edge);
  box-shadow: inset 0 3px 0 #5e4a42, inset 0 -3px 0 #2a201c;
  padding: 8px 10px 9px; cursor: pointer;
}
.lang button + button { margin-left: -3px; }
.lang button[aria-pressed='true'] { color: #e8ffe0; background: #2f7a3a; box-shadow: inset 0 3px 0 #4aa85a, inset 0 -3px 0 #1a4a22; }
.top .btn { font-size: 15px; padding: 9px 12px 10px; }

/* ---------- Açılış ---------- */
.hero {
  --fire-x: calc(50% - var(--camp-h) * .9022); /* kamp görüntüsünde ateş, ortanın 83 oyun pikseli solunda */
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(108px, 14svh, 140px) clamp(16px, 6vw, 88px) calc(var(--taskbar-h) + var(--camp-h) + 20px);
}
.hero-copy { max-width: 980px; position: relative; z-index: 1; }
/* Solda metin, sağda fragman (dar ekranda alt alta) */
.hero-main {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 64px); align-items: center;
}
.hero-main h1 { font-size: clamp(38px, min(4.1vw, 7.4svh), 72px); }
.hero-trailer { margin: 0; }
.hero-trailer figcaption { text-align: center; }

/* ---------- Monitör: fragman ve masaüstü görüntüleri bir bilgisayar ekranında ---------- */
.monitor {
  position: relative; padding: 12px 12px 30px; border-radius: 14px;
  background: linear-gradient(180deg, #2c303c 0%, #1b1d25 62%, #14161c 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), inset 0 2px 0 rgba(255, 255, 255, .07), 0 30px 70px rgba(0, 0, 0, .55);
}
.monitor--flat { padding-bottom: 12px; }
.screen {
  position: relative; overflow: hidden; aspect-ratio: 16 / 9;
  border-radius: 4px; background: #05060c; box-shadow: 0 0 0 2px #0a0b10;
}
.screen video, .screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-trailer .screen { cursor: pointer; }
.screen:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
/* Durunca ortada oynat düğmesi */
.play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 78px; height: 78px; border-radius: 50%;
  background: rgba(12, 14, 26, .66); border: 3px solid var(--cream);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .5);
  opacity: 0; scale: .9; transition: opacity .18s, scale .18s; pointer-events: none;
}
.play::before {
  content: ''; position: absolute; left: 29px; top: 21px;
  border-left: 26px solid var(--cream); border-top: 15px solid transparent; border-bottom: 15px solid transparent;
}
.screen.paused .play { opacity: 1; scale: 1; }
.hero-trailer .screen:hover .play { scale: 1.06; }
/* Alt çerçevede güç ışığı ve hoparlör düğmesi (ses kapalı başlar) */
.mon-led {
  position: absolute; right: 20px; bottom: 12px; width: 6px; height: 6px; border-radius: 50%;
  background: #ff9a3a; box-shadow: 0 0 6px 1px rgba(255, 154, 58, .8);
}
.mon-sound {
  position: absolute; right: 36px; bottom: 5px; width: 32px; height: 20px; padding: 0;
  display: grid; place-items: center; border: 0; border-radius: 5px; background: none;
  color: #8a8f9e; cursor: pointer;
}
.mon-sound:hover { color: #dfe3ee; background: rgba(255, 255, 255, .06); }
.mon-sound.on { color: var(--gold); }
.mon-sound .wave { display: none; }
.mon-sound.on .wave { display: inline; }
.mon-sound.on .x { display: none; }
/* Ayak: boyun ve taban */
.mon-stand { position: relative; height: 52px; }
.mon-stand::before {
  content: ''; position: absolute; left: 50%; top: 0; translate: -50% 0; width: 15%; height: 42px;
  background: linear-gradient(90deg, #17191f, #2e323e 50%, #17191f);
  clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%);
}
.mon-stand::after {
  content: ''; position: absolute; left: 50%; bottom: 0; translate: -50% 0; width: 36%; height: 11px;
  border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #353946, #16181f);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .45);
}
/* ALTA AL bölümü: solda metin, sağda masaüstü ekranı */
.hide {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center;
  padding-block: calc(var(--space) * .6);
}
.hide .head { margin-bottom: 0; }
.hide-shot { margin: 0; }
/* Ateşin yaydığı ışık: kamp kutusunun dışında, hiçbir yerde kesilmeden yumuşakça söner */
.hero::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  left: var(--fire-x); bottom: var(--taskbar-h); translate: -50% 0;
  width: calc(var(--camp-h) * 6); height: calc(var(--camp-h) * 2.6);
  background: radial-gradient(ellipse 50% 100% at 50% 100%, rgba(255, 138, 42, .24), rgba(255, 110, 30, .08) 42%, transparent 72%);
}
h1 {
  font-size: clamp(38px, min(6.2vw, 8.4svh), 92px);
  line-height: 1;
  letter-spacing: -.01em;
  margin-bottom: 26px;
  text-shadow: 0 4px 0 var(--edge);
}
/* Logodaki gibi bantlı alev rengi (yumuşak geçiş değil, piksel basamakları) */
.flame-text {
  background: linear-gradient(180deg, #fff0a0 0 28%, #ffd24a 28% 52%, #ff8a2a 52% 78%, #d8401a 78%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 4px 0 var(--edge));
}
.lede { font-size: clamp(18px, 1.55vw, 22px); color: #eadfca; max-width: 58ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 18px; }
.hero-meta { font: 500 15px/1.4 var(--display); color: var(--muted); letter-spacing: .03em; }

/* Kamp görüntüsü 742x92 oyun pikseli */
.camp {
  position: absolute; left: 0; right: 0; bottom: var(--taskbar-h); z-index: 1;
  height: var(--camp-h); overflow: hidden;
}
.camp img {
  position: absolute; left: 50%; bottom: 0; translate: -50% 0;
  height: 100%; width: auto; max-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.fire-hit {
  position: absolute; bottom: 3%; left: var(--fire-x); translate: -50% 0;
  width: calc(var(--camp-h) * .46); height: calc(var(--camp-h) * .52);
  border: 0; background: none; cursor: pointer; padding: 0;
}
.fire-hit:focus-visible { outline-offset: 0; }

/* Kıvılcımlar ve XP yazısı (ateşe tıklayınca) */
/* Kayan yıldız (js/site.js): yıldızlarla aynı katmanda uçar; yakalayınca kıvılcım ve yazı en üstte */
.sky-star { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.sky-fx { position: fixed; inset: 0; z-index: 18; pointer-events: none; }
.star-hover { cursor: pointer; }
.xp-float.star-float { color: #fff09a; white-space: nowrap; animation-duration: 1.8s; }
.spark {
  position: absolute; width: 4px; height: 4px; pointer-events: none;
  background: var(--c, #ffd24a);
  animation: spark .9s steps(9) forwards;
}
.xp-float {
  position: absolute; pointer-events: none; translate: -50% 0;
  font: 700 16px/1 var(--display); color: var(--gold);
  text-shadow: 2px 0 var(--edge), -2px 0 var(--edge), 0 2px var(--edge), 0 -2px var(--edge);
  animation: float 1.1s steps(11) forwards;
}

/* ---------- Üç cümle ---------- */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  padding-block: var(--space) calc(var(--space) * .6);
}
.pillar h2 { font-size: 25px; text-shadow: none; margin-bottom: 8px; }
.pillar p { font-size: 17px; margin: 0; }

/* ---------- İki sütunlu bölümler ---------- */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: center;
  padding-block: calc(var(--space) * .6);
}
.shot { margin: 0; }
/* Oyun sahneleri panel içinde; gökyüzü saydam olduğu için gündüz ve gece zemini ayrı */
.scene, .shot img, .life img, .weather img {
  display: block; width: 100%; height: auto;
  border: 6px solid transparent;
  border-image: var(--frame-sky) 2 / 6px stretch;
  image-rendering: pixelated;
}
.shot img, .life img { background: linear-gradient(180deg, #7fb4de 0%, #b8d8ee 100%); }
.shot img.ui-shot, .weather img, .life figure:last-child img { background: linear-gradient(180deg, #0c1024 0%, #1a1c38 100%); }
figcaption { font: 500 15px/1.3 var(--display); color: var(--muted); margin-top: 10px; letter-spacing: .02em; }

/* ---------- Ateş formları: soldan sağa 50 seviyelik yol ---------- */
.forms, .crew, .pets, .desk, .how, .ach, .faq { padding-block: calc(var(--space) * .6); }
/* Form seçimi: formlar satırının altında küçük bir alan (solda görsel, sağda kısa metin) */
.form-pick {
  display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center;
  margin-top: clamp(36px, 5vw, 56px);
}
.form-pick .copy p { margin: 10px 0 0; max-width: 52ch; }
.head { max-width: 760px; margin-bottom: 34px; }
.form-row {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 8px;
  counter-reset: none;
}
.form-row li {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 10px 4px 12px;
  background: linear-gradient(180deg, #0b0e1e, #161836);
  border: 6px solid transparent;
  border-image: var(--frame-sky) 2 / 6px stretch;
}
.form-row img { width: 100%; max-width: 120px; height: auto; }
.form-row .lv { font: 700 13px/1 var(--display); color: var(--gold); margin-top: 6px; letter-spacing: .04em; }
.form-row b { font: 500 14px/1.2 var(--display); color: var(--cream); margin-top: 4px; }
.form-row .final { border-image: var(--frame-gold) 2 / 6px stretch; background: radial-gradient(closest-side at 50% 55%, rgba(255, 210, 74, .22), transparent), linear-gradient(180deg, #120c18, #2a1a14); }
/* Gizli formlar: gölge, üstünde soru işareti */
.form-row .locked { position: relative; }
.form-row .locked .q {
  position: absolute; left: 50%; top: 34%; translate: -50% -50%;
  font: 700 34px/1 var(--display); color: #ffe8b0;
  text-shadow: 3px 0 var(--edge), -3px 0 var(--edge), 0 3px var(--edge), 0 -3px var(--edge);
  animation: qbob 1.6s steps(4) infinite;
}
.form-row .locked b { color: var(--dim); letter-spacing: .12em; }
.form-row .locked .lv { color: var(--muted); }
.form-row .final.locked .q { color: var(--gold); }
@keyframes qbob { 50% { translate: -50% calc(-50% - 4px); } }

/* ---------- Yardımcılar ---------- */
.hint { font: 500 15px/1.4 var(--display); color: var(--gold); letter-spacing: .02em; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  display: grid; grid-template-columns: 84px 1fr; grid-template-rows: auto 1fr; column-gap: 16px; align-items: start;
  cursor: default; transition: translate .1s steps(2);
}
.card:hover, .card:focus-within { translate: 0 -3px; }
.card:focus-visible { outline-offset: 2px; }
/* Karakter: bekleme animasyonu; kartın üstüne gelince iş animasyonu ve oyundaki gibi süzülen yazı */
.card .sprite { position: relative; width: 84px; height: 80px; grid-row: 1 / 3; }
.card .sprite img { position: absolute; inset: 0; width: 84px; height: 80px; }
.card .work { opacity: 0; }
.card:hover .work, .card:focus-within .work { opacity: 1; }
.card:hover .idle, .card:focus-within .idle { opacity: 0; }
.card .pop {
  position: absolute; left: 50%; top: 0; translate: -50% 0; white-space: nowrap; pointer-events: none;
  font: 700 14px/1 var(--display); color: var(--gold);
  text-shadow: 2px 0 var(--edge), -2px 0 var(--edge), 0 2px var(--edge), 0 -2px var(--edge);
  opacity: 0;
}
.card:hover .pop, .card:focus-within .pop { animation: pop 1.3s steps(13) both; }
@keyframes pop { 0% { opacity: 0; translate: -50% 6px; } 12% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: 0; translate: -50% -30px; } }
/* Açıklama ile yetenekler aynı yerde üst üste: kart boyu değişmez, diğer kartlar kıpırdamaz */
.swap { display: grid; }
.swap > * { grid-area: 1 / 1; }
.card p { font-size: 16px; margin: 0; transition: opacity .12s steps(2); }
.perks { list-style: none; margin: 0; padding: 0; visibility: hidden; }
.perks li { font-size: 15px; line-height: 1.35; padding: 3px 0 3px 16px; position: relative; opacity: 0; }
.perks li::before { content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; background: var(--ember); box-shadow: 2px 2px 0 var(--kor); }
.perks b { font-family: var(--display); font-weight: 700; color: var(--cream); margin-right: 4px; }
.card:hover .swap p, .card:focus-within .swap p { opacity: 0; }
.card:hover .perks, .card:focus-within .perks { visibility: visible; }
.card:hover .perks li, .card:focus-within .perks li { opacity: 1; animation: perk .28s steps(4) both; animation-delay: calc(var(--i) * 90ms + 60ms); }
@keyframes perk { from { opacity: 0; translate: -10px 0; } to { opacity: 1; translate: 0 0; } }
.life { display: grid; grid-template-columns: 1.24fr 1fr; gap: 18px; margin-top: 30px; }
.life figure, .weather figure { margin: 0; }

/* ---------- Evcil hayvanlar ---------- */
.pet-row { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.pet { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pet img { height: 55px; width: auto; margin: 4px 0 10px; object-fit: contain; }
.pet h3 { font-size: 19px; margin-bottom: 2px; }
.pet p { font: 500 15px/1.3 var(--display); color: var(--gold); margin: 0; }
.phoenix {
  display: grid; grid-template-columns: 124px 1fr; gap: 24px; align-items: center;
  border-image: var(--frame-gold) 2 fill / 6px stretch;
  padding: 18px 26px;
}
.phoenix img { width: 124px; height: 140px; }
.phoenix h3 { font-size: 28px; color: var(--gold); }
.phoenix .bonus { font: 700 17px/1.3 var(--display); color: #fff0a0; margin-bottom: 8px; }

/* ---------- Odak: mavi bir bant; sahne, gerçek çalışan bir odak sayacı ---------- */
.btn-on { --bg: #2f7a3a; --hi: #4aa85a; --lo: #1a4a22; --tx: #e8ffe0; }
.btn-on:hover { --bg: #3a8a46; --hi: #5ab86a; --tx: #f4fff0; }
.btn-off { --bg: #4a3a34; --hi: #5e4a42; --lo: #2a201c; --tx: #b8a898; }
.btn-off:hover { --bg: #5a4840; --hi: #6e5a50; --tx: #d8c8b8; }
.btn-warn { --bg: #8a3a1a; --hi: #c05a2a; --lo: #4a1a0a; --tx: #ffe0b0; }
.focus {
  padding-block: calc(var(--space) * .8);
  margin-block: calc(var(--space) * .3);
  background:
    radial-gradient(60% 70% at 70% 50%, rgba(106, 184, 240, .14), transparent 70%),
    linear-gradient(180deg, transparent, rgba(24, 56, 96, .35) 18%, rgba(24, 56, 96, .35) 82%, transparent);
}
.focus h2 { color: #e0f2ff; }
.focus-stage { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(22px, 3.5vw, 40px); align-items: stretch; }
/* Sahne: mavi gece duvar kâğıdı, bir yapılacaklar penceresi, köşede küçük ateş ve üstünde kalan süre */
.fdesk {
  position: relative; min-height: 380px; overflow: hidden;
  border: 6px solid transparent; border-image: var(--frame-sky) 2 / 6px stretch;
  background: radial-gradient(80% 60% at 80% 100%, rgba(255, 138, 42, .12), transparent 60%), linear-gradient(180deg, #0f2240 0%, #1a2f55 60%, #243a60 100%);
}
.win {
  position: absolute; left: 6%; top: 9%; width: min(420px, 62%);
  background: #f3ead6; color: #2a1a16;
  border: 3px solid var(--edge); box-shadow: 6px 6px 0 rgba(0, 0, 0, .35);
}
.win-bar {
  display: flex; align-items: center; gap: 6px; padding: 6px 8px;
  background: #2a1a16; box-shadow: inset 0 3px 0 #6b4424;
  font: 700 14px/1 var(--display); color: var(--cream); letter-spacing: .03em;
}
.win-bar span { margin-right: auto; }
.win-bar i { width: 12px; height: 12px; background: #4a3a34; box-shadow: inset 0 2px 0 #5e4a42; }
.win-bar i:last-child { background: #8a3a1a; box-shadow: inset 0 2px 0 #c05a2a; }
.todo { list-style: none; margin: 0; padding: 14px 16px 6px; }
.todo li { position: relative; padding: 6px 0 6px 30px; font-size: 16px; line-height: 1.35; border-bottom: 2px dashed #d8ccb0; }
.todo li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 16px;
  border: 3px solid #2a1a16; background: #fffaf0;
}
.todo li.done { color: #8a7a68; text-decoration: line-through; text-decoration-thickness: 2px; }
.todo li.done::before { background: #2f7a3a; box-shadow: inset 0 3px 0 #4aa85a; }
.caret { display: block; width: 10px; height: 18px; margin: 4px 0 14px 46px; background: #2a1a16; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.desk-fire { position: absolute; right: 18px; bottom: 30px; width: 128px; height: 148px; }
.desk-fire img { width: 100%; height: 100%; display: block; transition: filter .3s steps(3); }
.desk-fire.out img { filter: grayscale(1) brightness(.45); }
/* Oyundaki mini ateşin odak sayacı gibi: ateşin tepesinde, mavi */
.desk-timer {
  position: absolute; left: 50%; top: 2px; translate: -50% 0;
  font: 700 22px/1 var(--display); color: #bfe6ff;
  text-shadow: 3px 0 var(--edge), -3px 0 var(--edge), 0 3px var(--edge), 0 -3px var(--edge);
}
.desk-fire.idle .desk-timer { color: #8fb0c8; }
.desk-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 24px; background: rgba(9, 10, 22, .85); border-top: 1px solid rgba(255, 232, 176, .1); }
.timer { display: flex; flex-direction: column; gap: 14px; }
.timer-label { font: 700 20px/1.25 var(--display); color: #e0f2ff; margin: 0; }
.timer-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.timer-status { min-height: 26px; margin: 0; font: 500 16px/1.4 var(--display); color: #bfe6ff; }
.focus-facts { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 3px solid rgba(255, 232, 176, .08); display: grid; gap: 10px; }
.focus-facts li { position: relative; padding-left: 20px; font-size: 16px; }
.focus-facts li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: var(--breath); box-shadow: 2px 2px 0 #2a5a8a; }
.focus-facts b { color: #e0f2ff; }

/* ---------- Otomatik akış (nasıl oynanır'ın sonu) ---------- */
.auto { margin-top: 34px; }
.auto h3 { font-size: 26px; color: var(--gold); margin-bottom: 8px; }
.auto > p { font-size: 17px; }
.flow { list-style: none; margin: 16px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: flow; }
.flow li { position: relative; padding: 16px 18px 14px 18px; display: grid; gap: 4px; align-content: start; }
.flow li b { font: 700 18px/1.2 var(--display); color: var(--cream); }
.flow li span { font-size: 15px; color: var(--text); }
/* Elden otomatiğe: çubuk odun renginden yeşile döner, aşamalar arasında piksel oklar */
.flow li::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px; border: 3px solid var(--edge); }
.flow li:nth-child(1)::before { background: #7a4424; }
.flow li:nth-child(2)::before { background: linear-gradient(90deg, #7a4424, #2f7a3a); }
.flow li:nth-child(3)::before { background: #2f7a3a; box-shadow: inset 0 2px 0 #4aa85a; }
.flow li + li::after {
  content: ''; position: absolute; left: -7px; top: -5px; width: 12px; height: 18px;
  background: var(--gold); clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* ---------- Ambiyans: oyundaki AYARLAR › SES sekmesi, sayfada gerçekten çalar ---------- */
.sound { padding-block: calc(var(--space) * .6); }
.sound-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 60px); align-items: start; }
.mixer { display: grid; gap: 16px; padding: 18px 22px 20px; }
.mix-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 3px solid #4a3024; }
.mix-title { font: 700 18px/1 var(--display); color: #ffb45a; letter-spacing: .04em; }
/* Çalarken zıplayan piksel ekolayzır */
.mix-eq { margin-left: auto; display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.mix-eq i { width: 5px; height: 3px; background: #6b4424; }
.mixer.playing .mix-eq i { background: var(--ember); animation: eq .8s steps(4) infinite alternate; }
.mixer.playing .mix-eq i:nth-child(2) { animation-duration: .55s; background: var(--gold); }
.mixer.playing .mix-eq i:nth-child(3) { animation-duration: .95s; }
.mixer.playing .mix-eq i:nth-child(4) { animation-duration: .65s; background: var(--gold); }
.mixer.playing .mix-eq i:nth-child(5) { animation-duration: .75s; }
@keyframes eq { from { height: 3px; } to { height: 18px; } }
.mix-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.mix-play { min-width: 128px; }
.mix-scene, .mix-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.mix-scene .btn, .mix-presets .btn { font-size: 14px; padding: 8px 11px 9px; }
.mix-rows { display: grid; gap: 12px; }
.mix-row { display: grid; grid-template-columns: 78px minmax(0, 1fr) 48px; align-items: center; gap: 12px; }
.mix-row span { font: 700 15px/1 var(--display); color: #c8b098; letter-spacing: .04em; }
.mix-row output { font: 500 15px/1 var(--display); color: var(--muted); text-align: right; }
/* Oyundaki kaydırıcı: koyu oluk, turuncu dolu kısım, açık renkli tutamak */
.mix-row input[type='range'] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 14px; margin: 0; cursor: pointer;
  background: linear-gradient(90deg, #e2560c 0 var(--v, 50%), #1e120e var(--v, 50%));
  border: 3px solid var(--edge);
}
.mix-row input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 9px; height: 22px; background: var(--cream); border: 3px solid var(--edge); }
.mix-row input[type='range']::-moz-range-thumb { width: 9px; height: 22px; background: var(--cream); border: 3px solid var(--edge); border-radius: 0; }
.mix-row input[type='range']::-moz-range-track { background: transparent; }
.mix-presets { padding-top: 12px; border-top: 3px solid #4a3024; }
.mix-note { margin: 0; font-size: 15px; color: var(--muted); }
.layers { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.layers li { position: relative; padding-left: 22px; font-size: 17px; }
.layers li::before { content: ''; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; background: var(--ember); box-shadow: 3px 3px 0 var(--kor); }
.layers b { font-family: var(--display); color: var(--cream); margin-right: 4px; }
/* Odak karışımı: odak bölümünün mavisiyle bağlanır */
.focus-mix { padding: 4px 0 4px 18px; border-left: 6px solid var(--breath); margin-bottom: 20px; }
.focus-mix h3 { color: #bfe6ff; font-size: 22px; }
.focus-mix p { font-size: 17px; margin: 0; }
.sound-real { font-size: 16px; color: var(--muted); margin: 0; }
.focus-sound { align-self: flex-start; font-size: 15px; padding: 9px 12px 10px; }

/* ---------- Masaüstü uyumu ---------- */
.feat { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 36px; }
.feat li { padding-left: 22px; position: relative; }
.feat li::before { content: ''; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; background: var(--ember); box-shadow: 3px 3px 0 var(--kor); }
.feat p { font-size: 17px; margin: 0; }
.weather { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- Nasıl oynanır ---------- */
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 60px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 22px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; }
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  font: 700 22px/1 var(--display); color: #e8ffe0;
  background: #2f7a3a; border: 3px solid var(--edge);
  box-shadow: inset 0 3px 0 #4aa85a, inset 0 -3px 0 #1a4a22;
}
.steps li:last-child::before { color: #3a2410; background: var(--gold); box-shadow: inset 0 3px 0 #fff0a0, inset 0 -3px 0 #c8902a; }
.steps p { font-size: 17px; margin: 0; }
.how-side { position: sticky; top: 24px; display: grid; gap: 18px; }
.how-side .ui-shot { display: block; width: 100%; height: auto; border: 6px solid transparent; border-image: var(--frame-sky) 2 / 6px stretch; background: linear-gradient(180deg, #7fb4de 0%, #b8d8ee 100%); }
.tips ul { margin: 6px 0 0; padding-left: 20px; }
.tips li { font-size: 16px; margin-bottom: 6px; }
.tips li::marker { color: var(--ember); }

/* ---------- Başarımlar ---------- */
/* 28 başarım iki sırada, Anka sağda iki sıra boyunca */
.ach-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: stretch; }
.ach-grid { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 8px; }
.ach-box button {
  width: 100%; aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: pointer;
  transition: transform .08s steps(2);
}
.ach-box button:hover, .ach-box button:focus-visible, .ach-box button.sel { transform: translateY(-4px); }
.ach-box img { width: 100%; height: 100%; display: block; }
.ach-phx { display: grid; }
.ach-phx button { height: 100%; width: auto; }
.ach-detail {
  margin-top: 22px; min-height: 58px; max-width: none;
  font-size: 17px;
}
.ach-detail b { font-family: var(--display); color: var(--cream); font-size: 20px; margin-right: 10px; }
.ach-detail .gold { color: var(--gold); }

/* ---------- Ayrıntılar ---------- */
.specs { padding-block: calc(var(--space) * .4); }
.spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 28px; margin: 0; }
.spec dt { font: 700 14px/1 var(--display); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.spec dd { margin: 0; color: var(--cream); font-size: 18px; }
.spec .langs { grid-column: 1 / -1; }
.spec .langs dd { font-size: 17px; color: var(--text); }

/* ---------- SSS ---------- */
.qa { display: grid; gap: 10px; max-width: 860px; }
.qa details { border: 6px solid transparent; border-image: var(--frame) 2 fill / 6px stretch; }
.qa summary {
  list-style: none; cursor: pointer;
  font: 700 19px/1.3 var(--display); color: var(--cream);
  padding: 14px 18px 14px 52px; position: relative;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before {
  content: '+'; position: absolute; left: 16px; top: 12px;
  width: 24px; height: 24px; display: grid; place-items: center;
  font: 700 18px/1 var(--display); color: #ffe8b0; background: #7a4424;
  box-shadow: inset 0 2px 0 #a8643a, inset 0 -2px 0 #4a2614;
}
.qa details[open] summary::before { content: '−'; background: #2f7a3a; box-shadow: inset 0 2px 0 #4aa85a, inset 0 -2px 0 #1a4a22; }
.qa p { padding: 0 18px 16px 52px; margin: 0; font-size: 17px; }

/* ---------- Kapanış ---------- */
.finale { text-align: center; padding-block: var(--space) calc(var(--space) * .8); display: grid; justify-items: center; gap: 18px; }
.finale-logo { width: min(440px, 80%); height: auto; filter: drop-shadow(0 18px 40px rgba(255, 110, 30, .18)); }
.finale-line { font: 700 clamp(28px, 3.4vw, 42px)/1.1 var(--display); color: var(--cream); text-shadow: 0 3px 0 var(--edge); margin: 0 0 8px; max-width: none; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px 0 30px; border-top: 3px solid rgba(255, 232, 176, .08); }
.foot p { margin: 0; font-size: 15px; color: var(--dim); }

/* ---------- Görev çubuğu (sabit) ---------- */
/* Fragmandaki masaüstüyle aynı: akrilik çubuk, ortada başlat + arama + uygulamalar, sağda tepsi ve saat */
.taskbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  height: var(--taskbar-h);
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 12px;
  background: rgba(24, 26, 38, .86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-top: 1px solid rgba(255, 255, 255, .13);
}
.tb-apps { position: absolute; left: 50%; top: 0; bottom: 0; translate: -50% 0; display: flex; align-items: center; gap: 4px; }
.tb-apps img { display: block; }
.tb-start { width: 28px; height: 28px; margin: 0 8px 0 4px; }
.tb-search {
  display: flex; align-items: center; gap: 9px; width: 190px; height: 32px; padding: 0 14px; margin-right: 6px;
  border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .11);
  color: #cdd1dc; font: 400 14px/1 var(--body);
}
.tb-search svg { flex: none; color: #e1e5ee; }
.tb-app { position: relative; width: 42px; height: 40px; display: grid; place-items: center; border-radius: 6px; }
.tb-app img { width: 26px; height: 26px; }
.tb-active { background: rgba(255, 255, 255, .08); }
.tb-run::after { content: ''; position: absolute; bottom: 2px; left: 50%; translate: -50% 0; width: 6px; height: 3px; border-radius: 2px; background: #aab0be; }
.tb-active::after { width: 16px; background: #60b0ff; }
.tb-sys { display: flex; align-items: center; gap: 12px; color: #eceff6; }
.tb-sys svg { display: block; }
.tb-tray { display: flex; align-items: center; gap: 12px; color: var(--text); }
.tb-icon { width: 18px; height: 18px; }
.tb-lang { font: 700 14px/1 var(--display); color: var(--cream); background: none; border: 0; padding: 6px 4px; cursor: pointer; letter-spacing: .06em; }
.tb-lang:hover { color: var(--gold); }
.tb-clock { display: grid; text-align: right; line-height: 1.15; font-size: 12px; }
.tb-clock b { font-weight: 400; font-size: 13px; }
.tb-clock i { font-style: normal; color: var(--muted); }

/* Kamp ekrandan çıkınca sağ altta "sadece ateş" olarak yanmaya devam eder; tıklayınca kampa döner */
.mini-fire {
  position: fixed; right: 18px; bottom: calc(var(--taskbar-h) + 4px); z-index: 19;
  width: 128px; height: 148px; padding: 0; border: 0; background: none; cursor: pointer;
  opacity: 0; translate: 0 24px; pointer-events: none;
  transition: opacity .3s steps(4), translate .3s steps(4);
}
.mini-fire.show { opacity: 1; translate: 0 0; pointer-events: auto; }
.mini-fire img { width: 100%; height: 100%; display: block; }

/* ---------- Hareket ---------- */
@keyframes spark { to { translate: var(--dx) var(--dy); opacity: 0; } }
@keyframes float { from { translate: -50% 0; opacity: 1; } 70% { opacity: 1; } to { translate: -50% -46px; opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Dar ekranlar ---------- */
@media (max-width: 1100px) {
  .hero-main { grid-template-columns: 1fr; }
  .hero-main h1 { font-size: clamp(38px, min(6.2vw, 8.4svh), 72px); }
  .hero-trailer { max-width: 720px; }
  .tb-search { display: none; }
  .form-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .pet-row { grid-template-columns: repeat(3, 1fr); }
  .feat { grid-template-columns: repeat(2, 1fr); }
  .mini-fire { width: 64px; height: 74px; right: 12px; }
  .ach-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .ach-box { grid-template-columns: minmax(0, 1fr) 30%; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .pillars, .split, .hide, .form-pick, .focus-stage, .how-grid, .life, .weather, .flow, .sound-stage { grid-template-columns: 1fr; }
  .flow li + li::after { display: none; }
  .how-side { position: static; }
  .spec { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .top .btn { display: none; }
  .brand img { height: 56px; }
  :root { --camp-h: 92px; }
  .hero { padding-top: 108px; }
  .form-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards { grid-template-columns: 1fr; }
  .pet-row { grid-template-columns: repeat(2, 1fr); }
  .feat { grid-template-columns: 1fr; }
  .phoenix { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .ach-box { grid-template-columns: 1fr; }
  .ach-phx button { width: 128px; height: 128px; }
  .fdesk { min-height: 440px; }
  .win { width: calc(100% - 24px); left: 12px; top: 12px; }
  .desk-fire { width: 64px; height: 74px; right: 14px; }
  .desk-timer { font-size: 16px; top: -16px; }
  .tb-app, .tb-sys { display: none; }
  .tb-apps { left: 12px; translate: 0 0; }
}
