/* PAYON sinematik ara geçişler — sinema.js ile */
html.sx-kilit, html.sx-kilit body { overflow: hidden; }
.sx { --ink: #1F1A15; --kir: #B8432F; --krem: #FFF6E6; --kehr: #F0A23B; --nane: #19B77C;
  position: fixed; inset: 0; z-index: 100; overflow: hidden; display: grid; place-items: center; color: var(--ink); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.sx-ic { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; padding: 0 22px; }
.sx-b { margin: 18px 0 0; font-family: var(--serif, "Fraunces", Georgia, serif); font-weight: 600; font-variation-settings: "opsz" 72, "SOFT" 50; font-size: clamp(26px, 7.4vw, 34px); line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; }
.sx-a { margin: 8px 0 0; max-width: 30ch; font-size: 15px; line-height: 1.45; opacity: .72; text-wrap: balance; }
.sx-b, .sx-a { opacity: 0; animation: sx-yuk .7s cubic-bezier(.2, .8, .2, 1) .35s forwards; } .sx-a { animation-delay: .5s; animation-name: sx-yuk2; }
.od { display: inline-flex; font-variant-numeric: tabular-nums; line-height: 1; vertical-align: top; }
.od-c { display: inline-block; height: 1em; overflow: hidden; line-height: 1; } .od-s { display: inline-block; line-height: 1; }
.od-k { display: flex; flex-direction: column; transform: translateY(0); } .od-k i { display: block; height: 1em; line-height: 1; font-style: normal; }
.sx.go .od-k { transform: translateY(calc(var(--n) * -1em)); transition: transform 1.7s cubic-bezier(.16, .8, .15, 1) calc(var(--i) * .11s + .25s); }

/* ───── MENÜ: gingham örtü, çay bardağı */
.sx-menu { background: #FBF1E2; }
.sx-menu .orgu { position: absolute; inset: -4%; z-index: 1;
  background-color: #FBF1E2; background-image: linear-gradient(90deg, rgba(184, 67, 47, .26) 50%, transparent 0), linear-gradient(0deg, rgba(184, 67, 47, .26) 50%, transparent 0); background-size: 72px 72px;
  box-shadow: inset 0 0 120px rgba(31, 26, 21, .16); }
.sx-menu .sx-ic { color: var(--ink); } .sx-menu .sx-b { text-shadow: 0 2px 0 #FBF1E2, 0 0 18px #FBF1E2; } .sx-menu .sx-a { opacity: .9; text-shadow: 0 0 12px #FBF1E2; font-weight: 600; }
.cay { width: min(248px, 64vw); height: auto; overflow: visible; filter: drop-shadow(0 18px 18px rgba(31, 26, 21, .18)); animation: cy-gir .9s cubic-bezier(.2, 1.2, .3, 1) both; }
.cy-golge { fill: rgba(31, 26, 21, .16); }
.cy-su { transform: translateY(112px); animation: cy-dol 1.75s cubic-bezier(.45, .1, .25, 1) .45s forwards; }
.cy-dalga { fill: #F0A55A; opacity: .7; animation: cy-dalga 1.4s linear infinite; }
.cy-parilti { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; opacity: .55; }
.cy-buhar path { fill: none; stroke: rgba(31, 26, 21, .5); stroke-width: 3; stroke-linecap: round; opacity: 0; animation: cy-buhar 2.4s ease-in-out infinite; animation-delay: calc(2s + var(--i, 0s)); } .cy-buhar path:nth-child(2) { animation-delay: 2.5s; } .cy-buhar path:nth-child(3) { animation-delay: 3s; }
.cy-kasik rect, .cy-kasik ellipse { fill: #1F1A15; }
.cy-seker { animation: cy-seker 2.3s cubic-bezier(.4, 0, .5, 1) .2s forwards; transform: translate(54px, 176px); }
.cy-seker rect { fill: #fff; stroke: #1F1A15; stroke-width: 2.4; } .cy-seker path { fill: none; stroke: #C8BBA4; stroke-width: 1.6; stroke-linecap: round; }
.cy-hale { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 2.4; opacity: 0; transform-box: fill-box; transform-origin: center; animation: cy-hale .9s ease-out 1.95s forwards; }
.sx-menu.sx-cik { animation: sx-orgu-cek 1s cubic-bezier(.7, 0, .2, 1) forwards; box-shadow: 30px 0 60px rgba(31, 26, 21, .3); transform-origin: 0 100%; }
.sx-menu.sx-cik .sx-ic { animation: sx-sol .35s ease-in forwards; }

/* ───── ADİSYON: fiş yazıcıdan çıkar */
.sx-adisyon { background: radial-gradient(120% 90% at 50% 0%, #3a2f27 0%, #1F1A15 62%); color: #F7EEDD; place-items: stretch; }
.sx-adisyon .sx-ic { justify-content: center; min-height: 100%; padding-top: 4vh; }
.kil { position: relative; width: min(76vw, 300px); height: min(46dvh, 380px); overflow: hidden; }
.rc { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 18px 16px; background: #fff; color: var(--ink); text-align: left; transform: translateY(104%); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .35)); }
.sx.go .rc { animation: rc-yaz 2.3s steps(30, end) .2s forwards; }
.rc-b { display: flex; flex-direction: column; align-items: center; gap: 2px; padding-bottom: 6px; } .rc-b em { font-family: var(--serif, Georgia, serif); font-style: normal; font-weight: 800; font-size: 24px; letter-spacing: .12em; } .rc-b span { font-size: 11px; font-weight: 700; letter-spacing: .2em; opacity: .55; }
.rc-n { border-top: 2px dashed #D8CDB9; margin: 6px 0; }
.rc-s { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; } .rc-s b { height: 7px; border-radius: 4px; background: var(--ink); } .rc-s u { width: 26%; height: 7px; border-radius: 4px; background: #B9AE9C; }
.rc-t { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0 2px; font-weight: 800; letter-spacing: .08em; font-size: 13px; }
.rc-t strong { font-family: var(--serif, Georgia, serif); font-weight: 700; font-size: 30px; letter-spacing: -.01em; color: var(--kir); } .rc-t b { width: 40%; height: 14px; border-radius: 7px; background: var(--kir); }
.rc-k { text-align: center; font-size: 10px; font-weight: 700; letter-spacing: .26em; opacity: .5; padding-top: 10px; }
.pr { position: relative; z-index: 3; width: min(88vw, 340px); height: 40px; border-radius: 14px; background: linear-gradient(#5b4e43, #2d2520 70%); box-shadow: 0 14px 28px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .15); }
.pr .agiz { position: absolute; left: 10%; right: 10%; top: -3px; height: 6px; border-radius: 3px; background: #0b0907; }
.pr .led { position: absolute; right: 14px; bottom: 11px; width: 9px; height: 9px; border-radius: 50%; background: var(--kehr); box-shadow: 0 0 10px var(--kehr); animation: pr-led .5s steps(2) 5; animation-delay: .3s; animation-fill-mode: forwards; }
.sx-adisyon .sx-b { color: #FFF6E6; } .sx-adisyon .sx-a { color: #FFF6E6; opacity: .62; }
.sx-adisyon.sx-cik .rc { animation: rc-yirt .85s cubic-bezier(.6, 0, .85, .45) forwards; } .sx-adisyon.sx-cik { animation: sx-sol-a .55s ease-in .4s forwards; } .sx-adisyon.sx-cik .pr, .sx-adisyon.sx-cik .sx-b, .sx-adisyon.sx-cik .sx-a { animation: sx-sol-a .3s ease-in forwards; }

/* ───── GEÇİŞ: temassız kart okutulur */
.sx-gecis { background: radial-gradient(110% 80% at 50% 20%, #34406a 0%, #1b2037 60%, #11141f); color: #E9EEFF; }
.tm { position: relative; width: min(220px, 56vw); aspect-ratio: 220 / 330; border-radius: 28px; background: linear-gradient(160deg, #41485f, #20253a); box-shadow: 0 30px 60px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .2); transform: rotate(-3deg) scale(.92); opacity: 0; animation: tm-gir .65s cubic-bezier(.2, 1.2, .3, 1) forwards; }
.tm-ekran { position: absolute; left: 12px; right: 12px; top: 14px; height: 40%; border-radius: 16px; background: #0b2a21; color: #8CFFD0; padding: 12px; display: flex; flex-direction: column; justify-content: space-between; text-align: left; overflow: hidden; }
.tm-e1 { font-size: 9px; letter-spacing: .2em; opacity: .7; } .tm-tutar { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 700; font-size: 30px; letter-spacing: -.02em; line-height: 1; }
.tm-ok { position: absolute; inset: 0; background: #0b2a21; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; opacity: 0; font-size: 9px; letter-spacing: .2em; } .tm-ok svg { width: 38px; height: 38px; fill: none; stroke: #8CFFD0; stroke-width: 1.8; stroke-linecap: round; }
.sx.go .tm-ok { animation: tm-ok .4s ease-out 1.45s forwards; }
.tm-nfc { position: absolute; left: 50%; bottom: 17%; width: 62px; height: 62px; margin-left: -31px; display: grid; place-items: center; color: rgba(255, 255, 255, .55); } .tm-nfc svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.tm-nfc i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--nane); opacity: 0; } .sx.go .tm-nfc i { animation: tm-halka 1s ease-out 1.15s infinite; } .tm-nfc i:nth-child(2) { animation-delay: 1.35s !important; } .tm-nfc i:nth-child(3) { animation-delay: 1.55s !important; }
.tm-led { position: absolute; left: 50%; bottom: 7%; width: 40px; height: 6px; margin-left: -20px; border-radius: 3px; background: var(--kehr); box-shadow: 0 0 12px var(--kehr); } .sx.go .tm-led { animation: tm-led .2s ease-out 1.3s forwards; }
.kt { position: absolute; left: 14%; top: 56%; width: 76%; aspect-ratio: 1.586; border-radius: 12px; background: linear-gradient(130deg, #D5573C, #8E2A1B); color: #FFE9D6; padding: 10px 12px; display: flex; flex-direction: column; justify-content: space-between; text-align: left; box-shadow: 0 16px 30px rgba(0, 0, 0, .5); transform: translate(60%, 170%) rotate(14deg); opacity: 0; }
.kt b { font-family: var(--serif, Georgia, serif); letter-spacing: .14em; font-size: 15px; } .kt span { font-size: 9px; letter-spacing: .16em; opacity: .8; } .kt-chip { width: 26px; height: 19px; border-radius: 4px; background: linear-gradient(135deg, #F7D98A, #C9A24B); }
.sx.go .kt { animation: kt-okut 1.2s cubic-bezier(.3, .7, .2, 1) .35s forwards; } .sx.go .tm { animation: tm-gir .65s cubic-bezier(.2, 1.2, .3, 1) forwards, tm-vur .25s ease-out 1.22s; }
.sx-gecis .sx-b { color: #fff; margin-top: 34px; } .sx-gecis .sx-a { color: #CFD6F6; }
.sx-gecis.sx-cik { animation: sx-patla .4s ease-in forwards; }

/* ───── ÖDENDİ: damga, sarsıntı, konfeti */
.sx-odendi { background: radial-gradient(90% 70% at 50% 38%, #26CC93, #0E7A52 75%); color: #FFF6E6; }
.sars { position: relative; width: 100%; height: 190px; display: grid; place-items: center; } .sx.go .sars { animation: od-sars .5s linear .62s; }
.sx-damga { position: relative; z-index: 3; padding: 8px 22px 6px; border: 6px solid #FFF6E6; border-radius: 16px; transform: rotate(-8deg) scale(3.4); opacity: 0; box-shadow: 0 0 0 3px rgba(255, 246, 230, .35) inset; }
.sx-damga b { display: block; font-family: var(--serif, Georgia, serif); font-weight: 800; font-size: clamp(46px, 14vw, 64px); letter-spacing: .08em; line-height: 1; }
.sx.go .sx-damga { animation: od-damga .62s cubic-bezier(.5, 0, .9, .4) .05s forwards; }
.isin { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 1; } .isin i { position: absolute; left: 0; top: 0; width: 5px; height: var(--l); margin-left: -2.5px; border-radius: 3px; background: #FFF6E6; transform-origin: 50% 0; transform: rotate(var(--a)) translateY(60px) scaleY(0); opacity: 0; }
.sx.go .isin i { animation: od-isin .55s ease-out .64s forwards; }
.konf { position: absolute; left: 50%; top: 50%; z-index: 2; } .konf i { position: absolute; width: var(--s); height: var(--s); margin: calc(var(--s) / -2); border-radius: var(--b); background: var(--c); opacity: 0; }
.sx.go .konf i { animation: od-konf var(--t) cubic-bezier(.1, .75, .3, 1) calc(.64s + var(--w)) forwards; }
.od-tut { margin-top: 26px; font-family: var(--serif, Georgia, serif); font-weight: 700; font-variation-settings: "opsz" 144; font-size: clamp(44px, 13vw, 62px); line-height: 1; opacity: 0; } .sx.go .od-tut { animation: sx-yuk .5s ease-out 1.05s forwards; }
.sx-odendi .sx-b { margin-top: 14px; animation-delay: 1.2s; } .sx-odendi .sx-a { animation-delay: 1.35s; }
.sx-odendi.sx-cik { animation: sx-sol-a .3s ease-in forwards; }

/* ───── SOLARİ TABELASI (doğrulama; sayfaya gömülü) */
.sxb { margin: 8px 0 0; }
.sxb-tab { display: grid; gap: 7px; padding: 18px 12px; border-radius: 20px; background: #15110e; box-shadow: 0 22px 44px -18px rgba(31, 26, 21, .6), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.sxb-s { display: grid; grid-template-columns: repeat(18, 1fr); gap: 3px; }
.fl { position: relative; display: block; aspect-ratio: 5 / 7; background: linear-gradient(#2c2520 50%, #221d19 50%); border-radius: 3px; color: #F7EEDD; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 700; font-size: clamp(14px, 4.4vw, 19px); display: grid; place-items: center; line-height: 1; transform-origin: 50% 50%; overflow: hidden; }
.fl::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #0b0907; box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.fl.fp { animation: sx-fp .22s linear; }
.sxb-amb .fl { color: #FFC857; } .sxb-sol .fl { color: #9BE7C8; }
.sxb-a { margin: 16px 4px 0; font-size: 14px; line-height: 1.45; text-align: center; color: var(--mute, #7A6E62); text-wrap: balance; }

@keyframes sx-yuk { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes sx-yuk2 { from { opacity: 0; transform: translateY(14px); } to { opacity: .72; transform: none; } }
@keyframes cy-gir { from { opacity: 0; transform: translateY(40px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes cy-dol { to { transform: translateY(0); } }
@keyframes cy-dalga { to { transform: translateX(-60px); } }
@keyframes cy-buhar { 0% { opacity: 0; transform: translateY(8px); } 35% { opacity: .75; } 100% { opacity: 0; transform: translateY(-14px); } }
@keyframes cy-seker { 0%, 22% { transform: translate(54px, 176px) rotate(0); } 48% { transform: translate(70px, 40px) rotate(-24deg); } 68% { transform: translate(100px, 78px) rotate(-8deg); opacity: 1; } 84% { transform: translate(100px, 104px) rotate(0) scale(.7); opacity: 1; } 100% { transform: translate(100px, 112px) scale(.2); opacity: 0; } }
@keyframes cy-hale { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes sx-orgu-cek { 0% { transform: none; } 18% { transform: translate(2%, 0) rotate(.6deg); } 100% { transform: translate(-118%, -8%) rotate(-5deg); } }
@keyframes sx-sol { to { opacity: 0; transform: translateX(-30px) scale(.9); } }
@keyframes sx-sol-a { to { opacity: 0; } }
@keyframes rc-yaz { from { transform: translateY(104%); } to { transform: translateY(0); } }
@keyframes rc-yirt { 0% { transform: translateY(0); } 25% { transform: translateY(6px) rotate(1deg); } 100% { transform: translate(14px, -130dvh) rotate(-6deg); } }
@keyframes pr-led { 50% { background: var(--nane); box-shadow: 0 0 10px var(--nane); } }
@keyframes tm-gir { from { opacity: 0; transform: translateY(40px) rotate(-8deg) scale(.8); } to { opacity: 1; transform: rotate(-3deg) scale(1); } }
@keyframes tm-vur { 40% { transform: rotate(-3deg) scale(.96); } }
@keyframes kt-okut { 0% { opacity: 0; transform: translate(60%, 170%) rotate(14deg); } 18% { opacity: 1; } 62% { opacity: 1; transform: translate(0, 6%) rotate(-2deg); } 100% { opacity: 1; transform: translate(0, -8%) rotate(0); } }
@keyframes tm-halka { 0% { opacity: .9; transform: scale(.5); } 100% { opacity: 0; transform: scale(2.6); } }
@keyframes tm-led { to { background: var(--nane); box-shadow: 0 0 16px var(--nane); } }
@keyframes tm-ok { to { opacity: 1; } }
@keyframes sx-patla { to { opacity: 0; transform: scale(1.5); background: #fff; } }
@keyframes od-damga { 0% { opacity: 0; transform: rotate(-8deg) scale(3.4); } 55% { opacity: 1; transform: rotate(-8deg) scale(.9); } 78% { transform: rotate(-8deg) scale(1.05); } 100% { opacity: 1; transform: rotate(-8deg) scale(1); } }
@keyframes od-sars { 0%, 100% { transform: none; } 12% { transform: translate(-9px, 5px); } 28% { transform: translate(8px, -6px); } 44% { transform: translate(-6px, -3px); } 60% { transform: translate(5px, 4px); } 80% { transform: translate(-2px, 1px); } }
@keyframes od-isin { 0% { opacity: .95; transform: rotate(var(--a)) translateY(52px) scaleY(0); } 40% { opacity: .95; transform: rotate(var(--a)) translateY(72px) scaleY(1); } 100% { opacity: 0; transform: rotate(var(--a)) translateY(150px) scaleY(.4); } }
@keyframes od-konf { 0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(.2); } 55% { opacity: 1; transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(1); } 100% { opacity: 0; transform: translate(var(--dx), calc(var(--dy) + 150px)) rotate(calc(var(--r) * 2)) scale(.9); } }
@keyframes sx-fp { 0% { transform: rotateX(0); } 50% { transform: rotateX(-90deg); } 50.01% { transform: rotateX(90deg); } 100% { transform: rotateX(0); } }

@media (prefers-reduced-motion: reduce) {
  .sx *, .fl { animation: none !important; transition: none !important; }
  .sx-b, .sx-a, .od-tut, .cay, .tm { opacity: 1; } .sx-a { opacity: .72; } .cy-su, .rc { transform: none; } .od-k { transform: translateY(calc(var(--n) * -1em)); }
  .sx-damga { opacity: 1; transform: rotate(-8deg); } .konf, .isin { display: none; } .kt { opacity: 1; transform: translate(0, -8%); } .tm-ok { opacity: 1; } .tm { transform: rotate(-3deg); }
}
