/* ============================================================
   ZARA — BİR DOĞUM GÜNÜ HİKÂYESİ
   Mobil öncelikli. Renkleri değiştirmek için sadece :root yeter.
   ============================================================ */

:root {
  /* --- PALET --- */
  --kagit: #f5f2e9;
  --kagit-acik: #faf8f1;
  --kagit-kart: #fdfbf5;
  --kagit-eski: #efe6d4;
  --murekkep: #2f2a26;
  --govde: #46403a;
  --soluk: #7c746a;
  --pembe: #e7b3bc;
  --pembe-koyu: #d38e9c;
  --pembe-etiket: #e0a3af;
  --yesil: #a9bfa3;
  --tan: #c19a68;
  --tan-koyu: #a97b4f;
  --karanlik: #3a2e28;
  --karanlik-acik: #4a3b33;

  /* --- YAZI TİPLERİ --- */
  --font-brush: "Caveat Brush", "Bradley Hand", cursive;
  --font-el: "Caveat", "Segoe Script", cursive;
  --font-govde: "Lora", Georgia, "Times New Roman", serif;

  /* --- ÖLÇÜLER --- */
  --sarmal: 62rem;
  --sarmal-dar: 44rem;
  --golge-yumusak: 0 18px 40px rgba(58, 46, 40, 0.13);
  --golge-ince: 0 8px 22px rgba(58, 46, 40, 0.10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* hidden özniteliği her zaman kazansın (display kuralları onu ezmesin) */
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: var(--font-govde);
  font-size: 1rem;
  line-height: 1.78;
  color: var(--govde);
  background: var(--kagit);
  background-image:
    radial-gradient(circle at 14% 8%, rgba(255, 255, 255, 0.9), transparent 45%),
    radial-gradient(circle at 88% 62%, rgba(231, 179, 188, 0.10), transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 400; }
p { margin: 0 0 1.15em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--tan-koyu);
  outline-offset: 3px;
  border-radius: 4px;
}

.sarmal { width: min(100% - 2.4rem, var(--sarmal)); margin-inline: auto; }
.sarmal--dar { width: min(100% - 2.4rem, var(--sarmal-dar)); }

/* ============================================================
   KAPAK
   ============================================================ */
.kapak {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--karanlik);
}

.kapak__medya { position: absolute; inset: -8% 0; z-index: -2; will-change: transform; }

.kapak__foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  animation: kenBurns 26s ease-out forwards;
}

@keyframes kenBurns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.15); }
}

.kapak__perde {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(35, 28, 24, 0.72) 0%, rgba(35, 28, 24, 0.28) 42%, transparent 68%),
    linear-gradient(180deg, rgba(35, 28, 24, 0.45) 0%, transparent 26%, rgba(35, 28, 24, 0.6) 100%);
}

/* Tarih rozeti */
.rozet {
  position: absolute;
  top: 1.3rem;
  right: 1.3rem;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.65);
  display: grid;
  place-content: center;
  text-align: center;
  color: #fdfbf5;
  font-family: var(--font-el);
  line-height: 1.1;
  animation: rozetGel 1.4s 0.5s ease-out both;
}
.rozet__gun { display: block; font-size: 1.5rem; }
.rozet__ay { display: block; font-size: 1.05rem; opacity: 0.85; }

@keyframes rozetGel {
  from { opacity: 0; transform: scale(0.8) rotate(-12deg); }
  to   { opacity: 1; transform: none; }
}

.kapak__icerik {
  position: relative;
  width: min(100% - 2.4rem, var(--sarmal));
  margin-inline: auto;
  padding-bottom: 6.5rem;
  color: #fdfbf5;
}

/* Kapak yazılarının sırayla belirmesi */
.kapak__gir { animation: yukariGel 1.1s ease-out both; }
.kapak__ust-yazi { animation-delay: 0.25s; }
.kapak__baslik   { animation-delay: 0.45s; }
.kapak__slogan   { animation-delay: 0.7s; }
.kapak__giris    { animation-delay: 0.95s; }

@keyframes yukariGel {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

.kapak__ust-yazi {
  font-family: var(--font-el);
  font-size: 1.15rem;
  font-style: italic;
  letter-spacing: 0.6px;
  color: rgba(253, 251, 245, 0.9);
  margin-bottom: 0.2rem;
  text-shadow: 0 2px 14px rgba(30, 24, 20, 0.6);
}

.kapak__baslik {
  font-family: var(--font-brush);
  font-size: clamp(4.5rem, 17vw, 9.5rem);
  letter-spacing: -1px;
  margin: 0 0 0.15em;
  text-shadow: 0 6px 30px rgba(30, 24, 20, 0.5);
}

.kapak__slogan {
  font-family: var(--font-el);
  font-size: clamp(1.35rem, 4.6vw, 1.9rem);
  font-style: italic;
  line-height: 1.45;
  margin-bottom: 0.9rem;
  text-shadow: 0 2px 16px rgba(30, 24, 20, 0.6);
}

.kapak__giris {
  max-width: 30rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(253, 251, 245, 0.88);
  text-shadow: 0 2px 14px rgba(30, 24, 20, 0.7);
  margin: 0;
}

.kapak__kaydir {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  font-family: var(--font-el);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(253, 251, 245, 0.75);
  animation: zipla 2.4s ease-in-out infinite;
}

@keyframes zipla {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.7; }
  50%      { transform: translate(-50%, 8px); opacity: 1; }
}

/* ============================================================
   KAYAN ŞERİT (MARQUEE)
   ============================================================ */
/* Sarmalayıcı, döndürülmüş şeridin yatay taşmasını keser */
.serit-kutu {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 22px 0;
  margin: -2.9rem 0 -22px;
}

.serit {
  position: relative;
  margin: 0;
  padding: 0.55rem 0;
  background: linear-gradient(180deg, #ecc0c8, #e3adb7);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(160, 110, 118, 0.25);
  transform: rotate(-1.4deg) scaleX(1.06);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(58, 46, 40, 0.12);
}

.serit__ray {
  display: flex;
  width: max-content;
  animation: seritKay 34s linear infinite;
}

.serit__grup {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding-right: 1.6rem;
  font-family: var(--font-el);
  font-style: italic;
  font-size: 1.15rem;
  white-space: nowrap;
  color: #6b4a4f;
}
.serit__grup i { font-style: normal; color: var(--yesil); font-size: 0.9rem; }

@keyframes seritKay {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.serit:hover .serit__ray { animation-play-state: paused; }

/* ============================================================
   BÖLÜM BAŞLIKLARI
   ============================================================ */
.bolum { padding: 5rem 0; position: relative; }
.bolum--son { padding-bottom: 6.5rem; }

.bolum__ust { text-align: center; margin-bottom: 2.6rem; }
.bolum__ust--sol { text-align: left; }

.bolum__etiket {
  font-family: var(--font-el);
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  color: var(--pembe-etiket);
  margin: 0 0 0.15rem;
}

.bolum__baslik {
  font-family: var(--font-brush);
  font-size: clamp(2.3rem, 8vw, 3.6rem);
  color: var(--murekkep);
  margin-bottom: 0.25rem;
}

.bolum__altyazi {
  font-size: 0.98rem;
  color: var(--soluk);
  margin: 0 0 0.9rem;
}

.cizgi {
  display: block;
  width: 92px;
  height: 1px;
  background: var(--tan);
  opacity: 0.8;
  margin: 0 auto;
}
.bolum__ust--sol .cizgi { margin-inline: 0; }

/* ============================================================
   BÖLÜM 01 — DEFTER KÂĞIDI
   ============================================================ */
.defter {
  position: relative;
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.4rem 1.4rem 2rem;
  background:
    repeating-linear-gradient(
      180deg,
      var(--kagit-kart) 0 33px,
      rgba(180, 168, 146, 0.35) 33px 34px
    );
  border: 1px solid rgba(180, 165, 140, 0.35);
  border-radius: 3px;
  box-shadow: var(--golge-yumusak);
  transform: rotate(-0.5deg);
}

.defter__liste { display: grid; }

.defter__liste li {
  position: relative;
  padding: 0.75rem 0.4rem 0.75rem 2.1rem;
  border-bottom: 1px dotted rgba(190, 150, 120, 0.5);
  font-size: 0.98rem;
  line-height: 1.72;
}
.defter__liste li:last-child { border-bottom: 0; }
.defter__liste li::before {
  content: "♥";
  position: absolute;
  left: 0.5rem;
  top: 0.72rem;
  color: var(--pembe-koyu);
  font-size: 0.95rem;
}

/* ============================================================
   BÖLÜM 02 — METİN + POST-IT
   ============================================================ */
.ikili { display: grid; gap: 2.2rem; }
.ikili--orta { align-items: center; }

.anlati { font-size: 1rem; }

/* Sıcak kahve tonlu bölüm (02) */
.bolum--sicak .bolum__altyazi { color: var(--tan-koyu); }
.bolum--sicak .anlati { color: #6d5b49; }

.anlati--ilk::first-letter {
  font-family: var(--font-brush);
  font-size: 3.6rem;
  float: left;
  line-height: 0.8;
  padding: 0.08em 0.14em 0 0;
  color: var(--tan-koyu);
}

.notluk {
  position: relative;
  align-self: start;
  max-width: 20rem;
  margin: 0 auto;
  padding: 1.6rem 1.3rem 1.3rem;
  background: #fdfaf2;
  box-shadow: var(--golge-ince);
  transform: rotate(2deg);
  border-radius: 2px;
}
.notluk p {
  margin: 0;
  font-family: var(--font-el);
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--tan-koyu);
}

/* Washi bant */
.bant {
  position: absolute;
  width: 92px;
  height: 26px;
  opacity: 0.85;
  box-shadow: 0 2px 6px rgba(58, 46, 40, 0.12);
}
.bant--pembe {
  background: repeating-linear-gradient(45deg, rgba(231, 179, 188, 0.95) 0 6px, rgba(255, 255, 255, 0.75) 6px 12px);
  top: -12px; left: 26%; transform: translateX(-50%) rotate(-4deg);
}
.bant--yesil {
  background: repeating-linear-gradient(45deg, rgba(169, 191, 163, 0.95) 0 6px, rgba(255, 255, 255, 0.7) 6px 12px);
  top: -13px; right: 12px; transform: rotate(6deg);
}
.bant--tepe { top: -14px; }

/* ============================================================
   BÖLÜM 03 — POLAROİDLER
   ============================================================ */
.gulus__kompozisyon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  margin-bottom: 2.4rem;
}

.polaroid {
  position: relative;
  margin: 0;
  background: #fffdf8;
  padding: 0.75rem 0.75rem 2.9rem;
  box-shadow: var(--golge-yumusak);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.polaroid img {
  width: 100%;
  max-height: 58vh;
  object-fit: cover;
  background: var(--kagit-eski);
}
.polaroid figcaption {
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0.7rem;
  text-align: center;
  font-family: var(--font-el);
  font-size: 1.2rem;
  color: var(--soluk);
}
.polaroid--buyuk { width: min(100%, 23rem); transform: rotate(-1.5deg); }
.polaroid--kucuk { width: min(66%, 14rem); transform: rotate(3.5deg); }
.polaroid--tek   { width: min(100%, 20rem); margin: 0 auto 3rem; transform: rotate(1.6deg); }
.polaroid:hover { transform: rotate(0) translateY(-7px); box-shadow: 0 26px 50px rgba(58, 46, 40, 0.2); }

.alti-cizili {
  text-align: center;
  font-family: var(--font-el);
  font-size: clamp(1.3rem, 4.5vw, 1.7rem);
  color: var(--tan-koyu);
  border-bottom: 2px dotted var(--pembe);
  padding-bottom: 0.35rem;
  width: fit-content;
  margin: 0 auto;
}

/* ============================================================
   BÖLÜM 04 — ÇOCUKLUK
   ============================================================ */
.bolum--eski {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.55), transparent 55%),
    linear-gradient(180deg, rgba(239, 230, 212, 0.5), rgba(224, 208, 180, 0.62));
  border-top: 1px solid rgba(190, 165, 125, 0.4);
  border-bottom: 1px solid rgba(190, 165, 125, 0.4);
  box-shadow: inset 0 0 90px rgba(150, 116, 74, 0.16);
}

.eski-foto {
  margin: 0 auto;
  width: min(100%, 21rem);
  background: #fbf3e2;
  padding: 18px 14px 22px;
  transform: rotate(-2deg);
  filter: drop-shadow(0 12px 20px rgba(58, 46, 40, 0.22));
  clip-path: polygon(
    0% 9px, 5% 0, 10% 9px, 15% 0, 20% 9px, 25% 0, 30% 9px, 35% 0, 40% 9px,
    45% 0, 50% 9px, 55% 0, 60% 9px, 65% 0, 70% 9px, 75% 0, 80% 9px, 85% 0,
    90% 9px, 95% 0, 100% 9px,
    100% calc(100% - 9px), 95% 100%, 90% calc(100% - 9px), 85% 100%,
    80% calc(100% - 9px), 75% 100%, 70% calc(100% - 9px), 65% 100%,
    60% calc(100% - 9px), 55% 100%, 50% calc(100% - 9px), 45% 100%,
    40% calc(100% - 9px), 35% 100%, 30% calc(100% - 9px), 25% 100%,
    20% calc(100% - 9px), 15% 100%, 10% calc(100% - 9px), 5% 100%,
    0% calc(100% - 9px)
  );
}
.eski-foto img {
  width: 100%;
  max-height: 52vh;
  object-fit: cover;
  filter: sepia(0.32) saturate(0.92) contrast(0.97);
  border: 1px solid rgba(107, 84, 63, 0.18);
}

.elyazisi {
  font-family: var(--font-el);
  font-size: clamp(1.3rem, 4.4vw, 1.6rem);
  line-height: 1.55;
  color: var(--tan-koyu);
}
.imza {
  font-family: var(--font-el);
  font-size: 1.15rem;
  color: var(--soluk);
  margin: 0.4rem 0 0;
  text-align: right;
}

/* ============================================================
   BÖLÜM 05 — SAYAÇ
   ============================================================ */
.damga-kart {
  position: relative;
  text-align: center;
  background: var(--kagit-kart);
  border: 1px solid rgba(180, 165, 140, 0.4);
  border-radius: 4px;
  padding: 2.6rem 1.4rem 2rem;
  box-shadow: var(--golge-yumusak);
}

.damga {
  position: absolute;
  top: -30px;
  right: -6px;
  width: 96px;
  opacity: 0.85;
  transform: rotate(9deg);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.sayac__buyuk {
  font-family: var(--font-brush);
  font-size: clamp(3.4rem, 15vw, 5.6rem);
  line-height: 1;
  color: var(--pembe-koyu);
  margin: 0 0 0.7rem;
  font-variant-numeric: tabular-nums;
}
.sayac__birim {
  font-family: var(--font-govde);
  font-size: 0.24em;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--soluk);
}

.sayac__kutular {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}
.sayac__kutular li {
  background: rgba(169, 191, 163, 0.16);
  border: 1px solid rgba(169, 191, 163, 0.42);
  border-radius: 8px;
  padding: 0.65rem 0.3rem;
}
.sayac__kutular strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--murekkep);
  font-variant-numeric: tabular-nums;
}
.sayac__kutular span {
  font-size: 0.72rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--soluk);
}

.sayac__dipnot {
  font-family: var(--font-el);
  font-size: 1.25rem;
  color: var(--tan-koyu);
  margin: 0;
}

/* ============================================================
   BÖLÜM 06 — ANI ÇİZGİSİ
   ============================================================ */
.cizelge { position: relative; padding-left: 1.9rem; display: grid; gap: 2rem; }
.cizelge::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(196, 158, 148, 0.5);
}

.cizelge__oge { position: relative; }
.cizelge__oge::before {
  content: "";
  position: absolute;
  left: -1.9rem;
  top: 1.6rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--kagit);
  border: 1.5px solid var(--pembe);
}

.cizelge__kart {
  background: #fffdf9;
  border-radius: 3px;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 16px 32px rgba(58, 46, 40, 0.10), 0 2px 6px rgba(58, 46, 40, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.cizelge__kart:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(58, 46, 40, 0.15), 0 2px 6px rgba(58, 46, 40, 0.06);
}

.cizelge__yil {
  display: inline-block;
  font-family: var(--font-el);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--pembe-etiket);
  letter-spacing: 0.5px;
}

.cizelge__kart h3 {
  font-family: var(--font-govde);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--murekkep);
  margin: 0.1rem 0 0.55rem;
  line-height: 1.35;
}

.cizelge__foto {
  width: 100%;
  max-height: 14rem;
  object-fit: cover;
  border-radius: 2px;
  margin: 0 0 0.9rem;
  background: var(--kagit-eski);
}

.cizelge__kart p {
  margin: 0;
  color: var(--soluk);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   BÖLÜM 07 — HOLLYWOOD (KOYU)
   ============================================================ */
.bolum--karanlik {
  background: var(--karanlik);
  color: #efe7df;
  overflow: hidden;
  padding: 5.5rem 0;
}
.bolum--karanlik .bolum__baslik { color: #fdfbf5; }
.bolum--karanlik .bolum__altyazi { color: rgba(239, 231, 223, 0.72); }
.bolum--karanlik .cizgi { background: rgba(239, 231, 223, 0.45); }

.yildiz {
  position: absolute;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}
.yildiz svg { width: 100%; height: 100%; }
.yildiz--sol { top: -30px; left: -40px; width: 190px; height: 190px; }
.yildiz--sag { bottom: -50px; right: -50px; width: 230px; height: 230px; }

.mektup {
  background: var(--kagit-kart);
  color: var(--govde);
  border-radius: 3px;
  padding: 1.8rem 1.3rem 1.5rem;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.35);
}

.mektup__kicker {
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--pembe-koyu);
  margin-bottom: 1.6rem;
}

.mektup__ust {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.avatar {
  position: relative;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--karanlik-acik);
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(180, 165, 140, 0.5);
  display: grid;
  place-items: center;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Dikey portrelerde yüz daire içinde kalsın diye kırpma noktası yukarıda */
  object-position: center 20%;
}
.avatar__harf {
  font-family: var(--font-brush);
  font-size: 1.6rem;
  color: var(--pembe);
}
.avatar__harf[hidden] { display: none; }

.mektup__kim { flex: 1 1 auto; min-width: 0; }
.mektup__ad {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--murekkep);
  margin: 0;
}
.mektup__unvan {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--soluk);
  margin: 0;
}
.mektup__yildiz { color: #d9b04a; font-size: 1.2rem; }

.mektup__govde p {
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.8;
}

.mektup__imza {
  font-family: var(--font-brush);
  font-size: 1.7rem;
  color: var(--tan-koyu);
  text-align: right;
  margin: 1.4rem 0 0.1rem;
}
.mektup__dipnot {
  text-align: right;
  font-style: italic;
  font-size: 0.75rem;
  color: var(--soluk);
  margin: 0;
}
.mektup__kurgu {
  margin: 1.4rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px dotted rgba(150, 135, 115, 0.5);
  font-size: 0.72rem;
  color: var(--soluk);
  text-align: center;
}

/* ============================================================
   BÖLÜM 08 — PASTA
   ============================================================ */
.pasta-alan { position: relative; max-width: 32rem; margin: 0 auto; text-align: center; }

.pasta-alan__gorsel {
  position: absolute;
  top: -26px; left: -8px;
  width: 88px;
  opacity: 0.5;
  transform: rotate(-12deg);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.pasta { position: relative; margin-top: 3.4rem; }
.pasta__svg { width: 100%; height: auto; filter: drop-shadow(0 10px 18px rgba(58, 46, 40, 0.16)); }

.mumlar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 14%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(0.9rem, 5vw, 2rem);
  z-index: 2;
}

.mum {
  position: relative;
  width: 12px;
  height: 46px;
  padding: 0;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  background: repeating-linear-gradient(180deg, #fbeeee 0 7px, var(--pembe) 7px 14px);
  box-shadow: 0 2px 5px rgba(58, 46, 40, 0.22);
  transition: transform 0.3s ease, filter 0.3s ease;
}
.mum:hover { transform: translateY(-3px); }

.alev {
  position: absolute;
  left: 50%; top: -22px;
  width: 14px; height: 20px;
  transform: translateX(-50%);
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: radial-gradient(circle at 50% 70%, #fff3c4 0%, #ffcf6b 45%, #f79633 78%, rgba(247, 150, 51, 0) 100%);
  box-shadow: 0 0 16px rgba(255, 193, 94, 0.85), 0 0 34px rgba(255, 170, 60, 0.45);
  transform-origin: 50% 100%;
  animation: titre 1.1s ease-in-out infinite alternate;
}

@keyframes titre {
  from { transform: translateX(-50%) scale(1) rotate(-3deg); }
  to   { transform: translateX(-50%) scale(1.13) rotate(4deg); }
}

.mum.sonuk .alev {
  animation: none;
  opacity: 0;
  transform: translateX(-50%) translateY(-16px) scale(0.5);
  transition: opacity 0.5s ease, transform 0.6s ease;
  box-shadow: none;
}
.mum.sonuk { filter: grayscale(0.3) brightness(0.95); }
.mum.sonuk::after {
  content: "";
  position: absolute;
  left: 50%; top: -18px;
  width: 5px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(160, 150, 140, 0), rgba(160, 150, 140, 0.55));
  animation: duman 1.6s ease-out forwards;
}

@keyframes duman {
  0%   { opacity: 0.8; transform: translate(-50%, 0) scale(0.7); }
  100% { opacity: 0; transform: translate(-50%, -34px) scale(1.5) rotate(8deg); }
}

.pasta__mesaj {
  font-family: var(--font-brush);
  font-size: clamp(1.5rem, 5.5vw, 2rem);
  color: var(--pembe-koyu);
  min-height: 2em;
  margin: 1.5rem 0 0.4rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.pasta__mesaj.gorunur { opacity: 1; transform: none; }

.dugme {
  font-family: var(--font-govde);
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--tan);
  background: transparent;
  color: var(--tan-koyu);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.dugme:hover { background: var(--tan); color: #fffdf6; }
.dugme[hidden] { display: none; }

/* ============================================================
   BÖLÜM 09 — ZARF
   ============================================================ */
.zarf { max-width: 32rem; margin: 0 auto; }

.zarf__kapak {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 2.4rem 1rem 1.7rem;
  cursor: pointer;
  color: var(--murekkep);
  background: linear-gradient(160deg, #f6e7d6, #eed9c0);
  border: 1px solid rgba(150, 120, 90, 0.32);
  border-radius: 6px;
  box-shadow: var(--golge-ince);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.zarf__kapak::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 58px;
  background: linear-gradient(160deg, #efdcc6, #e3cbab);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  border-bottom: 1px solid rgba(150, 120, 90, 0.18);
  transition: transform 0.5s ease, opacity 0.5s ease;
  transform-origin: top center;
}
.zarf__kapak:hover { transform: translateY(-3px); box-shadow: var(--golge-yumusak); }

.zarf__muhur {
  position: relative;
  z-index: 1;
  width: 62px; height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, var(--pembe), var(--pembe-koyu));
  color: #fffdf6;
  font-family: var(--font-brush);
  font-size: 1.6rem;
  box-shadow: 0 4px 10px rgba(58, 46, 40, 0.26);
  overflow: hidden;
}
.zarf__muhur img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.zarf__yazi {
  position: relative;
  z-index: 1;
  font-family: var(--font-el);
  font-size: 1.35rem;
}

.zarf__icerik {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.7s ease, opacity 0.5s ease, margin-top 0.5s ease;
}
.zarf.acik .zarf__icerik { max-height: 60rem; opacity: 1; margin-top: 1rem; }
.zarf.acik .zarf__kapak::before { transform: rotateX(180deg); opacity: 0; }

.zarf__kagit {
  background: var(--kagit-kart);
  border: 1px solid rgba(180, 165, 140, 0.4);
  border-radius: 6px;
  padding: 1.4rem 1.3rem;
  box-shadow: var(--golge-yumusak);
}
.zarf__aciklama {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--govde);
}

.zarf__etiket {
  font-family: var(--font-el);
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  color: var(--pembe-etiket);
  margin: 1.6rem 0 0.4rem;
  padding-top: 1.2rem;
  border-top: 1px dotted rgba(190, 150, 120, 0.55);
}

.zarf__kagit .elyazisi {
  margin-top: 0;
  color: var(--tan-koyu);
}

/* ============================================================
   DİPNOT
   ============================================================ */
.dipnot {
  text-align: center;
  padding: 2.4rem 1.4rem 3rem;
  background: rgba(58, 46, 40, 0.06);
  border-top: 1px solid rgba(180, 165, 140, 0.4);
}
.dipnot p {
  font-family: var(--font-el);
  font-size: 1.3rem;
  color: var(--tan-koyu);
  margin: 0;
}
.dipnot__isaret { color: var(--pembe-koyu); margin-top: 0.3rem !important; }

/* ============================================================
   MÜZİK BUTONU
   ============================================================ */
.muzik {
  position: fixed;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.muzik__ipucu {
  font-family: var(--font-el);
  font-style: italic;
  font-size: 1.02rem;
  color: #f4ece4;
  background: rgba(58, 46, 40, 0.88);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  white-space: nowrap;
  box-shadow: var(--golge-ince);
  animation: nabiz 2.6s ease-in-out infinite;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.muzik__ipucu.gizle { opacity: 0; transform: translateX(14px); pointer-events: none; }

@keyframes nabiz {
  0%, 100% { transform: scale(1); opacity: 0.92; }
  50%      { transform: scale(1.045); opacity: 1; }
}

.muzik__dugme {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--karanlik);
  color: #f4ece4;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--golge-ince);
  transition: transform 0.3s ease, background 0.3s ease;
}
.muzik__dugme:hover { transform: scale(1.08); }
.muzik__dugme.caliyor { background: var(--pembe-koyu); }

/* Görünmez YouTube oynatıcı */
.yt-gizli {
  position: fixed;
  left: -9999px; bottom: 0;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
  border: 0;
}

/* ============================================================
   NOT KISAYOLU (sabit buton)
   ============================================================ */
.not-kisayol {
  position: fixed;
  overflow: visible;
  left: 0.9rem;
  bottom: 0.9rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-el);
  font-style: italic;
  font-size: 1.05rem;
  color: #fffaf8;
  background: linear-gradient(145deg, var(--pembe-koyu), #c07d8c);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 22px rgba(160, 90, 105, 0.35);
  animation: kisayolNabiz 2.8s ease-in-out infinite;
  transition: transform 0.3s ease, opacity 0.4s ease, box-shadow 0.3s ease;
}
.not-kisayol:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(160, 90, 105, 0.45);
}
.not-kisayol__ikon { font-size: 1rem; }
.not-kisayol__kisa { display: none; }

/* Yapımcıdan cevap geldiğinde kısayol dikkat çeksin */
.not-kisayol--yeni {
  background: linear-gradient(145deg, #a8b89a, #8ea37f);
  animation: kisayolYeni 1.6s ease-in-out infinite;
}
.not-kisayol--yeni .not-kisayol__ikon::after {
  content: "";
  position: absolute;
  top: 0.35rem;
  left: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff2b0;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}
.not-kisayol--yeni .not-kisayol__ikon { position: static; }

@keyframes kisayolYeni {
  0%, 100% { box-shadow: 0 8px 22px rgba(90, 120, 80, 0.35), 0 0 0 0 rgba(168, 184, 154, 0.6); }
  70%      { box-shadow: 0 8px 22px rgba(90, 120, 80, 0.35), 0 0 0 15px rgba(168, 184, 154, 0); }
}

/* Not bölümü ekrandayken kısayol çekilsin */
.not-kisayol.gizle {
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
}

/* Nabız, boyutu değil hâleyi oynatır — buton yerinde durur, tıklaması kolay */
@keyframes kisayolNabiz {
  0% {
    box-shadow: 0 8px 22px rgba(160, 90, 105, 0.35), 0 0 0 0 rgba(211, 142, 156, 0.5);
  }
  70% {
    box-shadow: 0 8px 22px rgba(160, 90, 105, 0.35), 0 0 0 13px rgba(211, 142, 156, 0);
  }
  100% {
    box-shadow: 0 8px 22px rgba(160, 90, 105, 0.35), 0 0 0 0 rgba(211, 142, 156, 0);
  }
}

/* Kısayoldan gelindiğinde kutu bir an vurgulansın */
.not-kutu.vurgu {
  animation: kutuVurgu 1.6s ease-out;
}

@keyframes kutuVurgu {
  0%   { box-shadow: 0 0 0 0 rgba(211, 142, 156, 0.55), var(--golge-yumusak); }
  60%  { box-shadow: 0 0 0 14px rgba(211, 142, 156, 0), var(--golge-yumusak); }
  100% { box-shadow: 0 0 0 0 rgba(211, 142, 156, 0), var(--golge-yumusak); }
}

@media (max-width: 30rem) {
  .not-kisayol { font-size: 0.98rem; padding: 0.45rem 0.8rem; }
  .not-kisayol__uzun { display: none; }
  .not-kisayol__kisa { display: inline; }
}

/* ============================================================
   KONFETİ
   ============================================================ */
.konfeti-alan { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 60; }
.konfeti {
  position: absolute;
  top: -14px;
  width: 9px; height: 14px;
  border-radius: 2px;
  opacity: 0.95;
  animation: dus linear forwards;
}

@keyframes dus {
  0%   { transform: translateY(-10vh) rotate(0deg); opacity: 1; }
  100% { transform: translateY(108vh) rotate(720deg); opacity: 0; }
}

/* ============================================================
   SCROLL İLE BELİRME
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.gorunur { opacity: 1; transform: none; }

.defter.reveal { transform: translateY(34px) rotate(0deg); }
.defter.reveal.gorunur { transform: rotate(-0.5deg); }
.notluk.reveal { transform: translateY(34px) rotate(0deg); }
.notluk.reveal.gorunur { transform: rotate(2deg); }
.polaroid--buyuk.reveal.gorunur { transform: rotate(-1.5deg); }
.polaroid--kucuk.reveal.gorunur { transform: rotate(3.5deg); }
.polaroid--tek.reveal.gorunur { transform: rotate(1.6deg); }
.polaroid.reveal { transform: translateY(34px) rotate(0deg); }
.eski-foto.reveal { transform: translateY(34px) rotate(0deg); }
.eski-foto.reveal.gorunur { transform: rotate(-2deg); }

/* ============================================================
   BÖLÜM 10 — YAPIMCIYA NOT + SOHBET
   ============================================================ */
.bolum--not {
  background: linear-gradient(180deg, rgba(231, 179, 188, 0.12), transparent);
}

.not-kutu {
  background: var(--kagit-kart);
  border: 1px solid rgba(180, 165, 140, 0.4);
  border-radius: 6px;
  padding: 1.5rem 1.3rem;
  box-shadow: var(--golge-yumusak);
}

.not-hazirlaniyor {
  margin: 0;
  text-align: center;
  color: var(--soluk);
  font-style: italic;
}

.not-secim { display: grid; gap: 0.9rem; }

.not-dugme {
  display: grid;
  gap: 0.15rem;
  padding: 1rem 1.1rem;
  text-align: left;
  cursor: pointer;
  border: 1px solid rgba(180, 165, 140, 0.5);
  border-radius: 6px;
  background: #fffdf9;
  color: var(--murekkep);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.not-dugme:hover {
  transform: translateY(-3px);
  box-shadow: var(--golge-ince);
  border-color: var(--pembe);
}
.not-dugme__ust {
  font-family: var(--font-el);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--pembe-etiket);
}
.not-dugme__alt {
  font-family: var(--font-govde);
  font-size: 0.95rem;
  color: var(--govde);
}
.not-dugme--zara {
  border-color: var(--pembe);
  background: linear-gradient(160deg, #fff7f8, #fdf1f3);
}
.not-dugme--zara .not-dugme__ust { color: var(--pembe-koyu); }

.not-panel__baslik {
  font-family: var(--font-brush);
  font-size: 1.6rem;
  color: var(--murekkep);
  margin: 0 0 0.5rem;
}

.not-soru {
  font-family: var(--font-el);
  font-size: 1.35rem;
  color: var(--tan-koyu);
  margin-bottom: 1rem;
}

.not-form { display: grid; gap: 0.7rem; }
.not-form input,
.not-form textarea,
.sohbet__form input {
  font-family: var(--font-govde);
  font-size: 0.98rem;
  color: var(--murekkep);
  background: #fffdf9;
  border: 1px solid rgba(180, 165, 140, 0.6);
  border-radius: 5px;
  padding: 0.65rem 0.8rem;
  width: 100%;
  resize: vertical;
}
.not-form input:focus,
.not-form textarea:focus,
.sohbet__form input:focus { border-color: var(--pembe-koyu); outline: none; }

.not-form__dugmeler { display: flex; gap: 0.6rem; justify-content: flex-end; }

.dugme--dolu {
  background: var(--karanlik);
  color: #f6efe8;
  border-color: var(--karanlik);
}
.dugme--dolu:hover { background: var(--pembe-koyu); border-color: var(--pembe-koyu); color: #fff; }
.dugme:disabled { opacity: 0.55; cursor: default; }

.not-uyari {
  margin: 0;
  font-size: 0.9rem;
  color: var(--pembe-koyu);
}
.not-durum {
  margin: 0;
  font-family: var(--font-el);
  font-size: 1.3rem;
  color: var(--tan-koyu);
  text-align: center;
}

/* --- Sohbet --- */
.sohbet__liste {
  display: grid;
  gap: 0.5rem;
  max-height: 20rem;
  overflow-y: auto;
  padding: 0.8rem;
  margin-bottom: 0.8rem;
  background: rgba(231, 179, 188, 0.08);
  border-radius: 6px;
}
.sohbet__bos {
  margin: 0;
  text-align: center;
  color: var(--soluk);
  font-style: italic;
  font-size: 0.92rem;
}

.balon {
  max-width: 82%;
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.55;
  word-wrap: break-word;
}
.balon--zara {
  justify-self: end;
  background: var(--pembe);
  color: #4a2f34;
  border-bottom-right-radius: 3px;
}
.balon--yapimci {
  justify-self: start;
  background: #fffdf9;
  border: 1px solid rgba(180, 165, 140, 0.5);
  color: var(--govde);
  border-bottom-left-radius: 3px;
}

.sohbet__form { display: flex; gap: 0.5rem; }
.sohbet__form input { flex: 1 1 auto; }

/* ============================================================
   BÜYÜK MESAJ PERDESİ
   ============================================================ */
.buyuk-mesaj {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(45, 35, 30, 0.82);
  backdrop-filter: blur(3px);
  animation: perdeGel 0.5s ease both;
}
.buyuk-mesaj[hidden] { display: none; }

@keyframes perdeGel { from { opacity: 0; } to { opacity: 1; } }

.buyuk-mesaj__kutu {
  max-width: 40rem;
  text-align: center;
  background: var(--kagit-kart);
  border-radius: 8px;
  padding: 2.4rem 1.6rem 1.8rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  animation: kutuGel 0.7s 0.1s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes kutuGel {
  from { opacity: 0; transform: translateY(30px) scale(0.94); }
  to   { opacity: 1; transform: none; }
}

.buyuk-mesaj__metin {
  font-family: var(--font-brush);
  font-size: clamp(1.7rem, 6.5vw, 2.9rem);
  line-height: 1.3;
  color: var(--murekkep);
  margin-bottom: 1.4rem;
}

@media (min-width: 48rem) {
  .not-kutu { padding: 2.2rem 2.4rem; }
  .not-secim { grid-template-columns: 1fr 1fr; }
  .not-dugme { padding: 1.2rem 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .buyuk-mesaj, .buyuk-mesaj__kutu { animation: none; }
}

/* ============================================================
   MASAÜSTÜ
   ============================================================ */
@media (min-width: 48rem) {
  body { font-size: 1.04rem; }
  .bolum { padding: 7rem 0; }
  .kapak__icerik { padding-bottom: 7.5rem; }
  .rozet { top: 2rem; right: 2.4rem; width: 88px; height: 88px; }
  .rozet__gun { font-size: 1.8rem; }

  .serit { padding: 0.7rem 0; }
  .serit__grup { font-size: 1.3rem; gap: 2.2rem; padding-right: 2.2rem; }

  .defter { padding: 3rem 3.2rem 2.6rem; }
  .defter__liste li { padding-left: 2.6rem; font-size: 1.02rem; }

  .ikili { grid-template-columns: 1.55fr 1fr; gap: 3.2rem; align-items: start; }
  .ikili--orta { grid-template-columns: 1fr 1fr; align-items: center; }
  .notluk { margin: 0.4rem 0 0; }

  .gulus__kompozisyon { flex-direction: row; align-items: flex-end; justify-content: center; gap: 0; }
  .polaroid--buyuk { width: 26rem; z-index: 1; }
  .polaroid--kucuk { width: 15rem; margin: 0 0 3rem -1.4rem; }

  .damga-kart { padding: 3rem 2.6rem 2.4rem; }
  .damga { width: 128px; top: -44px; right: -34px; }

  .cizelge { padding-left: 0; gap: 2.8rem; }
  .cizelge::before { left: 50%; transform: translateX(-50%); }
  .cizelge__oge { width: 50%; padding-right: 3rem; }
  .cizelge__oge:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: 3rem; }
  .cizelge__oge::before { left: auto; right: -6px; }
  .cizelge__oge:nth-child(even)::before { left: -6px; right: auto; }
  .cizelge__kart { padding: 1.5rem 1.7rem; }

  .mektup { padding: 2.6rem 3rem 2.2rem; }
  .mektup__govde p { font-size: 1.02rem; }
  .avatar { width: 62px; height: 62px; }

  .mum { width: 14px; height: 56px; }
  .muzik { right: 1.6rem; bottom: 1.6rem; }
}

@media (min-width: 64rem) {
  .kapak__giris { font-size: 1rem; }
  .pasta-alan__gorsel { width: 120px; left: -60px; top: -34px; }
}

/* ============================================================
   HAREKET AZALTMA TERCİHİ
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kapak__foto { animation: none; }
  .kapak__gir, .rozet { animation: none; opacity: 1; transform: none; }
  .kapak__kaydir, .muzik__ipucu, .alev, .not-kisayol { animation: none; }
  .serit__ray { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .defter.reveal { transform: rotate(-0.5deg); }
  .notluk.reveal { transform: rotate(2deg); }
  .polaroid--buyuk.reveal { transform: rotate(-1.5deg); }
  .polaroid--kucuk.reveal { transform: rotate(3.5deg); }
  .polaroid--tek.reveal { transform: rotate(1.6deg); }
  .eski-foto.reveal { transform: rotate(-2deg); }
  .konfeti { display: none; }
}
