/* fener: karanlık koltuk arasında ışıkla ara (görsel atölyesi, 16 Kas 2026) */
.o-fener { position: absolute; inset: 0; overflow: hidden; background: #0c0918; touch-action: none; cursor: none; }
.o-fener-zemin { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.o-fener-nesneler, .o-fener-ust { position: absolute; inset: 0; pointer-events: none; }
.o-fener-nesne, .o-fener-trex, .o-fener-ucan { position: absolute; transform: translate(-50%,-50%) rotate(var(--don, 0deg)); pointer-events: none; filter: drop-shadow(0 4px 3px rgba(40,20,0,.45)); }
.o-fener-nesne.alindi { opacity: 0; transition: opacity .3s .5s; }
.o-fener-ucan { z-index: 6; transition: left .55s cubic-bezier(.5,0,.3,1), top .55s cubic-bezier(.5,-.6,.3,1), width .55s, transform .55s; animation: fenerZip .5s ease-out; }
@keyframes fenerZip { 0% { transform: translate(-50%,-50%) rotate(var(--don)) scale(1); } 45% { transform: translate(-50%,-50%) rotate(var(--don)) scale(1.35); } 100% { transform: translate(-50%,-50%) rotate(var(--don)) scale(1.15); } }
.o-fener-karanlik { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; transition: opacity .8s; }
.o-fener.aydinlik .o-fener-karanlik { opacity: 0; }
.o-fener.trex-bulundu .o-fener-karanlik { opacity: .45; }
.o-fener.trex-bulundu.aydinlik .o-fener-karanlik { opacity: 0; }
.o-fener-on { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; background-size: 1280px 720px; }
.o-fener-on-golge { position: absolute; inset: 0; pointer-events: none; filter: drop-shadow(-5px 5px 5px rgba(40,10,60,.6)); }
.o-fener-trexkat { z-index: 0; }   /* kendi katmanı: içindeki T-Rex hiçbir z-index ile kumaşın üstüne çıkmaz */
.o-fener-trex { z-index: 0; }
.o-fener-trex.gizli { visibility: hidden; }
.o-fener-trex.bulundu { pointer-events: auto; cursor: grab; touch-action: none; animation: fenerKuyruk 1s ease-in-out infinite; z-index: 4; }
.o-fener-trex.tutuluyor { cursor: grabbing; animation: none; filter: drop-shadow(0 0 12px #fff6c2) drop-shadow(0 8px 8px rgba(0,0,0,.4)); }
.o-fener-trex.don { transition: left .35s, top .35s, clip-path .35s; }
.o-fener-trex.cikti { animation: none; transition: left .6s cubic-bezier(.2,1.4,.4,1), top .6s cubic-bezier(.2,1.4,.4,1), width .6s, transform .6s, clip-path .4s;
  filter: drop-shadow(0 0 18px #fff6c2) drop-shadow(0 0 40px rgba(255,214,90,.9)); }
@keyframes fenerKuyruk { 0%,100% { filter: drop-shadow(0 0 8px #fff6c2) drop-shadow(0 0 20px rgba(255,214,90,.7)); } 50% { filter: drop-shadow(0 0 16px #fff6c2) drop-shadow(0 0 36px rgba(255,214,90,1)); } }

.o-fener-gorev { position: absolute; left: 50%; top: 16px; transform: translateX(-50%); padding: 10px 26px; background: #fff; border: 4px solid var(--sari); border-radius: 24px;
  font-size: 26px; font-weight: 800; color: var(--kahve); white-space: nowrap; box-shadow: 0 8px 18px rgba(0,0,0,.35); z-index: 8; pointer-events: none; }
.o-fener-gorev.gel { animation: fenerGel .5s cubic-bezier(.2,1.6,.4,1); }
@keyframes fenerGel { 0% { transform: translateX(-50%) scale(.6); } 100% { transform: translateX(-50%) scale(1); } }

.o-fener-ipucu { position: absolute; right: 18px; top: 14px; height: 94px; padding: 0 22px 0 10px; display: flex; align-items: center; gap: 10px; border-radius: 52px; border: 5px solid var(--mavi-goz);
  background: var(--koyu); color: #c5f0ff; font-size: 30px; font-weight: 800; box-shadow: 0 6px 0 #17132a, 0 10px 18px rgba(0,0,0,.3); z-index: 9; cursor: pointer; }
.o-fener-ipucu .yuz { width: 72px; height: 72px; border-radius: 50%; background: radial-gradient(#3b4a7a, #1b1834); display: grid; place-items: center; }
.o-fener-ipucu img { width: 60px; height: 60px; filter: drop-shadow(0 0 6px rgba(126,204,237,.9)); }
.o-fener-ipucu:active { transform: translateY(3px); box-shadow: 0 3px 0 #17132a; }

.o-fener-cekmece { position: absolute; left: 18px; bottom: 16px; display: flex; gap: 10px; padding: 10px 12px; background: rgba(43,36,64,.82); border: 3px solid rgba(197,240,255,.6);
  border-radius: 22px; z-index: 8; pointer-events: none; }
.o-fener-slot { width: 80px; height: 80px; border-radius: 16px; border: 3px dashed rgba(255,255,255,.45); display: grid; place-items: center; color: rgba(255,255,255,.5); font-size: 40px; font-weight: 800; }
.o-fener-slot img { max-width: 66px; max-height: 66px; }
.o-fener-slot.dolu { border-style: solid; border-color: var(--turkuaz); background: rgba(90,187,173,.25); animation: fenerPop .45s cubic-bezier(.2,1.8,.4,1); }
.o-fener-slot.trex { border-color: var(--sari); color: var(--sari); }
.o-fener-slot.salla { animation: fenerSalla .5s; }
@keyframes fenerPop { 0% { transform: scale(.5); } 100% { transform: scale(1); } }
@keyframes fenerSalla { 20%,60% { transform: rotate(-10deg) scale(1.1); } 40%,80% { transform: rotate(10deg) scale(1.1); } }

.o-fener-halka { position: absolute; width: 170px; height: 170px; margin: -85px 0 0 -85px; border-radius: 50%; border: 7px solid #fff6c2; animation: fenerHalka .85s ease-out forwards; }
.o-fener-halka.buyuk { width: 260px; height: 260px; margin: -130px 0 0 -130px; border-color: var(--sari); }
@keyframes fenerHalka { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.o-fener-ip-isik { position: absolute; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%; z-index: 3; border: 5px dashed rgba(255,246,194,.95);
  background: radial-gradient(circle, rgba(255,250,210,.95), rgba(255,220,120,.5) 40%, rgba(255,220,120,0) 70%); animation: fenerIp 0.9s ease-in-out 4 forwards; }
@keyframes fenerIp { 0%,100% { transform: scale(.6); opacity: .55; } 50% { transform: scale(1.25); opacity: 1; } }
.o-fener-ok { position: absolute; width: 0; height: 0; z-index: 5; }
.o-fener-ok::before { content: "➜"; position: absolute; left: -40px; top: -40px; width: 80px; height: 80px; display: grid; place-items: center; font-size: 64px; color: #fff;
  text-shadow: 0 0 10px var(--turuncu), 0 3px 0 var(--turuncu); transform: rotate(var(--yon)) translateX(110px); animation: fenerOk 0.9s ease-in-out infinite; }
@keyframes fenerOk { 0%,100% { transform: rotate(var(--yon)) translateX(100px); } 50% { transform: rotate(var(--yon)) translateX(135px); } }
.o-fener-el { position: absolute; z-index: 7; font-size: 70px; transform: translate(-20%, 10%); pointer-events: none; filter: drop-shadow(0 4px 4px rgba(0,0,0,.5)); animation: fenerElNabiz 1s ease-in-out infinite; }
@keyframes fenerElNabiz { 50% { transform: translate(-20%, 10%) scale(.85); } }
.o-fener-balon { position: absolute; transform: translateX(-50%); max-width: 560px; padding: 12px 22px; background: #fff; border: 4px solid var(--turuncu); border-radius: 22px;
  font-size: 27px; font-weight: 800; color: var(--kahve); text-align: center; box-shadow: 0 8px 18px rgba(0,0,0,.4); z-index: 7; transition: opacity .3s; width: max-content; }
.o-fener-balon.gizli { opacity: 0; }
.o-fener-balon.gel { animation: fenerGel .45s cubic-bezier(.2,1.6,.4,1); }
.o-fener-pirilti { position: absolute; width: 18px; height: 18px; margin: -9px; background: #fff6c2; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  opacity: 0; animation: fenerPirilti 1.1s ease-out forwards; }
@keyframes fenerPirilti { 0% { transform: scale(0) rotate(0); opacity: 1; } 60% { opacity: 1; } 100% { transform: scale(2.4) rotate(180deg); opacity: 0; } }
body.kucuk .o-fener-gorev { font-size: 32px; }
body.kucuk .o-fener-balon { font-size: 32px; }
body.kucuk .o-fener-slot { width: 92px; height: 92px; }
