/* =========================================================
   RuhunuSat — stil
   Komedi: sakin, eski usul piksel + el çizimi, gün batımı
   (sarı → turuncu → kızıl) ──► Korku: gece (siyah/kemik/kan)
   ========================================================= */
:root {
  /* gün batımı paleti */
  --k: #3b1a14;          /* mürekkep */
  --paper: #fff8e7;
  --paper-2: #fdeccd;
  --crimson: #c8372d;
  --crimson-dark: #8f2420;
  --orange: #e8862a;
  --sun: #f7c948;
  --sky-ink: #3b1a14;    /* gökyüzü üstündeki yazı rengi, JS değiştirir */
  --cloud: #fff3d6;
  --px: 4px;
  --pxb: 0 calc(-1 * var(--px)) 0 0 var(--k), 0 var(--px) 0 0 var(--k), calc(-1 * var(--px)) 0 0 0 var(--k), var(--px) 0 0 0 var(--k);

  /* korku paleti */
  --ink: #3b1a14;
  --red: #e63946;
  --red-dark: #b5212f;
  --bone: #d9d2c3;
  --bone-dim: #8d867a;
  --void: #060506;
  --blood: #8a0b0b;
  --lvl: 0;

  --f-pixel: 'Pixelify Sans', 'Courier New', monospace;
  --f-fun: 'Patrick Hand', 'Comic Sans MS', cursive;
  --f-serif: 'Cormorant Garamond', Georgia, serif;
  --f-mono: 'Courier Prime', 'Courier New', monospace;
  --f-hand: 'Caveat', cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
html, body { max-width: 100%; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
.sec-contract, .h-lead, .marquee { overflow: hidden; }

body {
  font-family: var(--f-fun);
  font-size: 1.12rem;
  background: #f3b766;
  color: var(--k);
  -webkit-font-smoothing: antialiased;
}
body.dark { background: var(--void); }
img, svg { display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
svg[shape-rendering] { image-rendering: pixelated; }

.hl {
  color: var(--crimson);
  background: linear-gradient(transparent 62%, rgba(247,201,72,.75) 62% 90%, transparent 90%);
  padding: 0 .08em;
}

/* ---------- giriş penceresi ---------- */
body.intro-open { overflow: hidden; }
.intro {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; padding: 20px;
  background: rgba(59,26,20,.55);
  backdrop-filter: blur(3px);
  transition: opacity .3s steps(3);
}
.intro.closing { opacity: 0; pointer-events: none; }
.intro-box {
  position: relative;
  width: min(540px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
  margin: var(--px);
  background: var(--paper); color: var(--k);
  box-shadow: var(--pxb), calc(var(--px) * 3) calc(var(--px) * 3) 0 0 rgba(59,26,20,.35);
  padding: 30px 28px 22px;
  animation: popin .3s steps(3);
}
.intro-ava { position: absolute; top: 22px; right: 24px; width: 46px; height: 46px; }
.intro-ava svg { width: 100%; height: 100%; }
.intro h2 { font-family: var(--f-pixel); font-weight: 600; font-size: 1.7rem; margin-bottom: 16px; padding-right: 56px; }
.intro ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.intro li { position: relative; padding-left: 20px; line-height: 1.35; }
.intro li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; background: var(--orange); }
.intro li:last-child::before { background: var(--crimson); }
.intro li b { font-family: var(--f-pixel); font-weight: 600; font-size: .95em; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 14px; }
.intro-fine { font-size: .85rem; opacity: .6; line-height: 1.3; }
@media (max-width: 560px) {
  .intro-box { padding: 24px 20px 18px; }
  .intro-actions .btn { flex: 1 1 100%; }
}

/* ---------- gün batımı katmanları ---------- */
#sky {
  position: fixed; inset: 0; z-index: -3;
  background: #ffeaa8;
}
#sun {
  position: fixed; left: 72%; top: 0; z-index: -2;
  width: min(34vmin, 300px); aspect-ratio: 1;
  transform: translate(-50%, 14vh);
  will-change: transform;
}
#sun svg { width: 100%; height: 100%; }
#clouds { position: fixed; inset: 0; z-index: -1; pointer-events: none; color: var(--cloud); }
.cloud { position: absolute; width: var(--w); animation: drift var(--dur) linear infinite alternate; opacity: .85; }
.cloud svg { width: 100%; height: auto; }
@keyframes drift { to { transform: translateX(18vw); } }
body.corrupt #sun { filter: grayscale(1) brightness(.55); }
body.corrupt #clouds { color: #b9a9a0; }

/* ---------- atmosfer (korku) ---------- */
#grain, #vignette, #flash { position: fixed; inset: 0; pointer-events: none; }
#grain {
  z-index: 90;
  opacity: calc(var(--lvl) * .13);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain .5s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0,0); } 25% { transform: translate(-30px,20px); }
  50% { transform: translate(20px,-30px); } 75% { transform: translate(-10px,-15px); }
}
#vignette {
  z-index: 89;
  opacity: var(--lvl);
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,.85) 100%);
}
#flash { z-index: 200; background: #fff; opacity: 0; transition: opacity .5s; }

#whisperText {
  position: fixed; inset: 0; z-index: 150; pointer-events: none;
  display: grid; place-items: center; text-align: center; padding: 24px;
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(2rem, 7vw, 5rem); color: var(--bone);
  opacity: 0; transition: opacity .4s;
  text-shadow: 0 0 30px var(--blood);
}
#whisperText.show { opacity: .9; }

body.flicker main, body.flicker .nav { filter: brightness(.15) contrast(1.4); }

/* ---------- nav (piksel pencere) ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 100;
  width: min(1100px, calc(100% - 32px));
  display: flex; align-items: center; gap: 18px;
  padding: 8px 12px 8px 14px;
  background: var(--paper);
  box-shadow: var(--pxb), 0 calc(var(--px) * 2) 0 0 rgba(59,26,20,.2);
  transition: background .8s, box-shadow .8s, color .8s;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-pixel); font-weight: 600; font-size: 1.25rem; }
.logo span { color: var(--k); transition: color .8s; }
.logo b { color: var(--crimson); font-weight: 600; }
.logo sup { font-size: .5em; }
.logo-mark { width: 30px; height: 30px; }
.logo-mark svg { width: 100%; height: 100%; }
.links { display: flex; gap: 22px; margin-left: auto; transition: opacity .8s; }
.links a { text-decoration: none; font-family: var(--f-pixel); font-size: .95rem; }
.links a:hover { color: var(--crimson); text-decoration: underline; text-underline-offset: 4px; }
.sound-btn {
  display: flex; align-items: center; gap: 8px;
  border: 0; background: var(--paper-2);
  box-shadow: 0 0 0 2px var(--k);
  padding: 5px 10px; font-family: var(--f-pixel); font-size: .8rem; color: var(--k);
  transition: background .8s, color .8s;
}
.sound-dot { width: 8px; height: 8px; background: #b9a08a; }
.sound-btn[aria-pressed="true"] .sound-dot { background: var(--crimson); animation: pulse 1.6s steps(2) infinite; }
@keyframes pulse { 50% { opacity: .3; } }

body.dark .nav { background: transparent; box-shadow: none; }
body.dark .links { opacity: 0; pointer-events: none; }
body.dark .logo { opacity: .5; }
body.dark .logo span { color: var(--bone); }
body.dark .logo-mark { filter: grayscale(1) brightness(.6); }
body.dark .sound-btn { background: transparent; color: var(--bone); box-shadow: 0 0 0 1px rgba(217,210,195,.3); font-family: var(--f-mono); }

/* ---------- butonlar (piksel) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin: var(--px);
  padding: 12px 22px;
  border: 0; border-radius: 0;
  font-family: var(--f-pixel); font-weight: 500; font-size: 1.05rem; text-decoration: none;
  box-shadow: var(--pxb), inset calc(-1 * var(--px)) calc(-1 * var(--px)) 0 0 rgba(0,0,0,.18);
  transition: transform .1s steps(2);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(2px); box-shadow: var(--pxb), inset var(--px) var(--px) 0 0 rgba(0,0,0,.18); }
.btn[hidden] { display: none; }
.btn-primary { background: var(--crimson); color: var(--paper); }
.btn-ghost { background: var(--paper); color: var(--k); }
.btn-blood {
  background: transparent; color: var(--bone);
  border: 2.5px solid var(--blood); margin: 0;
  box-shadow: none; font-family: var(--f-mono); letter-spacing: .05em; font-weight: 400;
  transition: background .2s, box-shadow .2s;
}
.btn-blood:hover { background: var(--blood); box-shadow: 0 0 30px rgba(138,11,11,.6); transform: none; }
.btn-blood small { opacity: .6; }
.btn[disabled] { opacity: .4; pointer-events: none; }

/* ---------- el çizimi kağıt ---------- */
.card, .quiz label, .quiz-result, .pay, .plan, .review {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--k);
  border-radius: 16px 5px 18px 4px / 5px 16px 4px 20px;
  box-shadow: 3px 4px 0 rgba(59,26,20,.22);
}
.card::before, .quiz-result::before, .pay::before, .plan::before, .review::before {
  content: ''; position: absolute; inset: -5px -3px -4px -6px;
  border: 1.5px solid var(--k); opacity: .3;
  border-radius: 6px 18px 5px 20px / 18px 4px 22px 6px;
  pointer-events: none;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 40px;
  padding: 130px max(24px, calc((100vw - 1100px) / 2)) 80px;
  transition: background 1s, filter 1s;
}
.eyebrow {
  display: inline-block; font-family: var(--f-pixel); font-size: .85rem;
  background: var(--sun); color: var(--k);
  box-shadow: 0 0 0 2px var(--k);
  padding: 4px 10px; margin-bottom: 24px;
}
.hero h1 { font-family: var(--f-pixel); font-weight: 600; font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.05; letter-spacing: -.01em; }
.lead { font-size: 1.3rem; line-height: 1.5; margin: 22px 0 30px; max-width: 34ch; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.trust { list-style: none; display: flex; gap: 30px; margin-top: 34px; flex-wrap: wrap; }
.trust li { display: flex; flex-direction: column; }
.trust b { font-family: var(--f-pixel); font-weight: 600; font-size: 1.6rem; }
.trust span { font-size: 1rem; opacity: .75; }
.tiny { font-size: .9rem; opacity: .6; margin-top: 22px; max-width: 52ch; line-height: 1.35; }

.hero-art { position: relative; display: grid; place-items: center; }
.mascot-btn { background: none; border: 0; animation: float 3.2s steps(2, jump-none) infinite; }
.mascot { display: block; width: min(320px, 62vw); aspect-ratio: 1; }
.mascot svg { width: 100%; height: 100%; }
@keyframes float { 50% { transform: translateY(-8px); } }
.shadow-blob { width: 46%; height: 10px; margin-top: 10px; background: rgba(59,26,20,.18); }

.bubble {
  position: absolute; top: 0; left: -4%; z-index: 2; max-width: 240px;
  background: var(--paper); margin: var(--px);
  box-shadow: var(--pxb);
  padding: 10px 14px; font-size: 1.1rem; line-height: 1.3;
}
.bubble::after {
  content: ''; position: absolute; right: 40px; bottom: -12px;
  width: 12px; height: 12px; background: var(--paper);
  box-shadow: calc(-1 * var(--px)) 0 0 0 var(--k), var(--px) 0 0 0 var(--k), 0 var(--px) 0 0 var(--k);
}
.bubble b { font-family: var(--f-pixel); font-weight: 600; }
.bubble small { display: block; font-size: .8rem; opacity: .5; }
.bubble.pop { transform: translateY(-3px); }

.scroll-hint {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  text-align: center; font-family: var(--f-pixel); font-size: .85rem;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.scroll-hint span { animation: bob 1.6s steps(2) infinite; font-size: 1.1rem; }
.scroll-hint small { font-family: var(--f-fun); font-size: .85rem; opacity: .6; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* bozulmuş hero */
body.corrupt .hero { background: rgba(60,15,20,.16); filter: saturate(.55); }
body.corrupt .eyebrow { background: #cbb9a8; }
body.corrupt .hero h1 .hl { color: var(--crimson-dark); }
body.corrupt .mascot-btn { animation: jitter 3.5s steps(1) infinite; }
body.corrupt .bubble { font-family: var(--f-mono); font-size: .95rem; }
@keyframes jitter {
  0%, 92%, 100% { transform: none; }
  93% { transform: translate(4px,-4px); }
  95% { transform: translate(-4px,0); }
  97% { transform: translate(0,4px); }
}

/* ---------- marquee ---------- */
.marquee {
  background: var(--k); color: var(--sun);
  overflow: hidden; white-space: nowrap;
  font-family: var(--f-pixel); font-size: 1.15rem; padding: 12px 0;
}
.track { display: inline-flex; animation: marquee 48s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- genel komik bölümler ---------- */
.sec { padding: 110px max(24px, calc((100vw - 1100px) / 2)); }
.sec h2, .payout h3 {
  font-family: var(--f-pixel); font-weight: 600;
  font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.1;
  color: var(--sky-ink); transition: color .8s;
}
.sec h2 .hl, .payout h3 .hl { color: var(--sky-hl, var(--crimson)); background: linear-gradient(transparent 62%, var(--sky-hl-bg, rgba(247,201,72,.75)) 62% 90%, transparent 90%); transition: color .8s; }
.sub { font-size: 1.25rem; opacity: .85; margin: 12px 0 44px; max-width: 52ch; color: var(--sky-ink); transition: color .8s; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { padding: 24px 24px 26px; transition: transform .15s steps(2); }
.card:nth-child(2n) { transform: rotate(.5deg); }
.card:nth-child(3n) { transform: rotate(-.6deg); }
.card:hover { transform: translateY(-4px); }
.ic { width: 44px; height: 44px; margin-bottom: 12px; }
.ic svg, .pay-ic svg { width: 100%; height: 100%; }
.card h3 { font-family: var(--f-pixel); font-weight: 600; font-size: 1.2rem; margin-bottom: 6px; }
.card p { line-height: 1.4; opacity: .88; }

/* quiz */
.quiz-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.quiz-step { font-family: var(--f-pixel); font-size: .85rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: -20px; color: var(--sky-ink); }
.quiz-step b { display: inline-grid; place-items: center; width: 24px; height: 24px; background: var(--k); color: var(--paper); font-size: .8rem; font-weight: 500; }
.quiz-step span { opacity: .5; }
.quiz { display: flex; flex-direction: column; gap: 12px; }
.quiz label { display: flex; gap: 14px; align-items: center; padding: 11px 16px; cursor: pointer; transition: transform .12s steps(2), background .15s; }
.quiz label:hover { transform: translateX(4px); }
.quiz label:has(input:checked) { background: #ffe9a6; }
.quiz input {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 20px; height: 20px; margin: 2px;
  background: var(--paper); box-shadow: 0 0 0 2px var(--k);
  cursor: pointer;
}
.quiz input:checked {
  background: var(--crimson) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' shape-rendering='crispEdges'><path fill='%23fff8e7' d='M1 4h1v1H1zM2 5h1v1H2zM3 6h1v1H3zM4 5h1v1H4zM5 4h1v1H5zM6 3h1v1H6zM7 2h1v1H7z'/></svg>") center / 100% no-repeat;
}
.quiz input:focus-visible { outline: 2px dashed var(--crimson); outline-offset: 3px; }
.quiz em { opacity: .55; font-size: .9em; }
.quiz .btn { margin-top: 12px; align-self: flex-start; }
.quiz-result { margin-top: 18px; padding: 22px 24px; background: var(--k); color: var(--paper); animation: popin .3s steps(3); }
.quiz-result::before { border-color: var(--paper); }
@keyframes popin { from { opacity: 0; transform: translateY(6px); } }
.qr-label { font-family: var(--f-pixel); font-size: .8rem; opacity: .65; text-transform: uppercase; letter-spacing: .08em; }
.quiz-result strong { display: block; font-family: var(--f-pixel); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3rem); color: var(--sun); margin: 4px 0 8px; font-variant-numeric: tabular-nums; }
.quiz-result p { line-height: 1.4; }
.qr-joke { font-size: 1rem; opacity: .75; margin-top: 6px; }
.qr-fine { font-size: .72rem; opacity: .4; margin-top: 14px; font-family: var(--f-mono); }

/* para çekme */
.payout { margin-top: 70px; animation: popin .4s steps(3); }
.payout[hidden] { display: none; }
.pay-sub { margin: 10px 0 26px; opacity: .9; color: var(--sky-ink); transition: color .8s; }
.pay-sub b { font-family: var(--f-pixel); font-size: 1.1em; }
.pay-sub small { opacity: .6; font-size: .8em; }
.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pay { cursor: pointer; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 16px; transition: transform .12s steps(2), background .15s; }
.pay:hover { transform: translateY(-3px); }
.pay input { position: absolute; opacity: 0; pointer-events: none; }
.pay-ic { width: 36px; height: 36px; margin-bottom: 4px; }
.pay b { font-family: var(--f-pixel); font-weight: 600; font-size: 1.05rem; }
.pay small { font-size: 1rem; opacity: .7; line-height: 1.3; }
.pay:has(input:checked) { background: #ffe9a6; }
.pay:has(input:checked)::after {
  content: ''; position: absolute; top: 12px; right: 14px; width: 18px; height: 18px;
  background: var(--crimson) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' shape-rendering='crispEdges'><path fill='%23fff8e7' d='M1 4h1v1H1zM2 5h1v1H2zM3 6h1v1H3zM4 5h1v1H4zM5 4h1v1H5zM6 3h1v1H6zM7 2h1v1H7z'/></svg>") center / 100% no-repeat;
  box-shadow: 0 0 0 2px var(--k);
}
.pay:has(input:focus-visible) { outline: 2px dashed var(--crimson); outline-offset: 6px; }
.pay-msg { min-height: 1.5em; margin: 24px 0 0; font-size: 1.2rem; line-height: 1.45; max-width: 60ch; color: var(--sky-ink); transition: color .8s; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 28px 24px; }
.plan h3 { font-family: var(--f-pixel); font-weight: 600; font-size: 1.3rem; }
.price { font-family: var(--f-pixel); font-weight: 600; font-size: 2.4rem; margin: 10px 0 16px; }
.price small { font-family: var(--f-fun); font-size: 1rem; font-weight: 400; opacity: .65; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.plan li::before { content: '■ '; color: var(--orange); font-size: .7em; vertical-align: middle; }
.plan-fine { font-size: .9rem; opacity: .6; margin-bottom: 18px; margin-top: auto; }
.plan-hot { background: var(--k); color: var(--paper); transform: rotate(-.8deg); }
.plan-hot::before { border-color: var(--paper); }
.plan-hot li::before { color: var(--sun); }
.plan.chosen { background-image: repeating-linear-gradient(-45deg, transparent 0 8px, rgba(247,201,72,.25) 8px 10px); }
.plan.chosen .btn::after { content: ' ✓'; }
.ribbon {
  position: absolute; top: -18px; right: 18px; z-index: 1;
  font-family: var(--f-pixel); font-size: .8rem;
  background: var(--sun); color: var(--k);
  box-shadow: 0 0 0 2px var(--k);
  padding: 3px 10px;
}

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.review { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.review:nth-child(2) { transform: rotate(.7deg); }
.review:nth-child(3) { transform: rotate(-.5deg); filter: saturate(.75); }
.review:nth-child(4) { filter: saturate(.5); }
.review:nth-child(5) { filter: grayscale(1); border-style: dashed; }
.stars { font-family: var(--f-pixel); color: var(--orange); letter-spacing: 2px; }
.review blockquote { line-height: 1.4; flex: 1; }
.review figcaption { font-size: .95rem; opacity: .65; }
.glitch-on { font-family: var(--f-mono); font-size: .95em; color: var(--blood); animation: glitch .12s steps(2) infinite; }
@keyframes glitch {
  0% { transform: translate(1px,0); text-shadow: -2px 0 rgba(255,0,0,.6), 2px 0 rgba(0,255,255,.4); }
  100% { transform: translate(-1px,1px); text-shadow: 2px 0 rgba(255,0,0,.6), -2px 0 rgba(0,255,255,.4); }
}

/* contract */
.paper {
  position: relative; max-width: 760px; margin: 0 auto;
  background: #fbf3df; color: #2a2522;
  border: 2px solid var(--k);
  border-radius: 6px 3px 8px 2px / 3px 8px 2px 6px;
  padding: 50px clamp(22px, 5vw, 60px);
  box-shadow: 6px 8px 0 rgba(59,26,20,.3);
  background-image: repeating-linear-gradient(transparent 0 31px, rgba(80,60,40,.08) 31px 32px);
}
.paper-head { text-align: center; border-bottom: 2px dashed #b9a98f; padding-bottom: 20px; margin-bottom: 26px; }
.paper-logo { font-family: var(--f-pixel); font-weight: 600; color: var(--crimson); }
.paper h2 { font-family: var(--f-serif); font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 6px 0; color: #2a2522; }
.paper-meta { font-family: var(--f-mono); font-size: .8rem; opacity: .7; margin-top: 4px; }
.terms { font-family: var(--f-serif); font-size: 1.12rem; line-height: 1.6; padding-left: 70px; counter-reset: t; list-style: none; }
.terms li { counter-increment: t; position: relative; margin-bottom: 8px; }
.terms li::before { content: 'Madde ' counter(t) ' —'; position: absolute; left: -70px; width: 64px; font-family: var(--f-mono); font-size: .72rem; opacity: .6; top: .35em; white-space: nowrap; }
.terms li:nth-child(n+7) { opacity: .88; }
.terms li:nth-child(n+10) { opacity: .7; font-size: .97em; }
.terms li:nth-child(12) { opacity: .5; font-size: .9em; }
.terms .t13 { opacity: .32; font-size: .8em; letter-spacing: .25em; font-style: italic; }

.sign { position: relative; margin-top: 36px; display: flex; flex-direction: column; gap: 10px; }
.sign > label { font-family: var(--f-mono); font-size: .8rem; opacity: .7; }
.sign input#nameInput {
  font: 1.25rem var(--f-fun); padding: 10px 14px;
  border: 0; background: #fff; color: var(--k);
  box-shadow: 0 0 0 2px var(--k);
  margin: 2px;
}
.sign input#nameInput:focus { outline: 2px dashed var(--crimson); outline-offset: 4px; }
.sig-line { position: relative; height: 64px; border-bottom: 1.5px solid #2a2522; margin: 8px 0 4px; }
.sig-line span { position: absolute; left: 10px; bottom: 2px; font-family: var(--f-hand); font-size: 2.4rem; color: #1b2a6b; transform: rotate(-3deg); white-space: nowrap; }
.sig-line small { position: absolute; right: 0; bottom: -20px; font-family: var(--f-mono); font-size: .7rem; opacity: .5; }
.agree { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; cursor: pointer; font-size: 1.05rem; }
.agree input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--crimson); flex: none; }
.sign .btn { align-self: flex-start; margin-top: 10px; }
.sign-msg { min-height: 1.4em; font-family: var(--f-mono); font-size: .85rem; color: var(--crimson-dark); }
.shake { animation: shake .4s steps(4); }
@keyframes shake { 25% { transform: translateX(-8px); } 50% { transform: translateX(8px); } 75% { transform: translateX(-4px); } }
.stamp {
  position: absolute; right: 8%; bottom: 40px;
  border: 5px double var(--crimson); color: var(--crimson);
  font: 700 2rem var(--f-mono); letter-spacing: .12em;
  padding: 6px 18px; border-radius: 8px;
  transform: rotate(-14deg) scale(3); opacity: 0; pointer-events: none; visibility: hidden;
  mix-blend-mode: multiply;
}
.stamp.on { visibility: visible; animation: stamp .35s cubic-bezier(.3,1.6,.5,1) forwards; }
@keyframes stamp { to { transform: rotate(-14deg) scale(1); opacity: .85; } }

/* =========================================================
   GEÇİŞ — güneş batar, gece olur; para girer, ruh çıkar
   ========================================================= */
.cekim { height: 340vh; position: relative; background: transparent; color: var(--paper); }
.ck-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 46px;
  padding: 80px 24px 24px;
}
.ck-title { font-family: var(--f-mono); font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; text-align: center; }
.ck-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; width: min(900px, 100%); align-items: start; }
.ck-col { display: flex; flex-direction: column; gap: 10px; }
.ck-label { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; opacity: .65; }
.ck-in strong { font-family: var(--f-pixel); font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; color: var(--sun); transition: color 1s; }
.ck-in small { font-size: 1.1rem; opacity: .8; }
.ck-out ul { list-style: none; display: flex; flex-direction: column; gap: 10px; min-height: 260px; }
.ck-out li {
  font-family: var(--f-serif); font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-style: italic;
  display: flex; justify-content: space-between; gap: 12px;
  animation: leave 1.8s forwards;
}
.ck-out li small { font-family: var(--f-mono); font-style: normal; font-size: .7rem; opacity: .6; white-space: nowrap; align-self: center; }
.ck-out li.key { color: var(--red); }
@keyframes leave {
  0% { opacity: 0; transform: translateX(-10px); }
  20% { opacity: 1; transform: none; }
  100% { opacity: .4; text-decoration: line-through; }
}
.cekim.done .ck-in strong { color: var(--bone-dim); }

/* =========================================================
   KORKU
   ========================================================= */
.horror {
  position: relative;
  background: var(--void); color: var(--bone);
  font-family: var(--f-serif);
  padding: 22vh max(24px, calc((100vw - 900px) / 2));
}
.horror p { font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.35; margin-bottom: 24vh; }
.horror p:last-child { margin-bottom: 0; }
.horror .big { font-size: clamp(3rem, 9vw, 6.5rem); font-style: italic; color: #fff; }
.horror .dim { color: var(--bone-dim); }
.horror .small { font-size: 1rem; letter-spacing: .4em; text-transform: uppercase; font-family: var(--f-mono); }
.horror b { color: var(--red); font-weight: 600; font-variant-numeric: tabular-nums; }
.horror q { color: #fff; font-style: italic; }
.nm { font-style: italic; }
.horror .nm { color: #fff; }
.h-title { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 400; font-style: italic; color: #fff; margin-bottom: 6vh; }

.reveal { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity 1.6s, transform 1.6s, filter 1.6s; }
.reveal.in { opacity: 1; transform: none; filter: none; }

.h-memory p:nth-child(even) { text-align: right; }

/* isim */
.h-name { min-height: 100vh; }
.h-name p { margin-bottom: 6vh; }
.name-form { display: flex; gap: 0; max-width: 560px; border-bottom: 1px solid rgba(217,210,195,.35); }
.name-form input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: none;
  font: italic 2.2rem var(--f-serif); color: #fff; padding: 10px 4px;
}
.name-form input::placeholder { color: #4a4540; }
.name-form button { background: none; border: 0; color: var(--bone-dim); font-family: var(--f-mono); letter-spacing: .1em; padding: 0 10px; }
.name-form button:hover { color: var(--red); }
.name-form.locked { border-bottom-color: var(--blood); }
.name-form.locked input { color: var(--red); }
.name-msg { font-family: var(--f-mono) !important; font-size: 1rem !important; color: var(--bone-dim); margin-top: 18px !important; min-height: 4em; line-height: 1.6 !important; white-space: pre-line; }
.name-msg .err { color: var(--red); }

/* kurşun dökme */
.h-lead { text-align: center; min-height: 100vh; }
.h-lead > p.reveal { margin-bottom: 8vh; font-size: clamp(1.2rem, 2.6vw, 1.7rem); color: var(--bone-dim); }
.ritual { position: relative; width: min(440px, 92vw); height: 360px; margin: 0 auto 40px; }
.ladle {
  position: absolute; left: 52%; top: 0; width: min(170px, 46%); height: 60px;
  transform-origin: 20% 50%; transform: rotate(0deg);
  transition: transform .6s cubic-bezier(.5,0,.3,1);
}
.ladle.pour { transform: rotate(-38deg); }
.ladle-cup {
  position: absolute; left: 0; top: 10px; width: 64px; height: 40px;
  border-radius: 0 0 40px 40px;
  background: linear-gradient(#777 0%, #2b2b2b 100%);
  box-shadow: inset 0 6px 0 #ff7a1a, inset 0 8px 14px rgba(255,140,40,.6), 0 0 26px rgba(255,120,30,.45);
}
.ladle-handle { position: absolute; left: 60px; top: 18px; width: 110px; height: 8px; border-radius: 4px; background: linear-gradient(#6b6b6b, #2a2a2a); }
.drop {
  position: absolute; left: calc(52% + 25px); top: 40px; width: 14px; height: 20px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 40% 35%, #fff4c2, #ff9a2a 45%, #c43c00);
  box-shadow: 0 0 18px #ff8a1a;
  opacity: 0;
}
.drop.fall { animation: fall .55s cubic-bezier(.5,0,1,.6) forwards; }
@keyframes fall {
  0% { opacity: 1; transform: translateY(0) scaleY(1); }
  90% { opacity: 1; transform: translateY(190px) scaleY(1.6); }
  100% { opacity: 0; transform: translateY(205px) scaleY(.4); }
}
.bowl {
  position: absolute; left: 0; right: 0; bottom: 0; height: 170px;
  border-radius: 50% 50% 46% 46% / 30% 30% 70% 70%;
  background: radial-gradient(ellipse at 50% 20%, #a5642e, #5b2f12 60%, #2a1407);
  box-shadow: 0 30px 50px -20px #000, inset 0 -10px 30px rgba(0,0,0,.6);
}
.water {
  position: absolute; left: 6%; right: 6%; top: 10px; height: 92px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%, #1c2528, #070b0c 75%);
  box-shadow: inset 0 4px 12px rgba(0,0,0,.9);
  overflow: hidden;
}
.water.splash { animation: ripple .8s; }
@keyframes ripple { 30% { box-shadow: inset 0 0 0 6px rgba(200,220,230,.25), inset 0 4px 12px rgba(0,0,0,.9); } }
.lead { position: absolute; inset: 4px 10%; width: 80%; height: calc(100% - 8px); opacity: 0; transition: opacity 1.2s .2s; }
.lead.show { opacity: 1; }
.steam { position: absolute; inset: 0; pointer-events: none; }
.steam i {
  position: absolute; bottom: 30%; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(230,230,230,.35); filter: blur(10px); opacity: 0;
}
.steam i:nth-child(1) { left: 20%; } .steam i:nth-child(2) { left: 35%; } .steam i:nth-child(3) { left: 50%; }
.steam i:nth-child(4) { left: 62%; } .steam i:nth-child(5) { left: 75%; }
.steam.on i { animation: steam 2.2s ease-out forwards; }
.steam.on i:nth-child(2) { animation-delay: .15s; } .steam.on i:nth-child(3) { animation-delay: .05s; }
.steam.on i:nth-child(4) { animation-delay: .25s; } .steam.on i:nth-child(5) { animation-delay: .1s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(0) scale(.6); } 25% { opacity: .9; } 100% { opacity: 0; transform: translateY(-160px) scale(2.2); } }
.lead-msg { font-size: clamp(1.2rem, 2.6vw, 1.8rem) !important; font-style: italic; min-height: 3em; margin-top: 30px !important; }

/* dekont */
.h-end { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 80px; padding-bottom: 6vh; }
.receipt {
  width: min(460px, 100%);
  background: #e9e3d6; color: #1d1a17;
  font-family: var(--f-mono);
  padding: 30px 28px 40px;
  position: relative;
  box-shadow: 0 40px 80px -30px rgba(138,11,11,.5);
  -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 18px 100% repeat-x;
          mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 18px 100% repeat-x;
}
.receipt p, .receipt dd, .receipt li { font-size: .92rem !important; margin: 0 !important; line-height: 1.5 !important; }
.rc-head { text-align: center; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding-bottom: 14px; border-bottom: 1px dashed #8a8174; }
.rc-head small { font-weight: 400; letter-spacing: .1em; opacity: .6; }
.rc-info { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding: 14px 0; border-bottom: 1px dashed #8a8174; font-size: .85rem; }
.rc-info dt { opacity: .55; }
.rc-info dd { text-align: right; }
.receipt .nm { color: inherit; }
.rc-line, .rc-total { display: flex; justify-content: space-between; padding: 12px 0; }
.rc-line { border-bottom: 1px dashed #8a8174; font-size: 1rem; }
.plus { color: #1f7a45; font-weight: 700; }
.rc-sub { opacity: .55; padding-top: 12px; text-transform: uppercase; letter-spacing: .15em; font-size: .72rem !important; }
.rc-cuts { list-style: none; min-height: 1em; }
.rc-cuts li { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; animation: popin .3s; }
.rc-cuts li span:last-child { color: #9b1010; white-space: nowrap; }
.rc-cuts li.soul span { font-weight: 700; color: #9b1010; }
.rc-total { border-top: 2px solid #1d1a17; margin-top: 10px; font-size: 1.1rem; }
.rc-total strong { font-variant-numeric: tabular-nums; }
.rc-total strong.neg { color: #9b1010; }
.rc-foot { font-size: .7rem !important; opacity: .5; text-align: center; margin: 6px 0 18px !important; }
.receipt .btn-blood { width: 100%; color: #1d1a17; border-color: #9b1010; }
.receipt .btn-blood:hover { color: #fff; }
.refund-log { margin-top: 14px; min-height: 1em; }
.refund-log p { font-size: .85rem !important; animation: popin .3s; }
.refund-log p.red { color: #9b1010; font-weight: 700; }
.foot { text-align: center; font-family: var(--f-mono); }
.foot p { font-size: .75rem !important; color: #4a4540; }
.reset { background: none; border: 0; color: #4a4540; text-decoration: underline; font-size: .7rem; margin-top: 8px; font-family: var(--f-mono); }
.reset:hover { color: var(--red); }

/* =========================================================
   CANLI DESTEK (piksel pencere)
   ========================================================= */
.chat {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  width: min(340px, calc(100vw - 40px));
  font-family: var(--f-fun);
}
.chat-toggle {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left;
  background: var(--paper); color: var(--k);
  border: 0; border-radius: 0;
  padding: 8px 12px; box-shadow: var(--pxb), 0 calc(var(--px) * 2) 0 0 rgba(59,26,20,.2);
  transition: background .8s, color .8s;
}
.chat.open .chat-toggle { background: var(--crimson); color: var(--paper); box-shadow: var(--pxb); }
.chat-ava {
  width: 38px; height: 38px; flex: none; position: relative;
  background: var(--paper-2); box-shadow: 0 0 0 2px var(--k);
  display: grid; place-items: center;
}
.chat-ava svg { width: 30px; height: 30px; }
.chat-who { display: flex; flex-direction: column; line-height: 1.15; flex: 1; }
.chat-who b { font-family: var(--f-pixel); font-weight: 600; font-size: 1rem; }
.chat-who small { font-size: .9rem; opacity: .75; }
.chat-who small::before { content: '■ '; color: #5c9a3b; font-size: .7em; vertical-align: middle; }
.chat-badge[hidden] { display: none; }
.chat-badge { background: var(--crimson); color: var(--paper); min-width: 22px; height: 22px; display: grid; place-items: center; font-family: var(--f-pixel); font-size: .75rem; padding: 0 6px; box-shadow: 0 0 0 2px var(--k); }
.chat-panel {
  display: none; margin-top: calc(var(--px) * 2);
  background: var(--paper);
  box-shadow: var(--pxb), 0 calc(var(--px) * 2) 0 0 rgba(59,26,20,.2);
}
.chat.open .chat-panel { display: block; }
.chat-list { list-style: none; max-height: 240px; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 85%; padding: 6px 12px; font-size: 1.05rem; line-height: 1.3; animation: popin .2s steps(2); word-wrap: break-word; }
.msg.them { background: var(--paper-2); align-self: flex-start; box-shadow: 0 0 0 2px var(--k); }
.msg.me { background: var(--k); color: var(--paper); align-self: flex-end; }
.chat-typing { padding: 0 14px 10px; display: flex; gap: 4px; }
.chat-typing[hidden] { display: none; }
.chat-typing i { width: 6px; height: 6px; background: #b9a08a; animation: dots 1s steps(2) infinite; }
.chat-typing i:nth-child(2) { animation-delay: .15s; } .chat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 50% { transform: translateY(-4px); opacity: .4; } }
.chat-form { display: flex; border-top: 2px dashed #d8c3a5; }
.chat-form input { flex: 1; border: 0; padding: 10px 14px; font: inherit; font-size: 1.05rem; background: transparent; color: inherit; outline: none; min-width: 0; }
.chat-form button { border: 0; background: none; padding: 0 16px; color: var(--crimson); font-family: var(--f-pixel); font-size: 1.1rem; }

body.dark .chat-toggle, body.dark .chat.open .chat-toggle { background: #0b0909; color: var(--bone); box-shadow: 0 0 0 1px #2a1414; font-family: var(--f-mono); }
body.dark .chat-who b { font-family: var(--f-mono); font-weight: 400; }
body.dark .chat-ava { background: #000; box-shadow: 0 0 0 1px #3a1010; }
body.dark .chat-ava svg { display: none; }
body.dark .chat-ava::before, body.dark .chat-ava::after {
  content: ''; position: absolute; top: 17px; width: 7px; height: 3px;
  background: var(--red); box-shadow: 0 0 6px var(--red);
}
body.dark .chat-ava::before { left: 9px; } body.dark .chat-ava::after { right: 9px; }
body.dark .chat-who small::before { color: var(--blood); }
body.dark .chat-panel { background: #0b0909; box-shadow: 0 0 0 1px #2a1414; }
body.dark .msg.them { background: #1a0c0c; color: var(--bone); font-family: var(--f-mono); font-size: .9rem; box-shadow: none; }
body.dark .msg.me { background: #222; }
body.dark .chat-form { border-top-color: #1f1414; }
body.dark .chat-form input { color: var(--bone); }

/* =========================================================
   Mobil
   ========================================================= */
@media (max-width: 900px) {
  .links { display: none; }
  .sound-btn { margin-left: auto; }
  .hero { grid-template-columns: 1fr; gap: 10px; min-height: auto; padding-top: 108px; padding-bottom: 64px; }
  .hero-art { order: -1; display: flex; flex-direction: column; align-items: center; }
  .mascot { width: min(190px, 52vw); }
  .bubble { position: relative; top: auto; left: auto; max-width: 280px; margin-bottom: 22px; font-size: 1.05rem; text-align: center; }
  .bubble::after { right: 50%; transform: translateX(50%); }
  .shadow-blob { margin-top: 4px; height: 8px; }
  .eyebrow { margin-bottom: 16px; }
  .lead { margin: 16px 0 24px; }
  .cta-row { flex-direction: column; gap: 10px; }
  .cta-row .btn { width: calc(100% - 2 * var(--px)); }
  .trust { gap: 20px; margin-top: 28px; justify-content: space-between; }
  .cards, .plans { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr 1fr; }
  .plan-hot { transform: none; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .quiz-wrap { grid-template-columns: 1fr; gap: 10px; }
  .scroll-hint { display: none; }
  .ck-cols { grid-template-columns: 1fr; gap: 30px; }
  .ck-out ul { min-height: 0; }
  #sun { left: 74%; width: 42vmin; }
}
@media (max-width: 560px) {
  .nav { padding: 6px 10px; width: calc(100% - 28px); }
  .logo { font-size: 1.05rem; }
  .reviews, .pay-grid { grid-template-columns: 1fr; }
  .terms { padding-left: 0; }
  .terms li::before { position: static; display: block; width: auto; }
  .name-form input { font-size: 1.7rem; }
  /* mobilde kapalı sohbet sadece küçük bir piksel kutu */
  .chat { right: 16px; bottom: 16px; width: auto; }
  .chat.open { width: calc(100vw - 32px); }
  .chat:not(.open) .chat-who { display: none; }
  .chat:not(.open) .chat-toggle { padding: 6px; position: relative; }
  .chat:not(.open) .chat-ava { width: 42px; height: 42px; }
  .chat:not(.open) .chat-badge { position: absolute; top: -10px; right: -10px; }
}

@media (prefers-reduced-motion: reduce) {
  .track, .mascot-btn, #grain, .scroll-hint span, .cloud { animation: none !important; }
  .reveal { transition-duration: .3s; }
}
