:root {
  --void: #070102;
  --pit: #120203;
  --dried: #4a0508;
  --blood: #8a0b10;
  --blood-hi: #d4141c;
  --ember: #ff5a1f;
  --ember-hi: #ffb347;
  --bone: #eadcd5;
  --ash: #8c7a75;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --gutter: clamp(16px, 5vw, 64px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--void); }
body {
  margin: 0; background: var(--void); color: var(--bone);
  font-family: var(--serif); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; height: 100svh; }
body.shake { animation: shake .6s cubic-bezier(.36,.07,.19,.97); }
@keyframes shake { 10%,90%{transform:translate(-2px,1px)} 20%,80%{transform:translate(4px,-2px)} 30%,50%,70%{transform:translate(-7px,3px)} 40%,60%{transform:translate(7px,-3px)} }
a { color: inherit; }
::selection { background: var(--blood); color: #fff; }

/* ---------- atmosfer katmanları ---------- */
#embers { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; }
.grain { position: fixed; inset: -50%; z-index: 41; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-5%,3%)} 40%{transform:translate(3%,-6%)} 60%{transform:translate(-2%,5%)} 80%{transform:translate(6%,-2%)} 100%{transform:translate(0,0)} }
.vignette { position: fixed; inset: 0; z-index: 39; pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, transparent 45%, rgba(0,0,0,.75) 100%); }

/* ---------- fitil ---------- */
#fuse { position: fixed; left: 10px; top: 0; bottom: 0; width: 4px; z-index: 45; pointer-events: none; opacity: 0; transition: opacity 1.2s; }
body.lit #fuse { opacity: 1; }
#fuse .rope { position: absolute; left: 0; right: 0; bottom: 0; background: repeating-linear-gradient(180deg, var(--blood) 0 6px, var(--dried) 6px 9px); box-shadow: 0 0 6px rgba(212,20,28,.5); }
#fuse .ash { position: absolute; left: 1px; right: 1px; top: 0; background: linear-gradient(#222 0, #3a3332 100%); opacity: .5; }
#fuse .spark { position: absolute; left: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0, var(--ember-hi) 25%, var(--ember) 45%, transparent 70%); animation: spark .12s infinite alternate; }
@keyframes spark { from { transform: scale(.8) rotate(0) } to { transform: scale(1.25) rotate(40deg) } }
.fuse-tip { position: absolute; left: 14px; white-space: nowrap; font: 12px/1 var(--display); letter-spacing: .12em; color: var(--ember-hi); transform: translateY(-50%); opacity: .85; }

.ghost-btn { position: fixed; top: max(14px, env(safe-area-inset-top)); right: 16px; z-index: 60; background: transparent; border: 1px solid rgba(234,220,213,.25);
  color: var(--ash); font: 12px/1 var(--display); letter-spacing: .2em; padding: 8px 12px; border-radius: 99px; cursor: pointer; text-transform: uppercase; opacity: 0; transition: opacity 1s; }
body.lit .ghost-btn { opacity: 1; }
.ghost-btn:hover { color: var(--bone); border-color: var(--blood-hi); }
#demo-badge { position: fixed; bottom: 12px; right: 12px; z-index: 60; font: 11px var(--display); letter-spacing: .2em; color: #000; background: var(--ember-hi); padding: 5px 8px; border-radius: 3px; }

/* ---------- butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 26px; border-radius: 2px;
  font: 16px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .3s, background .3s; border: 0; }
.btn:active { transform: scale(.97); }
.btn-fire { background: linear-gradient(180deg, var(--blood-hi), var(--blood)); color: #fff; box-shadow: 0 0 0 1px #ff3b2f55, 0 10px 40px -10px var(--blood-hi); }
.btn-fire:hover { box-shadow: 0 0 0 1px var(--ember), 0 10px 60px -6px var(--ember); }
.btn-fire:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--bone); border: 1px solid rgba(234,220,213,.3); }
.btn-ghost:hover { border-color: var(--blood-hi); color: #fff; }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 13px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 28px; }
.cta-row.left { justify-content: flex-start; }

/* ---------- 0. giriş ---------- */
#gate { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: #000; transition: opacity 1.6s ease, visibility 1.6s; touch-action: none; user-select: none; -webkit-user-select: none; }
#gate.gone { opacity: 0; visibility: hidden; }
#gate.flash { background: radial-gradient(circle at var(--fx,50%) var(--fy,50%), #ffb34755 0, #4a0508 25%, #000 60%); }
.gate-hint { position: absolute; top: 18%; width: 100%; text-align: center; font: 14px var(--display); letter-spacing: .5em; color: var(--ash); text-transform: uppercase; animation: breathe 2.4s ease-in-out infinite; }
.gate-sub { position: absolute; bottom: 9%; width: 100%; text-align: center; font-style: italic; color: #5d4f4c; font-size: 15px; }
@keyframes breathe { 50% { opacity: .35 } }
.matchbox { position: relative; width: min(78vw, 360px); aspect-ratio: 1.6; perspective: 900px; cursor: grab; }
.sleeve { position: absolute; inset: 0; background: linear-gradient(160deg, #2a0406, #120102 70%); border-radius: 6px; box-shadow: 0 30px 80px -20px #000, inset 0 0 0 1px #ffffff10; display: flex; flex-direction: column; overflow: hidden; z-index: 2; }
.striker { height: 18%; background: repeating-linear-gradient(90deg, #3a1d14 0 2px, #26120c 2px 4px), #2b140e; box-shadow: inset 0 0 8px #000; }
.striker#striker.hot { box-shadow: inset 0 0 18px var(--ember); }
.label { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-left: 3px solid var(--blood); border-right: 3px solid var(--blood); margin: 0 6%; }
.lbl-top { font: 11px var(--display); letter-spacing: .45em; color: var(--ember-hi); opacity: .8; }
.lbl-big { font: clamp(52px, 16vw, 86px)/0.9 var(--display); color: var(--blood-hi); text-shadow: 0 0 20px #d4141c66; letter-spacing: .06em; }
.lbl-bot { font-size: 10px; font-style: italic; color: #a0817a; }
.drawer { position: absolute; left: 4%; right: 4%; top: 8%; bottom: 8%; background: #1a0d08; border-radius: 3px; box-shadow: inset 0 0 20px #000; transition: transform .1s; z-index: 1; display: flex; align-items: center; justify-content: center; }
.match-row { display: flex; flex-direction: column; gap: 6%; width: 86%; height: 80%; justify-content: center; }
.match-row .m { position: relative; height: 7%; min-height: 5px; background: linear-gradient(#d9b98a, #a98458); border-radius: 2px; }
.match-row .m::before { content: ""; position: absolute; right: -2%; top: -60%; width: 9%; height: 220%; background: radial-gradient(circle at 40% 40%, #ff3b2f, #6b0508); border-radius: 45%; }
.held-match { position: fixed; z-index: 55; width: 120px; height: 14px; left: 0; top: 0; pointer-events: none; transform-origin: 100% 50%; }
.held-match .stick { position: absolute; inset: 3px 0 3px 14px; background: linear-gradient(#e3c595, #a98458); border-radius: 2px; }
.held-match .head { position: absolute; left: 0; top: -3px; width: 20px; height: 20px; border-radius: 45%; background: radial-gradient(circle at 40% 40%, #ff4b3f, #6b0508); }
.held-match .flame { position: absolute; left: -26px; top: -48px; width: 44px; height: 70px; opacity: 0; transform: scale(.2); transition: opacity .2s, transform .3s; filter: blur(.6px); }
.held-match.lit .flame { opacity: 1; transform: scale(1); }
.flame, .cursor-flame { background: radial-gradient(ellipse 35% 55% at 50% 70%, #fff6d0 0, #ffd36b 25%, #ff7a1f 50%, #d4141c88 70%, transparent 76%); border-radius: 50% 50% 45% 45% / 65% 65% 35% 35%; animation: flick .09s infinite alternate; mix-blend-mode: screen; }
@keyframes flick { from { transform: scale(1, 1) skewX(-2deg); } to { transform: scale(.94, 1.06) skewX(3deg); } }

/* ---------- ortak sahne ---------- */
#main { opacity: 0; transition: opacity 2s .3s; }
body.lit #main { opacity: 1; }
.scene { position: relative; min-height: 100svh; padding: 14vh var(--gutter); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.sec-title { font: clamp(48px, 10vw, 130px)/0.9 var(--display); color: var(--blood-hi); text-transform: uppercase; margin: 0 0 18px; letter-spacing: .01em; text-shadow: 0 0 40px #d4141c44; }
.sec-sub { max-width: 34em; margin: 0 auto; color: #cbb9b2; }
.privacy { font-size: 14px; color: var(--ash); font-style: italic; margin-top: 10px; }
.tiny { font-size: 13px; color: #6f5f5b; }

/* ---------- 1. kahraman ---------- */
#hero { background: radial-gradient(ellipse 70% 60% at 50% 110%, #4a050855, transparent 70%); }
.kicker { font: 14px var(--display); letter-spacing: .6em; color: var(--ash); text-transform: uppercase; margin: 0 0 clamp(10px, 3vw, 30px); position: relative; z-index: 1; }
.title { position: relative; font: clamp(160px, 42vw, 460px)/0.82 var(--display); margin: 0; color: var(--blood-hi); letter-spacing: -.01em;
  text-shadow: 0 0 30px #d4141c88, 0 0 120px #ff5a1f44; animation: titleflick 6s infinite; }
.title::after { content: attr(data-text); position: absolute; inset: 0; color: transparent; -webkit-text-stroke: 1px #ffb34766; filter: blur(1px); transform: translate(3px, -2px); mix-blend-mode: screen; }
@keyframes titleflick { 0%,100%{opacity:1} 3%{opacity:.75} 4%{opacity:1} 47%{opacity:1} 48%{opacity:.6} 49%{opacity:1} 50%{opacity:.85} 51%{opacity:1} }
.manifesto { font-size: clamp(22px, 3vw, 34px); line-height: 1.3; margin: 18px 0 34px; }
.manifesto em { color: #cbb9b2; }
.manifesto strong { color: #fff; font-weight: 600; font-style: italic; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 3vw, 34px); width: min(100%, 720px); }
.countdown div { display: flex; flex-direction: column; align-items: center; border-top: 1px solid #d4141c55; padding-top: 10px; }
.countdown b { font: clamp(40px, 9vw, 96px)/1 var(--display); color: var(--bone); font-variant-numeric: tabular-nums; }
.countdown span { font: 11px var(--display); letter-spacing: .35em; color: var(--ash); text-transform: uppercase; margin-top: 6px; }
.censor-line { font: clamp(22px, 4.5vw, 52px)/1.1 var(--display); letter-spacing: .06em; margin: 36px 0 8px; color: var(--bone); display: flex; flex-wrap: wrap; justify-content: center; gap: .35em; }
.censor { display: inline-flex; gap: .04em; }
.censor i { font-style: normal; display: inline-block; min-width: .55em; text-align: center; }
.censor i.bar { background: var(--bone); color: transparent; }
.censor i.sp { min-width: .35em; }
.censor i.lit { color: var(--ember-hi); text-shadow: 0 0 12px var(--ember), 0 0 30px var(--blood-hi); animation: letterburn 1.4s infinite alternate; }
@keyframes letterburn { to { color: var(--blood-hi); text-shadow: 0 0 6px var(--ember); } }
.well-depth { color: var(--ash); font-style: italic; margin: 6px 0 0; }
.well-depth b { color: var(--bone); font-style: normal; }

/* ---------- 2. karanlık ---------- */
.dark-scene { min-height: 120svh; overflow: hidden; cursor: none; touch-action: pan-y; }
.dark-content { position: absolute; inset: 0; }
.scrawl { position: absolute; margin: 0; font: clamp(28px, 4.6vw, 64px)/1 var(--hand); color: var(--blood-hi); transform: rotate(var(--r, -4deg)); text-shadow: 0 0 2px #000; opacity: .95; }
.scrawl.small { font-size: clamp(20px, 2.6vw, 34px); color: #b8a49d; }
.scrawl.date { font-family: var(--display); color: var(--bone); letter-spacing: .08em; }
.s1 { left: 8%; top: 10%; --r: -6deg } .s2 { right: 9%; top: 18%; --r: 5deg; text-align: right }
.s3 { left: 14%; top: 44%; --r: 3deg } .s4 { right: 12%; top: 52%; --r: -3deg; text-align: right } .s4 span { color: var(--bone) }
.s5 { left: 36%; top: 78%; --r: -2deg } .s6 { left: 50%; top: 30%; transform: translateX(-50%) rotate(-1deg); font-size: clamp(34px, 6vw, 80px) }
.s7 { left: 6%; top: 66%; --r: 4deg; font-size: clamp(22px, 3vw, 40px) } .s8 { right: 6%; top: 82%; --r: 6deg; text-align: right } .s9 { left: 58%; top: 8%; --r: -8deg }
.darkness { position: absolute; inset: 0; background: #000; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at var(--x, 50%) var(--y, 50%), transparent 0, transparent var(--r, 0px), #000 calc(var(--r, 0px) + 130px));
          mask-image: radial-gradient(circle at var(--x, 50%) var(--y, 50%), transparent 0, transparent var(--r, 0px), #000 calc(var(--r, 0px) + 130px)); }
.darkness::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), #ff7a1f22 0, transparent calc(var(--r, 0px) + 160px)); }
.cursor-flame { position: absolute; width: 34px; height: 56px; margin: -46px 0 0 -17px; pointer-events: none; left: var(--x, 50%); top: var(--y, 50%); opacity: 0; transition: opacity .3s, width .4s, height .4s, margin .4s; }
.dark-scene.lit .cursor-flame { opacity: 1; }
.cursor-flame.big { width: 90px; height: 150px; margin: -125px 0 0 -45px; }
.dark-ui { position: absolute; left: 0; right: 0; bottom: 6vh; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 var(--gutter); cursor: auto; }
.dark-hint { font-style: italic; color: var(--ash); margin: 0; }
.dark-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.blow-msg { font: clamp(28px, 5vw, 56px)/1 var(--display); color: var(--ember-hi); text-shadow: 0 0 20px var(--ember); min-height: 1em; margin: 0; letter-spacing: .04em; }

/* ---------- 3. kuyu ---------- */
#kuyu { position: relative; height: 420svh; }
.well-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.well-walls { position: absolute; inset: 0; display: grid; place-items: center; --p: 0; }
.ring { position: absolute; width: 140vmax; height: 140vmax; border-radius: 50%;
  box-shadow: inset 0 0 0 calc(10vmax) rgba(0,0,0,.0), inset 0 0 12vmax 2vmax rgb(calc(20 + var(--p) * 160) calc(4 + var(--p) * 10) 6 / .9);
  border: 1px solid rgb(calc(40 + var(--p) * 200) 10 10 / .25); transform: scale(var(--s, 1)); }
.well-walls::after { content: ""; position: absolute; width: 30vmin; height: 30vmin; border-radius: 50%; background: radial-gradient(circle, rgb(255 calc(90 + var(--p) * 60) 30 / calc(var(--p) * .9)) 0, rgb(212 20 28 / calc(var(--p) * .6)) 35%, transparent 70%); filter: blur(10px); }
.well-texts { position: relative; z-index: 2; width: min(90vw, 760px); height: 40svh; }
.well-texts p { position: absolute; inset: 0; margin: auto; height: fit-content; font-size: clamp(26px, 4.4vw, 54px); line-height: 1.15; opacity: 0; transform: translateY(30px) scale(.98); transition: opacity .7s, transform .9s; text-shadow: 0 2px 30px #000; }
.well-texts p.on { opacity: 1; transform: none; }
.well-texts em { color: var(--ash); }
.well-texts strong { color: var(--blood-hi); font-weight: 600; }
.well-meter { position: absolute; right: var(--gutter); bottom: 5vh; font: 14px var(--display); letter-spacing: .3em; color: var(--ash); }
.well-meter span { color: var(--bone); font-size: 28px; }

/* ---------- el sahnesi ---------- */
.hand-scene { overflow: hidden; background: radial-gradient(ellipse 60% 40% at 50% 110%, #8a0b1066, transparent 70%); justify-content: flex-start; padding-top: 10vh; min-height: 110svh; }
.hand-top, .hand-bottom { position: absolute; left: 50%; width: clamp(90px, 16vw, 150px); pointer-events: none; transition: transform .25s ease-out; }
.hand-top svg, .hand-bottom svg { width: 100%; height: auto; display: block; }
.hand-top { top: -2%; transform: translate(-50%, 0) rotate(180deg); filter: drop-shadow(0 0 18px #d4141c55); }
.hand-top path { fill: #2a0a0b; }
.hand-bottom { bottom: 0; transform: translate(-50%, calc(70% + var(--lift, 0px))); filter: drop-shadow(0 -6px 22px #ff5a1f55); z-index: 1; }
.hand-bottom.fall { transition: transform 1.6s cubic-bezier(.55,0,.9,.4), opacity 1.6s; transform: translate(-50%, 140%) rotate(14deg) scale(.7); opacity: .2; }
.hand-bottom.saved { transition: transform 2.4s cubic-bezier(.4,0,.2,1), opacity 2.4s; transform: translate(-50%, -110vh); opacity: 0; }
.pit-glow { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: radial-gradient(ellipse 50% 100% at 50% 100%, #ff7a1f 0, #d4141c 30%, transparent 70%); opacity: .25; pointer-events: none; transition: opacity 1s, height 1s; }
.pit-glow.roar { opacity: 1; height: 70%; animation: roar .3s infinite alternate; }
@keyframes roar { to { filter: brightness(1.3) blur(2px); } }
.hand-ui { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 22vh; }
.hand-text { font-size: clamp(26px, 4.6vw, 58px); line-height: 1.1; margin: 0; min-height: 2.3em; max-width: 14em; text-shadow: 0 2px 30px #000; transition: color .3s; }
.hand-text.cold { color: var(--bone); font-style: italic; }
.hand-text.order { font-family: var(--display); color: var(--blood-hi); font-size: clamp(70px, 16vw, 200px); line-height: 1; text-shadow: 0 0 40px var(--blood-hi); letter-spacing: .02em; }
.hold-btn { position: relative; width: 132px; height: 132px; border-radius: 50%; border: 1px solid #ff3b2f66; background: radial-gradient(circle, #2a0406, #070102); color: var(--bone);
  font: 22px var(--display); letter-spacing: .3em; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.hold-btn .ring-prog { position: absolute; inset: -6px; border-radius: 50%; background: conic-gradient(var(--blood-hi) calc(var(--hp, 0) * 1turn), transparent 0); -webkit-mask: radial-gradient(circle, transparent 62px, #000 63px); mask: radial-gradient(circle, transparent 62px, #000 63px); }
.hold-btn.holding { box-shadow: 0 0 60px -6px var(--blood-hi); }
.hold-btn.release { animation: pulse .5s infinite alternate; border-color: var(--ember); }
@keyframes pulse { to { box-shadow: 0 0 90px 0 var(--ember); } }
.hand-sub { margin: 0; color: var(--ash); font-style: italic; }
.hand-stat { margin: 0; font-size: 18px; color: #cbb9b2; min-height: 1.5em; max-width: 26em; }

/* ---------- 4. yazdıkça sildin ---------- */
.paper-wrap { position: relative; width: min(92vw, 540px); aspect-ratio: 540 / 760; margin-top: 30px; }
.paper { position: absolute; inset: 0; background: #e8dccb url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='p'><feTurbulence baseFrequency='.04' numOctaves='4'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .32  0 0 0 0 .2  0 0 0 .35 0'/></filter><rect width='100%' height='100%' filter='url(%23p)'/></svg>");
  box-shadow: 0 40px 80px -30px #000, inset 0 0 80px #6b3a1a55; transform: rotate(-1.2deg); color: #2a0a0b; text-align: left; }
.paper textarea, .paper-text { position: absolute; inset: 9% 10%; width: 80%; height: 82%; font: clamp(26px, 5vw, 36px)/1.35 var(--hand); color: #2a0a0b; background: transparent; border: 0; resize: none; outline: none; padding: 0; margin: 0; white-space: pre-wrap; word-wrap: break-word; }
.paper textarea { color: transparent; caret-color: #8a0b10; }
.paper textarea::placeholder { color: #2a0a0b66; }
.paper-text .ghost { animation: erase 1.1s forwards; }
@keyframes erase { to { opacity: 0; filter: blur(4px); letter-spacing: .3em; } }
#burn-canvas { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-1.2deg); }
.after-burn { font: clamp(26px, 4vw, 44px)/1.1 var(--display); color: var(--ember-hi); letter-spacing: .04em; min-height: 1em; }

/* ---------- 5. sustum ---------- */
.big-number { font: clamp(90px, 24vw, 320px)/0.85 var(--display); color: var(--bone); margin: 0; font-variant-numeric: tabular-nums; text-shadow: 0 0 60px #d4141c33; }
.big-caption { font-size: clamp(30px, 5vw, 64px); font-style: italic; margin: 0 0 20px; color: var(--blood-hi); }
.me-too-count { color: var(--ash); font-style: italic; min-height: 1.5em; }

/* ---------- 6. ayna ---------- */
.mirror { position: relative; width: min(92vw, 420px); aspect-ratio: 3 / 4; margin-top: 30px; border-radius: 50% 50% 4px 4px / 30% 30% 4px 4px; overflow: hidden; background: #050101; box-shadow: 0 0 0 1px #d4141c44, 0 0 80px -20px #d4141c; display: grid; place-items: center; }
.mirror video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); filter: grayscale(1) contrast(1.5) brightness(.75); opacity: 0; transition: opacity 2s; }
.mirror.on video { opacity: 1; }
.mirror-tint { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, transparent 20%, #000 85%), #8a0b10; mix-blend-mode: multiply; pointer-events: none; }
.mirror-whisper { position: absolute; left: 8%; right: 8%; bottom: 10%; margin: 0; font-size: clamp(24px, 5vw, 34px); font-style: italic; color: #fff; text-shadow: 0 0 20px #000, 0 0 2px #000; opacity: 0; transition: opacity 2s; }
.mirror-whisper.on { opacity: 1; }
.mirror.on #mirror-btn { display: none; }

/* ---------- 7. kibrit yığını ---------- */
#pile { width: min(100%, 900px); height: auto; margin-top: 24px; }
.pile-count { font: clamp(40px, 8vw, 90px)/1 var(--display); margin: 10px 0; }
.pile-count b { color: var(--ember-hi); text-shadow: 0 0 30px var(--ember); font-weight: 400; }
.unlocks { list-style: none; padding: 0; margin: 10px auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; width: min(100%, 820px); }
.unlocks li { border: 1px solid #ffffff1a; padding: 14px 10px; text-align: center; font-size: 16px; color: var(--ash); position: relative; }
.unlocks li b { display: block; font: 24px var(--display); color: var(--bone); letter-spacing: .04em; }
.unlocks li.open { border-color: var(--ember); color: var(--bone); box-shadow: inset 0 0 30px #ff5a1f33; }
.unlocks li.open::after { content: "AÇILDI"; position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: var(--ember); color: #000; font: 10px var(--display); letter-spacing: .25em; padding: 2px 6px; }
.unlocked-box { width: min(100%, 720px); margin: 10px auto; }
.unlocked-box .item { border-left: 2px solid var(--blood-hi); padding: 10px 16px; margin: 12px 0; text-align: left; }
.unlocked-box .item h4 { margin: 0 0 6px; font: 14px var(--display); letter-spacing: .3em; color: var(--ember-hi); }

/* ---------- 8. kart ---------- */
.card-maker { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; align-items: center; margin-top: 30px; width: 100%; }
#card { width: min(70vw, 300px); height: auto; box-shadow: 0 30px 80px -20px #000, 0 0 0 1px #ffffff14; }
.card-controls { display: flex; flex-direction: column; gap: 18px; text-align: left; width: min(100%, 340px); }
.card-controls label { display: flex; flex-direction: column; gap: 6px; font: 13px var(--display); letter-spacing: .2em; color: var(--ash); text-transform: uppercase; }
.card-controls small { text-transform: none; letter-spacing: 0; font-family: var(--serif); }
select, input { font: 20px var(--serif); background: #120203; color: var(--bone); border: 1px solid #ffffff26; padding: 10px 12px; border-radius: 2px; width: 100%; }
select:focus, input:focus, textarea:focus { outline: 2px solid var(--blood-hi); outline-offset: 2px; }

/* ---------- 9. dinle ---------- */
.embeds { display: grid; gap: 20px; width: min(100%, 860px); margin: 20px auto; }
.embed { min-height: 152px; border: 1px dashed #ffffff22; display: grid; place-items: center; color: var(--ash); font-style: italic; }
.embed iframe { width: 100%; border: 0; display: block; }
.throw { width: min(100%, 860px); margin: 40px auto 0; }
.throw h3 { font: clamp(36px, 7vw, 80px)/1 var(--display); color: var(--blood-hi); margin: 0 0 8px; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 16px 0; }
.chips button { background: transparent; color: var(--bone); border: 1px solid #ffffff2a; border-radius: 99px; padding: 8px 14px; font: 17px var(--serif); cursor: pointer; }
.chips button:hover { border-color: var(--ember); }
.throw-form { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; }
#pit { width: 100%; height: auto; margin-top: 12px; }
.word-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; color: #6f5f5b; font-style: italic; }
.word-wall span { text-decoration: line-through; text-decoration-color: var(--blood); }

.foot { padding: 60px var(--gutter) 80px; text-align: center; color: var(--ash); border-top: 1px solid #ffffff10; }
.foot b { color: var(--blood-hi); font-family: var(--display); letter-spacing: .1em; font-weight: 400; }
.foot .links a { margin: 0 10px; color: var(--bone); }

/* ---------- çıkış anı ---------- */
body.released #hero .countdown, body.released .censor-line, body.released .well-depth { display: none; }
.inferno { position: fixed; inset: 0; z-index: 48; pointer-events: none; background: radial-gradient(circle at 50% 100%, #fff3c0 0, #ff7a1f 20%, #d4141c 45%, #4a0508 70%, transparent 90%); animation: inferno 3.2s forwards; }
@keyframes inferno { 0% { opacity: 0; transform: scale(.4) translateY(40%) } 15% { opacity: 1 } 60% { opacity: .9; transform: scale(1.6) } 100% { opacity: 0; transform: scale(2) } }

@media (max-width: 640px) {
  #fuse { left: 5px; width: 3px; }
  .fuse-tip { display: none; }
  .scrawl { font-size: 30px; }
  .s6 { font-size: 40px; top: 34%; }
  .s9 { left: 40%; top: 4%; }
  .s3 { top: 42%; left: 6%; } .s5 { left: 20%; }
  .countdown span { letter-spacing: .15em; font-size: 10px; }
  .throw-form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .title, .flame, .cursor-flame, #fuse .spark { animation: none; }
  html { scroll-behavior: auto; }
}

/* =================================================================
   v2 — sinematik katman: dokulu yazı, karakter, 3B sarma, gerçek eller
   ================================================================= */
:root { --noble: "Cinzel", "Trajan Pro", Georgia, serif; --brush: "Yuji Syuku", serif;
  --fire-fill: linear-gradient(176deg, #ffe2a8 0%, #ff8a3d 16%, #e8231c 38%, #a10a10 62%, #4a0508 100%); }

/* --- dokulu, yanık yazılar --- */
.title { font-family: var(--display); color: transparent; background: var(--fire-fill); -webkit-background-clip: text; background-clip: text;
  text-shadow: none; filter: url(#burnt) drop-shadow(0 0 24px rgba(212,20,28,.55)) drop-shadow(0 0 80px rgba(255,90,31,.25)); letter-spacing: .02em; }
.title::after { content: none; }
.sec-title, .throw h3 { font-family: var(--noble); font-weight: 900; letter-spacing: .03em; color: transparent; background: var(--fire-fill); -webkit-background-clip: text; background-clip: text;
  text-shadow: none; filter: url(#burnt) drop-shadow(0 0 18px rgba(212,20,28,.45)); line-height: .95; }
.kicker { font-family: var(--noble); font-weight: 700; letter-spacing: .55em; color: #b8a49d; }
.countdown b { font-family: var(--noble); font-weight: 900; color: var(--bone); filter: url(#burnt); }
.countdown span, .well-meter, .lbl-top, .fuse-tip { font-family: var(--noble); font-weight: 700; }
.censor-line { font-family: var(--noble); font-weight: 900; letter-spacing: .08em; filter: url(#burnt); }
.btn { font-family: var(--noble); font-weight: 700; letter-spacing: .16em; }
.btn-fire { background: linear-gradient(180deg, #e3241c, #7a0a0e); box-shadow: 0 0 0 1px #ff6a3a66 inset, 0 14px 50px -12px #ff3b1f; }
.big-number { font-family: var(--noble); font-weight: 900; filter: url(#burnt); }
.pile-count, .hand-text.order, .after-burn, .blow-msg { font-family: var(--noble); font-weight: 900; }
.scrawl { font-family: var(--hand); font-weight: 700; filter: url(#ink); text-shadow: 0 0 1px #6b0508, 0 0 14px rgba(212,20,28,.35); }
.manifesto { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 36px); }

/* --- kahraman: karakter sağda, yazı solda --- */
.hero { overflow: hidden; align-items: flex-start; text-align: left; padding-top: 12vh; background: none; }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 55% 70% at 72% 70%, rgba(212,20,28,.42), transparent 70%), radial-gradient(ellipse 80% 40% at 50% 112%, rgba(255,90,31,.35), transparent 70%); }
.hero-stage { position: absolute; inset: 0; perspective: 1400px; pointer-events: none; z-index: 1; }
.hero-fig { position: absolute; right: 1vw; bottom: -6svh; height: 112svh; aspect-ratio: 1129 / 1700; transform-style: preserve-3d; transform-origin: 70% 55%;
  transform: translateX(var(--tx, 0px)) rotateY(var(--ry, -10deg)) rotateX(var(--rx, 0deg)); will-change: transform;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%); }
.fig { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.8s ease; }
.fig.ready { opacity: 1; }
.hero-copy { position: relative; z-index: 3; width: min(640px, 54vw); }
.hero .countdown { width: 100%; }
.hero .censor-line, .hero .cta-row { justify-content: flex-start; }
.kanji { position: absolute; left: calc(var(--gutter) * .4); top: 10vh; z-index: 2; writing-mode: vertical-rl; font: clamp(60px, 9vw, 150px)/1 var(--brush);
  color: rgba(212,20,28,.22); filter: url(#ink); pointer-events: none; letter-spacing: .1em; }
.hero .kicker, .hero .title, .hero .manifesto, .hero .countdown, .hero .censor-line, .hero .well-depth, .hero .cta-row { margin-left: clamp(0px, 6vw, 90px); }

/* --- bakış: göz kapakları gibi açılan sinematik kare --- */
#bakis { position: relative; height: 230svh; }
.gaze-sticky { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.gaze-frame { width: 100vw; aspect-ratio: 2688 / 960; max-height: 86svh; overflow: hidden; clip-path: inset(var(--clip, 49%) 0); transition: clip-path .1s linear; }
.gaze-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1.25)); display: block; }
.gaze-line { position: absolute; left: 0; right: 0; text-align: center; margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(28px, 4.4vw, 64px); opacity: 0; transition: opacity 1s, transform 1.2s; transform: translateY(20px); text-shadow: 0 2px 30px #000; }
.gaze-line.on { opacity: 1; transform: none; }
.gaze-line.l1 { top: 9svh; } .gaze-line.l2 { bottom: 9svh; }
.gaze-line b { font-family: var(--noble); font-style: normal; font-weight: 900; color: var(--blood-hi); filter: url(#burnt); }

/* --- karanlıkta kibritli figür --- */
.dark-fig { position: absolute; right: 2vw; bottom: 0; height: 96%; width: auto; aspect-ratio: 961 / 1700; }
.darkness { z-index: 3; } .cursor-flame { z-index: 4; } .dark-ui { z-index: 5; }

/* --- kuyu arka planı --- */
.well-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: var(--wb, 0); transform: scale(calc(1.25 - var(--wb, 0) * .2)); filter: brightness(.75) saturate(1.1); }
.well-walls { mix-blend-mode: screen; }

/* --- el sahnesi: gerçek eller --- */
.hand-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: blur(3px) brightness(.8); pointer-events: none; }
.hand-top, .hand-bottom { width: clamp(170px, 22vw, 300px); }
.hand-top img, .hand-bottom img { width: 100%; height: auto; display: block; }
.hand-top { top: 0; transform: translate(-50%, -18%); filter: drop-shadow(0 10px 30px rgba(0,0,0,.8)); z-index: 2; }
.hand-bottom { bottom: 0; transform: translate(-50%, calc(64% + var(--lift, 0px))); filter: drop-shadow(0 -10px 40px rgba(255,90,31,.35)); }
.hand-bottom.fall { transform: translate(-50%, 150%) rotate(18deg) scale(.75); }
.hold-btn { font-family: var(--noble); font-weight: 900; background: radial-gradient(circle, rgba(42,4,6,.85), rgba(7,1,2,.9)); backdrop-filter: blur(4px); }
.hand-ui { margin-top: 30vh; }

@media (max-width: 800px) {
  .hero { text-align: center; align-items: center; padding-top: 10vh; }
  .hero-copy { width: 100%; }
  .hero .kicker, .hero .title, .hero .manifesto, .hero .countdown, .hero .censor-line, .hero .well-depth, .hero .cta-row { margin-left: 0; }
  .hero .censor-line, .hero .cta-row { justify-content: center; }
  .hero-fig { right: 50%; height: 92svh; bottom: 0; opacity: .5; --tx: 50%; }
  .hero-copy p, .hero-copy .countdown { text-shadow: 0 2px 16px #000; }
  .kanji { font-size: 54px; top: 4vh; }
  .dark-fig { right: 50%; transform: translateX(50%); height: 80%; opacity: .9; }
  .hand-ui { margin-top: 26vh; }
}
.hero .title { font-size: clamp(150px, 19vw, 320px); width: fit-content; padding: 0 .06em; }
@media (max-width: 800px) { .hero .title { font-size: clamp(130px, 40vw, 260px); margin-left: auto; margin-right: auto; } }
.s2 { right: auto; left: 30%; top: 15%; text-align: left; } .s9 { left: 44%; top: 4%; }
@media (max-width: 800px) { .s2 { left: 8%; top: 22%; } }

/* CSP: satır içi stil yerine sınıflar */
.svg-defs { position: absolute; }
.unl-media { max-width: 100%; }
.now-live { font-family: var(--display); font-style: normal; color: var(--ember-hi); letter-spacing: .1em; }
.yt-frame { aspect-ratio: 16/9; height: auto; }
.home-back { color: var(--ash); text-decoration: none; border-bottom: 1px solid #ffffff22; }
.home-back:hover { color: var(--ember-hi); }

/* Tarih henüz belli değilken (config.js → release boş) geri sayım yerine */
.countdown.soon { display: block; border-top: 1px solid #d4141c55; padding-top: 12px; }
.countdown .cd-soon { margin: 0; font: 900 clamp(34px, 7vw, 80px)/1 var(--noble); letter-spacing: .12em; color: var(--bone); filter: url(#burnt); }
