/* ====================================
   BIRTHDAY WEBSITE — KIDDU (AKSHA)
   ==================================== */

:root {
  --pink: #ff6b9d;
  --pink-light: #ffb3d0;
  --pink-deep: #c0395f;
  --gold: #ffd700;
  --purple: #9b59b6;
  --dark: #0d0015;
  --dark2: #1a0028;
  --dark3: #2a0040;
  --glass: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 100, 160, 0.2);
  --text-white: #fff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --font-main: 'Poppins', sans-serif;
  --font-script: 'Dancing Script', cursive;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--dark);
  color: var(--text-white);
  font-family: var(--font-main);
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--dark2);
}

::-webkit-scrollbar-thumb {
  background: var(--pink);
  border-radius: 3px;
}

/* ===== LOADER ===== */
#loader {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, #1a0028 0%, #0d0015 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  text-align: center;
}

.loader-petals {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: floatPetals 2s ease-in-out infinite;
}

.loader-petals span {
  display: inline-block;
  animation: rotatePetal 3s linear infinite;
}

.loader-petals span:nth-child(2) {
  animation-delay: 0.5s;
  transform: scale(0.8);
}

.loader-petals span:nth-child(3) {
  animation-delay: 1s;
}

@keyframes floatPetals {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes rotatePetal {

  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(20deg);
  }
}

.loader-text {
  font-size: 1.3rem;
  color: var(--pink-light);
  margin-bottom: 8px;
  font-style: italic;
}

.loader-subtext {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.loader-progress {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--pink), var(--gold));
  border-radius: 2px;
  animation: loadProgress 2.5s ease-in-out forwards;
}

@keyframes loadProgress {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

/* ===== MUSIC BTN ===== */
#music-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 10px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-white);
  transition: all 0.3s ease;
}

#music-btn:hover {
  background: rgba(255, 107, 157, 0.2);
  transform: scale(1.05);
}

#music-icon {
  font-size: 1.1rem;
}

/* ===== FLOATING ELEMENTS ===== */
.floating-elements {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-el {
  position: absolute;
  animation: floatEl linear infinite;
  opacity: 0.6;
  font-size: 1.2rem;
  pointer-events: none;
  user-select: none;
}

@keyframes floatEl {
  0% {
    transform: translateY(110vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.6;
  }

  100% {
    transform: translateY(-10vh) rotate(360deg);
    opacity: 0;
  }
}

/* ===== SECTIONS ===== */
.section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-script);
  font-size: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, var(--pink), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: radial-gradient(ellipse at 50% 0%, #3a0060 0%, #1a0028 40%, #0d0015 100%);
  text-align: center;
  justify-content: center;
}

.stars-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, white, transparent),
    radial-gradient(2px 2px at 80% 10%, white, transparent),
    radial-gradient(1px 1px at 40% 70%, white, transparent),
    radial-gradient(2px 2px at 60% 50%, white, transparent),
    radial-gradient(1px 1px at 10% 90%, white, transparent),
    radial-gradient(2px 2px at 90% 80%, white, transparent),
    radial-gradient(1px 1px at 30% 20%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 70% 60%, rgba(255, 255, 255, 0.5), transparent);
  background-size: 550px 550px;
  animation: twinkle 5s ease-in-out infinite alternate;
}

@keyframes twinkle {
  from {
    opacity: 0.7;
  }

  to {
    opacity: 1;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.birthday-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border-radius: 50px;
  padding: 8px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 30px;
  animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.4);
  }

  50% {
    box-shadow: 0 0 40px rgba(255, 107, 157, 0.8);
  }
}

.title-small {
  display: block;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.title-big {
  display: block;
  font-family: var(--font-script);
  font-size: clamp(4rem, 15vw, 9rem);
  background: linear-gradient(135deg, #ff6b9d, #ffd700, #ff6b9d);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shineText 3s linear infinite;
  filter: drop-shadow(0 0 30px rgba(255, 107, 157, 0.5));
  line-height: 1;
}

@keyframes shineText {
  to {
    background-position: 200% center;
  }
}

.title-emoji {
  display: block;
  font-size: 3rem;
  margin-top: 10px;
  animation: bounceEmoji 1.5s ease-in-out infinite;
}

@keyframes bounceEmoji {

  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
  }

  50% {
    transform: translateY(-15px) rotate(5deg);
  }
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--pink-light);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 15px;
  opacity: 0;
  animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-message {
  max-width: 500px;
  margin: 30px auto;
  padding: 20px 30px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
  opacity: 0;
  animation: fadeInUp 1s ease 1s forwards;
}

.scroll-hint {
  margin-top: 40px;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 2px;
  opacity: 0;
  animation: fadeInUp 1s ease 1.5s forwards;
}

.scroll-arrow {
  font-size: 1.5rem;
  margin-top: 10px;
  animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== VOICE NOTE & TIME COUNTER ===== */
.voice-note-player {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 107, 157, 0.15);
  border: 1px solid var(--pink);
  padding: 10px 20px;
  border-radius: 50px;
  margin-top: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.voice-note-player:hover {
  background: rgba(255, 107, 157, 0.3);
  transform: scale(1.05);
}

.vn-icon {
  font-size: 1.2rem;
}

.vn-text {
  font-size: 0.9rem;
  color: var(--pink-light);
}

audio#voiceNote {
  display: none;
}

.time-together {
  margin-top: 30px;
  padding: 20px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  color: var(--text-white);
  display: inline-block;
  opacity: 0;
  animation: fadeInUp 1s ease 1.2s forwards;
}

.time-together p {
  color: var(--gold);
  font-family: var(--font-script);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.time-boxes {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.t-box {
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 15px;
  border-radius: 12px;
  min-width: 60px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.t-box span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pink-light);
}

.t-box small {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* ===== STORY SECTION ===== */
.story-section {
  background: linear-gradient(180deg, #0d0015 0%, #1a0028 50%, #0d0015 100%);
}

.story-timeline {
  position: relative;
  max-width: 800px;
  width: 100%;
}

.story-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--pink), var(--purple), var(--gold), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 30px);
  margin-bottom: 50px;
  position: relative;
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.7s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item.right {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 30px);
  transform: translateX(40px);
}

.timeline-item.right.visible {
  transform: translateX(0);
}

.timeline-icon {
  position: absolute;
  left: 50%;
  top: 15px;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  z-index: 2;
  box-shadow: 0 0 20px rgba(255, 107, 157, 0.5);
}

.timeline-card {
  background: var(--glass);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px 25px;
  max-width: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(255, 107, 157, 0.2);
}

.timeline-date {
  font-size: 0.75rem;
  color: var(--pink);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.timeline-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--gold);
}

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

/* ===== GALLERY SECTION ===== */
.gallery-section {
  background: radial-gradient(ellipse at 50% 50%, #2a0040 0%, #0d0015 70%);
  min-height: auto;
  padding: 80px 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  max-width: 1200px;
  width: 100%;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
  background: var(--dark2);
  border: 2px solid transparent;
  transition: all 0.4s ease;
}

.gallery-item:nth-child(3n+1) {
  grid-row: span 1;
}

.gallery-item:nth-child(5n+2) {
  grid-row: span 2;
}

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

.gallery-item:hover {
  border-color: var(--pink);
  box-shadow: 0 0 30px rgba(255, 107, 157, 0.4);
  transform: scale(1.02);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(255, 107, 157, 0.6));
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 15px;
  font-size: 0.8rem;
  color: white;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  border: 2px solid var(--pink);
  box-shadow: 0 0 60px rgba(255, 107, 157, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 2rem;
  cursor: pointer;
  color: white;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: var(--pink);
}

.lightbox-nav {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.lightbox-nav button {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: white;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lightbox-nav button:hover {
  background: var(--pink);
}

/* ===== CARDS GRID ===== */
.about-section {
  background: linear-gradient(180deg, #0d0015 0%, #1a0028 50%, #0d0015 100%);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1100px;
  width: 100%;
}

.fact-card {
  background: var(--glass);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.4s ease;
  opacity: 0;
  transform: scale(0.9);
}

.fact-card.visible {
  opacity: 1;
  transform: scale(1);
}

.fact-card:hover {
  border-color: var(--pink);
  box-shadow: 0 20px 50px rgba(255, 107, 157, 0.2);
  transform: translateY(-8px) scale(1.02);
}

.card-emoji {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}

.fact-card h3 {
  color: var(--gold);
  margin-bottom: 10px;
  font-size: 1rem;
}

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

/* ===== LETTER SECTION ===== */
.letter-section {
  background: radial-gradient(ellipse at center, #2a0040 0%, #0d0015 100%);
  flex-direction: column;
}

.letter-envelope {
  cursor: pointer;
  transition: all 0.5s ease;
}

.envelope-front {
  width: 280px;
  height: 190px;
  background: linear-gradient(135deg, #c0395f, #9b59b6);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(192, 57, 95, 0.4);
  transition: all 0.5s ease;
}

.envelope-front:hover {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 30px 80px rgba(192, 57, 95, 0.6);
}

.envelope-seal {
  font-size: 3rem;
  margin-bottom: 10px;
  animation: pulseSeal 2s ease-in-out infinite;
}

@keyframes pulseSeal {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

.envelope-front p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 1px;
}

.password-modal {
  display: none;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--pink);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  max-width: 400px;
  width: 100%;
  margin-top: 20px;
  animation: fadeInUp 0.5s ease;
}

.password-modal h3 {
  color: var(--gold);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.password-modal p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.password-modal input {
  width: 100%;
  padding: 12px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 107, 157, 0.5);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  margin-bottom: 15px;
  text-align: center;
  font-size: 1rem;
  outline: none;
}

.password-modal input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 15px rgba(255, 107, 157, 0.3);
}

.password-modal button {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border: none;
  color: white;
  padding: 10px 30px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.password-modal button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4);
}

.error-text {
  color: #ff4757 !important;
  font-size: 0.8rem !important;
  margin-top: 10px !important;
  margin-bottom: 0 !important;
}

.letter-content {
  display: none;
  max-width: 650px;
  width: 100%;
  margin-top: 30px;
}

.letter-content.open {
  display: block;
  animation: letterOpen 0.8s ease;
}

@keyframes letterOpen {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.letter-paper {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 107, 157, 0.3);
  border-radius: 20px;
  padding: 40px 50px;
  line-height: 1.9;
  position: relative;
}

.letter-paper::before {
  content: '';
  position: absolute;
  left: 60px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 107, 157, 0.15);
}

.letter-header {
  text-align: center;
  color: var(--pink-light);
  font-size: 0.9rem;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.letter-paper h3 {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--pink);
  margin-bottom: 20px;
}

.letter-paper p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.letter-paper em {
  color: var(--pink-light);
}

.letter-sign {
  margin-top: 30px;
  text-align: right;
  color: var(--gold) !important;
  font-family: var(--font-script);
  font-size: 1.2rem !important;
}

.together-polaroid {
  background: white;
  padding: 10px 10px 20px 10px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: rotate(3deg);
  width: fit-content;
  margin: 40px auto 0;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.together-polaroid img,
.together-polaroid video {
  width: 200px;
  height: auto;
  border-radius: 4px;
}

.together-polaroid p {
  color: #333 !important;
  font-family: var(--font-script);
  font-size: 1.1rem !important;
  margin-top: 10px !important;
  margin-bottom: 0 !important;
}

/* ===== COUPONS SECTION ===== */
.coupons-section {
  background: linear-gradient(180deg, #1a0028, #0d0015);
}

.coupons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 900px;
  width: 100%;
}

.coupon-card {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(155, 89, 182, 0.1));
  border: 2px dashed var(--pink-light);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  width: 250px;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.coupon-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
  border-color: var(--pink);
}

.coupon-card.redeemed {
  border-color: #2ed573;
  background: rgba(46, 213, 115, 0.1);
  cursor: default;
  transform: scale(1);
}

.coupon-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.coupon-card h3 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.coupon-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.coupon-status {
  background: var(--pink);
  color: white;
  padding: 8px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.3s;
}

.coupon-card.redeemed .coupon-status {
  background: #2ed573;
}

/* ===== WISHES SECTION ===== */
.wishes-section {
  background: linear-gradient(180deg, #0d0015, #1a0028, #0d0015);
}

.wishes-slider {
  position: relative;
  width: 100%;
  max-width: 600px;
  min-height: 220px;
}

.wish-slide {
  display: none;
  text-align: center;
  padding: 50px 40px;
  background: var(--glass);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  animation: slideIn 0.5s ease;
}

.wish-slide.active {
  display: block;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.wish-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

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

.slider-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 25px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
  transform: scale(1.2);
}

/* ===== FINALE SECTION ===== */
.finale-section {
  background: radial-gradient(ellipse at 50% 50%, #3a0060 0%, #1a0028 40%, #0d0015 100%);
  overflow: hidden;
}

.finale-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(155, 89, 182, 0.1) 0%, transparent 50%);
}

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

.cake-container {
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.cake-emoji {
  font-size: 5rem;
  display: block;
  animation: cakeFloat 3s ease-in-out infinite;
}

@keyframes cakeFloat {

  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }

  50% {
    transform: translateY(-20px) rotate(3deg);
  }
}

.candles {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: -10px;
}

.candle {
  width: 8px;
  height: 20px;
  background: linear-gradient(90deg, #ffaa00, #ff6b00);
  border-radius: 4px;
  position: relative;
}

.flame {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 12px;
  background: radial-gradient(ellipse at 50% 100%, #ffd700 0%, #ff6b00 60%, transparent 100%);
  border-radius: 50% 50% 30% 30%;
  animation: flameDance 0.5s ease-in-out infinite alternate;
}

@keyframes flameDance {
  from {
    transform: translateX(-50%) scaleX(1);
  }

  to {
    transform: translateX(-50%) scaleX(0.8) skewX(-5deg);
  }
}

.finale-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.finale-name {
  font-family: var(--font-script);
  font-size: clamp(3.5rem, 12vw, 7rem);
  background: linear-gradient(135deg, #ff6b9d, #ffd700, #ff6b9d);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shineText 3s linear infinite;
  filter: drop-shadow(0 0 40px rgba(255, 107, 157, 0.6));
  margin-bottom: 20px;
}

.finale-message {
  max-width: 500px;
  margin: 0 auto 40px;
  color: var(--text-muted);
  line-height: 1.9;
  font-size: 1rem;
}

.finale-message em {
  color: var(--pink-light);
}

.confetti-btn {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border: none;
  border-radius: 50px;
  padding: 16px 40px;
  font-size: 1.1rem;
  color: white;
  cursor: pointer;
  font-family: var(--font-main);
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
}

.confetti-btn:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 20px 50px rgba(255, 107, 157, 0.6);
}

.confetti-btn:active {
  transform: scale(0.98);
}

/* ===== BALLOON ===== */
.balloon {
  position: absolute;
  font-size: 2.5rem;
  animation: balloonFloat linear infinite;
  pointer-events: none;
  user-select: none;
}

@keyframes balloonFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translateY(-10vh) rotate(10deg);
    opacity: 0.3;
  }
}

/* ===== CONFETTI CANVAS ===== */
#confettiCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .story-timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item.right {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 60px;
  }

  .timeline-icon {
    left: 20px;
    top: 15px;
  }

  .timeline-card {
    max-width: 100%;
  }

  .letter-paper {
    padding: 25px 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  .wish-slide {
    padding: 30px 20px;
  }
}