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

:root {
  --rose:      #e5989b;
  --blush:     #e8c4b8;
  --warm-gray: #9e8f85;
  --ink:       #2a1e16;
  --cream:     #f9f4ee;
}

html, body {
  height: 100%;
  background: var(--ink);
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ═══════════ NAVBAR ═══════════ */
#navbar {
  position: fixed;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 94%; max-width: 1400px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; height: 56px;
  background: transparent;
  border-radius: 100px;
  border: 1px solid transparent;
  overflow: visible;
  opacity: 0; transition: opacity .4s ease;
}
#navbar.ready { opacity: 1; }

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 400; letter-spacing: 3px;
  color: rgba(255,255,255,.85); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.nav-logo em { font-style: italic; color: var(--rose); }

.nav-links { display:flex; align-items:center; gap:36px; list-style:none; }
.nav-links a {
  font-family: 'Jost', sans-serif; font-weight:300; font-size:11px;
  letter-spacing:2.5px; text-transform:uppercase;
  color: rgba(255,255,255,.65); text-decoration:none; transition:color .3s; white-space:nowrap;
}
.nav-links a:hover { color: #fff; }

/* ═══════════ PAGE FADE ═══════════ */
#page-fade {
  position:fixed; inset:0; background:#1a1209;
  z-index:9999; opacity:0; pointer-events:none;
  transition:opacity .45s ease;
}
#page-fade.fade-out { opacity:1; pointer-events:all; }
body { animation:fadeInPage .6s ease forwards; }
@keyframes fadeInPage { from{opacity:0} to{opacity:1} }

/* ═══════════ PARTICLES ═══════════ */
.particle {
  position:fixed; border-radius:50%;
  pointer-events:none; z-index:99999;
  animation:particleBurst .7s ease-out forwards;
}
@keyframes particleBurst {
  0%   { transform:translate(0,0) scale(1); opacity:1; }
  100% { transform:translate(var(--tx),var(--ty)) scale(0); opacity:0; }
}

/* ═══════════ BG FLOATING PARTICLES ═══════════ */
.bg-particles { position:fixed; inset:0; pointer-events:none; z-index:0; overflow:hidden; }
.bg-dot {
  position:absolute; border-radius:50%;
  background: rgba(232,196,184,.12);
  animation: floatDot linear infinite;
}
@keyframes floatDot {
  0%   { transform: translateY(100vh) scale(0); opacity:0; }
  10%  { opacity:1; }
  90%  { opacity:.6; }
  100% { transform: translateY(-20vh) scale(1); opacity:0; }
}

/* ═══════════ MAIN ═══════════ */
.anniversary-main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: 100px 24px 60px;
  /* Subtle radial glow */
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(229,152,155,.08) 0%, transparent 70%),
    var(--ink);
}

.anniversary-content {
  text-align: center;
  position: relative; z-index: 2;
}

.ann-eyebrow {
  font-size: 11px; letter-spacing: 6px; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-bottom: 20px;
}

.ann-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 9vw, 100px);
  font-weight: 300; line-height: 1.05;
  color: #fff; letter-spacing: -1px;
  margin-bottom: 16px;
}
.ann-title em { font-style: italic; color: var(--blush); }

.ann-date-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: clamp(16px, 2.5vw, 22px);
  color: var(--rose); letter-spacing: 2px;
  margin-bottom: 64px;
}

/* ═══════════ COUNTDOWN ═══════════ */
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 160px;
}

.countdown-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(72px, 14vw, 160px);
  font-weight: 300;
  line-height: 1;
  color: #fff;
  letter-spacing: -3px;
  /* Subtle glow */
  text-shadow: 0 0 60px rgba(232,196,184,.2);
  transition: all .3s ease;
}

.countdown-label {
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-top: 12px;
}

.countdown-sep {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 300;
  color: var(--rose);
  opacity: .5;
  padding: 0 4px;
  margin-bottom: 24px; /* offset to align with numbers */
  animation: blink 1s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:.5} 50%{opacity:.15} }

.ann-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(16px, 2vw, 22px);
  color: rgba(255,255,255,.3);
  letter-spacing: 2px;
}

/* ═══════════ HAMBURGER & DRAWER ═══════════ */
.nav-burger {
  display:none; flex-direction:column; justify-content:center;
  gap:5px; cursor:pointer; padding:6px; flex-shrink:0; z-index:1002;
}
.nav-burger span {
  display:block; width:22px; height:2px; background:rgba(255,255,255,.8);
  border-radius:2px; transition:transform .3s,opacity .3s;
}
.nav-burger.open span:nth-child(1){ transform:rotate(45deg) translate(5px,5px); }
.nav-burger.open span:nth-child(2){ opacity:0; }
.nav-burger.open span:nth-child(3){ transform:rotate(-45deg) translate(5px,-5px); }

.nav-drawer {
  display:none; position:fixed; inset:0; z-index:9998;
  background:rgba(26,18,9,.97);
  backdrop-filter:blur(24px); -webkit-backdrop-filter:blur(24px);
  flex-direction:column; align-items:center; justify-content:center; gap:32px;
}
.nav-drawer.open { display:flex; animation:drawerIn .3s ease forwards; }
@keyframes drawerIn { from{opacity:0;transform:translateY(-6px)} to{opacity:1;transform:none} }

.nav-drawer a {
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(32px,8vw,52px); font-weight:300;
  color:#fff; text-decoration:none; letter-spacing:2px; transition:color .2s;
}
.nav-drawer a:hover { color:var(--rose); }

.nav-drawer-close {
  position:absolute; top:12px; right:16px;
  background:none; border:none;
  font-size:48px; line-height:1; color:rgba(255,255,255,.4);
  cursor:pointer; z-index:9999;
  padding:12px 18px; min-width:64px; min-height:64px;
  display:flex; align-items:center; justify-content:center;
  transition:color .2s;
}
.nav-drawer-close:hover { color:#fff; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width:640px) {
  .nav-links { display:none !important; }
  .nav-burger { display:flex; }
  #navbar { overflow:visible !important; }

  .countdown-block { min-width: 72px; }
  .countdown-number { letter-spacing:-2px; }
  .countdown-sep { font-size: clamp(32px,8vw,60px); }
  .ann-date-label { margin-bottom:40px; }
}

@media (min-width:641px) and (max-width:860px) {
  #navbar { width:94% !important; padding:0 20px !important; height:50px; }
  .nav-links { gap:16px; }
  .nav-links a { font-size:10px; letter-spacing:1.5px; }

  .countdown-block { min-width:100px; }
}