@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=Nunito:wght@200;300;400;500&family=Great+Vibes&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --champagne: #f7e9c8;
  --gold: #c8963e;
  --gold-light: #e8c06a;
  --gold-pale: #f5dea0;
  --pearl: #fdf6ee;
  --cream: #fff9f0;
  --peach: #f2b48a;
  --rose-soft: #d4828a;
  --amber: #d4863a;
  --night: #120b1a;
  --night-mid: #1e1228;
  --text-light: #fdf6ee;
  --text-warm: #f0dfc0;
}

html, body {
  width: 100%; height: 100%;
  background: var(--night);
  color: var(--text-light);
  font-family: 'Nunito', sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── BACKGROUND ── */
#bg-glow {
  position: fixed; inset: -30%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(200,150,62,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 30%, rgba(212,130,58,0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 80%, rgba(212,130,138,0.07) 0%, transparent 40%);
  animation: breatheBg 12s ease-in-out infinite alternate;
}
@keyframes breatheBg {
  0%   { transform: scale(1) translate(0,0); opacity: 0.85; }
  100% { transform: scale(1.08) translate(-1%,-2%); opacity: 1; }
}

.noise-overlay {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.25;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

#bg-canvas {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
}

#transition-flash {
  position: fixed; inset: 0; z-index: 99;
  background: linear-gradient(135deg, var(--champagne), #fff);
  opacity: 0; pointer-events: none;
  transition: opacity 0.12s ease-out;
}

/* ── SCENE SYSTEM ── */
.scene {
  position: fixed; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  z-index: 10;
  pointer-events: none;
  overflow-y: auto; overflow-x: hidden;
  opacity: var(--opacity, 0);
  transform: scale(var(--scale, 1.04));
  filter: blur(var(--blur, 4px));
  will-change: transform, opacity, filter;
  transition:
    opacity 850ms cubic-bezier(0.4,0,0.2,1),
    transform 850ms cubic-bezier(0.4,0,0.2,1),
    filter 850ms cubic-bezier(0.4,0,0.2,1);
}
.scene.active { pointer-events: all; }

/* ── BUTTON ── */
.btn {
  position: relative; display: inline-block;
  margin-top: 2.5rem; padding: 0.9rem 3rem;
  border: 1px solid rgba(200,150,62,0.5);
  background: rgba(200,150,62,0.07);
  color: var(--gold-light);
  font-family: 'Nunito', sans-serif; font-size: clamp(0.65rem,2vw,0.75rem);
  font-weight: 500; letter-spacing: 4px; text-transform: uppercase;
  border-radius: 100px; cursor: pointer;
  backdrop-filter: blur(10px); overflow: hidden;
  transition: border-color 0.4s, color 0.4s, background 0.4s, transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s;
}
.btn span { position: relative; z-index: 2; }
.btn::before {
  content: ''; position: absolute;
  top: var(--y, 50%); left: var(--x, 50%);
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(232,192,106,0.25) 0%, transparent 70%);
  transform: translate(-50%,-50%);
  opacity: 0; transition: opacity 0.35s; pointer-events: none; z-index: 1;
}
.btn:hover {
  border-color: var(--gold-light); color: var(--pearl);
  background: rgba(200,150,62,0.18);
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(200,150,62,0.2);
}
.btn:hover::before { opacity: 1; }

/* ══ CENA 1 ══ */
#s1 { text-align: center; }

/* Rose petals */
.petals-wrap { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.petal {
  position: absolute; top: -40px;
  width: 12px; height: 18px;
  background: radial-gradient(ellipse at 40% 30%, rgba(242,180,138,0.85), rgba(212,130,138,0.6));
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  opacity: 0;
  animation: petalFall linear infinite;
}
@keyframes petalFall {
  0%   { opacity: 0; transform: translateY(0) rotate(0deg) translateX(0); }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.4; }
  100% { opacity: 0; transform: translateY(110vh) rotate(360deg) translateX(60px); }
}

.s1-sup {
  font-family: 'Nunito', sans-serif; font-size: clamp(0.6rem,2vw,0.75rem);
  letter-spacing: 5px; text-transform: uppercase;
  color: rgba(245,222,160,0.6); margin-bottom: 1rem; position: relative; z-index: 2;
}
.cursor { animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.s1-title {
  font-family: 'Playfair Display', serif; font-size: clamp(1.8rem,7vw,3.2rem);
  font-weight: 400; font-style: italic; color: var(--text-light);
  margin-bottom: 3rem; opacity: 0.92; position: relative; z-index: 2;
}

.envelope-wrap {
  position: relative; width: 240px; height: 165px;
  cursor: pointer; margin: 0 auto;
  perspective: 700px;
  animation: floatEnv 4s ease-in-out infinite;
  transition: transform 0.2s cubic-bezier(0.4,0,0.2,1);
  z-index: 2;
}
@media (max-width: 640px) { .envelope-wrap { width: 180px; height: 125px; } }
.envelope-wrap:active { transform: scale(0.95); }
@keyframes floatEnv {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.env-ambient-glow {
  position: absolute; inset: -10px;
  box-shadow: 0 0 60px rgba(200,150,62,0.22), 0 0 120px rgba(200,150,62,0.1);
  border-radius: 12px; transition: box-shadow 0.5s;
}
.envelope-wrap:hover .env-ambient-glow {
  box-shadow: 0 0 100px rgba(200,150,62,0.45), 0 0 200px rgba(200,150,62,0.2);
}

.env-body {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, #f5e6c8 0%, #ecdbb0 100%);
  border: 1px solid rgba(200,150,62,0.55);
  border-radius: 10px; overflow: hidden;
  box-shadow: inset 0 0 30px rgba(160,100,20,0.08), 0 8px 30px rgba(0,0,0,0.35);
}
.env-flap {
  position: absolute; top: 0; left: 0; right: 0; height: 60%;
  background: linear-gradient(145deg, #f0daa8 0%, #e8cc90 100%);
  border-bottom: 1px solid rgba(200,150,62,0.35);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform 0.85s cubic-bezier(0.4,0,0.2,1); z-index: 3;
}
.envelope-wrap:hover .env-flap { transform: rotateX(155deg); }

.env-letter {
  position: absolute; bottom: 10px; left: 50%;
  transform: translateX(-50%);
  width: 82%; height: 78%;
  background: linear-gradient(to bottom, #fff9f0, #f5ead8);
  border-radius: 4px; z-index: 2;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.12);
  transition: transform 0.85s cubic-bezier(0.4,0,0.2,1);
}
.envelope-wrap:hover .env-letter { transform: translateX(-50%) translateY(-32px); }

.env-seal-wrap {
  position: absolute; top: 60%; left: 50%;
  transform: translate(-50%,-50%); z-index: 4;
  width: 48px; height: 48px;
  transition: opacity 0.4s;
}
.envelope-wrap:hover .env-seal-wrap { opacity: 0; }

.env-seal {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: var(--night); font-size: 1.2rem; font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4), inset 0 1px 2px rgba(255,255,255,0.3);
}
.env-seal-ring {
  position: absolute; inset: -5px; border-radius: 50%;
  border: 1.5px solid var(--gold-light);
  animation: pulseRing 2s cubic-bezier(0.4,0,0.6,1) infinite;
}
@keyframes pulseRing {
  0%   { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.s1-hint {
  margin-top: 2.8rem; font-size: 0.68rem; letter-spacing: 4px;
  text-transform: uppercase; color: rgba(245,222,160,0.38);
  animation: breatheOpacity 3.5s ease-in-out infinite; z-index: 2;
}
@keyframes breatheOpacity {
  0%,100% { opacity: 0.25; }
  50%      { opacity: 0.75; }
}

/* ══ CENA 2 ══ */
#s2 { text-align: center; }

.orb-field {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  overflow: hidden;
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(35px); opacity: 0.7;
}
.orb-1 {
  width: 200px; height: 200px; top: 5%; left: 15%;
  background: radial-gradient(circle, rgba(232,192,106,0.55), transparent 70%);
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-2 {
  width: 160px; height: 160px; top: 10%; right: 18%;
  background: radial-gradient(circle, rgba(212,130,138,0.45), transparent 70%);
  animation: orbFloat 10s 1.5s ease-in-out infinite reverse;
}
.orb-3 {
  width: 240px; height: 240px; bottom: 10%; left: 35%;
  background: radial-gradient(circle, rgba(200,150,62,0.4), transparent 70%);
  animation: orbFloat 12s 3s ease-in-out infinite;
}
@keyframes orbFloat {
  0%,100% { transform: translateY(0) translateX(0) scale(1); }
  33%      { transform: translateY(-20px) translateX(10px) scale(1.05); }
  66%      { transform: translateY(10px) translateX(-8px) scale(0.95); }
}

.sparkle-field { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.sparkle {
  position: absolute; font-size: 0.9rem; color: var(--gold-pale);
  opacity: 0; animation: sparklePulse 3s ease-in-out infinite;
}
.sp-1 { top: 20%; left: 22%; animation-delay: 0s; }
.sp-2 { top: 15%; right: 25%; animation-delay: 0.8s; }
.sp-3 { bottom: 25%; left: 18%; animation-delay: 1.6s; }
.sp-4 { bottom: 20%; right: 22%; animation-delay: 0.4s; }
.sp-5 { top: 50%; left: 8%; animation-delay: 1.2s; }
@keyframes sparklePulse {
  0%,100% { opacity: 0; transform: scale(0.5); }
  50%      { opacity: 0.9; transform: scale(1.2); }
}

.s2-tag {
  font-family: 'Nunito', sans-serif; font-size: clamp(0.6rem,2vw,0.72rem);
  letter-spacing: 7px; text-transform: uppercase;
  color: var(--gold-pale); opacity: 0.8;
  margin-bottom: 1.2rem; position: relative; z-index: 2;
}
.s2-name {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: clamp(3.5rem,12vw,6.5rem); font-weight: 400; line-height: 1;
  background: linear-gradient(135deg, var(--champagne), var(--gold-light), var(--peach));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 0.6rem; position: relative; z-index: 2;
  filter: drop-shadow(0 0 30px rgba(232,192,106,0.3));
}
.s2-name span {
  display: inline-block; opacity: 0;
  transform: translateY(18px) scale(0.92);
  animation: revealLetter 0.9s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes revealLetter { to { opacity: 1; transform: translateY(0) scale(1); } }

.s2-date {
  font-family: 'Nunito', sans-serif; font-size: clamp(0.6rem,2vw,0.72rem);
  letter-spacing: 5px; text-transform: uppercase;
  color: rgba(245,222,160,0.55); margin-bottom: 0.8rem;
  position: relative; z-index: 2;
  opacity: 0; transform: translateY(8px);
  animation: fadeUp 1s 1.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
.s2-sub {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: clamp(1.1rem,3.5vw,1.8rem); font-weight: 400;
  letter-spacing: 2px; color: rgba(253,246,238,0.65);
  position: relative; z-index: 2;
  opacity: 0; transform: translateY(10px);
  animation: fadeUp 1s 2.2s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ══ CENA 3 — POLAROIDS ══ */
#s3 { justify-content: flex-start; padding-top: 2rem; }
.mem-header { text-align: center; margin-bottom: 1.5rem; flex-shrink: 0; }
.mem-label {
  font-size: 0.65rem; letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold); opacity: 0.7; display: block; margin-bottom: 0.6rem;
}
.mem-header h2 {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 400; color: var(--text-light);
}

.polaroid-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1.2rem; max-width: 560px; width: 100%; padding: 0.5rem;
}
@media (max-width: 480px) {
  .polaroid-grid { grid-template-columns: repeat(2,1fr); gap: 0.8rem; }
}

.polaroid {
  background: #fffef9;
  padding: 10px 10px 36px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.3), 0 1px 4px rgba(0,0,0,0.18);
  cursor: pointer; position: relative;
  transition: transform 0.45s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.45s, z-index 0s;
  will-change: transform;
}
.polaroid:nth-child(1) { transform: rotate(-2.8deg); }
.polaroid:nth-child(2) { transform: rotate(2.0deg); }
.polaroid:nth-child(3) { transform: rotate(1.8deg); }
.polaroid:nth-child(4) { transform: rotate(-1.5deg); }
.polaroid:hover {
  transform: rotate(0deg) scale(1.1) translateY(-10px) !important;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 40px rgba(200,150,62,0.22);
  z-index: 10;
}

.polaroid-media {
  width: 100%; aspect-ratio: 1;
  background: linear-gradient(135deg, #f0e8d8, #e4d6c0);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.polaroid-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: rgba(42,26,16,0.28);
}
.polaroid-icon { font-size: 1.8rem; }
.polaroid-placeholder p {
  font-family: 'Nunito', sans-serif; font-size: 0.55rem;
  text-transform: uppercase; letter-spacing: 2px;
}
.polaroid-caption {
  padding-top: 8px; font-family: 'Great Vibes', cursive;
  font-size: 1.15rem; color: #2a1a10; text-align: center; line-height: 1.2;
}
.polaroid-caption span {
  display: block; font-family: 'Nunito', sans-serif;
  font-size: 0.55rem; letter-spacing: 1px; color: rgba(42,26,16,0.45);
  margin-top: 3px; font-weight: 300;
}

/* LIGHTBOX */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(12,7,18,0.9); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-inner {
  background: #fffef9; padding: 14px 14px 52px;
  max-width: 360px; width: 88%;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
  transform: scale(0.82) rotate(2deg);
  transition: transform 0.55s cubic-bezier(0.175,0.885,0.32,1.275);
  position: relative;
}
.lightbox.open .lightbox-inner { transform: scale(1) rotate(0deg); }
.lightbox-media {
  width: 100%; aspect-ratio: 1;
  background: linear-gradient(135deg, #f0e8d8, #e4d6c0);
  display: flex; align-items: center; justify-content: center;
}
.lightbox-caption {
  font-family: 'Great Vibes', cursive; font-size: 1.8rem;
  color: #2a1a10; text-align: center; margin-top: 12px; line-height: 1.3;
}
.lightbox-caption span {
  display: block; font-family: 'Nunito', sans-serif;
  font-size: 0.62rem; letter-spacing: 1px; color: rgba(42,26,16,0.5);
  margin-top: 6px; font-weight: 300; font-style: normal; line-height: 1.5;
}
.lightbox-close {
  position: absolute; top: 8px; right: 12px;
  background: none; border: none; font-size: 1.1rem;
  color: rgba(42,26,16,0.35); cursor: pointer;
  transition: color 0.3s;
}
.lightbox-close:hover { color: rgba(42,26,16,0.8); }

/* ══ CENA 4 ══ */
.vignette {
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, transparent 25%, rgba(18,11,26,0.85) 100%);
  pointer-events: none; z-index: 0;
}
.letter-wrap {
  position: relative; z-index: 1;
  max-width: 620px; width: 100%; text-align: center;
}
.letter-deco {
  font-family: 'Nunito', sans-serif; font-size: 0.72rem;
  letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold); opacity: 0.6; margin-bottom: 2rem;
}
.letter-rule {
  width: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-light), transparent);
  margin: 2rem auto;
  transition: width 1.6s cubic-bezier(0.4,0,0.2,1);
}
.scene.active .letter-rule { width: 90px; }

.letter-text {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: clamp(1.25rem,3.5vw,1.7rem); font-weight: 400;
  line-height: 1.85; color: var(--text-light); opacity: 0.92;
}
.word {
  opacity: 0; transform: translateY(8px);
  display: inline-block; margin-right: 0.3em;
  transition: opacity 0.55s, transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.word.visible { opacity: 1; transform: translateY(0); }

.letter-sig {
  font-family: 'Great Vibes', cursive; font-size: 2rem;
  color: var(--gold-light); opacity: 0;
  transform: translateY(10px);
  transition: opacity 1s 2.5s, transform 1s 2.5s;
}
.scene.active .letter-sig { opacity: 0.9; transform: translateY(0); }

/* ══ CENA 5 ══ */
#s5 { text-align: center; }
.shockwave {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(0);
  width: 100vmax; height: 100vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,192,106,0.18) 0%, transparent 60%);
  opacity: 0; pointer-events: none; z-index: 0;
}
.scene.active .shockwave {
  animation: shockwaveAnim 2.5s cubic-bezier(0.1,0.8,0.3,1) forwards;
}
@keyframes shockwaveAnim {
  0%   { transform: translate(-50%,-50%) scale(0); opacity: 1; }
  100% { transform: translate(-50%,-50%) scale(2.2); opacity: 0; }
}

.golden-ring-wrap {
  position: relative; margin-bottom: 1.5rem; z-index: 1;
  width: 80px; height: 80px; display: flex; align-items: center; justify-content: center;
}
.golden-ring {
  width: 80px; height: 80px; border-radius: 50%;
  border: 2px solid var(--gold-light);
  box-shadow: 0 0 30px rgba(232,192,106,0.4), inset 0 0 20px rgba(232,192,106,0.1);
  animation: ringPulse 2.5s ease-in-out infinite alternate;
}
.golden-ring-inner {
  position: absolute; width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(232,192,106,0.5);
  animation: ringPulse 2.5s 0.5s ease-in-out infinite alternate;
}
@keyframes ringPulse {
  0%   { transform: scale(0.95); opacity: 0.6; }
  100% { transform: scale(1.08); opacity: 1; }
}

.final-title-wrap { position: relative; margin-bottom: 1rem; z-index: 1; }
.golden-aura {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 130%; height: 180%; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,150,62,0.18) 0%, transparent 70%);
  box-shadow: 0 0 80px 30px rgba(200,150,62,0.15);
  animation: pulseAura 3s ease-in-out infinite alternate; pointer-events: none;
}
@keyframes pulseAura {
  0%   { opacity: 0.5; transform: translate(-50%,-50%) scale(0.9); }
  100% { opacity: 1;   transform: translate(-50%,-50%) scale(1.15); }
}

.final-title {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: clamp(2.5rem,7vw,4.5rem); font-weight: 500; line-height: 1.2;
  background: linear-gradient(135deg, var(--champagne), var(--gold-light), var(--peach));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  transform: scale(1.18); opacity: 0;
  transition: all 1.4s cubic-bezier(0.1,0.8,0.3,1);
}
.scene.active .final-title { transform: scale(1); opacity: 1; }

.final-sub {
  font-family: 'Nunito', sans-serif; font-size: clamp(0.7rem,2.5vw,0.9rem);
  font-weight: 300; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(245,222,160,0.6); margin-bottom: 0.8rem; position: relative; z-index: 1;
}
.final-love {
  font-family: 'Great Vibes', cursive; font-size: 2rem;
  color: var(--gold-light); opacity: 0.8; margin-bottom: 2rem; position: relative; z-index: 1;
}

.sparks-container {
  display: flex; gap: 18px; justify-content: center;
  height: 80px; position: relative; z-index: 1; margin-bottom: 1rem;
}
.spark {
  width: 4px; height: 4px; background: var(--gold-pale); border-radius: 50%;
  box-shadow: 0 0 12px var(--gold-light); opacity: 0;
  animation: riseUp 2.2s cubic-bezier(0.4,0,0.2,1) infinite;
}
@keyframes riseUp {
  0%   { transform: translateY(40px) scale(0); opacity: 0; }
  40%  { opacity: 0.9; }
  100% { transform: translateY(-50px) scale(1.8); opacity: 0; }
}

.restart {
  margin-top: 0.5rem; font-family: 'Nunito', sans-serif;
  font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(245,222,160,0.25); background: none; border: none;
  cursor: pointer; transition: color 0.3s; position: relative; z-index: 1;
}
.restart:hover { color: rgba(245,222,160,0.7); }

/* ── NAV DOTS ── */
.nav-dots {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 14px; z-index: 30; align-items: center;
}
.ndot-wrap { position: relative; display: flex; justify-content: center; }
.ndot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(245,222,160,0.2);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1); cursor: pointer;
}
.ndot:hover { background: rgba(245,222,160,0.5); transform: scale(1.5); }
.ndot.on { background: var(--gold-light); width: 26px; border-radius: 3px; box-shadow: 0 0 12px rgba(232,192,106,0.5); }
.ndot-tooltip {
  position: absolute; bottom: 100%; margin-bottom: 10px;
  font-family: 'Nunito', sans-serif; font-size: 0.58rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-pale); background: rgba(18,11,26,0.85);
  padding: 4px 8px; border-radius: 4px; white-space: nowrap;
  opacity: 0; transform: translateY(6px); transition: all 0.3s; pointer-events: none;
  border: 1px solid rgba(232,192,106,0.2);
}
.ndot-wrap:hover .ndot-tooltip { opacity: 1; transform: translateY(0); }

/* ── MUSIC TOGGLE ── */
.music-toggle {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 50;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(18,11,26,0.7); border: 1px solid rgba(200,150,62,0.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); cursor: pointer;
  backdrop-filter: blur(10px); transition: all 0.35s;
}
.music-toggle:hover {
  transform: scale(1.12); border-color: var(--gold-light);
  box-shadow: 0 0 18px rgba(200,150,62,0.3);
}
.music-tooltip {
  position: absolute; right: 110%; white-space: nowrap;
  font-family: 'Nunito', sans-serif; font-size: 0.62rem; letter-spacing: 1px;
  color: rgba(245,222,160,0.8); opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.music-toggle.show-tooltip .music-tooltip { opacity: 1; }

/* ══ HERO PHOTO (Cena 2) ══ */
.hero-photo-wrap {
  position: relative;
  z-index: 2;
  margin: 0.6rem 0 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: floatPhoto 5s ease-in-out infinite;
}
@keyframes floatPhoto {
  0%,100% { transform: translateY(0) rotate(-0.4deg); }
  50%      { transform: translateY(-12px) rotate(0.4deg); }
}

.hero-photo-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at center,
    rgba(200,150,62,0.35) 0%,
    rgba(212,130,138,0.18) 45%,
    transparent 70%);
  border-radius: 50%;
  filter: blur(18px);
  animation: heroGlowPulse 4s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: -1;
}
@keyframes heroGlowPulse {
  0%   { opacity: 0.55; transform: scale(0.92); }
  100% { opacity: 1;    transform: scale(1.12); }
}

.hero-photo-frame {
  position: relative;
  width: clamp(140px, 22vw, 200px);
  height: clamp(175px, 28vw, 252px);
  border: 1.5px solid rgba(200,150,62,0.55);
  border-radius: 3px;
  padding: 5px;
  background: linear-gradient(145deg,
    rgba(200,150,62,0.12),
    rgba(200,150,62,0.04));
  box-shadow:
    0 0 0 1px rgba(200,150,62,0.18),
    0 12px 50px rgba(0,0,0,0.55),
    0 0 80px rgba(200,150,62,0.18),
    inset 0 0 24px rgba(200,150,62,0.06);
}
#yt-player {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}


.hero-corner {
  position: absolute;
  font-size: 0.6rem;
  color: var(--gold-light);
  opacity: 0.85;
  line-height: 1;
}
.hc-tl { top: -1px;  left: -1px; }
.hc-tr { top: -1px;  right: -1px; }
.hc-bl { bottom: -1px; left: -1px; }
.hc-br { bottom: -1px; right: -1px; }

.hero-photo-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 1px;
  display: block;
}

.hero-petals-row {
  display: flex;
  gap: 0.9rem;
  margin-top: 0.7rem;
  justify-content: center;
}
.hpetal {
  font-size: 0.9rem;
  opacity: 0;
  animation: petalAppear 3s ease-in-out infinite;
  color: var(--peach);
}
.hp1 { animation-delay: 0s; }
.hp2 { animation-delay: 0.5s; color: var(--rose-soft); }
.hp3 { animation-delay: 1s; }
.hp4 { animation-delay: 1.5s; color: var(--rose-soft); }
.hp5 { animation-delay: 2s; }
@keyframes petalAppear {
  0%,100% { opacity: 0;   transform: translateY(2px) scale(0.8); }
  50%      { opacity: 0.8; transform: translateY(-2px) scale(1.1); }
}

/* ── POLAROID IMAGE ── */
.polaroid-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ── LIGHTBOX PHOTO ── */
.lightbox-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ── CONFETTI ── */
.confetti-piece {
  position: fixed; pointer-events: none; z-index: 999;
  animation: cfall var(--dur) cubic-bezier(0.25,0.46,0.45,0.94) forwards;
}
@keyframes cfall {
  0%   { transform: translateY(-5vh) rotate(0deg) scale(0); opacity: 0; }
  8%   { opacity: 1; transform: translateY(0) rotate(30deg) scale(1); }
  100% { transform: translateY(108vh) rotate(760deg) scale(0.8); opacity: 0; }
}
