/* seni — özel özür sayfası. Mobil öncelikli, tek dosya. */
:root {
  --bg: #0b0710;
  --bg-2: #140b16;
  --ink: #fff7f2;
  --muted: rgba(255, 247, 242, 0.62);
  --faint: rgba(255, 247, 242, 0.35);
  --rose: #ff6b93;
  --rose-deep: #e84672;
  --gold: #ffd8b5;
  --line: rgba(255, 247, 242, 0.12);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --script: "Snell Roundhand", "Apple Chancery", "Brush Script MT", cursive;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Inter, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  min-height: 100svh;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(232, 70, 114, 0.22), transparent 60%),
    radial-gradient(900px 600px at 0% 20%, rgba(255, 107, 147, 0.12), transparent 55%),
    linear-gradient(180deg, #0b0710 0%, #100915 45%, #0b0710 100%);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- kapı */
.gate-body { display: grid; place-items: center; min-height: 100svh; overflow: hidden; }
.gate-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; }
.g1 { width: 480px; height: 480px; left: -160px; top: -120px; background: #ff5c8a; animation: drift 18s ease-in-out infinite alternate; }
.g2 { width: 420px; height: 420px; right: -140px; bottom: -120px; background: #7a2a55; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(40px,30px,0) scale(1.12); } }

.heart { position: absolute; color: rgba(255, 107, 147, 0.35); font-size: 22px; animation: rise 14s linear infinite; }
.h1 { left: 12%; bottom: -40px; animation-delay: 0s; font-size: 18px; }
.h2 { left: 28%; bottom: -60px; animation-delay: 3s; font-size: 28px; }
.h3 { left: 47%; bottom: -40px; animation-delay: 6s; font-size: 16px; }
.h4 { left: 63%; bottom: -50px; animation-delay: 1.5s; font-size: 24px; }
.h5 { left: 78%; bottom: -40px; animation-delay: 8s; font-size: 20px; }
.h6 { left: 90%; bottom: -60px; animation-delay: 5s; font-size: 30px; }
@keyframes rise {
  0% { transform: translateY(0) scale(0.6) rotate(-8deg); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateY(-115svh) scale(1.1) rotate(12deg); opacity: 0; }
}

.gate {
  position: relative; z-index: 1;
  width: min(420px, calc(100vw - 40px));
  text-align: center;
  padding: 34px 26px 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(28, 16, 26, 0.82), rgba(16, 9, 18, 0.9));
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.monogram {
  font-family: var(--serif); font-size: 15px; letter-spacing: 0.35em;
  color: var(--gold); opacity: 0.9; margin-bottom: 20px;
}
.monogram span { color: var(--rose); font-style: italic; margin: 0 2px; }
.gate-kicker {
  margin: 0 0 10px; font-size: 11px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--rose);
}
.gate-title {
  margin: 0 0 14px; font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 8vw, 38px); line-height: 1.12; letter-spacing: -0.01em;
}
.gate-sub { margin: 0 0 26px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
#gate-form { display: grid; gap: 14px; }
.code-input {
  width: 100%; text-align: center;
  font-family: var(--serif); font-size: 30px; letter-spacing: 0.55em;
  padding: 16px 10px 16px 22px;
  color: var(--ink); background: rgba(255, 247, 242, 0.05);
  border: 1px solid var(--line); border-radius: 16px;
  outline: none; caret-color: var(--rose);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.code-input::placeholder { color: rgba(255, 247, 242, 0.28); letter-spacing: 0.5em; }
.code-input:focus { border-color: rgba(255, 107, 147, 0.65); box-shadow: 0 0 0 4px rgba(255, 107, 147, 0.12); }
.gate-btn {
  border: 0; border-radius: 16px; padding: 16px;
  font-weight: 650; font-size: 15.5px; letter-spacing: 0.02em;
  color: #fff; cursor: pointer;
  background: linear-gradient(135deg, #ff7ba0, var(--rose-deep));
  box-shadow: 0 14px 30px rgba(232, 70, 114, 0.35);
  transition: transform 0.12s ease, box-shadow 0.2s ease, opacity 0.2s;
}
.gate-btn:active { transform: scale(0.98); }
.gate-btn[disabled] { opacity: 0.55; box-shadow: none; }
.gate-msg { min-height: 22px; margin: 16px 4px 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.gate-msg.bad { color: #ff9cb2; }
.gate-msg.banned { color: #ff8a8a; font-weight: 600; }
.gate-foot { margin: 22px 0 0; font-family: var(--script); font-size: 18px; color: var(--faint); }
.shake { animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both; }
@keyframes shake {
  10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-7px); } 40%, 60% { transform: translateX(7px); }
}

/* ---------------------------------------------------------------- sayfa */
.love-body { padding-bottom: calc(10px + var(--safe-b)); }
#hearts { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 55% 42%;
  transform: scale(1.06);
  animation: heroZoom 18s ease-out both;
}
@keyframes heroZoom { from { transform: scale(1.16); } to { transform: scale(1.04); } }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 5, 10, 0.55) 0%, rgba(8, 5, 10, 0.15) 35%, rgba(8, 5, 10, 0.92) 100%),
    radial-gradient(70% 55% at 50% 45%, transparent 30%, rgba(8, 5, 10, 0.55) 100%);
}
.hero-inner { position: relative; z-index: 2; text-align: center; padding: 0 24px; }
.hero-kicker {
  margin: 0 0 14px; font-size: 11px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--gold); opacity: 0.85;
}
.hero-name {
  margin: 0; font-family: var(--serif); font-weight: 500;
  font-size: clamp(64px, 20vw, 140px); line-height: 0.95;
  letter-spacing: -0.02em;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.hero-line {
  margin: 18px 0 0; font-family: var(--script);
  font-size: clamp(24px, 6.4vw, 40px); color: #ffd7e2;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.55);
}
.hero-line::after {
  content: " ♥"; color: var(--rose); font-family: var(--sans); font-size: 0.55em;
  display: inline-block; transform: translateY(-4px);
  animation: beat 1.8s ease-in-out infinite;
}
@keyframes beat { 0%, 100% { transform: translateY(-4px) scale(1); } 50% { transform: translateY(-4px) scale(1.22); } }
.hero-note {
  margin: 42px auto 0; max-width: 260px; font-size: 12.5px;
  letter-spacing: 0.04em; color: rgba(255, 247, 242, 0.62); line-height: 1.6;
}
.scroll-cue {
  display: inline-block; margin-top: 10px; color: var(--rose);
  font-size: 18px; animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); opacity: 0.7; } 50% { transform: translateY(6px); opacity: 1; } }

main { position: relative; z-index: 1; }
section {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 74px 24px;
}
.eyebrow {
  margin: 0 0 16px; font-size: 10.5px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--rose);
}
.section-title, .letter-title {
  margin: 0 0 26px; font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 9vw, 54px); line-height: 1.04; letter-spacing: -0.015em;
}
.section-sub { margin: -12px 0 26px; color: var(--muted); font-size: 14px; }

.letter {
  padding-top: 84px;
}
.letter-body { border-left: 1px solid rgba(255, 107, 147, 0.35); padding-left: 22px; }
.letter-body p {
  margin: 0 0 20px; font-family: var(--serif);
  font-size: clamp(17px, 4.6vw, 20px); line-height: 1.72; color: rgba(255, 247, 242, 0.9);
}
.letter-body p:first-child::first-letter {
  float: left; font-size: 3.1em; line-height: 0.82; padding: 6px 10px 0 0;
  color: var(--rose);
}
.signature { margin: 8px 0 0; font-family: var(--script); font-size: 26px; color: var(--gold); text-align: right; }

.photo-feature { padding: 0 16px; width: min(760px, 100%); }
.photo-feature figure { margin: 0; position: relative; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
.photo-feature img { width: 100%; height: min(78svh, 640px); object-fit: cover; object-position: 50% 38%; }
.photo-feature figcaption {
  position: absolute; left: 18px; bottom: 16px;
  font-family: var(--script); font-size: 22px; color: #ffe4ec;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}
.photo-feature figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 3, 8, 0.72) 100%);
}

.reason-list { list-style: none; counter-reset: r; margin: 0; padding: 0; }
.reason-list li {
  counter-increment: r; position: relative;
  padding: 16px 0 16px 54px; border-bottom: 1px solid var(--line);
  font-size: 15.5px; line-height: 1.6; color: rgba(255, 247, 242, 0.88);
}
.reason-list li:last-child { border-bottom: 0; }
.reason-list li::before {
  content: counter(r, decimal-leading-zero);
  position: absolute; left: 0; top: 14px;
  font-family: var(--serif); font-size: 22px; color: var(--rose); opacity: 0.85;
}
.reason-list li::after {
  content: "♥"; position: absolute; right: 2px; top: 17px;
  font-size: 11px; color: rgba(255, 107, 147, 0.35);
}

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.shot {
  padding: 0; border: 0; background: #1a1019; border-radius: 16px; overflow: hidden;
  cursor: pointer; position: relative; aspect-ratio: 4 / 3;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(.2,.7,.2,1), opacity 0.4s; }
.shot:active img { transform: scale(1.04); }
.shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.promise-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.promise-list li {
  padding: 18px 20px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 107, 147, 0.09), rgba(255, 247, 242, 0.03));
  border: 1px solid rgba(255, 107, 147, 0.18);
  font-size: 15px; line-height: 1.6; color: rgba(255, 247, 242, 0.86);
}
.promise-list b { color: #ffd7e2; font-weight: 650; }

.final { text-align: center; padding-bottom: 40px; }
.final-title {
  margin: 0 0 14px; font-family: var(--serif); font-weight: 500;
  font-size: clamp(36px, 10vw, 58px); line-height: 1.05;
}
.final-sub { margin: 0 auto 30px; max-width: 380px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.final-acts { display: flex; flex-direction: column; gap: 12px; max-width: 340px; margin: 0 auto; }
.final-acts button {
  border-radius: 999px; padding: 17px 22px; font-size: 15.5px; font-weight: 650;
  cursor: pointer; border: 1px solid transparent; transition: transform 0.12s ease, opacity 0.2s;
}
.final-acts button:active { transform: scale(0.98); }
.yes {
  color: #fff; background: linear-gradient(135deg, #ff7ba0, var(--rose-deep));
  box-shadow: 0 18px 40px rgba(232, 70, 114, 0.35);
}
.think { background: transparent; border-color: var(--line); color: var(--muted); }
.final-msg { min-height: 26px; margin: 22px auto 0; max-width: 400px; font-family: var(--serif); font-size: 18px; line-height: 1.6; color: #ffd7e2; }

.love-foot {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 30px 0 calc(30px + var(--safe-b));
  font-family: var(--script); font-size: 20px; color: var(--faint);
}
.foot-heart { color: var(--rose); animation: beat 2.2s ease-in-out infinite; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 50;
  display: grid; grid-template-rows: 1fr auto;
  place-items: center; gap: 10px;
  padding: 18px;
  background: rgba(6, 4, 9, 0.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 82svh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.lightbox p { margin: 0; color: var(--muted); font-family: var(--serif); font-size: 16px; text-align: center; }
.lb-close {
  position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: 16px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.06);
  color: var(--ink); font-size: 16px; cursor: pointer;
}

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (min-width: 700px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-note { margin-top: 54px; }
  .final-acts { flex-direction: row; justify-content: center; max-width: none; }
  .final-acts button { min-width: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  #hearts { display: none; }
}
