:root {
  --paper: #f4efe5;
  --paper-2: #faf7f1;
  --card: #fdfbf7;
  --ink: #1d1a16;
  --ink-2: #3b362f;
  --muted: #877f72;
  --gold: #b08d57;
  --gold-deep: #8d6c39;
  --gold-light: #dcc391;
  --hair: rgba(176, 141, 87, .5);
  --foil: linear-gradient(105deg, #7d5e2e 0%, #a8844c 20%, #d9be88 36%, #9c7a43 50%, #7d5e2e 64%, #c4a165 82%, #7d5e2e 100%);
  --script: 'Pinyon Script', cursive;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ease: cubic-bezier(.22, .61, .21, 1);
  --col: 480px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.locked { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.foil {
  background: var(--foil);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: foil 9s ease-in-out infinite;
}
@keyframes foil { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.star { width: 14px; height: 14px; fill: var(--gold); stroke: none; }

/* ---------- Zarf ---------- */
.intro {
  position: fixed; inset: 0; z-index: 50; overflow: hidden; cursor: pointer;
  background: #ece5d8 url(/media/envelope.jpg?v=2) center / cover;
  transition: opacity 1.1s var(--ease), visibility 1.1s;
}
.intro__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Dar telefonlarda zarfın tamamı görünsün; kalan alan aynı görselin bulanık hali */
.intro::before { content: ''; position: absolute; inset: -40px; background: url(/media/envelope.jpg?v=2) center / cover; filter: blur(22px) brightness(1.03); }
@media (max-aspect-ratio: 9/16) {
  .intro__video { object-fit: contain; -webkit-mask-image: linear-gradient(transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(transparent, #000 8%, #000 92%, transparent); }
}
.intro__open { opacity: 0; transition: opacity .35s; }
.intro.is-opening .intro__open { opacity: 1; }
.intro__veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(246, 241, 232, .9) 0%, rgba(246, 241, 232, .45) 20%, rgba(246, 241, 232, 0) 36%, rgba(246, 241, 232, 0) 78%, rgba(246, 241, 232, .65) 100%); transition: opacity .6s; }
.intro__top { position: absolute; top: max(9vh, 52px); left: 0; right: 0; padding: 0 24px; text-align: center; transition: opacity .6s, transform .8s var(--ease); }
.intro__to { margin: 0; font-family: var(--script); font-size: clamp(42px, 12vw, 58px); line-height: 1.15; color: var(--ink); }
.intro__msg { margin: 8px auto 0; font-size: 13px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-deep); padding-left: .32em; }
.intro__seal {
  position: absolute; left: 49.8%; top: 53.1%; width: 84px; height: 84px; border-radius: 50%;
  transform: translate(-50%, -50%); pointer-events: none;
  animation: seal 2.6s ease-out infinite;
}
@keyframes seal {
  0% { box-shadow: 0 0 0 0 rgba(255, 248, 230, .85), 0 0 0 0 rgba(176, 141, 87, .35); }
  70% { box-shadow: 0 0 0 24px rgba(255, 248, 230, 0), 0 0 0 40px rgba(176, 141, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 248, 230, 0), 0 0 0 0 rgba(176, 141, 87, 0); }
}
.intro__hint { position: absolute; bottom: max(7vh, 38px); left: 0; right: 0; margin: 0; text-align: center; transition: opacity .5s; }
.intro__hint span {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  background: rgba(253, 251, 247, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(176, 141, 87, .35);
  font-size: 12.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-2);
}
.intro.is-opening { cursor: default; }
.intro.is-opening .intro__top, .intro.is-opening .intro__hint, .intro.is-opening .intro__veil { opacity: 0; }
.intro.is-opening .intro__top { transform: translateY(-12px); }
.intro.is-opening .intro__seal { animation: none; opacity: 0; }
.intro.is-open { opacity: 0; visibility: hidden; }

/* ---------- İskelet ---------- */
.invite { position: relative; background: var(--paper); overflow: clip; }
@media (min-width: 820px) {
  body { background: #e9e2d5 url(/media/paper-wide.jpg) center / cover fixed; }
  .invite { max-width: var(--col); margin: 0 auto; box-shadow: 0 0 0 1px rgba(141, 108, 57, .08), 0 40px 90px rgba(60, 45, 20, .16); }
  .intro { left: 50%; right: auto; width: var(--col); transform: translateX(-50%); box-shadow: 0 40px 90px rgba(60, 45, 20, .2); }
}

/* ---------- Kapak: basılı davetiyenin dijital hali ----------
   Kapak sabitlenir; aşağı kaydırdıkça güvercin kanat çırparak yerine uçar,
   altın kemer çizilir ve yazılar sırayla belirir (bkz. invite.js). */
.cover { position: relative; }
html.scrolly .cover { height: 250vh; }
@supports (height: 100svh) { html.scrolly .cover { height: 250svh; } }
.hero { position: relative; height: 100vh; padding: 16px 12px 58px; display: grid; place-items: center; overflow: hidden; background: var(--paper) url(/media/paper.jpg) center / cover; }
@supports (height: 100svh) { .hero { height: 100svh; } }
html.scrolly .hero { position: sticky; top: 0; }
html:not(.scrolly) .hero { height: auto; min-height: 100vh; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.arch { position: relative; width: 100%; max-width: 420px; padding: 0 8px; transform-origin: 50% 45%; }
.arch__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.arch__lines path { fill: none; stroke: url(#goldLine); stroke-width: 1.1; }
.arch__inner { opacity: .8; }
.arch__star { position: absolute; left: 50%; transform: translate(-50%, -50%); line-height: 0; }
.arch__star--top { top: 0; }
.arch__star--bottom { bottom: 0; transform: translate(-50%, 50%); }
.arch__star .star { width: 16px; height: 16px; }
html.scrolly .arch__star { opacity: 0; }

.arch__content { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(40px, 13vw, 64px) 10px 38px; }
.dove { position: relative; width: clamp(54px, 15vw, 70px); aspect-ratio: 200 / 272; margin-bottom: 4px; will-change: transform; z-index: 2; }
.dove__still { width: 100%; height: auto; }
.dove__flap { position: absolute; pointer-events: none; }

.names { margin: 6px 0 0; font-family: var(--script); font-weight: 400; color: var(--ink); line-height: 1; }
.names__one, .names__two { display: block; white-space: nowrap; font-size: clamp(46px, 14.6vw, 72px); letter-spacing: -.005em; padding: 0 .12em; }
.names__amp { display: flex; align-items: center; justify-content: center; gap: 14px; margin: -.02em 0 .06em; }
.names__amp i { display: block; width: clamp(54px, 22vw, 96px); height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold)); }
.names__amp i:last-child { transform: scaleX(-1); }
.names__amp b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(38px, 10.5vw, 50px); line-height: 1.1; padding: 0 .08em; }

.hero__lead { margin: 18px auto 0; max-width: 300px; font-style: italic; font-size: clamp(18px, 5vw, 21px); line-height: 1.45; color: var(--ink-2); }
.families { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 16px; align-items: center; width: 100%; max-width: 330px; margin-top: 22px; }
.families span { font-size: clamp(17px, 4.8vw, 20px); font-weight: 500; line-height: 1.3; color: var(--ink); }
.families i { height: 46px; background: linear-gradient(180deg, transparent, var(--gold), transparent); }
.rule { display: block; width: 110px; height: 1px; margin: 20px auto 16px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.rule--short { width: 38px; margin: 6px auto 8px; background: var(--gold); }
.hero__date { margin: 0; font-size: clamp(22px, 6.4vw, 27px); font-weight: 500; letter-spacing: .08em; color: var(--ink); }
.hero__time { margin: 0; font-size: clamp(20px, 5.8vw, 24px); font-weight: 500; letter-spacing: .1em; color: var(--ink); }
.hero__venue { margin: 10px 0 0; font-size: clamp(20px, 5.8vw, 24px); font-weight: 500; letter-spacing: .06em; color: var(--ink); }
html.scrolly [data-track] { opacity: 0; }

/* Kaydırma ipucu: başta ortadaki büyük güvercinin hemen altında durur (top, invite.js'te hesaplanır) */
.hero__cue { position: absolute; bottom: 14px; left: 0; right: 0; z-index: 3; margin: 0; padding: 0 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; pointer-events: none; }
html.scrolly .hero__cue { bottom: auto; top: var(--cue-top, 62%); }
.hero__cue b {
  display: inline-block; padding: 12px 24px 12px calc(24px + .26em); border-radius: 999px;
  background: rgba(253, 251, 247, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(176, 141, 87, .45); box-shadow: 0 8px 24px rgba(90, 66, 30, .1);
  font-size: 13px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--ink);
}
.hero__cue span { max-width: 260px; font-style: italic; font-size: clamp(17px, 4.8vw, 19px); line-height: 1.4; color: var(--ink-2); }
.hero__cue i { width: 13px; height: 13px; margin-top: 2px; border-right: 1.6px solid var(--gold-deep); border-bottom: 1.6px solid var(--gold-deep); transform: rotate(45deg); animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0) rotate(45deg); opacity: .5; } 50% { transform: translateY(7px) rotate(45deg); opacity: 1; } }

/* ---------- Müzik düğmesi ---------- */
.music {
  position: fixed; top: calc(14px + env(safe-area-inset-top)); right: 14px; z-index: 30;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(253, 251, 247, .8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--hair); box-shadow: 0 8px 20px rgba(60, 45, 20, .1);
}
@media (min-width: 820px) { .music { right: calc(50% - var(--col) / 2 + 14px); } }
.music__bars { display: flex; align-items: flex-end; gap: 2.5px; height: 16px; }
.music__bars i { width: 2.5px; height: 4px; border-radius: 2px; background: var(--gold-deep); transition: height .3s; }
.music[aria-pressed="true"] .music__bars i { animation: bars 1.1s ease-in-out infinite; }
.music[aria-pressed="true"] .music__bars i:nth-child(2) { animation-delay: -.35s; }
.music[aria-pressed="true"] .music__bars i:nth-child(3) { animation-delay: -.7s; }
.music[aria-pressed="true"] .music__bars i:nth-child(4) { animation-delay: -.2s; }
@keyframes bars { 0%, 100% { height: 4px; } 50% { height: 16px; } }
.music[aria-pressed="false"]::after { content: ''; position: absolute; width: 22px; height: 1px; background: var(--gold-deep); transform: rotate(-45deg); }

/* ---------- Bölümler ---------- */
.section { position: relative; padding: 68px 26px 72px; text-align: center; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 auto 26px; }
.ornament i { width: 64px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament i:last-child { transform: scaleX(-1); }
.ornament .star { width: 12px; height: 12px; }
.kicker { margin: 0 0 2px; font-size: 13px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-deep); padding-left: .28em; }
.title { margin: 0 0 6px; font-family: var(--script); font-weight: 400; font-size: 54px; line-height: 1.2; color: var(--ink); }
.caption { margin: 0 0 26px; font-style: italic; font-size: 18px; color: var(--muted); }

.countdown__row { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 380px; margin: 22px auto 20px; }
.countdown__row div { position: relative; padding: 4px 0; }
.countdown__row div + div::before { content: ''; position: absolute; left: 0; top: 14%; bottom: 14%; width: 1px; background: linear-gradient(180deg, transparent, var(--hair), transparent); }
.countdown__row b { display: block; font-size: 44px; font-weight: 500; line-height: 1; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.countdown__row span { display: block; margin-top: 8px; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); padding-left: .24em; }
.countdown .caption { margin-bottom: 0; }

.program__list { list-style: none; margin: 18px auto 0; padding: 0; max-width: 320px; }
.program__list li { position: relative; padding: 14px 0 18px; }
.program__list li + li::before { content: ''; position: absolute; top: -6px; left: 50%; width: 6px; height: 6px; background: var(--gold); transform: translateX(-50%) rotate(45deg); }
.program__list li + li { margin-top: 10px; }
.program__list time { display: block; font-size: 17px; font-weight: 600; letter-spacing: .22em; color: var(--gold-deep); padding-left: .22em; }
.program__list strong { display: block; margin-top: 2px; font-size: 25px; font-weight: 500; color: var(--ink); }
.program__list span { display: block; font-style: italic; color: var(--muted); }

.venue__name { margin: 12px 0 2px; font-size: 26px; font-weight: 600; letter-spacing: .1em; color: var(--ink); }
.venue__addr { margin: 0 auto 26px; max-width: 320px; font-style: italic; font-size: 18px; color: var(--muted); }
.venue__map { position: relative; max-width: 340px; margin: 0 auto; padding: 8px; border: 1px solid var(--hair); border-radius: 999px 999px 4px 4px; }
.venue__map iframe { width: 100%; height: 300px; border: 0; border-radius: 999px 999px 2px 2px; filter: grayscale(.85) sepia(.25) contrast(.95) brightness(1.03); }
.btn-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

.notes__list { max-width: 360px; margin: 20px auto 0; }
.notes__list div { padding: 18px 0; }
.notes__list div + div { border-top: 1px solid rgba(176, 141, 87, .28); }
.notes__list dt { font-size: 12.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep); padding-left: .3em; }
.notes__list dd { margin: 6px 0 0; font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.notes__list b { font-weight: 600; color: var(--ink); }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: #f7f1e6; cursor: pointer; text-decoration: none;
  font-family: var(--serif); font-size: 14px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
}
.btn:hover { box-shadow: 0 10px 24px rgba(29, 26, 22, .2); }
.btn:active { transform: scale(.98); }
.btn svg { width: 16px; height: 16px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--hair); }
.btn--ghost:hover { border-color: var(--gold); box-shadow: none; background: rgba(176, 141, 87, .06); }
.btn--block { width: 100%; padding: 17px 26px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Katılım ---------- */
.card {
  position: relative; text-align: left; max-width: 400px; margin: 0 auto;
  background: var(--card); padding: 30px 24px 26px;
  border: 1px solid var(--hair); outline: 1px solid rgba(176, 141, 87, .28); outline-offset: -7px;
  box-shadow: 0 24px 50px rgba(60, 45, 20, .08);
}
.form { display: grid; gap: 20px; }
.choice { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice__opt { position: relative; cursor: pointer; }
.choice__opt input { position: absolute; opacity: 0; pointer-events: none; }
.choice__opt > span { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; height: 100%; padding: 16px 10px 14px; border: 1px solid rgba(176, 141, 87, .35); background: #fff; transition: border-color .25s, background .25s, box-shadow .25s; }
.choice__opt i { width: 16px; height: 16px; margin-bottom: 6px; border-radius: 50%; border: 1px solid var(--gold); position: relative; }
.choice__opt i::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .25s var(--ease); }
.choice__opt strong { font-size: 19px; font-weight: 600; line-height: 1.2; color: var(--ink); }
.choice__opt small { font-size: 15px; font-style: italic; color: var(--muted); }
.choice__opt input:checked + span { border-color: var(--ink); background: #fbf6ec; box-shadow: inset 0 0 0 1px var(--ink); }
.choice__opt input:checked + span i::after { transform: scale(1); }
.choice__opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.field { display: grid; gap: 4px; }
.field > span { font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); }
.field em { font-style: italic; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 14px; color: var(--muted); margin-left: 4px; }
.field input, .field textarea {
  width: 100%; padding: 8px 0 9px; border: 0; border-bottom: 1px solid rgba(176, 141, 87, .45); border-radius: 0; background: transparent;
  font-family: var(--serif); font-size: 20px; color: var(--ink); outline: none; transition: border-color .25s;
}
.field input::placeholder { color: #b7ae9f; }
.field textarea { resize: vertical; min-height: 64px; line-height: 1.4; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--ink); }

.when-yes { display: grid; gap: 16px; padding: 18px 16px; background: #f8f2e7; border: 1px solid rgba(176, 141, 87, .22); }
.plus { display: grid; gap: 12px; }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 19px; color: var(--ink); }
.switch input { position: absolute; opacity: 0; }
.switch__ui { position: relative; width: 44px; height: 26px; border-radius: 999px; background: #e2d9c8; transition: background .25s; flex: none; }
.switch__ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .18); transition: transform .3s var(--ease); }
.switch input:checked + .switch__ui { background: var(--ink); }
.switch input:checked + .switch__ui::after { transform: translateX(18px); }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--gold); outline-offset: 2px; }
.switch b { font-weight: 600; color: var(--gold-deep); }

.kids__row { display: flex; align-items: center; justify-content: space-between; font-size: 19px; color: var(--ink); }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--hair); background: #fff; color: var(--ink); font-family: var(--serif); font-size: 21px; line-height: 1; cursor: pointer; }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper output { min-width: 26px; text-align: center; font-size: 21px; font-weight: 500; }
.kids__note { margin: 12px 0 0; padding-left: 12px; border-left: 1px solid var(--gold); font-size: 16.5px; line-height: 1.45; font-style: italic; color: var(--ink-2); }

.form__error { margin: 0; padding: 10px 14px; background: #f6e5df; color: #8a3b25; font-size: 16px; }
.fine { margin: -4px 0 0; text-align: center; font-size: 14px; font-style: italic; line-height: 1.45; color: var(--muted); }

.rsvp-done { text-align: center; }
.rsvp-done__mark { width: 56px; height: 56px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold-deep); }
.rsvp-done__mark svg { width: 24px; height: 24px; stroke-width: 1.6; }
.rsvp-done h3 { margin: 0; font-family: var(--script); font-weight: 400; font-size: 46px; line-height: 1.2; color: var(--ink); }
.rsvp-done p { margin: 6px 0 0; color: var(--ink-2); }
.summary { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 16px; }
.pill { padding: 5px 14px; border: 1px solid var(--hair); border-radius: 999px; font-size: 15px; color: var(--ink); background: #fff; }
.pill--ok { background: var(--ink); border-color: var(--ink); color: #f7f1e6; }
.confirm-box { margin-top: 22px; padding: 20px 16px; background: #f8f2e7; border: 1px solid rgba(176, 141, 87, .3); }
.confirm-box p { margin: 0 0 14px; font-size: 20px; color: var(--ink); }
.confirm-box .btn-row { margin-top: 0; }
.link-btn { display: block; margin: 20px auto 0; background: none; border: 0; font-family: var(--serif); font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 6px; cursor: pointer; }

/* ---------- Kaydet / paylaş ---------- */
.save__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 400px; margin: 22px auto 0; }
.save-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px 6px 18px;
  border: 1px solid var(--hair); background: var(--card); cursor: pointer; text-decoration: none;
  font-family: var(--serif); font-size: 15px; font-weight: 600; line-height: 1.2; color: var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.save-btn:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 12px 24px rgba(60, 45, 20, .08); }
.save-btn svg { width: 24px; height: 24px; color: var(--gold-deep); }
.wallet-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 13px 24px; border-radius: 12px; background: #000; color: #fff; text-decoration: none; font-family: -apple-system, 'SF Pro Text', system-ui, sans-serif; font-size: 15px; font-weight: 500; }
.wallet-btn svg { width: 20px; height: 20px; }

.footer { padding: 20px 24px calc(64px + env(safe-area-inset-bottom)); text-align: center; }
.footer__dove { width: 54px; height: auto; margin: 0 auto 10px; }
.footer__names { margin: 0; font-family: var(--script); font-size: clamp(28px, 8.4vw, 42px); white-space: nowrap; line-height: 1.25; color: var(--ink); }
.footer__names .foil { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: .7em; padding: 0 .05em; }
.footer__date { margin: 6px 0 0; font-size: 15px; font-weight: 600; letter-spacing: .3em; color: var(--gold-deep); padding-left: .3em; }
.footer__tag { margin: 4px 0 0; font-style: italic; color: var(--muted); }

/* ---------- Yüzen buton + bildirim ---------- */
.fab {
  position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 20;
  transform: translate(-50%, 140%); opacity: 0;
  padding: 14px 28px; border-radius: 999px; background: var(--ink); color: #f7f1e6; text-decoration: none;
  font-family: var(--serif); font-size: 13.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 14px 34px rgba(29, 26, 22, .3); transition: transform .5s var(--ease), opacity .5s;
}
.fab.is-visible { transform: translate(-50%, 0); opacity: 1; }
.toast {
  position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 60;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: calc(100vw - 32px);
  padding: 12px 20px; border-radius: 999px; background: rgba(29, 26, 22, .94); color: #f7f1e6;
  font-family: var(--serif); font-size: 16px; transition: opacity .3s, transform .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Kaydırınca belirme ---------- */
.reveal { opacity: 0; transform: translateY(18px); filter: blur(4px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .intro__seal, .hero__cue i, .foil { animation: none; }
}
@media (max-width: 360px) {
  .section { padding-left: 18px; padding-right: 18px; }
  .choice { grid-template-columns: 1fr; }
  .countdown__row b { font-size: 34px; }
  .save__grid { grid-template-columns: 1fr; }
}
