/* ==========================================================================
   PASTEL & TATLI MİNİMAL DOĞUM GÜNÜ TEMASI - STYLE.CSS
   ========================================================================== */

:root {
  /* Renk Paleti - Yumuşak & Romantik Pastel */
  --bg-gradient-start: #fff6f8;
  --bg-gradient-mid: #fdf2f4;
  --bg-gradient-end: #f4f6fc;
  
  --primary-pink: #f28b9f;
  --primary-hover: #e07489;
  --soft-peach: #ffdfd3;
  --soft-lavender: #ece9fb;
  --warm-cream: #fffdf9;
  --text-main: #3d3440;
  --text-muted: #7d7280;
  
  --cake-base: #f9d8cf;
  --cake-frosting: #fff5eb;
  --cake-accent: #f7a8b8;
  
  --wax-red: #d94b63;
  --envelope-body: #fad9cf;
  --envelope-dark: #f0c3b5;
  
  --card-shadow: 0 12px 32px rgba(220, 150, 165, 0.15);
  --card-shadow-hover: 0 20px 40px rgba(220, 150, 165, 0.25);
  
  --font-main: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  --font-handwriting: 'Caveat', cursive;
}

/* Temel Sıfırlamalar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: linear-gradient(145deg, var(--bg-gradient-start) 0%, var(--bg-gradient-mid) 50%, var(--bg-gradient-end) 100%);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Arka Planda Yüzen Kalpler & Işıltılar */
.floating-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-particle {
  position: absolute;
  font-size: 1.2rem;
  opacity: 0.35;
  animation: floatUpward 14s infinite linear;
  user-select: none;
}

@keyframes floatUpward {
  0% {
    transform: translateY(105vh) rotate(0deg) scale(0.8);
    opacity: 0;
  }
  15% {
    opacity: 0.45;
  }
  85% {
    opacity: 0.45;
  }
  100% {
    transform: translateY(-10vh) rotate(360deg) scale(1.1);
    opacity: 0;
  }
}

/* ==========================================================================
   SABİT MÜZİK ÇALAR WIDGETI (FLOATING VINYL)
   ========================================================================== */
.music-player-widget {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 16px 8px 10px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(180, 140, 160, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.music-player-widget:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(180, 140, 160, 0.25);
}

.vinyl-disc {
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, #2d2a32 40%, #151417 75%, #46424e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s;
}

.vinyl-disc.spinning {
  animation: spinVinyl 3.5s linear infinite;
}

@keyframes spinVinyl {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.vinyl-core {
  width: 16px;
  height: 16px;
  background: var(--primary-pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: white;
}

.player-info {
  display: flex;
  flex-direction: column;
}

.track-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
}

.track-status {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.player-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: transform 0.2s;
}

.player-btn:hover {
  transform: scale(1.15);
}

/* ==========================================================================
   HERO BÖLÜMÜ
   ========================================================================== */
.hero-section {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 85vh;
  padding: 80px 24px 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(242, 139, 159, 0.15);
  color: var(--primary-pink);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  padding: 8px 18px;
  border-radius: 30px;
  margin-bottom: 24px;
  border: 1px solid rgba(242, 139, 159, 0.3);
  animation: pulseGlow 2.5s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(242, 139, 159, 0); }
  50% { transform: scale(1.04); box-shadow: 0 0 18px rgba(242, 139, 159, 0.35); }
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  max-width: 800px;
  margin-bottom: 20px;
}

.highlight-name {
  background: linear-gradient(120deg, #f28b9f, #b392f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-family: var(--font-handwriting);
  font-size: 4.2rem;
  font-weight: 700;
  padding: 0 6px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 32px;
  font-weight: 400;
}

.date-counter-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  padding: 10px 22px;
  border-radius: 40px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  box-shadow: 0 6px 20px rgba(200, 160, 180, 0.15);
  margin-bottom: 48px;
}

.heart-pulse {
  display: inline-block;
  animation: heartBeat 1.4s infinite;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.3); }
  28% { transform: scale(1); }
  42% { transform: scale(1.2); }
  70% { transform: scale(1); }
}

.scroll-down-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-pink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 15px rgba(220, 150, 170, 0.12);
  transition: all 0.3s ease;
}

.scroll-down-btn:hover {
  background: white;
  transform: translateY(3px);
  box-shadow: 0 8px 24px rgba(220, 150, 170, 0.2);
}

.arrow-down {
  display: inline-block;
  animation: bounceDown 1.8s infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ==========================================================================
   GENEL BÖLÜM STİLLERİ
   ========================================================================== */
.main-content {
  position: relative;
  z-index: 10;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 20px 100px;
}

.section {
  padding: 70px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-pink);
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
}

/* ==========================================================================
   BÖLÜM 1: İNTERAKTİF DOĞUM GÜNÜ PASTASI
   ========================================================================== */
.cake-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  border-radius: 36px;
  padding: 60px 30px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.cake-wrapper {
  position: relative;
  width: 280px;
  height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 40px;
}

/* Tabak */
.cake-plate {
  position: absolute;
  bottom: -10px;
  width: 310px;
  height: 18px;
  background: #ede8f2;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(100, 80, 110, 0.15);
}

/* Katlar */
.cake-layer {
  position: relative;
  border-radius: 18px 18px 12px 12px;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.05), 0 8px 15px rgba(220, 160, 180, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.layer-bottom {
  width: 250px;
  height: 95px;
  background: linear-gradient(to bottom, #ffd8e0, #ffbccc);
  z-index: 2;
}

.layer-top {
  width: 180px;
  height: 80px;
  background: linear-gradient(to bottom, #fff3e6, #ffe0d0);
  z-index: 3;
  margin-bottom: -10px;
}

/* Krema Akıntıları */
.cream-drips {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  pointer-events: none;
}

.drip {
  width: 22px;
  height: 24px;
  background: white;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.strawberries {
  position: absolute;
  bottom: 12px;
  font-size: 1.3rem;
  letter-spacing: 14px;
  user-select: none;
}

/* Mumlar */
.candles-container {
  position: absolute;
  top: 40px;
  z-index: 5;
  display: flex;
  gap: 34px;
}

.candle {
  position: relative;
  width: 14px;
  height: 48px;
  background: repeating-linear-gradient(
    45deg,
    #ffffff,
    #ffffff 6px,
    #f28b9f 6px,
    #f28b9f 12px
  );
  border-radius: 5px 5px 0 0;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.candle:hover {
  transform: scale(1.08);
}

/* Alev */
.flame {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 26px;
  background: radial-gradient(ellipse at bottom, #fff 15%, #ffd166 45%, #ff5e7e 85%, transparent 100%);
  border-radius: 50% 50% 35% 35%;
  animation: flickerFlame 1.2s infinite alternate ease-in-out;
  filter: drop-shadow(0 0 10px #ffbb00);
  transform-origin: center bottom;
  transition: all 0.4s ease;
}

.flame.extinguished {
  opacity: 0;
  transform: translateX(-50%) scale(0.1);
  pointer-events: none;
}

@keyframes flickerFlame {
  0% { transform: translateX(-50%) scale(1) rotate(-2deg); }
  50% { transform: translateX(-50%) scale(1.08) rotate(3deg); }
  100% { transform: translateX(-50%) scale(0.95) rotate(-1deg); }
}

/* Duman Animasyonu */
.smoke {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: rgba(180, 180, 190, 0.6);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.smoke.active {
  animation: smokeRise 1.8s ease-out forwards;
}

@keyframes smokeRise {
  0% {
    opacity: 0.7;
    transform: translateX(-50%) translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-50px) scale(3.5);
  }
}

/* Butonlar */
.action-btn {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 6px 20px rgba(242, 139, 159, 0.3);
}

.primary-btn {
  background: linear-gradient(135deg, #f28b9f, #ea637e);
  color: white;
}

.primary-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(242, 139, 159, 0.45);
}

.secondary-btn {
  background: white;
  color: var(--primary-pink);
  border: 2px solid var(--primary-pink);
  margin-top: 15px;
}

.secondary-btn:hover {
  background: #fff5f7;
  transform: translateY(-2px);
}

/* Dilek Açıklama Kartı */
.wish-reveal-card {
  margin-top: 36px;
  background: white;
  border-radius: 24px;
  padding: 30px;
  max-width: 560px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(230, 140, 160, 0.15);
  border: 1px solid rgba(255, 230, 236, 0.9);
  display: none;
  animation: fadeInUp 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.wish-reveal-card.show {
  display: block;
}

.reveal-stars {
  font-size: 2rem;
  margin-bottom: 12px;
}

.wish-reveal-card h3 {
  font-size: 1.6rem;
  color: var(--primary-pink);
  margin-bottom: 10px;
}

.wish-reveal-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   BÖLÜM 2: INSTAX WIDE POLAROID FOTOĞRAF GALERİSİ
   ========================================================================== */
.polaroid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px;
  padding: 10px;
  align-items: center;
}

.polaroid-card-container {
  display: flex;
  justify-content: center;
  transition: all 0.3s ease;
}

.polaroid-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 14px 18px;
  box-shadow: 0 14px 30px rgba(160, 130, 150, 0.16);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.polaroid-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 22px 42px rgba(220, 140, 160, 0.28);
}

/* Hafif Doğal Masaüstü Açıları */
.polaroid-card-container:nth-child(1) .polaroid-card { transform: rotate(-1.5deg); }
.polaroid-card-container:nth-child(2) .polaroid-card { transform: rotate(1.2deg); }
.polaroid-card-container:nth-child(3) .polaroid-card { transform: rotate(-1deg); }
.polaroid-card-container:nth-child(4) .polaroid-card { transform: rotate(1.5deg); }
.polaroid-card-container:nth-child(5) .polaroid-card { transform: rotate(-0.5deg); }

.polaroid-card-container:hover .polaroid-card {
  transform: rotate(0deg) translateY(-8px) scale(1.03);
}

/* Washi Tape (Dekoratif Bant) */
.washi-tape {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: rgba(255, 214, 224, 0.85);
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
  border-left: 2px dashed rgba(255, 255, 255, 0.6);
  border-right: 2px dashed rgba(255, 255, 255, 0.6);
  z-index: 10;
}

/* 16:9 Geniş Ekran Görsel Çerçevesi */
.polaroid-img-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 8px;
  background: #f8f6f8;
  position: relative;
}

.polaroid-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.polaroid-card:hover .polaroid-img-wrapper img {
  transform: scale(1.04);
}

.polaroid-footer-clean {
  text-align: center;
  padding-top: 10px;
}

.photo-emoji {
  font-size: 1.25rem;
  letter-spacing: 4px;
  opacity: 0.85;
}

/* 5. Fotoğraf için Özel Vurgu (Son Romantik Fotoğraf) */
@media (min-width: 900px) {
  .polaroid-featured {
    grid-column: span 2;
    max-width: 540px;
    margin: 0 auto;
  }
  .polaroid-featured .polaroid-card {
    max-width: 540px;
  }
  .polaroid-featured .polaroid-img-wrapper {
    height: 260px;
  }
}

/* ==========================================================================
   BÜYÜK FOTOĞRAF LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 10, 20, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-modal img {
  max-width: 92%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes zoomIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-close-btn:hover {
  background: var(--primary-pink);
}

/* ==========================================================================
   BÖLÜM 3: MÜHÜRLÜ ZARF VE DOĞUM GÜNÜ MEKTUBU
   ========================================================================== */
.letter-section {
  text-align: center;
}

.envelope-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
}

.envelope-wrapper {
  position: relative;
  width: 280px;
  height: 180px;
  cursor: pointer;
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

.envelope-wrapper:hover {
  transform: translateY(-5px) scale(1.02);
}

.envelope {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--envelope-dark);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 16px 36px rgba(180, 130, 140, 0.22);
}

/* Zarfın Kapağı (Flap) */
.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-left: 140px solid transparent;
  border-right: 140px solid transparent;
  border-top: 100px solid var(--envelope-body);
  transform-origin: top;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 4;
}

.envelope-wrapper.open .envelope-flap {
  transform: rotateX(180deg);
  z-index: 1;
}

/* Zarf Cebi (Ön Üçgenler) */
.envelope-pocket {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--envelope-body);
  clip-path: polygon(0% 100%, 50% 50%, 100% 100%);
  border-radius: 0 0 16px 16px;
  z-index: 3;
}

/* Mühür (Wax Seal) */
.wax-seal {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: radial-gradient(circle, #e6526e, var(--wax-red));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(180, 50, 70, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3);
  z-index: 5;
  transition: all 0.3s ease;
}

.wax-seal:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(180, 50, 70, 0.5);
}

.seal-heart {
  font-size: 1.3rem;
  line-height: 1;
}

.envelope-wrapper.open .wax-seal {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
  pointer-events: none;
}

.letter-paper-preview {
  position: absolute;
  top: 15px;
  left: 20px;
  width: 240px;
  height: 140px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 2;
  transition: transform 0.6s ease;
}

.envelope-wrapper.open .letter-paper-preview {
  transform: translateY(-60px);
}

/* ==========================================================================
   MEKTUP MODALI (TAM EKRAN GÖRÜNÜM)
   ========================================================================== */
.letter-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 20, 30, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.letter-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.letter-modal-container {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalScaleUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalScaleUp {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.close-modal-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.2s;
}

.close-modal-btn:hover {
  background: var(--primary-pink);
  color: white;
  transform: scale(1.1);
}

/* Mektup Kağıdı */
.letter-sheet {
  background: #fffefb;
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(240, 220, 210, 0.8);
  position: relative;
  background-image: radial-gradient(#f0e6e8 1px, transparent 1px);
  background-size: 20px 20px;
}

.letter-header-decor {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 12px;
  letter-spacing: 6px;
  color: var(--primary-pink);
}

.letter-title {
  font-family: var(--font-handwriting);
  font-size: 2.3rem;
  color: var(--text-main);
  margin-bottom: 24px;
}

.letter-body p {
  font-family: var(--font-handwriting);
  font-size: 1.55rem;
  line-height: 1.6;
  color: #4a3e4d;
  margin-bottom: 18px;
}

.letter-footer {
  margin-top: 36px;
  text-align: right;
  border-top: 1px dashed rgba(240, 180, 195, 0.4);
  padding-top: 20px;
}

.letter-sign-text {
  font-family: var(--font-handwriting);
  font-size: 1.35rem;
  color: var(--text-muted);
}

.signature-name {
  font-family: var(--font-handwriting);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-pink);
  display: block;
  margin-top: 4px;
}

/* ==========================================================================
   FOOTER (ALT BİLGİ)
   ========================================================================== */
.footer {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(230, 200, 210, 0.4);
}

/* ==========================================================================
   MOBİL VE TABLET UYUMLULUĞU (RESPONSIVE)
   ========================================================================== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }
  
  .highlight-name {
    font-size: 3.2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }

  .music-player-widget {
    top: auto;
    bottom: 20px;
    right: 20px;
    padding: 6px 14px 6px 8px;
  }

  .track-title {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .cake-wrapper {
    transform: scale(0.85);
  }

  .cake-stage {
    padding: 40px 16px;
  }

  .polaroid-img-wrapper {
    height: 190px;
  }

  .letter-sheet {
    padding: 36px 22px;
  }

  .letter-title {
    font-size: 1.9rem;
  }

  .letter-body p {
    font-size: 1.35rem;
  }
}

/* ==========================================================================
   ROMANTİK ŞİFRE KİLİT EKRANI
   ========================================================================== */
.lock-screen-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, rgba(255, 245, 247, 0.98), rgba(254, 230, 238, 0.98));
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.lock-screen-overlay.fade-out {
  opacity: 0;
  transform: scale(1.06);
  pointer-events: none;
}

.lock-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(242, 139, 159, 0.35);
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(224, 86, 122, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.8);
  padding: 42px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.lock-card.shake-anim {
  animation: lockShake 0.45s ease-in-out;
}

@keyframes lockShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-12px); }
  40%, 80% { transform: translateX(12px); }
}

.lock-card.unlocked-anim {
  transform: scale(0.96);
  filter: brightness(1.05);
}

.lock-icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  background: linear-gradient(135deg, #ffeef2, #ffd6e0);
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(242, 139, 159, 0.28);
}

.lock-icon {
  font-size: 2.2rem;
}

.lock-heart-pulse {
  position: absolute;
  top: -4px;
  right: -4px;
  font-size: 1.3rem;
  animation: heartPulse 1.5s infinite;
}

.lock-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  color: var(--text-main);
  margin-bottom: 8px;
  font-weight: 700;
}

.lock-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.lock-input-group {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.lock-input-group input {
  width: 100%;
  padding: 14px 48px 14px 18px;
  border-radius: 50px;
  border: 2px solid rgba(242, 139, 159, 0.4);
  background: #ffffff;
  font-family: var(--font-body);
  font-size: 1.1rem;
  text-align: center;
  letter-spacing: 2px;
  color: var(--text-main);
  outline: none;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);
}

.lock-input-group input:focus {
  border-color: var(--primary-pink);
  box-shadow: 0 0 0 4px rgba(242, 139, 159, 0.2);
}

.toggle-pwd-btn {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  opacity: 0.6;
  transition: opacity 0.2s;
  padding: 4px;
}

.toggle-pwd-btn:hover {
  opacity: 1;
}

.lock-submit-btn {
  width: 100%;
  padding: 14px 24px;
  font-size: 1.05rem;
  border-radius: 50px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lock-error-msg {
  color: #e84118;
  font-size: 0.92rem;
  margin-top: 12px;
  font-weight: 600;
  min-height: 22px;
}

.lock-hint-text {
  font-size: 0.85rem;
  color: #a4b0be;
  margin-top: 12px;
}
