/* Var mısın Yok musun? — rekoroyun.com
   Ölçüler JS boyutla() ile: --ust, --pad, --satir, --tw (tablo genişliği), --kw/--kh (kutu), --durum, --alt */
:root{
	--zemin1: #0b1636; --zemin2: #030714;
	--altin1: #ffe28a; --altin2: #e3a923; --altin3: #9a6409;
	--mavi1: #2f7fe0; --mavi2: #123a8a;
	--kirmizi1: #e8413a; --kirmizi2: #7d0d12;
	--krem: #fff6dc; --soluk: rgba(255,255,255,.55);
	--ust: 48px; --pad: 8px; --satir: 36px; --tw: 150px; --kw: 80px; --kh: 60px; --durum: 36px; --alt: 90px;
}
*{ box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body{ margin: 0; height: 100%; overflow: hidden; }
body{
	background: var(--zemin2); color: var(--krem);
	font-family: 'Poppins', Arial, sans-serif; user-select: none; -webkit-user-select: none; touch-action: manipulation;
}
button{ font-family: inherit; cursor: pointer; border: 0; color: inherit; }

/* ---------- sahne ---------- */
#sahne{
	position: fixed; inset: 0; display: flex; flex-direction: column;
	background:
		radial-gradient(ellipse 70% 55% at 50% 108%, rgba(255,190,60,.20) 0%, rgba(255,190,60,0) 70%),
		radial-gradient(ellipse 90% 70% at 50% 0%, #1d3a86 0%, rgba(29,58,134,0) 70%),
		linear-gradient(180deg, var(--zemin1) 0%, var(--zemin2) 100%);
}
#isiklar{ position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
#isiklar i{
	position: absolute; top: -12%; width: 30%; height: 135%; left: 35%;
	background: linear-gradient(180deg, rgba(170,205,255,.16) 0%, rgba(170,205,255,.05) 55%, rgba(170,205,255,0) 80%);
	clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%); transform-origin: 50% 0;
	animation: isik2 11s ease-in-out infinite alternate; mix-blend-mode: screen;
}
#isiklar i:nth-child(1){ left: 2%; animation-name: isik1; animation-duration: 9s; background: linear-gradient(180deg, rgba(255,214,120,.16) 0%, rgba(255,214,120,.04) 55%, rgba(255,214,120,0) 80%); }
#isiklar i:nth-child(3){ left: 68%; animation-name: isik3; animation-duration: 10s; background: linear-gradient(180deg, rgba(255,214,120,.16) 0%, rgba(255,214,120,.04) 55%, rgba(255,214,120,0) 80%); }
@keyframes isik1{ from{ transform: rotate(-28deg); } to{ transform: rotate(8deg); } }
@keyframes isik2{ from{ transform: rotate(14deg); opacity: .6; } to{ transform: rotate(-14deg); opacity: 1; } }
@keyframes isik3{ from{ transform: rotate(26deg); } to{ transform: rotate(-6deg); } }
/* parlak stüdyo zemini (perspektif ızgara) */
#zemin{
	position: absolute; left: -20%; right: -20%; bottom: 0; height: 42%; pointer-events: none;
	background:
		repeating-linear-gradient(90deg, rgba(255,214,110,.13) 0 1px, transparent 1px 60px),
		repeating-linear-gradient(0deg, rgba(255,214,110,.10) 0 1px, transparent 1px 44px),
		radial-gradient(ellipse 60% 90% at 50% 100%, rgba(255,190,60,.18), rgba(255,190,60,0) 70%);
	transform: perspective(420px) rotateX(58deg); transform-origin: 50% 100%;
	-webkit-mask: linear-gradient(0deg, #000 0%, transparent 85%); mask: linear-gradient(0deg, #000 0%, transparent 85%);
}
/* havada süzülen altın toz */
#toz{ position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
#toz i{
	position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%;
	background: #ffe28a; box-shadow: 0 0 6px 1px rgba(255,214,110,.8); opacity: 0;
	animation: toz 14s linear infinite;
}
#toz i:nth-child(1){ left: 6%; animation-delay: 0s; } #toz i:nth-child(2){ left: 14%; animation-delay: -5s; animation-duration: 17s; }
#toz i:nth-child(3){ left: 23%; animation-delay: -9s; } #toz i:nth-child(4){ left: 31%; animation-delay: -2s; animation-duration: 19s; }
#toz i:nth-child(5){ left: 40%; animation-delay: -11s; } #toz i:nth-child(6){ left: 48%; animation-delay: -6s; animation-duration: 16s; }
#toz i:nth-child(7){ left: 57%; animation-delay: -13s; } #toz i:nth-child(8){ left: 65%; animation-delay: -3s; animation-duration: 18s; }
#toz i:nth-child(9){ left: 73%; animation-delay: -8s; } #toz i:nth-child(10){ left: 81%; animation-delay: -1s; animation-duration: 15s; }
#toz i:nth-child(11){ left: 89%; animation-delay: -10s; } #toz i:nth-child(12){ left: 95%; animation-delay: -4s; animation-duration: 20s; }
#toz i:nth-child(even){ width: 3px; height: 3px; background: #cfe2ff; box-shadow: 0 0 5px 1px rgba(170,205,255,.7); }
@keyframes toz{
	0%{ transform: translate(0, 0); opacity: 0; } 10%{ opacity: .8; }
	50%{ transform: translate(30px, -55vh); } 90%{ opacity: .6; }
	100%{ transform: translate(-20px, -110vh); opacity: 0; }
}

/* ---------- üst şerit ---------- */
#ust{
	position: relative; height: var(--ust); flex: none; display: flex; align-items: center; gap: calc(var(--ust) * .25);
	padding: 0 var(--pad); z-index: 2;
	background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.15));
	border-bottom: 1px solid rgba(255,214,110,.25);
}
#ust::after{ /* sahne ampulleri: kayan ışık dizisi */
	content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 7px; pointer-events: none;
	background:
		radial-gradient(circle, #fff6cf 0 1.5px, rgba(255,214,110,.9) 2px, rgba(255,214,110,0) 3.5px) 0 50% / 22px 7px repeat-x,
		radial-gradient(circle, rgba(255,214,110,.35) 0 1.5px, rgba(255,214,110,0) 3px) 11px 50% / 22px 7px repeat-x;
	animation: ampul 1.2s linear infinite;
}
@keyframes ampul{ from{ background-position: 0 50%, 11px 50%; } to{ background-position: 22px 50%, 33px 50%; } }
#ust-logo{
	flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: clip;
	font-family: 'Bebas Neue', sans-serif; font-size: calc(var(--ust) * .56); letter-spacing: .04em; line-height: 1;
	color: var(--altin1); text-shadow: 0 2px 0 var(--altin3), 0 0 .5em rgba(255,200,60,.35); white-space: nowrap;
}
#ust-logo span{ color: #fff; text-shadow: 0 2px 0 #5b0b0b, 0 0 .5em rgba(255,80,60,.35); }
#ust-bilgi{
	margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.05;
	font-size: calc(var(--ust) * .22); color: var(--soluk);
}
#ust-bilgi b{ color: var(--altin1); font-size: 1.45em; font-weight: 800; }
#ust-dugmeler{ display: flex; gap: calc(var(--ust) * .14); }
.kare-b{
	width: calc(var(--ust) * .74); height: calc(var(--ust) * .74); border-radius: 22%;
	background: linear-gradient(180deg, #24407e, #10204a); box-shadow: 0 0 0 1.5px rgba(255,214,110,.55), 0 3px 6px rgba(0,0,0,.5);
	font-family: 'Bebas Neue', sans-serif; font-size: calc(var(--ust) * .4); color: var(--altin1);
	display: flex; align-items: center; justify-content: center; padding: 0;
}
.kare-b.genis{ width: auto; padding: 0 .55em; letter-spacing: .05em; }
.kare-b:active{ transform: translateY(1px); }
.ik-ses{
	width: 58%; height: 58%; display: block;
	background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffe28a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z' fill='%23ffe28a'/%3E%3Cpath d='M16 9a4 4 0 0 1 0 6M18.5 6.5a7.5 7.5 0 0 1 0 11'/%3E%3C/svg%3E");
}
body.sessiz .ik-ses{
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a6e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z' fill='%23ff7a6e'/%3E%3Cpath d='M16 9l5 6M21 9l-5 6'/%3E%3C/svg%3E");
}

/* ---------- alan ---------- */
#alan{
	position: relative; flex: 1; min-height: 0; display: flex; gap: var(--pad); padding: var(--pad); z-index: 1;
}
body.dik #alan{ flex-direction: column; }
#orta{ flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: var(--pad); }

/* para tablosu */
.tablo{
	flex: none; width: var(--tw); display: grid; grid-auto-flow: column; grid-template-rows: repeat(12, 1fr);
	gap: calc(var(--satir) * .1); align-self: center; height: calc(var(--satir) * 12);
}
/* dik ekran: iki tablo üstte yan yana (her biri 2 sütun x 6 satır), kutular altta */
body.dik #alan{ display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto minmax(0, 1fr); }
body.dik #tablo-sol{ grid-row: 1; grid-column: 1; }
body.dik #tablo-sag{ grid-row: 1; grid-column: 2; }
body.dik #orta{ grid-row: 2; grid-column: 1 / 3; }
body.dik .tablo{
	width: auto; height: calc(var(--satir) * 6); grid-template-rows: repeat(6, 1fr); grid-template-columns: 1fr 1fr;
	column-gap: calc(var(--pad) * .7); align-self: start;
}
.para{
	position: relative; display: flex; align-items: center; justify-content: flex-end; padding: 0 .55em;
	border-radius: calc(var(--satir) * .18); font-weight: 800; font-size: calc(var(--satir) * .47); white-space: nowrap; overflow: hidden;
	color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.6);
	transition: opacity .5s, filter .5s, transform .3s;
}
.para.uzun{ font-size: calc(var(--satir) * .42); letter-spacing: -.01em; }
.para.dusuk{
	background: linear-gradient(180deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 48%, rgba(0,0,0,.12) 52%, rgba(0,0,0,0) 100%), linear-gradient(90deg, var(--mavi2) 0%, var(--mavi1) 100%);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(0,0,0,.3), 0 0 0 1px rgba(120,180,255,.4), 0 2px 5px rgba(0,0,0,.4);
}
.para.yuksek{
	background: linear-gradient(180deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 48%, rgba(0,0,0,.12) 52%, rgba(0,0,0,0) 100%), linear-gradient(90deg, var(--kirmizi2) 0%, var(--kirmizi1) 100%);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(0,0,0,.3), 0 0 0 1px rgba(255,140,120,.4), 0 2px 5px rgba(0,0,0,.4);
}
.para.yuksek.zirve{
	background: linear-gradient(180deg, rgba(255,255,255,.4) 0%, rgba(255,255,255,0) 48%, rgba(120,70,0,.12) 52%, rgba(0,0,0,0) 100%), linear-gradient(90deg, var(--altin3) 0%, var(--altin2) 55%, var(--altin1) 100%);
	color: #3b2300; text-shadow: 0 1px 0 rgba(255,255,255,.5);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 0 0 1px rgba(255,226,138,.7), 0 0 10px rgba(255,200,60,.35), 0 2px 5px rgba(0,0,0,.4);
}
.para::before{ /* sol baştaki ışık */
	content: ""; position: absolute; left: .45em; top: 50%; width: .5em; height: .5em; border-radius: 50%;
	background: rgba(255,255,255,.85); transform: translateY(-50%); box-shadow: 0 0 .45em rgba(255,255,255,.8);
}
.para.zirve::before{ background: #fff; box-shadow: 0 0 .5em #fff, 0 0 .9em rgba(255,214,110,.9); animation: nokta 2.4s ease-in-out infinite; }
@keyframes nokta{ 50%{ opacity: .45; } }
.para.zirve:not(.acik)::after{ /* büyük paraların üstünden geçen parıltı */
	content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; pointer-events: none;
	background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.7), rgba(255,255,255,0));
	transform: translateX(-130%) skewX(-20deg); animation: paraParilti 5s ease-in-out infinite;
}
.tablo .para.zirve:not(.acik):nth-last-child(2)::after{ animation-delay: .25s; }
.tablo .para.zirve:not(.acik):nth-last-child(3)::after{ animation-delay: .5s; }
.tablo .para.zirve:not(.acik):nth-last-child(4)::after{ animation-delay: .75s; }
@keyframes paraParilti{ 0%, 70%{ transform: translateX(-130%) skewX(-20deg); } 100%{ transform: translateX(320%) skewX(-20deg); } }
.para.acik{ opacity: .22; filter: grayscale(1); }
.para.acik::before{ display: none; }
.para.acik::after{ content: ""; position: absolute; left: 6%; right: 6%; top: 50%; height: 2px; background: rgba(255,255,255,.9); transform-origin: 0 50%; }
.para.yeni-acik{ animation: paraSon 1.05s ease forwards; }
.para.yeni-acik::after{ animation: cizgi .35s .3s ease-out both; height: 3px; box-shadow: 0 0 6px #fff; }
@keyframes cizgi{ from{ transform: scaleX(0); } to{ transform: scaleX(1); } }
@keyframes paraSon{
	0%{ opacity: 1; filter: brightness(2); transform: scale(1); }
	20%{ opacity: 1; filter: brightness(1.5); transform: scale(1.14); }
	30%{ transform: scale(1.1) rotate(-1.5deg); } 40%{ transform: scale(1.1) rotate(1.5deg); } 50%{ transform: scale(1.08) rotate(0); }
	70%{ opacity: 1; filter: none; transform: scale(1.04); }
	100%{ opacity: .22; filter: grayscale(1); transform: scale(1); }
}

/* durum satırı */
#durum{
	flex: none; height: var(--durum); display: flex; align-items: center; justify-content: center; text-align: center;
	font-family: 'Bebas Neue', sans-serif; font-size: calc(var(--durum) * .62); letter-spacing: .05em; color: var(--altin1);
	text-shadow: 0 2px 0 rgba(0,0,0,.5); line-height: 1;
}
#durum b{ color: #fff; margin: 0 .25em; }
#durum.degis{ animation: durumGel .4s cubic-bezier(.3,1.4,.5,1); }
@keyframes durumGel{ from{ opacity: 0; transform: translateY(45%) scale(.9); } to{ opacity: 1; transform: none; } }

/* kutular */
#kutular{
	flex: 1; min-height: 0; display: grid; justify-content: center; align-content: center;
	grid-template-columns: repeat(var(--kol, 6), var(--kw)); grid-auto-rows: var(--kh); gap: calc(var(--kh) * .14) calc(var(--kw) * .1);
}
.kutu{
	position: relative; width: var(--kw); height: var(--kh); padding: 0; border-radius: calc(var(--kh) * .12); overflow: hidden;
	--kose: #8b5a07;
	background:
		radial-gradient(circle at 0 0, var(--kose) 0 calc(var(--kh) * .16), transparent calc(var(--kh) * .165)),
		radial-gradient(circle at 100% 0, var(--kose) 0 calc(var(--kh) * .16), transparent calc(var(--kh) * .165)),
		radial-gradient(circle at 0 100%, var(--kose) 0 calc(var(--kh) * .16), transparent calc(var(--kh) * .165)),
		radial-gradient(circle at 100% 100%, var(--kose) 0 calc(var(--kh) * .16), transparent calc(var(--kh) * .165)),
		linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 26%, rgba(0,0,0,0) 68%, rgba(80,40,0,.28) 100%),
		linear-gradient(90deg, #a8700e 0%, #f0c654 16%, #fff0b0 34%, #f5cf5e 50%, #dba224 70%, #a8700e 100%);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.5), inset 0 -3px 0 rgba(90,50,0,.35), 0 0 0 1px #6b4405, 0 5px 0 -1px #5a3804, 0 8px 12px rgba(0,0,0,.55);
	transition: transform .18s cubic-bezier(.3,1.6,.5,1), box-shadow .18s, opacity .4s, filter .4s;
}
.kutu::before{ /* kapağın çizgisi */
	content: ""; position: absolute; left: 0; right: 0; top: 30%; height: 2px; background: rgba(90,50,0,.5); box-shadow: 0 1px 0 rgba(255,255,255,.45), 0 -1px 0 rgba(255,255,255,.15);
}
.kutu::after{ /* ara sıra kutunun üstünden geçen parıltı (sırayla) */
	content: ""; position: absolute; top: -10%; bottom: -10%; left: 0; width: 42%; pointer-events: none;
	background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.75) 50%, rgba(255,255,255,0) 100%);
	transform: translateX(-130%) skewX(-18deg); animation: parilti 8s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .33s);
}
@keyframes parilti{ 0%, 88%{ transform: translateX(-130%) skewX(-18deg); } 100%{ transform: translateX(340%) skewX(-18deg); } }
.kutu .no{
	position: absolute; left: 50%; top: 63%; transform: translate(-50%, -50%);
	min-width: 56%; padding: .04em .3em 0; border-radius: .6em;
	background: linear-gradient(180deg, #fff 0%, #fff 60%, #f0e6d6 100%); color: #7d0d12; box-shadow: 0 0 0 2px #7d0d12, 0 0 0 3px rgba(255,255,255,.5), 0 2px 3px rgba(0,0,0,.45);
	font-family: 'Bebas Neue', sans-serif; font-size: calc(var(--kh) * .38); line-height: 1.05; text-align: center;
}
.kutu .ic{
	position: absolute; inset: 9% 7%; border-radius: calc(var(--kh) * .08); display: flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: calc(var(--kh) * .24); line-height: 1; text-align: center; padding: 0 .15em; white-space: nowrap;
	opacity: 0; transform: scale(.6); transition: opacity .3s, transform .35s cubic-bezier(.3,1.6,.5,1);
	color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.6); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.25), 0 2px 4px rgba(0,0,0,.55);
}
.kutu .ic.uzun{ font-size: calc(var(--kh) * .18); }
.kutu .ic small{ font-size: .55em; font-weight: 600; opacity: .9; }
.kutu .ic.dusuk{ background: linear-gradient(180deg, var(--mavi1), var(--mavi2)); }
.kutu .ic.yuksek{ background: linear-gradient(180deg, var(--kirmizi1), var(--kirmizi2)); }
.kutu .ic.yuksek.zirve{ background: linear-gradient(180deg, var(--altin1), var(--altin2)); color: #3b2300; text-shadow: none; }
/* açık kutu: kapak yok, içi koyu, para plakası içinde */
.kutu.acik{
	background: linear-gradient(180deg, #2e2006 0%, #151002 100%);
	box-shadow: inset 0 0 0 1px rgba(255,214,110,.55), inset 0 5px 10px rgba(0,0,0,.75), 0 0 0 1px #6b4405, 0 3px 6px rgba(0,0,0,.5);
	pointer-events: none;
}
.kutu.acik::before, .kutu.acik::after, .kutu.acik .no{ display: none; }
.kutu.acik .ic{ opacity: 1; transform: scale(1); }
.kutu.acik.eski{ opacity: .45; filter: saturate(.55); }
.kutu.secilebilir{ cursor: pointer; }
.kutu.secilebilir:hover{
	transform: translateY(-4px) scale(1.06);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 0 0 2px #fff, 0 0 20px rgba(255,220,120,.8), 0 10px 14px rgba(0,0,0,.6);
}
.kutu.secilebilir:active{ transform: translateY(0) scale(.97); }
/* yeni oyunda kutular sırayla yukarıdan düşer */
.kutu.gir{ animation: kutuGir .6s cubic-bezier(.3,1.45,.5,1) both; animation-delay: calc(var(--i, 0) * 30ms); }
.kutu.gir::after{ animation: none; }
@keyframes kutuGir{ from{ opacity: 0; transform: translateY(-70%) scale(.5) rotate(-8deg); } to{ opacity: 1; transform: none; } }
.kutu.bos{ visibility: hidden; }
.kutu.yuva-bos{
	background: rgba(255,214,110,.05); box-shadow: none; pointer-events: none; overflow: visible;
	outline: 2px dashed rgba(255,214,110,.4); outline-offset: -2px;
}
.kutu.yuva-bos::before, .kutu.yuva-bos::after, .kutu.yuva-bos .no, .kutu.yuva-bos .ic{ display: none; }
.kutu.ipucu{ animation: ipucu 1.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes ipucu{ 50%{ transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), 0 0 0 2px #fff, 0 0 16px rgba(255,220,120,.85), 0 9px 12px rgba(0,0,0,.55); } }

/* alt şerit */
#alt{
	flex: none; height: var(--alt); display: flex; align-items: center; gap: calc(var(--pad) * 1.5);
	padding: calc(var(--alt) * .08) calc(var(--pad) * 1.5); border-radius: calc(var(--alt) * .14);
	background: linear-gradient(180deg, rgba(10,22,60,.85), rgba(4,10,30,.9)); box-shadow: 0 0 0 1px rgba(255,214,110,.35), 0 6px 18px rgba(0,0,0,.45);
}
#benim{ display: flex; align-items: center; gap: calc(var(--alt) * .12); height: 100%; flex: none; }
#benim-yuva{
	position: relative; height: 100%; aspect-ratio: 1.3; display: flex; align-items: center; justify-content: center; border-radius: calc(var(--alt) * .1);
	box-shadow: inset 0 0 0 2px rgba(255,214,110,.45); background: radial-gradient(ellipse at 50% 100%, rgba(255,214,110,.18), rgba(255,214,110,0) 70%);
}
#benim-yuva > span{ font-family: 'Bebas Neue', sans-serif; font-size: calc(var(--alt) * .45); color: rgba(255,214,110,.45); }
#benim-yuva .kutu{ position: absolute; inset: 0; width: 100%; height: 100%; --kh: calc(var(--alt) * .84); pointer-events: none; z-index: 3; }
#benim-yuva .kutu.benim-parla{ animation: benimParla 2.2s ease-in-out infinite; }
@keyframes benimParla{ 50%{ box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), 0 0 0 1px #6b4405, 0 0 16px rgba(255,214,110,.75); } }
#benim-yazi{ font-size: calc(var(--alt) * .17); line-height: 1.15; color: var(--soluk); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
#alt-bilgi{ flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: calc(var(--alt) * .04); font-size: calc(var(--alt) * .17); }
#alt-bilgi .satir{ display: flex; justify-content: space-between; gap: .6em; white-space: nowrap; }
#alt-bilgi .satir span{ color: var(--soluk); }
#alt-bilgi .satir b{ color: var(--altin1); font-weight: 800; }
#teklifler{ display: flex; gap: .3em; overflow: hidden; justify-content: flex-end; font-size: .78em; }
#teklifler i{ font-style: normal; padding: .05em .45em; border-radius: 1em; background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); white-space: nowrap; }
#teklifler i:last-child{ background: rgba(255,214,110,.25); color: var(--altin1); }
body.alcak #benim-yazi{ display: none; }

/* ---------- uçan yazılar ---------- */
#ucan{ position: fixed; inset: 0; pointer-events: none; z-index: 50; }
.ucan{
	position: absolute; transform: translate(-50%, -50%); font-family: 'Bebas Neue', sans-serif; font-size: clamp(22px, 5vmin, 46px);
	letter-spacing: .04em; white-space: nowrap; animation: ucan 1.3s ease-out forwards; text-shadow: 0 2px 0 rgba(0,0,0,.6), 0 0 .5em currentColor;
}
.ucan.iyi{ color: #7dffb0; }
.ucan.kotu{ color: #ff6b5e; }
@keyframes ucan{ 0%{ opacity: 0; transform: translate(-50%, -20%) scale(.7); } 20%{ opacity: 1; transform: translate(-50%, -60%) scale(1.1); } 100%{ opacity: 0; transform: translate(-50%, -160%) scale(1); } }

/* ---------- perde ve paneller ---------- */
#perde{
	position: fixed; inset: 0; z-index: 40; display: none; align-items: center; justify-content: center; padding: 12px;
	background: rgba(2,5,16,.72); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
#perde.acik{ display: flex; }
.panel{
	display: none; position: relative; width: min(94vw, max(500px, 54vh)); max-height: 100%; flex-direction: column; align-items: center; text-align: center;
	padding: clamp(14px, 3.4vmin, 30px) clamp(14px, 4vmin, 34px); border-radius: 18px; gap: clamp(6px, 1.6vmin, 14px);
	background: radial-gradient(ellipse at 50% 0%, rgba(255,214,110,.22) 0%, rgba(255,214,110,0) 60%), linear-gradient(180deg, #1a2f6c 0%, #0a1434 100%);
	box-shadow: 0 0 0 2px #0a1434, 0 0 0 5px var(--altin2), 0 0 0 7px #0a1434, 0 20px 50px rgba(0,0,0,.6), 0 0 60px rgba(255,200,60,.2);
	font-size: clamp(13px, 2.4vmin, 17px);
}
.panel.goster{ display: flex; animation: panelGel .45s cubic-bezier(.3,1.4,.5,1); }
@keyframes panelGel{ from{ opacity: 0; transform: translateY(18px) scale(.82); } to{ opacity: 1; transform: none; } }
/* dönen ışın zemini (bankacı, başlangıç, kazanç) */
.panel.isinli{ overflow: hidden; }
.panel.isinli::before{
	content: ""; position: absolute; left: 50%; top: 40%; width: 180%; aspect-ratio: 1; pointer-events: none; z-index: 0;
	background: repeating-conic-gradient(from 0deg, rgba(255,226,138,.07) 0deg 9deg, rgba(255,226,138,0) 9deg 22deg);
	transform: translate(-50%, -50%); animation: panelIsin 40s linear infinite;
	-webkit-mask: radial-gradient(circle, #000 10%, transparent 65%); mask: radial-gradient(circle, #000 10%, transparent 65%);
}
@keyframes panelIsin{ to{ transform: translate(-50%, -50%) rotate(360deg); } }
.panel.isinli > *{ position: relative; z-index: 1; }
.baslik{ font-family: 'Bebas Neue', sans-serif; font-size: clamp(28px, 6.5vmin, 50px); letter-spacing: .04em; color: var(--altin1); line-height: 1; text-shadow: 0 3px 0 var(--altin3); }
.yazi{ margin: 0; line-height: 1.45; }
.yazi b{ color: var(--altin1); }
.teklif-yazi{ text-transform: uppercase; letter-spacing: .12em; font-size: .78em; color: var(--soluk); font-weight: 600; }
.teklif.vurgu{ animation: teklifGel .8s cubic-bezier(.3,1.6,.5,1); }
@keyframes teklifGel{
	0%{ transform: scale(.3); filter: drop-shadow(0 3px 0 rgba(0,0,0,.5)) brightness(2); }
	60%{ transform: scale(1.08); filter: drop-shadow(0 3px 0 rgba(0,0,0,.5)) drop-shadow(0 0 22px rgba(255,214,110,.9)); }
	100%{ transform: none; filter: drop-shadow(0 3px 0 rgba(0,0,0,.5)); }
}
.teklif{
	font-family: 'Bebas Neue', sans-serif; font-size: clamp(42px, 11vmin, 92px); line-height: .95; letter-spacing: .02em;
	background: linear-gradient(180deg, #fff7d0 0%, var(--altin1) 35%, var(--altin2) 70%, var(--altin3) 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 0 rgba(0,0,0,.5));
}
.not{ font-size: .86em; color: rgba(255,255,255,.75); font-style: italic; min-height: 1.2em; }
.soru{ font-family: 'Bebas Neue', sans-serif; font-size: clamp(22px, 4.6vmin, 36px); letter-spacing: .05em; color: #fff; }
.secim{ display: flex; gap: clamp(8px, 2vmin, 16px); width: 100%; }
.secim .b{ flex: 1; }
.b{
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1em;
	min-height: clamp(44px, 9vmin, 66px); padding: .3em 1em; border-radius: 14px;
	font-family: 'Bebas Neue', sans-serif; font-size: clamp(22px, 4.4vmin, 34px); letter-spacing: .06em; line-height: 1;
	transition: transform .12s, filter .12s;
}
.b small{ font-family: 'Poppins', sans-serif; font-size: max(10px, .36em); letter-spacing: .02em; opacity: .85; font-weight: 600; }
.b:hover{ filter: brightness(1.12); transform: translateY(-2px); }
.b:active{ transform: translateY(1px); }
.b.altin{ background: linear-gradient(180deg, var(--altin1), var(--altin2) 55%, #c4860f); color: #3b2300; box-shadow: 0 0 0 2px #fff3c2, 0 5px 0 var(--altin3), 0 8px 16px rgba(0,0,0,.45); }
.b.koyu{ background: linear-gradient(180deg, #2a4a90, #142a62); color: var(--altin1); box-shadow: 0 0 0 2px rgba(255,214,110,.6), 0 5px 0 #0a1434, 0 8px 16px rgba(0,0,0,.45); }
.b.yesil{ background: linear-gradient(180deg, #4fe08a, #17994a); color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.35); box-shadow: 0 0 0 2px #c9ffd9, 0 5px 0 #0c5a2a, 0 8px 16px rgba(0,0,0,.45); }
.b.kirmizi{ background: linear-gradient(180deg, #ff6b5e, #c0171d); color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.35); box-shadow: 0 0 0 2px #ffd0c9, 0 5px 0 #6d0a0e, 0 8px 16px rgba(0,0,0,.45); }

/* başlangıç */
.panel.baslangic{ background: radial-gradient(ellipse at 50% 30%, rgba(255,214,110,.28) 0%, rgba(255,214,110,0) 60%), linear-gradient(180deg, #1a2f6c 0%, #0a1434 100%); }
.panel.baslangic .b{ width: min(100%, 320px); }
.logo-buyuk{ display: flex; flex-direction: column; align-items: center; line-height: .86; font-family: 'Bebas Neue', sans-serif; transform: rotate(-3deg); margin: .1em 0 .2em; }
.logo-buyuk .l1, .logo-buyuk .l2{ animation: logoGel .7s cubic-bezier(.3,1.5,.5,1) both; }
.logo-buyuk .l2{ animation-delay: .14s; }
@keyframes logoGel{ from{ opacity: 0; transform: translateY(-60%) scale(1.6); } to{ opacity: 1; transform: none; } }
.mini-kutular{ display: flex; gap: clamp(10px, 2.4vmin, 18px); margin: .1em 0 .2em; }
.mini-kutular i{
	position: relative; width: clamp(36px, 7.5vmin, 56px); aspect-ratio: 1.22; border-radius: 12%; font-style: normal; overflow: hidden;
	display: flex; align-items: center; justify-content: center; padding-top: 18%;
	font-family: 'Bebas Neue', sans-serif; font-size: clamp(14px, 2.8vmin, 21px); color: #7d0d12;
	background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 26%), linear-gradient(90deg, #a8700e 0%, #f0c654 16%, #fff0b0 34%, #f5cf5e 50%, #dba224 70%, #a8700e 100%);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.5), 0 0 0 1px #6b4405, 0 6px 10px rgba(0,0,0,.5);
	animation: miniYuz 2.6s ease-in-out infinite;
}
.mini-kutular i::before{ content: ""; position: absolute; left: 0; right: 0; top: 30%; height: 2px; background: rgba(90,50,0,.5); }
.mini-kutular i b{ background: #fff; border-radius: .5em; padding: .05em .35em 0; box-shadow: 0 0 0 1.5px #7d0d12; font-weight: 400; line-height: 1.05; }
.mini-kutular i:nth-child(2){ animation-delay: -.9s; }
.mini-kutular i:nth-child(3){ animation-delay: -1.7s; }
@keyframes miniYuz{ 0%, 100%{ transform: translateY(0) rotate(-3deg); } 50%{ transform: translateY(-7px) rotate(3deg); } }
.logo-buyuk .l1{ font-size: clamp(46px, 12vmin, 96px); color: var(--altin1); text-shadow: 0 4px 0 var(--altin3), 0 8px 18px rgba(0,0,0,.6), 0 0 30px rgba(255,200,60,.45); }
.logo-buyuk .l2{ font-size: clamp(46px, 12vmin, 96px); color: #fff; text-shadow: 0 4px 0 #7d0d12, 0 8px 18px rgba(0,0,0,.6), 0 0 30px rgba(255,80,60,.45); }
.alt-yazi{ margin: 0; color: rgba(255,255,255,.75); font-size: .88em; }
.istatistik{ display: flex; gap: 1.4em; color: var(--soluk); font-size: .9em; }
.istatistik b{ color: var(--altin1); }

/* bankacı */
.telefon{
	width: clamp(52px, 11vmin, 84px); aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	background: radial-gradient(circle at 35% 30%, #3a3a3a, #000); box-shadow: 0 0 0 3px var(--altin2), 0 0 24px rgba(255,200,60,.45);
}
.telefon i{
	width: 55%; height: 55%;
	background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffe28a' d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E");
}
.telefon{ position: relative; }
.telefon::before, .telefon::after{
	content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,214,110,.8); opacity: 0; pointer-events: none;
}
.banka.caliyor .telefon::before{ animation: halka 1.1s ease-out infinite; }
.banka.caliyor .telefon::after{ animation: halka 1.1s ease-out .55s infinite; }
@keyframes halka{ from{ transform: scale(1); opacity: .9; } to{ transform: scale(2.1); opacity: 0; } }
.banka.caliyor .baslik::after{ content: ""; display: inline-block; width: 1.2em; text-align: left; animation: noktalar 1.2s steps(4) infinite; }
@keyframes noktalar{ 0%{ content: ""; } 25%{ content: "."; } 50%{ content: ".."; } 75%{ content: "..."; } }
.banka.caliyor .telefon{ animation: zil .5s linear infinite; }
.banka:not(.caliyor) .secim .b.yesil{ animation: nefesYesil 1.8s ease-in-out infinite; }
.banka:not(.caliyor) .secim .b.kirmizi{ animation: nefesKirmizi 1.8s ease-in-out .9s infinite; }
@keyframes nefesYesil{ 50%{ box-shadow: 0 0 0 2px #c9ffd9, 0 5px 0 #0c5a2a, 0 8px 16px rgba(0,0,0,.45), 0 0 22px rgba(79,224,138,.7); } }
@keyframes nefesKirmizi{ 50%{ box-shadow: 0 0 0 2px #ffd0c9, 0 5px 0 #6d0a0e, 0 8px 16px rgba(0,0,0,.45), 0 0 22px rgba(255,107,94,.7); } }
@keyframes zil{ 0%,100%{ transform: rotate(0); } 15%{ transform: rotate(-14deg); } 35%{ transform: rotate(14deg); } 55%{ transform: rotate(-10deg); } 75%{ transform: rotate(8deg); } }
#banka-govde{ display: flex; flex-direction: column; align-items: center; gap: inherit; width: 100%; }
.banka.caliyor #banka-govde{ display: none; }
.banka.son .soru::after{ content: " (son teklif)"; font-size: .6em; color: var(--soluk); letter-spacing: .02em; }

/* sonuç */
.panel.sonuc.kazandi{ box-shadow: 0 0 0 2px #0a1434, 0 0 0 5px var(--altin1), 0 0 0 7px #0a1434, 0 20px 50px rgba(0,0,0,.6), 0 0 90px rgba(255,200,60,.45); }
.panel.sonuc.kazandi::before{ background: repeating-conic-gradient(from 0deg, rgba(255,226,138,.16) 0deg 9deg, rgba(255,226,138,0) 9deg 22deg); animation-duration: 18s; }
.panel.sonuc.kaybetti .baslik{ color: #c9d4ee; text-shadow: 0 3px 0 #33405f; }
.panel.sonuc.kaybetti .teklif{ background: linear-gradient(180deg, #ffffff 0%, #c9d4ee 50%, #7f8db0 100%); -webkit-background-clip: text; background-clip: text; }
.rekor-yazi{ margin: 0; font-weight: 800; color: #7dffb0; min-height: 0; }
.rekor-yazi:empty{ display: none; }

/* nasıl oynanır */
.panel.nasil{ width: min(94vw, 560px); text-align: left; }
.panel.nasil .baslik{ align-self: center; }
.kaydir{ overflow-y: auto; min-height: 0; flex: 1; padding-right: 4px; font-size: .92em; line-height: 1.5; }
.kaydir p{ margin: 0 0 .7em; }
.kaydir b{ color: var(--altin1); }
.kisayol{ color: var(--soluk); }
.panel.nasil > .b{ align-self: center; min-width: 160px; }

/* inceleme kipi: sonuçtan sonra kutular açık görünür */
body.inceleme #durum{ color: #fff; }

/* dar üst şerit: logo küçülür */
body.dar #ust-logo{ font-size: calc(var(--ust) * .44); line-height: .95; white-space: normal; max-width: 7.5em; }
body.dar #ust-logo span{ display: block; }

/* ---------- büyük kutu açılışı (#buyuk) ---------- */
#buyuk{
	position: fixed; inset: 0; z-index: 45; display: none; flex-direction: column; align-items: center; justify-content: center;
	gap: calc(var(--bw) * .06); cursor: pointer;
	--bw: min(72vw, 64vh, 440px);
}
#buyuk.acik{ display: flex; }
#buyuk::before{ /* karartma: kutudan ayrı solar, kutu yerine dönerken görünür kalır */
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(circle at 50% 46%, rgba(40,70,160,.55) 0%, rgba(2,5,16,.9) 62%);
	opacity: 0; transition: opacity .35s;
}
#buyuk.gorunur::before{ opacity: 1; }
.b-sahne{ position: relative; margin-top: calc(var(--bw) * .1); width: var(--bw); height: calc(var(--bw) / 1.22); perspective: calc(var(--bw) * 2.4); }
.b-kutu{ position: absolute; inset: 0; transform-style: preserve-3d; }
.b-govde, .b-kapak{
	position: absolute; left: 0; right: 0;
	background:
		linear-gradient(180deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,0) 30%),
		linear-gradient(90deg, #b07a12 0%, #f3cd5d 18%, #ffeaa0 38%, #e4ad2a 60%, #b07a12 100%);
	box-shadow: inset 0 0 0 2px rgba(255,255,255,.45), inset 0 -6px 0 rgba(90,50,0,.35), 0 0 0 2px #6b4405;
}
.b-govde{
	top: 30%; bottom: 0; border-radius: 0 0 calc(var(--bw) * .05) calc(var(--bw) * .05);
	box-shadow: inset 0 0 0 2px rgba(255,255,255,.45), inset 0 -6px 0 rgba(90,50,0,.35), 0 0 0 2px #6b4405, 0 calc(var(--bw) * .05) calc(var(--bw) * .09) rgba(0,0,0,.6);
}
.b-kapak{
	top: 0; height: 32%; left: -2%; right: -2%; border-radius: calc(var(--bw) * .05) calc(var(--bw) * .05) calc(var(--bw) * .015) calc(var(--bw) * .015);
	transform-origin: 50% 0; z-index: 2;
	background:
		linear-gradient(180deg, rgba(255,255,255,.65) 0%, rgba(255,255,255,0) 45%),
		linear-gradient(90deg, #c08a1a 0%, #f7d76c 18%, #fff0b4 38%, #ebb733 60%, #c08a1a 100%);
}
.b-govde, .b-kapak{ --k: calc(var(--bw) * .09); }
.b-govde{
	background:
		radial-gradient(circle at 0 100%, #8b5a07 0 var(--k), transparent calc(var(--k) + 1px)),
		radial-gradient(circle at 100% 100%, #8b5a07 0 var(--k), transparent calc(var(--k) + 1px)),
		linear-gradient(180deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 30%, rgba(0,0,0,0) 70%, rgba(80,40,0,.3) 100%),
		linear-gradient(90deg, #a8700e 0%, #f0c654 16%, #fff0b0 34%, #f5cf5e 50%, #dba224 70%, #a8700e 100%);
}
.b-kapak{
	background:
		radial-gradient(circle at 0 0, #95620a 0 var(--k), transparent calc(var(--k) + 1px)),
		radial-gradient(circle at 100% 0, #95620a 0 var(--k), transparent calc(var(--k) + 1px)),
		linear-gradient(180deg, rgba(255,255,255,.65) 0%, rgba(255,255,255,0) 45%, rgba(90,50,0,.2) 100%),
		linear-gradient(90deg, #b47d14 0%, #f7d76c 16%, #fff3c0 34%, #f9d870 50%, #e6b030 70%, #b47d14 100%);
}
.b-kapak::after{ /* kapak tutamağı */
	content: ""; position: absolute; left: 38%; right: 38%; top: -16%; height: 22%; border-radius: calc(var(--bw) * .03) calc(var(--bw) * .03) 0 0;
	border: calc(var(--bw) * .014) solid #6b4405; border-bottom: 0;
}
.b-govde::before{ /* kapak açılınca içten gelen ışık */
	content: ""; position: absolute; left: 4%; right: 4%; top: -40%; height: 80%; border-radius: 50%; pointer-events: none;
	background: radial-gradient(ellipse at 50% 60%, rgba(255,246,200,.95) 0%, rgba(255,214,110,.5) 35%, rgba(255,214,110,0) 70%);
	opacity: 0; transform: scaleY(.3); transition: opacity .25s, transform .4s;
}
#buyuk.acildi .b-govde::before{ opacity: 1; transform: none; }
.b-kapak .no{ display: none; }
/* açılış flaşı ve sarsıntı */
#buyuk::after{ content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; }
#buyuk.flas-iyi::after{ background: radial-gradient(circle at 50% 45%, rgba(125,255,176,.35), rgba(125,255,176,0) 60%); animation: flas .9s ease-out; }
#buyuk.flas-kotu::after{ background: radial-gradient(circle at 50% 45%, rgba(255,60,50,0) 25%, rgba(255,40,30,.45) 100%); animation: flas 1s ease-out; }
#buyuk.flas-notr::after{ background: radial-gradient(circle at 50% 45%, rgba(255,240,200,.35), rgba(255,240,200,0) 55%); animation: flas .7s ease-out; }
@keyframes flas{ 0%{ opacity: 0; } 15%{ opacity: 1; } 100%{ opacity: 0; } }
#buyuk.sars .b-sahne{ animation: sars .5s linear; }
@keyframes sars{
	0%, 100%{ transform: none; } 12%{ transform: translate(-3%, 1%) rotate(-2deg); } 25%{ transform: translate(3%, -1%) rotate(2deg); }
	38%{ transform: translate(-2.5%, 1%) rotate(-1.5deg); } 52%{ transform: translate(2%, 0) rotate(1deg); } 70%{ transform: translate(-1%, 0); } 85%{ transform: translate(.5%, 0); }
}
/* parçacıklar (JS) */
.parcacik{ position: fixed; border-radius: 2px; pointer-events: none; box-shadow: 0 0 6px rgba(255,255,255,.5); }
/* konfeti tuvali */
#konfeti{ position: fixed; inset: 0; width: 100%; height: 100%; z-index: 47; pointer-events: none; display: none; }
.b-govde .no{
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	min-width: 46%; padding: .04em .3em 0; border-radius: .55em; text-align: center;
	background: #fff; color: #7d0d12; box-shadow: 0 0 0 calc(var(--bw) * .012) #7d0d12, 0 2px 4px rgba(0,0,0,.5);
	font-family: 'Bebas Neue', sans-serif; font-size: calc(var(--bw) * .2); line-height: 1.05;
}
.b-ic{
	position: absolute; left: 6%; right: 6%; top: -16%; height: 58%; z-index: 3;
	display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: calc(var(--bw) * .04);
	font-weight: 800; color: #fff; text-shadow: 0 2px 2px rgba(0,0,0,.55); line-height: 1;
	box-shadow: 0 0 0 calc(var(--bw) * .01) rgba(255,255,255,.85), 0 calc(var(--bw) * .03) calc(var(--bw) * .08) rgba(0,0,0,.6);
	opacity: 0; transform: translateY(40%) scale(.5);
}
.b-ic span{ font-size: calc(var(--bw) * .17); letter-spacing: -.01em; }
.b-ic.uzun span{ font-size: calc(var(--bw) * .135); }
.b-ic small{ font-size: calc(var(--bw) * .065); font-weight: 600; opacity: .9; margin-top: .25em; }
.b-ic.dusuk{ background: linear-gradient(180deg, var(--mavi1), var(--mavi2)); }
.b-ic.yuksek{ background: linear-gradient(180deg, var(--kirmizi1), var(--kirmizi2)); }
.b-ic.yuksek.zirve{ background: linear-gradient(180deg, var(--altin1), var(--altin2)); color: #3b2300; text-shadow: 0 1px 0 rgba(255,255,255,.5); }

/* bekleme: kutu giderek sertleşen titreme, kapak hafifçe zıplar */
#buyuk.bekle .b-kutu{ animation: bTitre var(--bekle) ease-in forwards; }
#buyuk.bekle .b-kapak{ animation: bKapakZipla .16s ease-in-out infinite alternate; }
@keyframes bTitre{
	0%{ transform: none; } 10%{ transform: rotate(-.8deg); } 20%{ transform: rotate(.8deg); } 30%{ transform: rotate(-1.4deg); }
	40%{ transform: rotate(1.4deg); } 50%{ transform: rotate(-2deg) scale(1.01); } 58%{ transform: rotate(2.4deg) scale(1.02); }
	66%{ transform: rotate(-2.8deg) scale(1.03); } 73%{ transform: rotate(3deg) scale(1.04); } 80%{ transform: rotate(-3.4deg) scale(1.05); }
	86%{ transform: rotate(3.6deg) scale(1.06); } 91%{ transform: rotate(-3.6deg) scale(1.07); } 96%{ transform: rotate(3deg) scale(1.08); }
	100%{ transform: rotate(0) scale(1.08); }
}
@keyframes bKapakZipla{ from{ transform: translateY(0); } to{ transform: translateY(-2.5%) rotateX(6deg); } }

/* açılış: kapak arkaya savrulur, para plakası içinden fırlar, arkada ışınlar döner */
#buyuk.acildi .b-kutu{ transform: scale(1.08); transition: transform .3s; }
#buyuk.acildi .b-kapak{ animation: bKapakAc .55s cubic-bezier(.3,.6,.4,1) forwards; }
@keyframes bKapakAc{
	0%{ transform: none; opacity: 1; }
	100%{ transform: translateY(-75%) rotateX(80deg) rotateZ(-7deg); opacity: 0; }
}
#buyuk.acildi .b-ic{ opacity: 1; transform: none; transition: opacity .2s .08s, transform .5s cubic-bezier(.3,1.6,.5,1) .08s; }
.b-isin{
	position: absolute; left: 50%; top: 46%; width: calc(var(--bw) * 1.9); aspect-ratio: 1; pointer-events: none;
	transform: translate(-50%, -50%) scale(.3); opacity: 0; transition: opacity .4s, transform .6s cubic-bezier(.2,.9,.3,1);
	-webkit-mask: radial-gradient(circle, #000 15%, transparent 62%); mask: radial-gradient(circle, #000 15%, transparent 62%);
}
.b-isin i{
	position: absolute; inset: 0; border-radius: 50%;
	background: repeating-conic-gradient(from 0deg, rgba(255,226,138,.24) 0deg 7deg, rgba(255,226,138,0) 7deg 20deg);
	animation: bIsinDon 9s linear infinite;
}
@keyframes bIsinDon{ to{ transform: rotate(360deg); } }
#buyuk.acildi .b-isin{ opacity: 1; transform: translate(-50%, -50%) scale(1); }
#buyuk:not(.gorunur) .b-isin{ opacity: 0; transition-duration: .2s; }

.b-tepki{
	min-height: 1em; font-family: 'Bebas Neue', sans-serif; font-size: min(calc(var(--bw) * .17), 13vw); letter-spacing: .04em; line-height: 1;
	opacity: 0; transform: scale(.6); text-shadow: 0 3px 0 rgba(0,0,0,.6), 0 0 .5em currentColor; white-space: nowrap;
}
.b-tepki.iyi{ color: #7dffb0; }
.b-tepki.kotu{ color: #ff6b5e; }
#buyuk.acildi .b-tepki{ opacity: 1; transform: none; transition: opacity .25s .25s, transform .4s cubic-bezier(.3,1.6,.5,1) .25s; }
.b-gec{
	position: absolute; bottom: max(10px, 3vh); left: 0; right: 0; text-align: center;
	font-size: clamp(11px, 1.8vmin, 14px); color: rgba(255,255,255,.55); letter-spacing: .05em; opacity: 0; transition: opacity .3s .3s;
}
#buyuk.gorunur .b-gec{ opacity: 1; }
#buyuk:not(.gorunur) .b-tepki{ opacity: 0; transition: opacity .15s; }

/* hareket azaltma isteyen kullanıcılar: sürekli animasyonlar kapalı */
@media (prefers-reduced-motion: reduce){
	#isiklar i, #toz i, #ust::after, .kutu::after, .kutu.ipucu, .para.zirve::after, .para.zirve::before, .mini-kutular i, .panel.isinli::before, .b-isin i{ animation: none !important; }
	#toz{ display: none; }
}
