/* ============================================================
   TEMA: PIXEL QUEST - 8-bit oyun. Menü → pixel-dissolve geçiş →
   oyun içi (pixelatlanmış arka plan + bol kalp + HUD)
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; }
img, canvas, svg { image-rendering: pixelated; image-rendering: crisp-edges; }

:root {
    --kas-bg:    #160a30;
    --kas-title: #ff4fa3;  --kas-title-rgb: 255,79,163;
    --kas-text:  #f3ecff;  --kas-text-rgb:  243,236,255;
    --kas-card:  #1c0f3e;  --kas-card-rgb:  28,15,62;

    --pink:    #ff4fa3;
    --pink-d:  #c81f74;
    --red:     #ff3b6b;
    --cyan:    #46e8ff;
    --cyan-d:  #1aa6c4;
    --yellow:  #ffd34d;
    --green:   #5dff9f;
    --purple:  #7b3ff2;
    --night:   #160a30;
    --night-2: #2a1257;
    --edge:    #0c0620;   /* koyu pixel kenar */

    --ink:   #f3ecff;
    --ink-2: #c7b6ec;
    --ink-3: #9a86c8;
    --muted: #6f5e9a;

    --font-px: 'Press Start 2P', 'Pixelify Sans', monospace;  /* eksik Türkçe glif → Pixelify'a düşer */
    --font-h:  'Pixelify Sans', 'Trebuchet MS', sans-serif;
    --font-b:  'VT323', 'Trebuchet MS', monospace;

    --ease: steps(6, end);
}

body { font-family: var(--font-b); color: var(--ink); line-height: 1.35; font-size: 21px; background: var(--night); min-height: 100vh; -webkit-font-smoothing: none; overflow: hidden; }
body.is-reading { overflow-x: hidden; overflow-y: auto; }
button { font: inherit; cursor: pointer; color: inherit; background: 0; border: 0; padding: 0; }
::selection { background: var(--pink); color: #fff; }

/* Özelleştirme (Ayarlar → Tema Renkleri): başlık/vurgu, metin, kart. Sahne/palet sabit. */
body.kas-tpl-pixel-ask {
    --pink:   var(--kas-title);
    --pink-d: #c81f74;
    --ink:    var(--kas-text);
}

/* paylaşılan pixel-kart kenarı: çift pixel çerçeve + sert gölge (blur YOK) */
.pxborder { box-shadow: 0 0 0 3px var(--pink), 0 0 0 6px var(--edge), 8px 8px 0 0 rgba(0,0,0,.5); }
.pxborder-cy { box-shadow: 0 0 0 3px var(--cyan), 0 0 0 6px var(--edge), 8px 8px 0 0 rgba(0,0,0,.5); }

/* ═══════════════════════════════════════════════
   MENÜ SAHNESİ - pixel gökyüzü + dev pixel kalp
   ═══════════════════════════════════════════════ */
.menu-scene { position: absolute; inset: 0; overflow: hidden; z-index: 0;
    background: linear-gradient(180deg, #140726 0%, #281052 32%, #54206e 58%, #8e2f6c 80%, #c0496e 100%); }
.ms-stars { position: absolute; inset: 0 0 44% 0; }
.ms-star { position: absolute; width: 3px; height: 3px; background: #fff; animation: twinkle steps(2) infinite; }
@keyframes twinkle { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
/* dev pixel kalp = "güneş" */
.ms-sun { position: absolute; left: 50%; bottom: 30%; transform: translateX(-50%); width: min(46vw, 320px); color: var(--red);
    filter: drop-shadow(0 0 0 var(--red)); animation: heartbeat 1.4s steps(3) infinite; }
.ms-sun svg { width: 100%; height: auto; display: block; filter: drop-shadow(6px 6px 0 rgba(120,10,40,.5)); }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.08); } 60% { transform: scale(1.02); } }
/* pixel zemin */
.ms-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: #140828; box-shadow: inset 0 4px 0 var(--cyan), inset 0 7px 0 var(--edge); }
.ms-ground::before { content: ''; position: absolute; inset: 7px 0 0 0; background: repeating-linear-gradient(90deg, transparent 0 30px, rgba(70,232,255,.14) 30px 32px), repeating-linear-gradient(0deg, transparent 0 24px, rgba(70,232,255,.10) 24px 26px); }
.ms-scan { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.22) 0 2px, transparent 2px 4px); mix-blend-mode: multiply; opacity: .4; pointer-events: none; }
.ms-vig { position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 42%, transparent 54%, rgba(8,2,20,.6) 100%); pointer-events: none; }

/* pixel bulutlar */
.cloud { position: absolute; width: 12px; height: 12px; background: #fff; opacity: .85; box-shadow: 12px 0 0 #fff, 24px 0 0 #fff, 36px 0 0 #fff, 48px 0 0 #fff, 12px -12px 0 #fff, 24px -12px 0 #fff, 36px -12px 0 #fff; animation: cloud-move linear infinite; }
.cloud.c1 { top: 13%; transform: scale(1.5); animation-duration: 36s; }
.cloud.c2 { top: 23%; transform: scale(1); opacity: .65; animation-duration: 48s; animation-delay: -14s; }
.cloud.c3 { top: 8%; transform: scale(1.15); opacity: .5; animation-duration: 58s; animation-delay: -32s; }
@keyframes cloud-move { from { left: -14%; } to { left: 112%; } }

/* merkez amblem: atan pixel kalp + hale + sparkle */
.emblem { position: relative; display: grid; place-items: center; width: clamp(116px, 26vw, 184px); height: clamp(116px, 26vw, 184px); margin-bottom: 4px; }
.emblem-glow { position: absolute; inset: -34%; background: radial-gradient(circle, rgba(255,80,130,.5), rgba(255,80,130,.12) 46%, transparent 66%); animation: emb-pulse 1.4s steps(3) infinite; }
@keyframes emb-pulse { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }
.emblem-heart { position: relative; width: 80%; color: var(--red); animation: beat 1.4s steps(3) infinite; }
.emblem-heart svg { width: 100%; height: auto; display: block; filter: drop-shadow(5px 5px 0 rgba(120,10,40,.5)); }
@keyframes beat { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.1); } 60% { transform: scale(1.03); } }
.spark { position: absolute; animation: twinkle .9s steps(2) infinite; }
.spark svg { width: 100%; height: auto; display: block; }
.emblem .spark { color: #fff; }
.emblem .spark.s1 { top: 0%; right: 2%; width: 16px; }
.emblem .spark.s2 { bottom: 6%; left: -4%; width: 11px; color: var(--yellow); animation-delay: .3s; }
.emblem .spark.s3 { top: 30%; left: -9%; width: 9px; color: var(--cyan); animation-delay: .5s; }

/* tek net CTA butonu */
.menu-cta { display: inline-flex; align-items: center; gap: 12px; padding: 16px 30px; margin-top: 6px; font-family: var(--font-px); font-size: clamp(13px, 2.6vw, 17px); color: #fff; background: var(--pink); box-shadow: 0 0 0 3px var(--edge), 6px 6px 0 0 rgba(0,0,0,.45); transition: transform .1s steps(2), background .1s; }
.menu-cta .cur { width: 16px; color: #fff; animation: twinkle .5s steps(2) infinite; }
.menu-cta .cur svg { width: 16px; height: 14px; display: block; }
.menu-cta:hover { background: var(--pink-d); }
.menu-cta:active { transform: translate(3px, 3px); box-shadow: 0 0 0 3px var(--edge), 3px 3px 0 0 rgba(0,0,0,.45); }

/* arcade ekran çerçevesi (bezel + vinyet) - her ekranda */
.crt-frame { position: fixed; inset: 0; z-index: 210; pointer-events: none; box-shadow: inset 0 0 0 5px var(--edge), inset 0 0 90px rgba(0,0,0,.55); }

/* yüzen pixel kalpler (JS) */
.hearts { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.fheart { position: absolute; bottom: -6%; color: var(--pink); animation: hfloat linear infinite; }
.fheart svg { display: block; }
@keyframes hfloat { 0% { transform: translateY(0) rotate(0); opacity: 0; } 12% { opacity: .9; } 88% { opacity: .7; } 100% { transform: translateY(-116vh) rotate(8deg); opacity: 0; } }

/* ═══════════════════════════════════════════════
   1. START MENU (entry)
   ═══════════════════════════════════════════════ */
.entry { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 9vh 6vw; transition: opacity .25s steps(3); }
.entry.is-leaving { opacity: 0; pointer-events: none; }
.menu-top { position: absolute; top: 5vh; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; align-items: center; gap: 10px; font-family: var(--font-px); font-size: 10px; color: var(--cyan); white-space: nowrap; }
.menu-top .blk { width: 10px; height: 10px; background: var(--green); animation: twinkle .8s steps(2) infinite; }
.menu-mid { position: relative; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 560px; }
.menu-tag { font-family: var(--font-px); font-size: 11px; color: var(--yellow); margin: 0; }
.menu-title { font-family: var(--font-px); font-size: clamp(22px, 6.2vw, 54px); line-height: 1.14; color: #fff; text-shadow: 4px 4px 0 var(--pink-d), 7px 7px 0 var(--edge); margin: 0; }
.menu-title .amp { color: var(--cyan); text-shadow: 5px 5px 0 var(--cyan-d), 9px 9px 0 var(--edge); }
.menu-sub { font-family: var(--font-h); font-weight: 600; font-size: clamp(18px, 3vw, 26px); letter-spacing: .06em; color: var(--ink-2); margin: 0; }
.menu-list { display: flex; flex-direction: column; gap: 6px; max-width: 480px; }
.menu-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; font-family: var(--font-h); font-weight: 700; font-size: clamp(20px, 3.4vw, 30px); letter-spacing: .04em; color: var(--ink-2); transition: none; }
.menu-item .cur { width: 16px; color: var(--pink); opacity: 0; }
.menu-item .cur svg { width: 16px; height: 14px; display: block; }
.menu-item.is-sel, .menu-item:hover { color: #fff; background: var(--pink); box-shadow: 0 0 0 3px var(--edge), 6px 6px 0 0 rgba(0,0,0,.4); }
.menu-item.is-sel .cur, .menu-item:hover .cur { opacity: 1; animation: twinkle .5s steps(2) infinite; }
.menu-item.disabled { color: var(--muted); cursor: default; }
.menu-item.disabled:hover { color: var(--muted); background: none; box-shadow: none; }
.menu-bottom { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; font-family: var(--font-px); font-size: 10px; color: var(--ink-3); }
.press-start { font-family: var(--font-px); font-size: 11px; color: #fff; text-shadow: 2px 2px 0 var(--pink-d); animation: twinkle 1s steps(2) infinite; margin-top: 6px; }
.coin { display: flex; align-items: center; gap: 8px; }
.coin .c { width: 12px; height: 12px; background: var(--yellow); box-shadow: 0 0 0 2px var(--edge); }

/* ═══════════════════════════════════════════════
   2. PIXEL-DISSOLVE GEÇİŞ
   ═══════════════════════════════════════════════ */
.pixwipe { position: fixed; inset: 0; z-index: 200; display: none; pointer-events: none; }
.pixwipe.on { display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(6, 1fr); }
.pix { transform: scale(0); transition: transform .16s steps(2) var(--d, 0s), opacity .16s steps(2) var(--d, 0s); display: grid; place-items: center; background: var(--c, var(--pink)); }
.pix svg { width: 56%; height: 56%; color: rgba(255,255,255,.85); }
.pixwipe.is-in .pix { transform: scale(1); }
.pixwipe.is-out .pix { transform: scale(0); opacity: 0; }
.wipe-label { position: fixed; inset: 0; z-index: 201; display: none; align-items: center; justify-content: center; flex-direction: column; gap: 22px; pointer-events: none; }
.wipe-label.show { display: flex; }
.wipe-title { font-family: var(--font-px); font-size: clamp(16px, 4vw, 30px); color: #fff; text-shadow: 4px 4px 0 var(--edge); text-align: center; animation: twinkle .5s steps(2) infinite; }
.wipe-bar { width: min(64vw, 380px); height: 18px; background: var(--edge); box-shadow: 0 0 0 3px #fff; padding: 3px; }
.wipe-fill { height: 100%; width: 0; background: var(--green); animation: load 1.1s steps(12) forwards; }
@keyframes load { to { width: 100%; } }

/* ═══════════════════════════════════════════════
   3. IN-GAME (memory)
   ═══════════════════════════════════════════════ */
.game-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: linear-gradient(180deg, #0c0726 0%, #190d3c 44%, #311657 74%, #58236e 100%); }
.gb-stars { position: absolute; inset: 0 0 32% 0; }
.gb-moon { position: absolute; top: 12%; right: 13%; width: 80px; height: 80px; border-radius: 50%; background: radial-gradient(circle at 38% 34%, #fff7e8, #ffe2b4 58%, #f3b366); box-shadow: 0 0 0 6px rgba(255,230,180,.10), 0 0 50px rgba(255,210,150,.3); }
.gb-hills { position: absolute; left: 0; right: 0; bottom: 0; height: 34vh; }
.gb-hills svg { width: 100%; height: 100%; display: block; }
.gh-back { fill: #1d0f40; }
.gh-front { fill: #110725; }
@media (max-width: 600px) { .gb-moon { width: 54px; height: 54px; } }
.game-tint { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(12,4,32,.5), rgba(12,4,32,.34) 40%, rgba(12,4,32,.7)); }
.game-scan { position: fixed; inset: 0; z-index: 2; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.16) 0 2px, transparent 2px 4px); mix-blend-mode: multiply; opacity: .5; }
.game-hearts { position: fixed; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }

/* HUD - canlar (sol üst) + skor (sağ üst) */
.hud { position: fixed; top: 14px; left: 0; right: 0; z-index: 40; display: flex; justify-content: space-between; padding: 0 16px; font-family: var(--font-px); font-size: 11px; opacity: 0; transition: opacity .4s steps(3) .4s; }
.memory.is-visible .hud { opacity: 1; }
.hud-lives { display: flex; gap: 6px; align-items: center; color: var(--cyan); }
.hud-lives .lv { display: flex; gap: 4px; }
.hud-lives .lv svg { width: 18px; height: 16px; color: var(--red); filter: drop-shadow(2px 2px 0 rgba(0,0,0,.5)); }
.hud-score { color: var(--yellow); text-shadow: 2px 2px 0 var(--edge); }

.memory { position: relative; z-index: 5; padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); opacity: 0; transition: opacity .4s steps(3); }
.memory.is-visible { opacity: 1; }
.block { position: relative; max-width: 760px; margin: 0 auto; padding: 56px 24px; z-index: 5; }
@media (min-width: 768px) { .block { padding: 76px 32px; } }
.block-head { text-align: center; margin-bottom: 40px; }
.block-eyebrow { font-family: var(--font-px); font-size: 11px; color: var(--cyan); text-shadow: 2px 2px 0 var(--edge); margin-bottom: 16px; }
.block-title { font-family: var(--font-px); font-size: clamp(16px, 4vw, 28px); line-height: 1.3; color: #fff; margin: 0; text-shadow: 4px 4px 0 var(--pink-d); }
.block-ornament { display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 240px; margin: 20px auto 0; color: var(--pink); }
.block-ornament .line { flex: 1; height: 4px; background: var(--pink); box-shadow: 0 0 0 0 var(--pink); }
.block-ornament svg { width: 22px; height: 19px; }

.frame { position: relative; padding: 6px; background: var(--cyan); box-shadow: 0 0 0 3px var(--edge), 8px 8px 0 0 rgba(0,0,0,.5); transition: transform .12s steps(2); }
.frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.frame:hover { transform: translate(-2px,-2px); }
.frame.frame-sm img { aspect-ratio: 4/3; }

.gcard { position: relative; background: rgba(var(--kas-card-rgb), .86); border: 0; padding: 24px; box-shadow: 0 0 0 3px var(--pink), 0 0 0 6px var(--edge), 8px 8px 0 0 rgba(0,0,0,.5); }

/* ─── HERO ─── */
.hero { position: relative; z-index: 5; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 110px 24px 60px; }
.hero-badge { font-family: var(--font-px); font-size: 11px; color: var(--yellow); text-shadow: 2px 2px 0 var(--edge); margin-bottom: 20px; }
.hero-lives { display: flex; gap: 8px; justify-content: center; margin-bottom: 26px; color: var(--red); }
.hero-lives svg { width: 26px; height: 23px; filter: drop-shadow(3px 3px 0 rgba(0,0,0,.4)); animation: heartbeat 1.4s steps(3) infinite; }
.hero-lives svg:nth-child(2) { animation-delay: .15s; }
.hero-lives svg:nth-child(3) { animation-delay: .3s; }
.hero-couple { font-family: var(--font-px); font-size: clamp(24px, 7vw, 64px); line-height: 1.1; color: #fff; text-shadow: 5px 5px 0 var(--pink-d), 9px 9px 0 var(--edge); margin: 0 0 22px; }
.hero-couple .amp { color: var(--cyan); text-shadow: 5px 5px 0 var(--cyan-d), 9px 9px 0 var(--edge); }
.hero-title { font-family: var(--font-h); font-weight: 600; margin: 0 0 28px; }
.hero-title em { display: block; font-style: normal; font-size: clamp(18px, 3.2vw, 26px); letter-spacing: .06em; color: var(--ink-2); }
.hero-since { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-px); font-size: 11px; color: var(--cyan); margin-bottom: 40px; }
.hero-since .ln { width: 24px; height: 4px; background: var(--cyan); }
.hero-photo { max-width: 340px; width: 82%; }
.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-family: var(--font-px); font-size: 9px; color: var(--ink-3); animation: bob 1.2s steps(2) infinite; }
@keyframes bob { 50% { transform: translateX(-50%) translateY(4px); } }

/* ─── DAY COUNTER (SCORE) ─── */
.day-counter { text-align: center; }
.day-counter-card { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; padding: 38px 50px; }
.day-counter-star { color: var(--yellow); margin-bottom: 8px; }
.day-counter-star svg { width: 26px; height: 26px; filter: drop-shadow(2px 2px 0 rgba(0,0,0,.4)); }
.day-counter-eyebrow { font-family: var(--font-px); font-size: 11px; color: var(--cyan); }
.day-counter-num { font-family: var(--font-px); font-size: clamp(30px, 8vw, 60px); line-height: 1.2; color: #fff; text-shadow: 4px 4px 0 var(--pink-d), 7px 7px 0 var(--edge); font-variant-numeric: tabular-nums; margin: 12px 0 8px; }
.day-counter-label { font-family: var(--font-h); font-weight: 700; font-size: clamp(20px, 3vw, 26px); color: var(--ink); }
.day-counter-foot { margin-top: 12px; font-family: var(--font-px); font-size: 9px; color: var(--ink-3); }

/* ─── MESSAGE ─── */
.message-card { padding: 40px 30px; }
@media (min-width: 768px) { .message-card { padding: 52px 46px; } }
.message-icon { display: flex; justify-content: center; margin-bottom: 18px; color: var(--red); }
.message-icon svg { width: 40px; height: 35px; filter: drop-shadow(3px 3px 0 rgba(0,0,0,.4)); animation: heartbeat 1.4s steps(3) infinite; }
.message-text { font-family: var(--font-b); font-size: clamp(22px, 4.4vw, 30px); line-height: 1.4; color: var(--ink); text-align: center; margin: 0; }

/* ─── GALLERY ─── */
.slider { position: relative; max-width: 560px; margin: 0 auto; }
.slider-track { position: relative; aspect-ratio: 4/5; overflow: hidden; box-shadow: 0 0 0 3px var(--cyan), 0 0 0 6px var(--edge), 8px 8px 0 0 rgba(0,0,0,.5); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .2s steps(3); }
.slide.is-active { opacity: 1; z-index: 2; }
.slide .frame { width: 100%; height: 100%; padding: 0; box-shadow: none; }
.slide .frame img { height: 100%; aspect-ratio: auto; }
.slide-cap { position: absolute; left: 18px; bottom: 16px; font-family: var(--font-px); font-size: 12px; color: #fff; text-shadow: 3px 3px 0 var(--edge); z-index: 3; }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 26px; }
.slider-arrow { width: 46px; height: 46px; background: var(--pink); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px var(--edge), 5px 5px 0 0 rgba(0,0,0,.4); transition: transform .1s steps(2); }
.slider-arrow:hover { background: var(--cyan); color: var(--edge); }
.slider-arrow:active { transform: translate(2px,2px); }
.slider-arrow svg { width: 18px; height: 18px; }
.slider-dots { display: flex; gap: 8px; }
.dot { width: 12px; height: 12px; background: var(--night-2); box-shadow: 0 0 0 2px var(--edge); cursor: pointer; }
.dot.is-active { background: var(--pink); }

/* ─── NOTE ─── */
.note { max-width: 600px; text-align: center; }
.note-text { font-family: var(--font-h); font-weight: 600; font-size: clamp(24px, 5vw, 38px); line-height: 1.35; color: #fff; text-shadow: 3px 3px 0 var(--pink-d); }

/* ─── LETTER ─── */
.letter { max-width: 660px; }
.letter-paper { padding: 40px 32px 34px; }
@media (min-width: 768px) { .letter-paper { padding: 52px 48px 44px; } }
.letter-mark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-px); font-size: 11px; color: var(--cyan); margin-bottom: 24px; }
.letter-mark::before { content: ''; width: 22px; height: 4px; background: var(--cyan); }
.letter-to { font-family: var(--font-px); font-size: clamp(16px, 3.4vw, 26px); color: #fff; text-shadow: 3px 3px 0 var(--pink-d); margin-bottom: 22px; }
.letter-body { font-family: var(--font-b); font-size: 23px; line-height: 1.5; color: var(--ink-2); }
.letter-body p { margin: 0 0 12px; }
.letter-body p:last-child { margin-bottom: 0; }
.letter-from { margin-top: 26px; text-align: right; }
.letter-from-name { font-family: var(--font-px); font-size: 18px; color: #fff; text-shadow: 3px 3px 0 var(--pink-d); }

/* ─── TIMELINE (MISSIONS) ─── */
.timeline-list { list-style: none; margin: 0; padding: 0 0 0 40px; position: relative; }
.timeline-list::before { content: ''; position: absolute; left: 14px; top: 14px; bottom: 14px; width: 4px; background: var(--pink); }
.tl-item { position: relative; padding: 0 0 40px 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -40px; top: 4px; width: 32px; height: 32px; background: var(--night-2); display: flex; align-items: center; justify-content: center; z-index: 2; box-shadow: 0 0 0 3px var(--pink); }
.tl-dot svg { width: 16px; height: 14px; color: var(--red); }
.tl-card { display: flex; gap: 18px; flex-wrap: wrap; padding: 18px; }
.tl-photo { width: 130px; flex-shrink: 0; }
.tl-text { flex: 1; min-width: 200px; }
.tl-date { display: inline-block; font-family: var(--font-px); font-size: 9px; color: var(--cyan); margin-bottom: 10px; padding: 6px 10px; background: var(--edge); box-shadow: 0 0 0 2px var(--cyan-d); }
.tl-title { font-family: var(--font-px); font-size: clamp(13px, 3vw, 18px); line-height: 1.3; color: #fff; margin: 0 0 10px; text-shadow: 2px 2px 0 var(--pink-d); }
.tl-desc { font-family: var(--font-b); font-size: 21px; line-height: 1.4; color: var(--ink-2); margin: 0; }

/* ─── SURPRISE (BONUS) ─── */
.surprise { text-align: center; padding: 52px 24px; }
.surprise-orb-wrap { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 24px; padding: 30px; cursor: pointer; }
.surprise-orb { position: relative; z-index: 1; width: 120px; height: 108px; color: var(--red); display: flex; align-items: center; justify-content: center; transition: transform .12s steps(2); animation: heartbeat 1.2s steps(3) infinite; }
.surprise-orb svg { width: 100%; height: 100%; filter: drop-shadow(6px 6px 0 rgba(0,0,0,.4)); }
.surprise-orb .q { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-px); font-size: 30px; color: #fff; text-shadow: 3px 3px 0 var(--pink-d); }
.surprise-orb-wrap:hover .surprise-orb { transform: scale(1.08); }
.surprise-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-px); font-size: 11px; color: var(--yellow); animation: twinkle 1s steps(2) infinite; }
.surprise-card { margin: 16px auto 0; max-width: 500px; display: none; }
.surprise-card.is-open { display: block; animation: pop .2s steps(3) both; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.surprise-text { font-family: var(--font-b); font-size: clamp(22px, 4.4vw, 28px); line-height: 1.4; color: var(--ink); text-align: center; margin: 0; }

/* ─── GUESTBOOK (PLAYERS) ─── */
.guestbook { max-width: 660px; }
.gb-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.gb-entry { padding: 18px 22px; }
.gb-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.gb-head strong { font-family: var(--font-px); font-size: 12px; color: var(--pink); }
.gb-head time { font-family: var(--font-px); font-size: 8px; color: var(--muted); }
.gb-entry p { font-family: var(--font-b); font-size: 21px; line-height: 1.4; color: var(--ink-2); margin: 0; }
.gb-form { display: flex; flex-direction: column; gap: 14px; padding: 22px; }
.gb-form input, .gb-form textarea { width: 100%; padding: 12px 14px; background: var(--edge); color: var(--ink); border: 0; box-shadow: 0 0 0 3px var(--cyan-d); font-family: var(--font-b); font-size: 22px; outline: none; }
.gb-form input::placeholder, .gb-form textarea::placeholder { color: var(--muted); }
.gb-form input:focus, .gb-form textarea:focus { box-shadow: 0 0 0 3px var(--pink); }
.gb-form textarea { resize: vertical; min-height: 70px; }
.gb-form button { align-self: flex-end; padding: 14px 26px; background: var(--pink); color: #fff; font-family: var(--font-px); font-size: 12px; box-shadow: 0 0 0 3px var(--edge), 5px 5px 0 0 rgba(0,0,0,.4); transition: transform .1s steps(2); }
.gb-form button:active { transform: translate(2px,2px); }

/* ─── FOOTER (GAME OVER) ─── */
.footer { text-align: center; padding: 64px 24px 44px; }
.footer-star { color: var(--red); margin-bottom: 16px; }
.footer-star svg { width: 36px; height: 32px; filter: drop-shadow(3px 3px 0 rgba(0,0,0,.4)); }
.footer-couple { font-family: var(--font-px); font-size: clamp(18px, 5vw, 38px); color: #fff; text-shadow: 4px 4px 0 var(--pink-d), 7px 7px 0 var(--edge); margin: 0 0 16px; }
.footer-since { font-family: var(--font-px); font-size: 10px; color: var(--yellow); margin-bottom: 24px; animation: twinkle 1s steps(2) infinite; }
.footer-counter { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--edge); font-family: var(--font-px); font-size: 9px; color: var(--ink-2); box-shadow: 0 0 0 3px var(--pink-d); }
.footer-counter svg { width: 14px; height: 12px; color: var(--cyan); }
.footer-counter-num { color: var(--yellow); }
.footer-brand { margin-top: 30px; font-family: var(--font-px); font-size: 8px; color: var(--muted); }

/* ═══ PLAYER ═══ */
/* ortalı pill (full-width değil) - diğer temalarla aynı düzen */
.player { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 50; width: min(360px, calc(100% - 28px)); display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--edge); box-shadow: 0 0 0 3px var(--pink), 8px 8px 0 0 rgba(0,0,0,.5); transform: translate(-50%, 200%); transition: transform .3s steps(5) .2s; }
body.is-reading .player { transform: translate(-50%, 0); }
.player-progress { position: absolute; top: -4px; left: 0; right: 0; height: 4px; background: var(--night-2); }
.player-progress-fill { height: 100%; width: 42%; background: var(--green); }
.player-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.player-btn { width: 38px; height: 38px; color: var(--cyan); display: flex; align-items: center; justify-content: center; }
.player-btn svg { width: 18px; height: 18px; }
.player-btn.player-play { background: var(--pink); color: #fff; box-shadow: 0 0 0 3px var(--night-2); }
.player-info { flex: 1; min-width: 0; }
.player-title { font-family: var(--font-px); font-size: 10px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-meta { font-family: var(--font-px); font-size: 8px; color: var(--ink-3); margin-top: 4px; }
.player-eq { display: flex; align-items: flex-end; gap: 3px; height: 18px; flex-shrink: 0; }
.player-eq span { width: 4px; height: 40%; background: var(--cyan); animation: eqbar .5s steps(2) infinite; }
.player-eq span:nth-child(2) { animation-delay: .12s; background: var(--pink); }
.player-eq span:nth-child(3) { animation-delay: .24s; }
.player-eq span:nth-child(4) { animation-delay: .36s; background: var(--pink); }
@keyframes eqbar { 0%, 100% { height: 25%; } 50% { height: 100%; } }
@media (max-width: 480px) { .player-meta, .player-eq { display: none; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }