/* ============================================
   LOVE STORY WEBSITE – Habibur ❤️ Sumaiya
   Romantic, Premium Design
   ============================================ */

:root {
  --pink: #ff6b9d;
  --deep-pink: #c2185b;
  --rose: #f43f5e;
  --purple: #a855f7;
  --deep-purple: #7c3aed;
  --dark: #0f051a;
  --dark2: #1a0a2e;
  --dark3: #231040;
  --glass: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.12);
  --text: #fff;
  --text-soft: rgba(255, 255, 255, 0.75);
  --font-main: 'Outfit', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --font-script: 'Dancing Script', cursive;
  --shadow: 0 8px 40px rgba(255, 107, 157, 0.25);
  --glow: 0 0 30px rgba(255, 107, 157, 0.4);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ========== HIDDEN ========== */
.hidden {
  display: none !important;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--pink);
  border-radius: 3px;
}

/* ============================================
   PASSWORD GATE
   ============================================ */
.gate-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, #2d0a4e 0%, #0f051a 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;
}

.gate-box {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 50px 40px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 107, 157, 0.3);
  border-radius: 24px;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 20px 80px rgba(255, 107, 157, 0.2);
  animation: gate-appear 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes gate-appear {
  from {
    opacity: 0;
    transform: scale(0.7) translateY(40px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.gate-hearts {
  font-size: 3rem;
  animation: pulse-big 1.5s ease-in-out infinite;
}

@keyframes pulse-big {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

.gate-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin: 16px 0 8px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gate-subtitle {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.gate-input-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gate-input {
  width: 100%;
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 107, 157, 0.4);
  border-radius: 50px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 1rem;
  outline: none;
  text-align: center;
  letter-spacing: 2px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.gate-input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 20px rgba(255, 107, 157, 0.3);
}

.gate-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0;
}

.gate-btn {
  padding: 14px;
  background: linear-gradient(135deg, var(--pink), var(--deep-purple));
  border: none;
  border-radius: 50px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow);
}

.gate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 107, 157, 0.4);
}

.gate-error {
  color: #ff6b6b;
  font-size: 0.85rem;
  margin-top: 10px;
  min-height: 20px;
}

.gate-hint {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.78rem;
  margin-top: 16px;
  font-style: italic;
}

.gate-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ============================================
   MUSIC BUTTON
   ============================================ */
.music-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 107, 157, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 107, 157, 0.4);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.music-btn:hover {
  background: rgba(255, 107, 157, 0.4);
  transform: scale(1.1);
}

.music-btn.playing {
  animation: rotate-music 3s linear infinite;
  background: linear-gradient(135deg, var(--pink), var(--purple));
}

@keyframes rotate-music {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ============================================
   SIDE NAV DOTS
   ============================================ */
.side-nav {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 107, 157, 0.4);
  text-decoration: none;
  position: relative;
  transition: all 0.3s;
  cursor: pointer;
}

.nav-dot::after {
  content: attr(data-label);
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 5, 26, 0.85);
  color: var(--pink);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  border: 1px solid rgba(255, 107, 157, 0.3);
}

.nav-dot:hover::after {
  opacity: 1;
}

.nav-dot:hover,
.nav-dot.active {
  background: var(--pink);
  transform: scale(1.4);
  box-shadow: 0 0 12px var(--pink);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, #2d0a4e 0%, #0f051a 60%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 107, 157, 0.15) 0%, transparent 50%);
}

#heart-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
}

.hero-emoji {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 20px;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

.hero-title {
  font-family: var(--font-script);
  font-size: clamp(2rem, 6vw, 4.5rem);
  line-height: 1.3;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hero-name {
  background: linear-gradient(135deg, #fff 0%, #fce4ec 40%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  animation: shimmer 3s ease-in-out infinite alternate;
}

@keyframes shimmer {
  from {
    filter: brightness(1);
  }

  to {
    filter: brightness(1.3);
  }
}

.hero-heart {
  animation: heartbeat 1.2s ease-in-out infinite;
  display: inline-block;
}

@keyframes heartbeat {

  0%,
  100% {
    transform: scale(1);
  }

  25% {
    transform: scale(1.3);
  }

  50% {
    transform: scale(1.1);
  }
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-soft);
  margin-bottom: 12px;
  font-style: italic;
  font-family: var(--font-script);
}

.hero-date {
  font-size: 0.9rem;
  color: var(--pink);
  margin-bottom: 32px;
  letter-spacing: 1px;
}

.hero-btn {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--pink), var(--deep-purple));
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(255, 107, 157, 0.5);
}

.floating-hearts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.floating-heart {
  position: absolute;
  font-size: 1.2rem;
  animation: rise-heart linear infinite;
  opacity: 0;
}

@keyframes rise-heart {
  0% {
    bottom: -10%;
    opacity: 0;
    transform: scale(0.5) rotate(0deg);
  }

  10% {
    opacity: 0.8;
  }

  90% {
    opacity: 0.3;
  }

  100% {
    bottom: 110%;
    opacity: 0;
    transform: scale(1.2) rotate(30deg);
  }
}

.stars-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  animation: twinkle linear infinite;
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 0.1;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* ============================================
   INTERACTIVE FLOW SECTION
   ============================================ */
.flow-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #0f051a 0%, #1a0a2e 100%);
  padding: 60px 20px;
}

.flow-container {
  max-width: 600px;
  width: 100%;
  position: relative;
  min-height: 300px;
}

.flow-page {
  display: none;
  text-align: center;
  animation: fade-in-up 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.flow-page.active {
  display: block;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.flow-emoji {
  font-size: 4rem;
  margin-bottom: 24px;
}

.flow-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.flow-text {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 36px;
  line-height: 1.8;
}

.flow-btn {
  padding: 15px 40px;
  background: linear-gradient(135deg, var(--pink), var(--deep-purple));
  border: none;
  border-radius: 50px;
  color: #fff;
  font-size: 1.05rem;
  font-family: var(--font-main);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: var(--shadow);
}

.flow-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(255, 107, 157, 0.45);
}

.flow-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.flow-answer-btn {
  padding: 15px 36px;
  background: transparent;
  border: 2px solid var(--pink);
  border-radius: 50px;
  color: var(--pink);
  font-size: 1.05rem;
  font-family: var(--font-main);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.flow-answer-btn:hover {
  background: var(--pink);
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
}

/* ============================================
   GENERIC SECTION STYLES
   ============================================ */
.section {
  padding: 100px 20px;
  position: relative;
}

.section-inner {
  max-width: 960px;
  margin: 0 auto;
}

.section-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(255, 107, 157, 0.15);
  border: 1px solid rgba(255, 107, 157, 0.35);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--pink);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 30%, var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 60px;
  font-style: italic;
}

/* ============================================
   HOW WE MET – TIMELINE
   ============================================ */
.met-section {
  background: linear-gradient(180deg, #1a0a2e 0%, #0f051a 100%);
}

.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--pink), var(--purple));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
  margin-bottom: 50px;
  position: relative;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-item.right {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 40px);
  transform: translateX(50px);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--deep-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 20px rgba(255, 107, 157, 0.5);
  z-index: 2;
}

.timeline-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px 28px;
  max-width: 380px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(255, 107, 157, 0.2);
  border-color: rgba(255, 107, 157, 0.4);
}

.timeline-tag {
  font-size: 0.72rem;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 8px;
}

.timeline-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #fff;
}

.timeline-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   MEMORIES GALLERY
   ============================================ */
.memories-section {
  background: linear-gradient(180deg, #0f051a 0%, #1a0a2e 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.gallery-card {
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 1px solid var(--glass-border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 60px rgba(255, 107, 157, 0.35);
}

.gallery-img {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-icon {
  font-size: 4.5rem;
  animation: float 3s ease-in-out infinite;
}

.gallery-img.photo-card {
  padding: 0;
  position: relative;
  overflow: hidden;
}

.gallery-img.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-img.photo-card img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 5, 26, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay p {
  color: var(--pink);
  font-size: 0.92rem;
  font-style: italic;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  animation: fade-in 0.3s ease;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.lightbox-box {
  background: var(--dark2);
  border: 1px solid rgba(255, 107, 157, 0.4);
  border-radius: 24px;
  padding: 40px 36px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: scale-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scale-in {
  from {
    transform: scale(0.7);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--pink);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-emoji {
  font-size: 4rem;
  margin-bottom: 16px;
}

.lightbox-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #fff;
}

.lightbox-text {
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* ============================================
   WHY YOU ARE SPECIAL
   ============================================ */
.special-section {
  background: linear-gradient(180deg, #1a0a2e 0%, #0f051a 100%);
}

.special-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.special-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.35s;
  opacity: 0;
  transform: translateY(30px);
  cursor: default;
}

.special-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.special-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 107, 157, 0.5);
  box-shadow: 0 20px 60px rgba(255, 107, 157, 0.2);
  background: rgba(255, 107, 157, 0.07);
}

.special-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.special-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--pink);
  margin-bottom: 10px;
}

.special-card p {
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ============================================
   LOVE LETTER
   ============================================ */
.letter-section {
  background: linear-gradient(180deg, #0f051a 0%, #1a0a2e 100%);
}

.letter-envelope {
  width: 260px;
  height: 180px;
  background: linear-gradient(135deg, #2d0a4e, #c2185b30);
  border: 2px solid rgba(255, 107, 157, 0.5);
  border-radius: 16px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 10px 40px rgba(255, 107, 157, 0.2);
}

.letter-envelope:hover {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 20px 60px rgba(255, 107, 157, 0.35);
  border-color: var(--pink);
}

.envelope-icon {
  font-size: 3.5rem;
  margin-bottom: 8px;
}

.letter-envelope p {
  color: var(--text-soft);
  font-size: 0.88rem;
  font-style: italic;
}

.letter-paper {
  max-width: 680px;
  margin: 0 auto;
  background: linear-gradient(160deg, #fdf6e3 0%, #fce4ec 100%);
  border-radius: 16px;
  padding: 48px 52px;
  color: #3d1a35;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 107, 157, 0.3);
  animation: letter-open 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes letter-open {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(30px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.letter-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-script);
  font-size: 1.2rem;
  color: #c2185b;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(194, 24, 91, 0.2);
}

.letter-date {
  font-size: 0.9rem;
  opacity: 0.7;
}

.letter-body {
  font-family: var(--font-script);
  font-size: 1.08rem;
  line-height: 2;
  color: #4a2040;
  min-height: 160px;
}

.letter-signature {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(194, 24, 91, 0.2);
  font-family: var(--font-script);
  font-size: 1.1rem;
  color: #c2185b;
  text-align: right;
}

.signature {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 4px;
}

/* Typewriter cursor */
.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: #c2185b;
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* ============================================
   PROMISES
   ============================================ */
.promises-section {
  background: linear-gradient(180deg, #1a0a2e 0%, #0f051a 100%);
}

.promises-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.promise-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 22px 28px;
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.promise-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.promise-item:hover {
  border-color: rgba(255, 107, 157, 0.5);
  background: rgba(255, 107, 157, 0.07);
  transform: translateX(8px);
}

.promise-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.promise-item p {
  font-family: var(--font-script);
  font-size: 1.2rem;
  color: var(--text);
  line-height: 1.5;
}

/* ============================================
   COUNTDOWN
   ============================================ */
.countdown-section {
  background: radial-gradient(ellipse at center, #2d0a4e 0%, #0f051a 70%);
  text-align: center;
}

.countdown-love-msg {
  font-family: var(--font-script);
  font-size: 1.3rem;
  color: var(--pink);
  margin-bottom: 48px;
}

.countdown-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 107, 157, 0.4);
  border-radius: 16px;
  padding: 24px 28px;
  min-width: 110px;
  box-shadow: 0 8px 30px rgba(255, 107, 157, 0.15);
}

.countdown-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.countdown-lbl {
  font-size: 0.75rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 8px;
}

.countdown-sep {
  font-size: 2.5rem;
  color: var(--pink);
  font-weight: 700;
  align-self: flex-start;
  padding-top: 12px;
}

.countdown-target-label {
  color: var(--text-soft);
  font-style: italic;
  font-size: 0.95rem;
}

/* ============================================
   LOVE MAP / JOURNEY
   ============================================ */
.map-section {
  background: linear-gradient(180deg, #0f051a 0%, #1a0a2e 100%);
}

.journey-map {
  position: relative;
  padding-left: 60px;
  max-width: 680px;
  margin: 0 auto;
}

.journey-map::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--pink), var(--purple));
  border-radius: 3px;
}

.journey-step {
  position: relative;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.journey-step.visible {
  opacity: 1;
  transform: translateX(0);
}

.journey-step:last-child {
  margin-bottom: 0;
}

.journey-icon {
  position: absolute;
  left: -51px;
  top: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--deep-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 15px rgba(255, 107, 157, 0.5);
  z-index: 2;
}

.journey-content {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 22px 24px;
  transition: all 0.3s;
}

.journey-step.visible .journey-content:hover {
  border-color: rgba(255, 107, 157, 0.5);
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
  transform: translateX(6px);
}

.journey-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--pink);
  margin-bottom: 8px;
}

.journey-content p {
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ============================================
   FINAL SECTION / SURPRISE
   ============================================ */
.final-section {
  background: radial-gradient(ellipse at center, #2d0a4e 0%, #0f051a 70%);
  text-align: center;
  padding: 120px 20px;
}

.final-hearts {
  font-size: 2.5rem;
  margin-bottom: 24px;
  animation: float 3s ease-in-out infinite;
}

.final-title {
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 7vw, 5rem);
  background: linear-gradient(135deg, #fff 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}

.final-text {
  color: var(--text-soft);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.9;
}

.surprise-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 50px;
  background: linear-gradient(135deg, var(--pink), var(--deep-purple));
  border: none;
  border-radius: 50px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 10px 40px rgba(255, 107, 157, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.15);
  animation: pulse-btn 2s ease-in-out infinite;
}

@keyframes pulse-btn {

  0%,
  100% {
    box-shadow: 0 10px 40px rgba(255, 107, 157, 0.4);
  }

  50% {
    box-shadow: 0 10px 60px rgba(255, 107, 157, 0.7);
  }
}

.surprise-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 20px 60px rgba(255, 107, 157, 0.6);
}

.surprise-btn-heart {
  font-size: 1.5rem;
  animation: heartbeat 1.2s infinite;
}

/* ============================================
   SURPRISE MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  animation: fade-in 0.4s ease;
}

.surprise-modal-box {
  background: linear-gradient(160deg, #1a0a2e, #2d0a4e);
  border: 1px solid rgba(255, 107, 157, 0.5);
  border-radius: 24px;
  padding: 50px 40px;
  max-width: 520px;
  width: 90%;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: scale-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--pink);
  font-size: 2rem;
  cursor: pointer;
}

.surprise-emoji-big {
  font-size: 6rem;
  display: block;
  margin-bottom: 16px;
  animation: heartbeat 1s ease-in-out infinite;
}

.surprise-modal-title {
  font-family: var(--font-script);
  font-size: 2.5rem;
  background: linear-gradient(135deg, #fff, var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.surprise-modal-text {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.9;
  font-style: italic;
  margin-bottom: 28px;
}

.surprise-roses {
  font-size: 2rem;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.surprise-roses span {
  animation: float 2.5s ease-in-out infinite;
}

.surprise-roses span:nth-child(2) {
  animation-delay: 0.2s;
}

.surprise-roses span:nth-child(3) {
  animation-delay: 0.4s;
}

.surprise-roses span:nth-child(4) {
  animation-delay: 0.6s;
}

.surprise-roses span:nth-child(5) {
  animation-delay: 0.8s;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0a0312;
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid rgba(255, 107, 157, 0.15);
}

.footer p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.footer-quote {
  font-style: italic;
  color: rgba(255, 107, 157, 0.5) !important;
  font-family: var(--font-script);
  font-size: 1rem !important;
}

/* ============================================
   FIREWORKS PARTICLE EFFECTS
   ============================================ */
.firework-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: firework-pop linear forwards;
}

@keyframes firework-pop {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(var(--tx), var(--ty)) scale(0);
    opacity: 0;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item.right {
    padding-left: 60px;
    padding-right: 0;
    justify-content: flex-start;
    transform: translateX(-30px);
  }

  .timeline-dot {
    left: 20px;
  }

  .side-nav {
    display: none;
  }

  .countdown-box {
    min-width: 80px;
    padding: 16px 18px;
  }

  .countdown-num {
    font-size: 2rem;
  }

  .letter-paper {
    padding: 30px 24px;
  }

  .journey-map {
    padding-left: 50px;
  }

  .journey-map::before {
    left: 18px;
  }

  .journey-icon {
    left: -43px;
  }
}

@media (max-width: 480px) {
  .gate-box {
    padding: 36px 24px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .special-grid {
    grid-template-columns: 1fr;
  }

  .countdown-sep {
    display: none;
  }

  .countdown-display {
    gap: 8px;
  }
}