/*
  Elif & Kerem — dijital düğün davetiyesi
  Düzen fikri: telefonda, WhatsApp'tan gelen bağlantıyla açılan tek sütunluk bir davetiye. Önce mühürlü bir zarf,
  sonra mum ışığı gibi titreşen bir gecenin içinde adlar, geri sayım, program ve katılım yanıtı.
*/
:root {
  color-scheme: dark;
  --gece: #140b14;          /* patlıcan moruna çalan gece */
  --gece-acik: #21131f;
  --sampanya: #f4e8d4;      /* yazı */
  --soluk: rgba(244, 232, 212, .62);
  --cizgi: rgba(244, 232, 212, .16);
  --altin: #e3c08a;         /* vurgu */
  --gul: #d99a8f;           /* ikinci vurgu: gül kurusu */
  --kagit: #efe2c9;         /* zarf */
  --kagit-koyu: #dcc9a8;
  --muhur: #7c1f2e;
  --hata: #ffb0a6;

  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --duz: 'Jost', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --kenar: max(1.5rem, env(safe-area-inset-left, 0px));
  --kenar-sag: max(1.5rem, env(safe-area-inset-right, 0px));
  --yumusak: cubic-bezier(.19, 1, .22, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--gece); color: var(--sampanya); font: 300 1.0625rem/1.6 var(--duz); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html.js body.kapali { overflow: hidden; height: 100svh; }
h1, h2, p, ol, dl, dd, fieldset { margin: 0; padding: 0; }
ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 1px solid var(--altin); outline-offset: 4px; border-radius: 4px; }
[hidden] { display: none !important; }

#isik { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main { position: relative; z-index: 1; overflow-x: hidden; overflow-x: clip; }
/* Davetiye, zarf katmanının altında baştan çizili durur (açılış anında ilk çizim yükü olmasın). Kapalıyken ışık tuvali zarfın üstündedir. */
html.js body.kapali #isik { z-index: 21; }
html.js body.kapali #baslik .h, html.js body.kapali #baslik .ve { opacity: 0; }

.etiket { font-size: .74rem; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; color: var(--altin); }
.baslik { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(3rem, 13vw, 6rem); line-height: 1; letter-spacing: -.01em; }
main > section { padding: clamp(5rem, 16vh, 9rem) var(--kenar-sag) clamp(5rem, 16vh, 9rem) var(--kenar); display: grid; justify-items: center; text-align: center; gap: 1.5rem; }
main > section > * { max-width: 34rem; }

.dugme { display: inline-flex; align-items: center; justify-content: center; min-height: 3.4rem; padding: .8rem 1.8rem; border-radius: 999px; border: 1px solid var(--cizgi); font: 400 .8rem/1.2 var(--duz); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; transition: background-color .4s var(--yumusak), color .4s var(--yumusak), border-color .4s, transform .2s; }
.dugme:active { transform: scale(.97); }
.dugme--dolu { background: var(--altin); color: var(--gece); border-color: var(--altin); }
.dugme--dolu:hover { background: var(--sampanya); border-color: var(--sampanya); }
.dugme--genis { width: 100%; }

/* ── Zarf ────────────────────────────────────────── */
.zarf { display: none; }
html.js .zarf { position: fixed; inset: 0; z-index: 20; background: var(--gece); will-change: opacity; display: grid; place-content: center; justify-items: center; gap: 2.25rem; padding: 2rem var(--kenar-sag) 2rem var(--kenar); text-align: center; }
html.js body:not(.kapali) .zarf { display: none; }
.zarf__kime { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 6vw, 2.25rem); line-height: 1.2; min-height: 1.2em; }
.zarf__ipucu { font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--soluk); animation: nefes 2.6s ease-in-out infinite; }
@keyframes nefes { 50% { opacity: .35; } }
.zarf__govde { position: relative; width: min(80vw, 23rem); aspect-ratio: 3 / 2; perspective: 900px; will-change: transform; animation: suzul 5s ease-in-out infinite; }
@keyframes suzul { 50% { transform: translateY(-8px) rotate(-.6deg); } }
.zarf__govde > span { position: absolute; inset: 0; display: block; }
.zarf__arka { background: linear-gradient(180deg, var(--kagit-koyu), #cdb78f); border-radius: 6px; box-shadow: 0 30px 40px rgba(0, 0, 0, .55); }
.zarf__kart { will-change: transform; inset: 6% 5% 4% 5% !important; background: linear-gradient(180deg, #fbf5e8, #f1e6cf); border-radius: 4px; display: grid !important; place-content: center; gap: .35rem; color: #3a2630; }
.zarf__kart i { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 6vw, 2rem); line-height: 1; }
.zarf__kart b { font: 400 .62rem var(--duz); letter-spacing: .26em; text-transform: uppercase; opacity: .7; }
/* Zarfın ön yüzü ve kapağı maske (clip-path) yerine hazır SVG görselidir: dönerken ve kayarken yeniden çizilmez. */
.zarf__on { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23efe2c9'/%3E%3Cstop offset='1' stop-color='%23dcc9a8'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 0L50 52L100 0V100H0Z' fill='url(%23g)'/%3E%3Cpath d='M0 100L50 52L100 100' fill='none' stroke='%235a3c28' stroke-opacity='.2' stroke-width='.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.zarf__kapak { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f6ead3'/%3E%3Cstop offset='1' stop-color='%23efe2c9'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 0H100L50 58Z' fill='url(%23g)'/%3E%3C/svg%3E") center / 100% 100% no-repeat; transform-origin: 50% 0; backface-visibility: hidden; will-change: transform; }
.zarf__muhur { will-change: transform, opacity; inset: auto !important; left: 50% !important; top: 58% !important; width: 23%; aspect-ratio: 1; margin: -11.5% 0 0 -11.5%; border-radius: 50%; display: grid !important; place-items: center; background: radial-gradient(circle at 35% 30%, #a83246, var(--muhur) 55%, #55121e); box-shadow: 0 6px 14px rgba(0, 0, 0, .4), inset 0 0 0 3px rgba(255, 255, 255, .08), inset 0 0 0 6px rgba(0, 0, 0, .12); }
.zarf__muhur i { font-family: var(--serif); font-style: italic; font-size: clamp(1rem, 4.6vw, 1.5rem); color: #f0d6a8; line-height: 1; }
.zarf__muhur::after { content: ''; position: absolute; inset: -14%; border-radius: 50%; border: 1px solid var(--altin); opacity: 0; animation: halka 2.6s ease-out infinite; }
@keyframes halka { 0% { transform: scale(.8); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

/* ── 1 · Adlar ───────────────────────────────────── */
.adlar { position: relative; min-height: 100svh; align-content: center; gap: 1.25rem !important; overflow: hidden; overflow: clip; }
.adlar__baslik { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(5rem, 27vw, 15rem); line-height: .82; letter-spacing: -.02em; display: grid; justify-items: center; max-width: none !important; perspective: 800px; }
.adlar__baslik .ad { display: block; white-space: nowrap; }
.adlar__baslik .ve { font-size: .38em; color: var(--altin); line-height: 1.3; }
.adlar__baslik .h { display: inline-block; will-change: transform; }
.adlar__cumle { font-family: var(--serif); font-size: clamp(1.4rem, 5.5vw, 2rem); letter-spacing: .04em; color: var(--soluk); }
.adlar__tarih { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1rem; font-size: .8rem; letter-spacing: .26em; text-transform: uppercase; }
.adlar__tarih i { width: 1.5rem; height: 1px; background: var(--altin); }
.adlar__kaydir { position: absolute; left: 50%; bottom: 1.5rem; width: 1px; height: 3rem; overflow: hidden; }
.adlar__kaydir i { display: block; width: 100%; height: 100%; background: linear-gradient(var(--altin), transparent); animation: akis 2s var(--yumusak) infinite; }
@keyframes akis { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }
.dal { position: absolute; width: clamp(7rem, 34vw, 15rem); height: auto; max-width: none !important; pointer-events: none; opacity: .75; }
.dal path { fill: none; stroke: var(--altin); stroke-width: 1; stroke-linecap: round; }
.dal .yaprak { stroke: var(--gul); fill: rgba(217, 154, 143, .12); }
.dal--sol { left: -1rem; bottom: -1rem; }
.dal--sag { right: -1rem; top: -1rem; transform: rotate(180deg); }

/* ── 1b · Portre ─────────────────────────────────── */
.portre { gap: 2rem !important; padding-top: 2rem !important; }
.portre__sahne { position: relative; width: min(100%, 21rem); }
.portre__kemer { position: relative; aspect-ratio: 10 / 13; border-radius: 999px 999px 1.25rem 1.25rem; overflow: hidden; background: linear-gradient(180deg, #2a1730 0%, #4a2440 55%, #8a4a4f 100%); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); will-change: clip-path, transform; }
.portre__kemer img, .portre__kemer svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.portre__kemer img { object-fit: cover; will-change: transform; }
.portre__kemer::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20, 11, 20, .55)); pointer-events: none; }
.portre__cerceve { position: absolute; inset: -.9rem; border: 1px solid var(--altin); border-radius: 999px 999px 1.9rem 1.9rem; opacity: .55; pointer-events: none; will-change: transform, opacity; }
.portre__damga { position: absolute; right: -2.25rem; bottom: -2rem; width: 8.5rem; height: 8.5rem; overflow: visible; will-change: transform; }
.portre__damga text { font: 400 12.5px var(--duz); letter-spacing: .34em; text-transform: uppercase; fill: var(--altin); }
.portre__damga circle { fill: var(--altin); }
.portre__alt { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--soluk); }
#cizim .cz { fill: none; stroke: var(--altin); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
#cizim .sallan { transform-box: fill-box; transform-origin: 20% 0; animation: sallan 6s ease-in-out infinite; }
@keyframes sallan { 50% { transform: skewX(-3deg) rotate(1.2deg); } }
#cizim .yildiz { animation: nefes 3s ease-in-out infinite; }
@media (max-width: 420px) { .portre__damga { right: -1rem; width: 7rem; height: 7rem; } }

/* ── Akan tarih şeridi ───────────────────────────── */
.akis { position: relative; z-index: 1; overflow: hidden; padding-block: 1rem; border-block: 1px solid var(--cizgi); }
.akis__ic { display: flex; gap: 2.5rem; width: max-content; white-space: nowrap; will-change: transform; font-family: var(--serif); font-style: italic; font-size: clamp(3rem, 15vw, 7rem); line-height: 1; }
.akis__ic span:nth-child(odd) { color: transparent; -webkit-text-stroke: 1px var(--soluk); }
.akis__ic span:nth-child(even) { color: var(--altin); }

/* ── Ek hareketler ───────────────────────────────── */
.baslik .h { display: inline-block; }
.adlar__baslik .ve { animation: salin 7s ease-in-out infinite; display: inline-block; }
@keyframes salin { 50% { transform: rotate(8deg) scale(1.08); } }
.zarf__govde::after { content: ''; position: absolute; inset: 0; border-radius: 6px; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .5) 50%, transparent 60%); background-size: 250% 100%; animation: parilti 3.6s ease-in-out infinite; mix-blend-mode: soft-light; pointer-events: none; }
@keyframes parilti { 0% { background-position: 120% 0; } 60%, 100% { background-position: -60% 0; } }
.dugme--dolu { position: relative; overflow: hidden; }
.dugme--dolu::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); animation: suzgec 4.5s ease-in-out infinite; }
@keyframes suzgec { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* ── 2 · Geri sayım ──────────────────────────────── */
.sayim__kutular { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; border-top: 1px solid var(--cizgi); border-bottom: 1px solid var(--cizgi); }
.sayim__kutular > div { padding: 1.5rem .25rem; display: grid; gap: .25rem; }
.sayim__kutular > div + div { border-left: 1px solid var(--cizgi); }
.sayim__kutular b { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 13vw, 5.5rem); line-height: 1; font-variant-numeric: tabular-nums lining-nums; display: block; overflow: hidden; }
.sayim__kutular b span { display: block; }
.sayim__kutular > div > span { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--soluk); }

/* ── 3 · Davet ───────────────────────────────────── */
.davet__metin { font-family: var(--serif); font-style: italic; font-size: clamp(1.9rem, 8vw, 3.25rem); line-height: 1.16; text-wrap: balance; }
.davet__metin .k { transition: opacity .5s linear; }
html.js .davet__metin .k { opacity: .16; }
html.js .davet__metin .k.acik { opacity: 1; }
.davet__aileler { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; width: 100%; margin-top: 1.5rem; padding-top: 2rem; border-top: 1px solid var(--cizgi); }
.davet__aileler b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1.2; }
.davet__aileler span { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--soluk); }

/* ── 4 · Program ─────────────────────────────────── */
.program__liste { position: relative; width: 100%; display: grid; gap: 2.5rem; margin-top: 1.5rem; padding: .5rem 0; }
.program__liste::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--altin); transform-origin: top; transform: scaleY(var(--cizgi-boy, 1)); opacity: .6; }
.program__liste li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.program__liste li::before { content: ''; position: absolute; left: 50%; top: 50%; width: .55rem; height: .55rem; margin: -.275rem; border-radius: 50%; background: var(--gece); border: 1px solid var(--altin); box-shadow: 0 0 12px var(--altin); }
.program__saat { text-align: right; font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 10vw, 3.5rem); line-height: 1; font-variant-numeric: lining-nums; color: var(--altin); }
.program__ne { text-align: left; }
.program__ne b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.45rem; line-height: 1.15; }
.program__ne span { color: var(--soluk); font-size: .95rem; line-height: 1.4; display: block; margin-top: .2rem; }

/* ── 5 · Mekân ───────────────────────────────────── */
.mekan__adres { font-size: 1.1rem; }
.mekan__not { color: var(--soluk); font-size: .98rem; }
.mekan__dugmeler { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: .75rem; }

/* ── 6 · Katılım ─────────────────────────────────── */
.lcv { background: linear-gradient(180deg, transparent, rgba(33, 19, 31, .86) 12%, rgba(33, 19, 31, .86) 88%, transparent); }
.lcv__not { color: var(--soluk); }
.form { width: 100%; display: grid; gap: 1.6rem; text-align: left; margin-top: 1rem; }
.alan { display: grid; gap: .4rem; }
.alan label, .secenek legend { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--soluk); }
.alan label span { letter-spacing: .04em; text-transform: none; }
.alan input { width: 100%; padding: .55rem 0; border: 0; border-bottom: 1px solid var(--cizgi); border-radius: 0; background: transparent; color: var(--sampanya); font: 400 1.45rem/1.3 var(--serif); }
.alan input:focus { outline: none; border-bottom-color: var(--altin); }
.alan input[aria-invalid="true"] { border-bottom-color: var(--hata); }
.secenek { display: flex; flex-wrap: wrap; gap: .6rem; }
.secenek legend { float: left; width: 100%; margin-bottom: .7rem; }
.secenek label { position: relative; flex: 1 1 8rem; cursor: pointer; }
.secenek input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.secenek span { display: flex; align-items: center; justify-content: center; min-height: 3.25rem; border-radius: 999px; border: 1px solid var(--cizgi); font-family: var(--serif); font-style: italic; font-size: 1.3rem; transition: background-color .3s, color .3s, border-color .3s; }
.secenek input:checked + span { background: var(--sampanya); color: var(--gece); border-color: var(--sampanya); }
.secenek input:focus-visible + span { outline: 1px solid var(--altin); outline-offset: 4px; }
.sayac { display: inline-flex; align-items: center; justify-self: start; border: 1px solid var(--cizgi); border-radius: 999px; }
.sayac button { width: 3.25rem; height: 3.25rem; font-size: 1.4rem; }
.sayac output { min-width: 2.5rem; text-align: center; font: 400 1.6rem var(--serif); font-variant-numeric: lining-nums; }
.form__hata { color: var(--hata); font-weight: 400; }
.form__not { font-size: .85rem; color: var(--soluk); text-align: center; }

/* ── 6b · Anılar ─────────────────────────────────── */
.anilar__not { color: var(--soluk); }
.anilar__kilit { display: grid; justify-items: center; gap: .9rem; width: 100%; padding: 2.5rem 1.5rem; border: 1px dashed var(--cizgi); border-radius: 1.5rem; }
.kilit { width: 3.25rem; height: auto; overflow: visible; }
.kilit path, .kilit rect, .kilit circle { fill: none; stroke: var(--altin); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.kilit rect { fill: rgba(227, 192, 138, .08); }
.anilar__tarih { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 6.5vw, 2.1rem); line-height: 1.15; }
.anilar__gun { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--soluk); }
.anilar__acik { width: 100%; max-width: 46rem !important; display: grid; gap: 1.25rem; justify-items: center; }
.anilar__kip { padding: .7rem 1rem; border-radius: .9rem; background: rgba(227, 192, 138, .1); color: var(--altin); font-size: .88rem; max-width: 34rem; }
.anilar__ekle { width: 100%; max-width: 34rem; display: grid; gap: 1rem; text-align: left; }
.anilar__sec { position: relative; cursor: pointer; }
.anilar__sec input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.anilar__sec:focus-within { outline: 1px solid var(--sampanya); outline-offset: 4px; }
.anilar__cubuk { display: block; height: 2px; background: var(--cizgi); border-radius: 2px; overflow: hidden; opacity: 0; transition: opacity .3s; }
.anilar__cubuk i { display: block; height: 100%; background: var(--altin); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--yumusak); }
.yukluyor .anilar__cubuk { opacity: 1; }
.yukluyor .anilar__sec { pointer-events: none; opacity: .6; }
.anilar__durum { min-height: 1.5em; text-align: center; font-size: .95rem; color: var(--altin); }
.anilar__adet { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--soluk); min-height: 1em; }
.anilar__izgara { width: 100%; columns: 2; column-gap: .75rem; }
.kare { position: relative; margin: 0 0 .75rem; break-inside: avoid; border-radius: .9rem; overflow: hidden; background: var(--gece-acik); border: 1px solid var(--cizgi); }
.kare__ac { display: block; width: 100%; }
.kare img { display: block; width: 100%; height: auto; transition: transform .8s var(--yumusak); }
.kare:hover img { transform: scale(1.05); }
.kare figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .7rem .5rem; text-align: left; font-family: var(--serif); font-style: italic; font-size: 1.02rem; background: linear-gradient(transparent, rgba(20, 11, 20, .85)); pointer-events: none; }
.kare__sil { position: absolute; right: .4rem; top: .4rem; min-height: 2.2rem; padding: 0 .8rem; border-radius: 999px; background: rgba(20, 11, 20, .8); border: 1px solid var(--hata); color: var(--hata); font-size: .78rem; }
.anilar__bos { color: var(--soluk); font-family: var(--serif); font-style: italic; font-size: 1.2rem; }
@media (min-width: 760px) { .anilar__izgara { columns: 3; } }

dialog.buyut { max-width: min(94vw, 60rem); max-height: 94dvh; padding: 1rem; border: 1px solid var(--cizgi); border-radius: 1.25rem; background: var(--gece); color: var(--sampanya); text-align: center; }
dialog.buyut::backdrop { background: rgba(10, 5, 10, .88); }
dialog.buyut img { display: block; max-width: 100%; max-height: 72dvh; margin: 0 auto; border-radius: .75rem; }
dialog.buyut p { margin: .8rem 0; font-family: var(--serif); font-style: italic; font-size: 1.25rem; }

/* ── 7 · Kapanış ─────────────────────────────────── */
.kapanis { padding-bottom: calc(3rem + env(safe-area-inset-bottom, 0px)) !important; }
.kapanis__soz { font-size: .8rem; letter-spacing: .32em; text-transform: uppercase; color: var(--altin); }
.kapanis__adlar { font-family: var(--serif); font-style: italic; font-size: clamp(3.4rem, 17vw, 8rem); line-height: .9; max-width: none !important; }
.kapanis__adlar em { color: var(--altin); font-size: .5em; padding-inline: .15em; }
.kapanis__etiket { letter-spacing: .12em; color: var(--soluk); }
.kapanis__demo { margin-top: 4rem; padding-top: 1.25rem; border-top: 1px solid var(--cizgi); font-size: .8rem; color: var(--soluk); }

/* ── Girişler ────────────────────────────────────── */
html.js [data-gir] { opacity: 0; transform: translateY(1.75rem); filter: blur(6px); transition: opacity 1.1s var(--yumusak), transform 1.1s var(--yumusak), filter 1.1s var(--yumusak); transition-delay: var(--g, 0ms); }
html.js [data-gir].gor { opacity: 1; transform: none; filter: none; }

/* Zarf açılırken üzerindeki süs animasyonları (ışıltı, mühür halkası, ipucu yazısı) durur. */
.zarf.aciliyor, .zarf.aciliyor *, .zarf.aciliyor *::before, .zarf.aciliyor *::after { animation: none !important; }
.zarf.aciliyor .zarf__govde::after, .zarf.aciliyor .zarf__muhur::after { display: none; }

/* Hafif kip (telefon ve dokunmatik cihazlar; site.js <html class="hafif"> koyar): pahalı efektler kapalı. */
html.hafif.js [data-gir] { filter: none; transform: translateY(1.25rem); transition: opacity .8s var(--yumusak), transform .8s var(--yumusak); transition-delay: var(--g, 0ms); }
html.hafif.js [data-gir].gor { transform: none; }
html.hafif .zarf__govde::after { mix-blend-mode: normal; opacity: .35; }
html.hafif #cizim .sallan, html.hafif #cizim .yildiz, html.hafif .adlar__baslik .ve { animation: none; }
html.hafif .portre__kemer { box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  html.js [data-gir], html.js .davet__metin .k { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}
