:root{
  --bg1: #05060f;
  --bg2: #0b0b1a;
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --accent: #ff7bd3;
  --accent2: #8be9ff;
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --radius: 22px;
  --max: 1100px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; min-height: 100%; }

body{
  margin: 0;
  color: var(--text);
  background: #05060f;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  overflow-x: hidden;
}

/* Gradient kopmasın: fixed katman */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(1200px 800px at 20% 10%, #1a0f2a 0%, transparent 55%),
    radial-gradient(1200px 800px at 80% 20%, #062037 0%, transparent 55%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
  background-repeat: no-repeat;
  background-size: cover;
}

/* CSS yıldız drift (JS olmasa bile ortam büyülü kalsın) */
body::after{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: .55;
  background:
    radial-gradient(circle, rgba(255,255,255,.35) 0 1px, transparent 2px) 0 0 / 140px 140px,
    radial-gradient(circle, rgba(255,255,255,.25) 0 1px, transparent 2px) 40px 60px / 220px 220px,
    radial-gradient(circle, rgba(255,123,211,.18) 0 1px, transparent 2px) 20px 10px / 280px 280px;
  animation: starDrift 22s linear infinite;
}

@keyframes starDrift{
  0%{ transform: translate3d(0,0,0); }
  100%{ transform: translate3d(-120px, 160px, 0); }
}

a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; }

#stars{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.bg-blobs{
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  filter: blur(40px);
  opacity: .55;
}
.blob{
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,123,211,.55), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(139,233,255,.45), transparent 55%);
  animation: float 12s ease-in-out infinite;
  mix-blend-mode: screen;
}
.b1{ top: 6%; left: 6%; }
.b2{ top: 26%; right: 6%; animation-delay: -4s; }
.b3{ bottom: 8%; left: 35%; width: 460px; height: 460px; animation-delay: -7s; }

@keyframes float{
  0%,100%{ transform: translate3d(0,0,0) scale(1); }
  50%{ transform: translate3d(20px,-18px,0) scale(1.05); }
}

.topbar{
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(5,6,15,.75), rgba(5,6,15,.25));
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand{
  font-family: "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: .4px;
  font-size: 18px;
}
.ghost-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text);
  cursor: pointer;
}
.ghost-btn:hover{ background: rgba(255,255,255,.09); }
.dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.4);
  box-shadow: 0 0 18px rgba(255,255,255,.25);
}

.section{ padding: 54px 16px; }
.container{ width: 100%; max-width: var(--max); margin: 0 auto; }

.hero{ padding-top: 42px; }
.hero-grid{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 26px;
  align-items: center;
}
@media (max-width: 900px){ .hero-grid{ grid-template-columns: 1fr; } }

.pill{
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--muted);
  font-size: 13px;
}

h1,h2{
  font-family: "Playfair Display", serif;
  margin: 14px 0 10px;
  letter-spacing: .2px;
}
h1{ font-size: clamp(34px, 4vw, 58px); line-height: 1.05; }
h2{ font-size: clamp(26px, 3vw, 38px); }

.accent{
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead{ color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 56ch; }

.hero-actions{ display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }

.primary-btn, .secondary-btn{
  border-radius: 999px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.14);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
}
.primary-btn{
  background: linear-gradient(90deg, rgba(255,123,211,.26), rgba(139,233,255,.18));
  box-shadow: 0 14px 35px rgba(0,0,0,.3);
  color: var(--text);
}
.secondary-btn{ background: rgba(255,255,255,.06); color: var(--text); }

.hint{ margin-top: 18px; color: rgba(255,255,255,.6); font-size: 13px; }

.glass{
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card{ padding: 18px 18px 16px; position: relative; overflow: hidden; }
.hero-card h3{ margin: 6px 0 10px; font-size: 18px; }
.hero-card p{ margin: 0 0 14px; color: var(--muted); line-height: 1.7; }
.heart{
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,123,211,.35), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(139,233,255,.28), transparent 55%);
  transform: rotate(20deg);
  border-radius: 60px;
  filter: blur(2px);
}

.mini-stats{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini{ border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); border-radius: 16px; padding: 10px 12px; }
.mini .k{ font-weight: 800; }
.mini .v{ display:block; color: rgba(255,255,255,.7); font-size: 12px; margin-top: 2px; }

.sub{ margin: 0 0 18px; color: var(--muted); line-height: 1.7; max-width: 68ch; }

.divider{ margin-top: 40px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent); }
.divider.soft{ opacity: .7; }

.timeline{ display: grid; gap: 12px; margin-top: 18px; }
.t-item{ padding: 14px; display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; }
.t-dot{ margin-top: 6px; width: 12px; height: 12px; border-radius: 999px; background: rgba(255,255,255,.5); box-shadow: 0 0 22px rgba(255,123,211,.24); }
.t-content h4{ margin: 0 0 6px; font-size: 16px; }
.t-content p{ margin: 0; color: var(--muted); line-height: 1.7; }

.grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
@media (max-width: 900px){ .grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .grid{ grid-template-columns: 1fr; } }

.card{ padding: 16px; }
.card .emoji{ font-size: 22px; }
.card h3{ margin: 10px 0 8px; font-size: 16px; }
.card p{ margin: 0; color: var(--muted); line-height: 1.7; }

.gallery{ display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; margin-top: 18px; }
.g-item{ grid-column: span 6; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); border-radius: 18px; overflow: hidden; padding: 0; cursor: pointer; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.g-item img{ width: 100%; height: 100%; display:block; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 900px){ .g-item{ grid-column: span 12; } }

.letter{ padding: 18px; max-width: 820px; }
.letter p{ color: rgba(255,255,255,.82); line-height: 1.9; margin: 0 0 12px; }
.letter-hi{ font-family: "Playfair Display", serif; font-size: 20px; margin-bottom: 10px; }
.letter-sign{ margin-top: 8px; font-weight: 700; }
.letter-actions{ display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.footer-note{ margin-top: 16px; color: rgba(255,255,255,.65); font-size: 13px; }

.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 18px;
}
.lightbox.open{ display:flex; }
.lightbox img{ max-width: min(980px, 96vw); max-height: 80vh; border-radius: 18px; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.lb-close{
  position: absolute;
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: var(--text);
  cursor: pointer;
}

/* Reveal: JS çalışınca animasyon */
.reveal{ opacity: 1; transform: none; }
.js .reveal{ opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in{ opacity: 1; transform: translateY(0); }

/* ===== Romantic Toast ===== */
.romantic-toast{
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  padding: 22px 26px;
  max-width: min(720px, 92vw);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.18),
    rgba(255,255,255,.08)
  );
  backdrop-filter: blur(18px);
  box-shadow:
    0 40px 120px rgba(0,0,0,.55),
    0 0 60px rgba(255,123,211,.18);
  color: rgba(255,255,255,.95);
  font-size: 17px;
  line-height: 1.9;
  font-weight: 500;
  text-align: center;
  z-index: 100;
  white-space: pre-line;
  letter-spacing: .3px;
}

.romantic-toast strong{
  font-weight: 700;
  background: linear-gradient(90deg, #ff7bd3, #8be9ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.romantic-toast.show{
  animation: toastFadeIn .5s ease-out forwards;
}

@keyframes toastFadeIn{
  from{
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to{
    opacity: 1;
    transform: translate(-50%, 0);
  }
}