/* ════════════════════════════════════════════════
   Serda & Ahmet — Düğün Davetiyesi
   Palet: fildişi / altın / koyu yeşil
═══════════════════════════════════════════════ */

:root {
  --ivory: #F2ECDD;
  --ivory-deep: #E7DECA;
  --ink: #14231C;
  --ink-soft: #2C3E34;
  --gold: #C9AD77;
  --gold-deep: #9A7F4E;
  --gold-pale: #EADFC4;
  --hairline: rgba(201, 173, 119, 0.4);

  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Great Vibes", cursive;

  color-scheme: light;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  font-family: var(--serif);
  background: var(--ivory);
  color: var(--ink);
  /* ÖNEMLİ: overflow-x "hidden" DEĞİL "clip" olmalı.
     "hidden" body'yi kaydırılabilir bir kap yapar ve GSAP
     pin'li sahnelerle çakışıp bölümlerin kaybolmasına,
     yerlerinde boşluk kalmasına yol açar. */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

::selection { background: var(--gold); color: var(--ink); }

/* İlerleme çizgisi */
.spine {
  position: fixed; inset: 0 0 auto 0; height: 2px;
  background: rgba(20, 35, 28, 0.08);
  z-index: 90; pointer-events: none;
}
.spine span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  transform: scaleX(0); transform-origin: left;
}

/* Sahne temeli: her bölüm tam ekran */
.scene {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

/* ══════════ SAHNE 1 · PERDE AÇILIŞI ══════════ */

.scene-hero { background: var(--ink); }

.hero-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}

.hero-photo {
  position: absolute; inset: 0;
  opacity: 0;
}
.hero-photo svg, .hero-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.photo-veil {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center,
    rgba(20, 35, 28, 0.05) 30%,
    rgba(20, 35, 28, 0.55) 100%);
}

.hero-title {
  position: relative; z-index: 5;
  text-align: center;
  color: var(--ivory);
  padding: 0 24px;
}
.hero-kicker {
  font-size: clamp(0.85rem, 1.6vw, 1.05rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-pale);
  margin-bottom: 1.2rem;
  opacity: 0;
}
.hero-names {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  line-height: 1.05;
  color: var(--ivory);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
}
.hero-names .amp {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.45em;
  color: var(--gold);
  margin: 0 0.35em;
  vertical-align: middle;
}
.hero-names .nv { display: inline-block; }
.hero-date {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.9rem, 3vw, 2rem);
  flex-wrap: wrap;
  font-size: clamp(0.95rem, 2vw, 1.28rem);
  letter-spacing: 0.28em;
  color: var(--gold-pale);
  opacity: 0;
}
.hd-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7em;
  white-space: nowrap;
}
.hd-item i {
  font-style: normal;
  font-size: 0.68em;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.hd-sep {
  width: 1px;
  height: 1.1em;
  background: var(--hairline);
}

/* HATIRLATICI DÜĞMESİ */
.hero-remind {
  position: relative;
  margin-top: 2rem;
  opacity: 0;
}
.remind-btn {
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--serif);
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-pale);
  background: rgba(242, 236, 221, 0.06);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.75em 1.7em;
  backdrop-filter: blur(4px);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.remind-btn svg { width: 1.15em; height: 1.15em; flex: none; }
.remind-btn:hover,
.remind-btn[aria-expanded="true"] {
  color: var(--ivory);
  border-color: var(--gold);
  background: rgba(201, 173, 119, 0.16);
}

/* ── Hatırlatma modalı ── */
.remind-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 18, 14, 0.62);
  backdrop-filter: blur(5px);
  animation: rmFade 0.28s ease both;
}
.remind-overlay[hidden] { display: none; }
@keyframes rmFade { from { opacity: 0 } to { opacity: 1 } }

.remind-modal {
  position: relative;
  width: min(560px, 100%);
  background: #F7F4ED;
  border-radius: 22px;
  padding: clamp(1.6rem, 4.5vw, 2.6rem);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  animation: rmPop 0.34s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
@keyframes rmPop {
  from { opacity: 0; transform: translateY(16px) scale(0.96) }
  to   { opacity: 1; transform: none }
}

.rm-close {
  position: absolute;
  top: 0.9rem; right: 1.1rem;
  appearance: none; cursor: pointer;
  background: none; border: none;
  font-size: 1.9rem;
  line-height: 1;
  color: #6B7A72;
  padding: 0.1em 0.3em;
  border-radius: 8px;
  transition: color 0.25s ease, background 0.25s ease;
}
.rm-close:hover { color: var(--ink); background: rgba(20, 35, 28, 0.06); }

.rm-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  color: #1F3A4D;
  letter-spacing: 0.01em;
  margin-bottom: 1.5rem;
}

.rm-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.rm-wide { grid-column: 1 / -1; }

.rm-opt {
  appearance: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--serif);
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  letter-spacing: 0.02em;
  color: #1F3A4D;
  background: #FFFFFF;
  border: 1px solid rgba(31, 58, 77, 0.14);
  border-radius: 15px;
  padding: 1.05em 1.1em;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 3px 10px rgba(31, 58, 77, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.rm-opt:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 58, 77, 0.28);
  box-shadow: 0 10px 24px rgba(31, 58, 77, 0.14);
}
.rm-opt:active { transform: translateY(0); }

.rm-ico {
  flex: none;
  width: 2.15em;
  height: 2.15em;
  display: grid;
  place-items: center;
  border-radius: 11px;
}
.rm-ico svg { width: 62%; height: 62%; }
.ico-takvim  { color: #4A6FA5; background: #E8EFFA; }
.ico-bildirim { color: #D9A21B; background: #FBF3DD; }
.ico-eposta  { color: #C9386A; background: #FBE9EF; }

.rm-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 0.85rem;
}
.rm-sub[hidden] { display: none; }
.rm-sub .rm-back { grid-column: 1 / -1; justify-self: center; }
.rm-opt .rm-label i {
  display: block;
  font-style: normal;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: #6B7A72;
  margin-top: 0.2em;
}
.rm-back {
  appearance: none; cursor: pointer;
  background: none; border: none;
  font-family: var(--serif);
  font-size: 0.92rem;
  color: #6B7A72;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.4em;
  transition: color 0.25s ease;
}
.rm-back:hover { color: var(--ink); }

.rm-status {
  margin-top: 1.1rem;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.55;
  color: #2C3E34;
  min-height: 1.2em;
  text-align: center;
}
.rm-status.is-ok { color: #2F7A4F; }

.rm-opt.is-on {
  border-color: #2F7A4F;
  background: #F0F8F3;
}

@media (max-width: 520px) {
  .rm-options { grid-template-columns: 1fr; }
  .rm-sub { grid-template-columns: 1fr; }
}

.scroll-hint {
  position: absolute; bottom: 4vh; left: 50%;
  transform: translateX(-50%);
  z-index: 6; text-align: center;
  color: var(--gold-pale); opacity: 0;
}
.scroll-hint span {
  display: block; width: 1px; height: 42px;
  margin: 0 auto 8px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: hintFall 1.8s ease-in-out infinite;
}
.scroll-hint em {
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
@keyframes hintFall {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Perdeler — dekoratif katman, tıklamayı engellememeli */
.curtains {
  position: absolute; inset: 0;
  z-index: 20;
  display: flex;
  pointer-events: none;
}
.curtain {
  position: relative;
  flex: 1;
  overflow: hidden;
}
.curtain-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg,
      rgba(0,0,0,0.22) 0%,
      rgba(255,255,255,0.045) 18%,
      rgba(0,0,0,0.30) 34%,
      rgba(255,255,255,0.03) 52%,
      rgba(0,0,0,0.26) 70%,
      rgba(255,255,255,0.05) 86%,
      rgba(0,0,0,0.22) 100%),
    linear-gradient(#3B1015, #230A0D 55%, #170608);
}
.curtain-fold {
  position: absolute; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom,
    rgba(201,173,119,0.0), rgba(201,173,119,0.28), rgba(201,173,119,0.0));
}
.curtain .f1 { left: 22%; }
.curtain .f2 { left: 46%; }
.curtain .f3 { left: 68%; }
.curtain .f4 { left: 86%; }
.curtain-edge {
  position: absolute; top: 0; bottom: 0; width: 6px;
  background: linear-gradient(to bottom,
    var(--gold-deep), var(--gold) 45%, var(--gold-deep));
  box-shadow: 0 0 26px rgba(201,173,119,0.5);
}
.curtain-l .curtain-edge { right: 0; }
.curtain-r .curtain-edge { left: 0; }
.curtain-mono {
  position: absolute; top: 50%;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.6vw, 1.8rem);
  color: var(--gold-pale);
  opacity: 0.85;
  white-space: nowrap;
}
.curtain-l .curtain-mono { right: 9%; transform: translateY(-50%); }
.curtain-r .curtain-mono { left: 9%;  transform: translateY(-50%); }

/* ══════════ SAHNE 1.5 · GERİ SAYIM ══════════ */

.scene-count {
  background:
    radial-gradient(ellipse 90% 70% at 50% 110%, rgba(201,173,119,0.10), transparent 60%),
    var(--ivory);
  display: flex; align-items: center; justify-content: center;
  padding: 8vh 24px;
}

.count-wrap {
  width: min(880px, 100%);
  text-align: center;
}

.count-kicker {
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 2.6rem;
}

.count-tabs {
  display: flex; align-items: center; justify-content: center;
  gap: 1.4rem;
  margin-bottom: 2.4rem;
}
.ctab {
  appearance: none;
  background: none; border: none; cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  color: var(--ink-soft);
  opacity: 0.45;
  padding: 0.2rem 0.4rem;
  position: relative;
  transition: opacity 0.35s ease, color 0.35s ease;
}
.ctab i {
  display: block;
  font-style: normal;
  font-size: 0.52em;
  letter-spacing: 0.22em;
  margin-top: 0.3em;
  color: var(--gold-deep);
}
.ctab.is-on { opacity: 1; color: var(--ink); }
.ctab.is-on i { color: var(--gold); }
.ctab-sep {
  width: 1px; height: 44px;
  background: var(--hairline);
}

.cpanel { display: none; }
.cpanel.is-on { display: block; }

.cdigits {
  display: flex; justify-content: center;
  gap: clamp(1rem, 4.5vw, 3.2rem);
}
.cell b {
  display: block;
  font-weight: 500;
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.cell i {
  display: block;
  margin-top: 0.55em;
  font-style: normal;
  font-size: clamp(0.68rem, 1.4vw, 0.85rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.cplace {
  margin-top: 2.6rem;
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--ink-soft);
}
.cplace-sub {
  font-style: normal;
  font-size: 0.72em;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.cplace-map {
  display: inline-block;
  margin-top: 1.3rem;
  font-size: clamp(0.82rem, 1.6vw, 0.95rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.3em;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.cplace-map:hover { color: var(--gold-deep); border-color: var(--gold-deep); }

/* ══════════ SAHNE 2 · YÜZÜKTEN GEÇİŞ ══════════ */

.scene-ring {
  background:
    radial-gradient(ellipse 80% 60% at 50% 45%, #1B3328, var(--ink) 75%);
  display: flex; align-items: center; justify-content: center;
}

.ring-stage {
  position: relative;
  width: 100%; height: 100vh;
  display: flex; align-items: center; justify-content: center;
}

.ring-reveal {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  color: var(--ivory);
  padding: 0 24px;
  opacity: 0;
  z-index: 1;
}
.rr-kicker {
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: clamp(0.78rem, 1.5vw, 0.95rem);
  color: var(--gold);
  margin-bottom: 1.6rem;
}
.rr-date {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2.8rem, 7.5vw, 5.5rem);
  line-height: 1.1;
}
.rr-place {
  margin-top: 1.2rem;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  letter-spacing: 0.12em;
  color: var(--gold-pale);
}
.rr-note {
  margin-top: 2.2rem;
  max-width: 46ch;
  font-style: italic;
  font-size: clamp(1rem, 1.9vw, 1.2rem);
  line-height: 1.7;
  color: rgba(242, 236, 221, 0.75);
}

.ring {
  position: relative; z-index: 2;
  width: clamp(170px, 24vw, 260px);
  filter: drop-shadow(0 0 34px rgba(201, 173, 119, 0.35));
}
/* Fotoğraf yüklenirse çizim yüzük gizlenir */
.ring img { width: 100%; height: auto; }
.ring.has-img svg { display: none; }

/* ══════════ SAHNE 3 · KALP MASKELEME ══════════ */

.scene-heart { background: var(--ivory-deep); }

.heart-stage {
  position: relative;
  width: 100%; height: 100vh;
  display: flex; align-items: center; justify-content: center;
}

/* Arka katman: program (açılan yarıktan görünür) */
.heart-back {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% 50%, #1F382C, var(--ink) 78%);
}
.program {
  text-align: center;
  color: var(--ivory);
  padding: 0 24px;
}
.pg-title {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  color: var(--gold);
  margin-bottom: 1.6rem;
}
.pg-groups {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(1.6rem, 5vw, 3.4rem);
}
.pg-group {
  flex: 0 1 auto;
  min-width: 0;
}
.pg-sub {
  font-style: italic;
  font-size: clamp(0.95rem, 1.9vw, 1.15rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-pale);
  opacity: 0.8;
  margin-bottom: 0.9rem;
  text-align: center;
}
.pg-div {
  align-self: stretch;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--hairline), transparent);
}

.pg-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.pg-list li {
  display: flex; align-items: baseline; justify-content: center;
  gap: 1rem;
  font-size: clamp(1.02rem, 2vw, 1.25rem);
  line-height: 1.5;
}
.pg-time {
  font-variant-numeric: tabular-nums;
  color: var(--gold);
  letter-spacing: 0.08em;
  min-width: 4.2em;
  text-align: right;
}
.pg-note {
  margin-top: 1.4rem;
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(242, 236, 221, 0.6);
}

/* Ön katman: ikiye bölünen zarf */
.heart-front {
  position: absolute; inset: 0;
  z-index: 3;
  display: flex; align-items: center; justify-content: center;
}
.hrow {
  display: flex;
  width: 100%; height: 100%;
}
.hs {
  position: relative;
  flex: 1;
  background: linear-gradient(160deg, #F7F1E2, #EDE4CE 60%, #E3D7BB);
  display: flex; align-items: center; justify-content: center;
  will-change: transform;
}
.hs-glyph {
  width: clamp(150px, 20vw, 230px);
  opacity: 0.9;
}
.hs-word {
  position: absolute;
  bottom: 14vh;
  left: 50%; transform: translateX(-50%);
  font-style: italic;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  white-space: nowrap;
}
/* Kritik: her yarıya, arkadaki katmanı gören
   ince bir dikey pencere açılır (clip-path) */
.hs-left {
  clip-path: polygon(0 0, 82% 0, 100% 100%, 0 100%);
}
.hs-right {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 18% 100%);
}

/* ══════════ SAHNE 4 · SVG YOL + LCV ══════════ */

.scene-path {
  background: var(--ivory);
  display: flex; align-items: center; justify-content: center;
  padding: 10vh 24px;
}

.path-stage {
  position: relative;
  width: min(1060px, 100%);
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3rem;
}

.way {
  width: min(920px, 100%);
  height: auto;
}

.node { opacity: 0; }

.path-copy {
  text-align: center;
}
.p-kicker {
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: clamp(0.78rem, 1.5vw, 0.95rem);
  color: var(--gold-deep);
  margin-bottom: 0.9rem;
}
.p-line {
  font-style: italic;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--ink-soft);
  max-width: 44ch;
  margin: 0 auto;
}

.path-end {
  display: flex; flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  width: 100%;
}

.pe-actions { text-align: center; }

.btn-gold {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  letter-spacing: 0.12em;
  color: var(--ink);
  background: linear-gradient(120deg, var(--gold-pale), var(--gold));
  border: 1px solid var(--gold-deep);
  border-radius: 999px;
  padding: 0.9em 2.4em;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 22px rgba(154, 127, 78, 0.28);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(154, 127, 78, 0.4);
}

/* LCV formu */
.lcv {
  width: min(640px, 100%);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  backdrop-filter: blur(6px);
}
.lcv-head {
  font-family: var(--script);
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  color: var(--ink);
  margin-bottom: 1.4rem;
  text-align: center;
}
.lcv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.4rem;
}
.f-label {
  display: flex; flex-direction: column;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  gap: 0.45rem;
}
.f-wide { grid-column: 1 / -1; }
.f-input {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 0.65em 0.9em;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.f-input:focus {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(201, 173, 119, 0.25);
}
.f-opts {
  display: flex; flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
}
.f-opt {
  display: inline-flex; align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: none;
}
.f-opt input {
  accent-color: var(--gold-deep);
  width: 16px; height: 16px;
}
.f-send {
  margin-top: 1.5rem;
  width: 100%;
  border: 1px solid var(--gold-deep);
}
.lcv-msg {
  margin-top: 0.9rem;
  text-align: center;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-soft);
  min-height: 1.4em;
}

/* ══════════ FOTOĞRAF PAYLAŞIMI ══════════ */

.scene-share {
  background:
    radial-gradient(ellipse 85% 65% at 50% 0%, rgba(201,173,119,0.12), transparent 62%),
    var(--ivory-deep);
  display: flex; align-items: center; justify-content: center;
  padding: 12vh 24px;
}

.share-wrap {
  width: min(880px, 100%);
  text-align: center;
}

.sh-kicker {
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: clamp(0.78rem, 1.5vw, 0.95rem);
  color: var(--gold-deep);
  margin-bottom: 1.1rem;
}

.sh-title {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.4vw, 3.6rem);
  color: var(--ink);
  line-height: 1.15;
}

.sh-line {
  margin: 1.4rem auto 0;
  max-width: 52ch;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--ink-soft);
}

.share-body {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 6vw, 4.5rem);
  flex-wrap: wrap;
}

.qr-card {
  background: linear-gradient(160deg, #FBF7EC, var(--ivory));
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 1.3rem 1.3rem 1.1rem;
  box-shadow: 0 14px 38px rgba(20, 35, 28, 0.10);
}

.qr-img {
  width: clamp(150px, 22vw, 190px);
  height: auto;
  border-radius: 8px;
}

.qr-hint {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.share-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.btn-ghost {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(0.95rem, 1.7vw, 1.1rem);
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.85em 2.2em;
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.btn-ghost:hover {
  color: var(--gold-deep);
  border-color: var(--gold-deep);
  transform: translateY(-2px);
}

/* ══════════ KAPANIŞ ══════════ */

.finale {
  background: var(--ink);
  color: var(--ivory);
  text-align: center;
  padding: 14vh 24px 12vh;
}
.fin-script {
  font-family: var(--script);
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--gold-pale);
}
.fin-small {
  margin-top: 1.2rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: rgba(242, 236, 221, 0.55);
}

/* ══════════ MOBİL ══════════ */

@media (max-width: 720px) {
  .lcv-grid { grid-template-columns: 1fr; }
  .cdigits { flex-wrap: wrap; }
  .pg-groups { flex-direction: column; align-items: stretch; gap: 1.5rem; }
  .pg-div { width: 100%; height: 1px; align-self: auto;
    background: linear-gradient(to right, transparent, var(--hairline), transparent); }
  .pg-list li { flex-direction: column; gap: 0.15rem; }
  .pg-time { text-align: center; min-width: 0; }
  /* Mobil güvenlik ağı: form ve buton hiçbir koşulda
     görünmez kalmamalı */
  .lcv, .pe-actions { opacity: 1 !important; transform: none !important; }
  .hrow { flex-direction: column; }
  .hs-left {
    clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
  }
  .hs-right {
    clip-path: polygon(0 22%, 100% 0, 100% 100%, 0 100%);
  }
}

/* ══════════ HAREKETİ AZALT ══════════ */

@media (prefers-reduced-motion: reduce) {
  .scroll-hint span { animation: none; }
  .curtain-mono, .hero-names, .hero-date { text-shadow: none; }
}
