
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --rose: #F472B6;
  --rose-deep: #EC4899;
  --lavender: #C084FC;
  --violet: #8B5CF6;
  --sky: #7DD3FC;
  --mint: #6EE7B7;
  --peach: #FDBA74;
  --gold: #FCD34D;
  --cream: #FFFBF5;
  --plum: #581C87;
  --plum-soft: #7C3AED;
  --blush: #FFF0F6;
  --r: #FF6B6B;
  --o: #FF9F43;
  --y: #FECA57;
  --g: #48DBFB;
  --b: #54A0FF;
  --v: #C56BFF;
  --glass: rgba(255,255,255,0.6);
  --glass-border: rgba(255,255,255,0.3);
  --shadow-dream: 0 24px 80px -12px rgba(139,92,246,0.18);
  --shadow-float: 0 8px 32px rgba(236,72,153,0.12);
  --radius-soft: 28px;
  --radius-pill: 100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Quicksand', sans-serif;
  background: var(--cream);
  overflow-x: hidden;
  color: #4a2060;
  -webkit-font-smoothing: antialiased;
}

/* ===== GLOBAL NOISE TEXTURE ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
}

/* ===== SPARKLE CANVAS ===== */
#sparkle-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9997;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 100px;
  overflow: hidden;
  background: 
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(244,114,182,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(192,132,252,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 70% 40% at 50% 90%, rgba(125,211,252,0.1) 0%, transparent 50%),
    linear-gradient(175deg, #FFF5FA 0%, #F5F0FF 35%, #F0F7FF 65%, #FFFBF5 100%);
}

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: orbDrift 12s ease-in-out infinite alternate;
}
.orb-1 { width: 400px; height: 400px; background: #F9A8D4; top: -10%; left: -5%; animation-delay: 0s; }
.orb-2 { width: 350px; height: 350px; background: #C4B5FD; top: 5%; right: -8%; animation-delay: -3s; }
.orb-3 { width: 250px; height: 250px; background: #93C5FD; bottom: 10%; left: 10%; animation-delay: -6s; }
.orb-4 { width: 200px; height: 200px; background: #FDE68A; bottom: 5%; right: 15%; animation-delay: -2s; }

@keyframes orbDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.08); }
}

/* Hero wave */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  width: 100%;
  display: block;
  z-index: 3;
}

/* Floating confetti */
.confetti-piece {
  position: absolute;
  font-size: 1rem;
  opacity: 0;
  animation: confettiFall linear infinite;
  will-change: transform, opacity;
}

@keyframes confettiFall {
  0% { transform: translateY(-5vh) rotate(0deg) scale(0.8); opacity: 0; }
  8% { opacity: 0.6; }
  85% { opacity: 0.4; }
  100% { transform: translateY(105vh) rotate(720deg) scale(0.4); opacity: 0; }
}

/* Tag pill */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-pill);
  padding: 10px 28px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--plum-soft);
  margin-bottom: 32px;
  position: relative;
  z-index: 4;
  animation: heroFadeUp 1s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}

/* Photo ring */
.hero-photo-ring {
  position: relative;
  z-index: 4;
  width: 220px;
  height: 220px;
  margin-bottom: 24px;
  animation: heroFadeUp 1s cubic-bezier(0.22,1,0.36,1) 0.2s both;
}

/* Outer bloom glow — pulsing */
.hero-photo-ring::after {
  content: '';
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  background: conic-gradient(
    var(--rose), var(--peach), var(--gold), var(--mint),
    var(--sky), var(--lavender), var(--rose)
  );
  animation: ringRotate 12s linear infinite reverse, glowPulse 4s ease-in-out infinite;
  filter: blur(22px);
  opacity: 0.45;
  z-index: -1;
}

/* Rainbow spinning ring */
.hero-photo-ring::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  padding: 4px;
  background: conic-gradient(
    #F472B6, #FB923C, #FBBF24, #34D399,
    #60A5FA, #A78BFA, #F472B6
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ringRotate 8s linear infinite;
}

@keyframes ringRotate { to { transform: rotate(360deg); } }

@keyframes glowPulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.06); }
}

.hero-photo-inner {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: white;
  border: 5px solid white;
  box-shadow: 0 0 0 1px rgba(192,132,252,0.15), inset 0 2px 12px rgba(244,114,182,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  z-index: 1;
  overflow: hidden;
}

.photo-hint {
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--lavender);
  text-align: center;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Unicorn */
.hero-unicorn {
  width: 90px;
  height: 90px;
  object-fit: contain;
  position: relative;
  z-index: 4;
  animation: heroFadeUp 1s cubic-bezier(0.22,1,0.36,1) 0.3s both,
             unicornFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 8px 24px rgba(192,132,252,0.45));
  margin-bottom: 8px;
}

@keyframes unicornFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

/* Name */
.hero-name {
  font-family: 'Pacifico', cursive;
  font-size: clamp(4.5rem, 14vw, 9rem);
  line-height: 1.2;
  padding-top: 0.1em;
  position: relative;
  z-index: 2;
  animation: popIn 0.6s 0.15s both;
  background: linear-gradient(135deg, var(--r) 0%, var(--o) 20%, var(--y) 38%, var(--g) 55%, var(--b) 73%, var(--v) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(3px 4px 0px rgba(199,125,255,0.3));
  margin-bottom: 6px;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-age {
  font-family: 'Sacramento', 'Great Vibes', cursive;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 400;
  color: var(--plum-soft);
  letter-spacing: 1px;
  position: relative;
  z-index: 4;
  animation: heroFadeUp 1s cubic-bezier(0.22,1,0.36,1) 0.45s both;
  margin-bottom: 40px;
}

@media (max-width: 600px) {
  .hero-age { text-align: center; }
}

/* Rainbow dots */
.rainbow-dots {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 4;
  margin-bottom: 36px;
  animation: heroFadeUp 1s cubic-bezier(0.22,1,0.36,1) 0.5s both;
}

.rdot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  animation: dotBounce 2s ease-in-out infinite;
}
.rdot:nth-child(1) { background: var(--rose); animation-delay: 0s; }
.rdot:nth-child(2) { background: var(--peach); animation-delay: 0.1s; }
.rdot:nth-child(3) { background: var(--gold); animation-delay: 0.2s; }
.rdot:nth-child(4) { background: var(--mint); animation-delay: 0.3s; }
.rdot:nth-child(5) { background: var(--sky); animation-delay: 0.4s; }
.rdot:nth-child(6) { background: var(--lavender); animation-delay: 0.5s; }
.rdot:nth-child(7) { background: var(--violet); animation-delay: 0.6s; }

@keyframes dotBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.2); }
}

/* Date card */
.hero-date-card {
  position: relative;
  z-index: 4;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-soft);
  padding: 24px 36px;
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: center;
  box-shadow: var(--shadow-dream);
  animation: heroFadeUp 1s cubic-bezier(0.22,1,0.36,1) 0.6s both;
}

.date-item {
  text-align: center;
  padding: 0 24px;
  flex: 1;
}

.date-item .di-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 6px;
}

.di-text { display: contents; }

.date-item .di-val {
  font-family: 'Fredoka One', cursive;
  font-size: 1.1rem;
  color: var(--plum);
  line-height: 1.3;
  white-space: nowrap;
}

.date-item .di-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--lavender);
  font-weight: 700;
  margin-top: 4px;
}

.di-map {
  color: var(--plum);
  text-decoration: none;
  border-bottom: 1.5px dotted var(--lavender);
  transition: color 0.2s, border-color 0.2s;
}

.di-map:hover {
  color: var(--violet);
  border-color: var(--violet);
}

.date-sep {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--lavender), transparent);
  opacity: 0.5;
  flex-shrink: 0;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 500px) {
  .hero-date-card {
    flex-direction: column;
    padding: 20px 24px;
    gap: 0;
    align-items: stretch;
  }
  .date-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 12px 0;
    gap: 14px;
  }
  .date-item .di-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0;
    width: 32px;
    flex-shrink: 0;
    text-align: center;
  }
  .di-text { display: block; flex: 1; }
  .date-item .di-label { margin-top: 0; margin-bottom: 1px; }
  .date-sep {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--lavender), transparent);
  }
}

/* ===== SECTION BASE ===== */
.section {
  position: relative;
  padding: 100px 24px;
  overflow: hidden;
}

.section-inner {
  max-width: 780px;
  margin: 0 auto;
}

.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(244,114,182,0.1), rgba(192,132,252,0.1));
  border: 1.5px solid rgba(192,132,252,0.2);
  border-radius: var(--radius-pill);
  padding: 8px 22px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--plum-soft);
  margin-bottom: 16px;
}

.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--plum);
}

.sec-title em {
  font-family: 'Sacramento', 'Great Vibes', cursive;
  font-style: normal;
  font-weight: 400;
  font-size: 1.3em;
  background: linear-gradient(135deg, var(--rose-deep), var(--lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== COUNTDOWN ===== */
.countdown-section {
  background: white;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.countdown-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 20% 50%, rgba(244,114,182,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(192,132,252,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.countdown-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.cd-item {
  position: relative;
  width: 130px;
  padding: 28px 12px 24px;
  border-radius: 24px;
  background: linear-gradient(160deg, #FFFBF5, #FFF5FA, #F5F0FF);
  border: 1.5px solid rgba(192,132,252,0.12);
  box-shadow: 0 4px 20px rgba(139,92,246,0.06);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s;
}

.cd-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-dream);
}

.cd-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  border-radius: 0 0 3px 3px;
}

.cd-item:nth-child(1)::before { background: var(--rose); }
.cd-item:nth-child(2)::before { background: var(--peach); }
.cd-item:nth-child(3)::before { background: var(--sky); }
.cd-item:nth-child(4)::before { background: var(--lavender); }

.cd-digits {
  font-family: 'Fredoka One', cursive;
  font-size: 3rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--rose-deep), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 6px;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}

.cd-item.tick .cd-digits {
  animation: cdTick 0.4s cubic-bezier(0.22,1,0.36,1);
}

@keyframes cdTick {
  0% { transform: scale(1); }
  40% { transform: scale(1.15) translateY(-2px); }
  100% { transform: scale(1); }
}

.cd-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--lavender);
}

.cd-separator {
  display: flex;
  align-items: center;
  font-family: 'Fredoka One', cursive;
  font-size: 2rem;
  color: var(--lavender);
  opacity: 0.4;
  padding-bottom: 16px;
  animation: colonPulse 2s ease-in-out infinite;
}

@keyframes colonPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.15; }
}

.cd-message {
  margin-top: 24px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: #9d7ab8;
  letter-spacing: 0.5px;
}

@media (max-width: 540px) {
  .countdown-section { padding: 60px 12px; }
  .countdown-grid { gap: 4px; flex-wrap: nowrap; }
  .cd-item { width: 58px; padding: 14px 4px 12px; border-radius: 14px; }
  .cd-digits { font-size: 1.55rem; margin-bottom: 4px; }
  .cd-label { font-size: 0.48rem; letter-spacing: 1.5px; }
  .cd-separator { font-size: 1.2rem; padding-bottom: 10px; width: 14px; flex-shrink: 0; }
}

/* ===== ABOUT ===== */
.about-section {
  background: white;
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at 100% 50%, rgba(192,132,252,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 640px) {
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
}

.about-photo-stack {
  position: relative;
  height: 380px;
}

.photo-card {
  position: absolute;
  border-radius: 20px;
  border: 4px solid white;
  box-shadow: var(--shadow-float);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s;
}

.photo-card:hover {
  transform: rotate(0deg) scale(1.05) !important;
  box-shadow: var(--shadow-dream);
  z-index: 10 !important;
}

.pc1 { width: 180px; height: 220px; top: 0; left: 0; transform: rotate(-8deg); z-index: 1;
  background: linear-gradient(145deg, #FFF0F6, #FCE7F3); font-size: 3rem; }
.pc2 { width: 170px; height: 210px; top: 20px; left: 90px; transform: rotate(5deg); z-index: 2;
  background: linear-gradient(145deg, #F0F9FF, #E0F2FE); font-size: 2.8rem; }
.pc3 { width: 160px; height: 195px; top: 110px; left: 30px; transform: rotate(-3deg); z-index: 3;
  background: linear-gradient(145deg, #FFF7ED, #FEF3C7); font-size: 2.8rem; }

.ph-lbl {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--lavender);
  text-transform: uppercase;
  margin-top: 8px;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 2;
  color: #6b4f7a;
}

.about-text strong { color: var(--rose-deep); }

.traits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trait {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid rgba(192,132,252,0.2);
  background: linear-gradient(135deg, rgba(255,240,246,0.6), rgba(243,232,255,0.6));
  color: var(--plum-soft);
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
}

.trait:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 20px rgba(192,132,252,0.15);
  border-color: var(--lavender);
}

/* ===== PARENTS ===== */
.parents-section {
  background: linear-gradient(150deg, var(--plum) 0%, #312E81 100%);
  position: relative;
}

.parents-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 10% 20%, rgba(244,114,182,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 90% 80%, rgba(139,92,246,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.parents-wave-top, .parents-wave-bottom {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  display: block;
  z-index: 2;
}
.parents-wave-top { top: -1px; }
.parents-wave-bottom { bottom: -1px; }

.parents-section .sec-eyebrow {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: #E9D5FF;
}

.parents-section .sec-title { color: white; }

.quote-card {
  position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-soft);
  padding: 44px 44px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.quote-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 10rem;
  position: absolute;
  top: -30px;
  left: 16px;
  line-height: 1;
  background: linear-gradient(135deg, var(--rose), var(--lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.25;
}

.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  line-height: 2;
  color: rgba(255,255,255,0.8);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.quote-text strong { color: white; font-style: normal; }

.quote-sig {
  margin-top: 28px;
  font-family: 'Sacramento', 'Great Vibes', cursive;
  font-size: 1.8rem;
  background: linear-gradient(90deg, var(--rose), var(--lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: right;
}

/* ===== FAMILY PHOTO IN QUOTE ===== */
.quote-card {
  position: relative;
}

.quote-family-photo {
  position: absolute;
  top: -40px;
  right: -20px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.25);
  background: linear-gradient(145deg, rgba(255,240,246,0.3), rgba(243,232,255,0.3));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
  z-index: 5;
}

.quote-family-photo:hover {
  transform: scale(1.08) rotate(3deg);
}

.quote-family-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qfp-emoji {
  font-size: 2.5rem;
  line-height: 1;
}

.qfp-hint {
  font-size: 0.45rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

@media (max-width: 600px) {
  .quote-family-photo {
    width: 90px;
    height: 90px;
    top: -30px;
    right: -8px;
  }
  .qfp-emoji { font-size: 1.8rem; }
  .qfp-hint { font-size: 0.4rem; }
}

/* ===== DETAILS ===== */
.details-section {
  background: var(--cream);
  position: relative;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 8px;
}

@media (max-width: 540px) {
  .details-grid { grid-template-columns: 1fr; }
}

.det-card {
  background: white;
  border-radius: var(--radius-soft);
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  box-shadow: 0 2px 12px rgba(139,92,246,0.06);
  border: 1.5px solid rgba(192,132,252,0.08);
  transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
  position: relative;
  overflow: hidden;
}

.det-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: 4px 0 0 4px;
  opacity: 0.8;
}

.det-card:nth-child(1)::after { background: linear-gradient(to bottom, var(--rose), var(--rose-deep)); }
.det-card:nth-child(2)::after { background: linear-gradient(to bottom, var(--peach), var(--gold)); }
.det-card:nth-child(3)::after { background: linear-gradient(to bottom, var(--sky), var(--lavender)); }
.det-card:nth-child(4)::after { background: linear-gradient(to bottom, var(--mint), #34D399); }

.det-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-dream);
  border-color: rgba(192,132,252,0.15);
}

.det-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.det-card:nth-child(1) .det-icon-wrap { background: linear-gradient(135deg, #FFF0F3, #FCE7F3); }
.det-card:nth-child(2) .det-icon-wrap { background: linear-gradient(135deg, #FFF7ED, #FEF3C7); }
.det-card:nth-child(3) .det-icon-wrap { background: linear-gradient(135deg, #F0F9FF, #E0E7FF); }
.det-card:nth-child(4) .det-icon-wrap { background: linear-gradient(135deg, #ECFDF5, #D1FAE5); }

.det-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--lavender);
  font-weight: 700;
  margin-bottom: 4px;
}

.det-val {
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
  color: var(--plum);
  line-height: 1.3;
}

.det-sub {
  font-size: 0.82rem;
  color: #9d7ab8;
  margin-top: 2px;
}

/* ===== DRESS CODE ===== */
.dress-section {
  background: white;
}

.rainbow-bar {
  display: flex;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  margin: 28px 0;
  height: 72px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.08);
}

.swatch {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: flex 0.4s cubic-bezier(0.22,1,0.36,1);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.swatch::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.2), transparent);
  pointer-events: none;
}

.swatch:hover { flex: 2.5; }

.sw1 { background: #F9A8D4; }
.sw2 { background: #FDBA74; }
.sw3 { background: #FDE68A; }
.sw4 { background: #86EFAC; }
.sw5 { background: #7DD3FC; }
.sw6 { background: #C4B5FD; }

.dress-note {
  font-size: 1rem;
  line-height: 1.9;
  color: #6b4f7a;
  background: linear-gradient(135deg, rgba(255,240,246,0.5), rgba(243,232,255,0.5));
  border-radius: 20px;
  padding: 28px 32px;
  border-left: 4px solid var(--lavender);
}

/* ===== GALLERY ===== */
.gallery-section {
  background: linear-gradient(160deg, #FFF5FA 0%, #F5F0FF 100%);
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 12px;
}

.mosaic-item {
  border-radius: 20px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  border: 2px dashed rgba(192,132,252,0.25);
  transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
  box-shadow: 0 2px 12px rgba(139,92,246,0.06);
  position: relative;
  overflow: hidden;
}

.mosaic-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.6), rgba(255,255,255,0));
  pointer-events: none;
}

.mosaic-item:hover {
  transform: scale(1.04) rotate(1deg);
  box-shadow: var(--shadow-float);
  border-color: var(--lavender);
}

.mosaic-item:nth-child(1) { background: linear-gradient(145deg, #FFF0F6, #FCE7F3); }
.mosaic-item:nth-child(2) { background: linear-gradient(145deg, #F0F9FF, #E0F2FE); }
.mosaic-item:nth-child(3) { background: linear-gradient(145deg, #FFF7ED, #FEF3C7); }
.mosaic-item:nth-child(4) { background: linear-gradient(145deg, #ECFDF5, #D1FAE5); }
.mosaic-item:nth-child(5) { background: linear-gradient(145deg, #FFF0F6, #FAE8FF); }
.mosaic-item:nth-child(6) { background: linear-gradient(145deg, #F5F3FF, #EDE9FE); }

.mosaic-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--lavender);
  text-transform: uppercase;
  margin-top: 6px;
}

@media (max-width: 440px) {
  .gallery-mosaic { grid-template-columns: repeat(2, 1fr); }
}

/* ===== RSVP ===== */
.rsvp-section {
  background: var(--cream);
  padding-bottom: 120px;
}

.rsvp-card {
  background: white;
  border-radius: 32px;
  padding: 48px 44px;
  box-shadow: var(--shadow-dream);
  position: relative;
  overflow: hidden;
}

.rsvp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg,
    var(--rose), var(--peach), var(--gold),
    var(--mint), var(--sky), var(--lavender), var(--violet)
  );
}

@media (max-width: 500px) {
  .rsvp-card { padding: 32px 20px; }
}

/* Form */
.hidden { display: none !important; }

.attend-q {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--plum);
  margin-bottom: 28px;
}

.attend-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.att-btn {
  flex: 1;
  min-width: 150px;
  max-width: 210px;
  padding: 24px 16px;
  border-radius: 24px;
  border: 2px solid rgba(192,132,252,0.15);
  font-family: 'Fredoka One', cursive;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  color: var(--plum-soft);
}

.att-btn .att-icon { font-size: 2.4rem; }

.att-btn:hover, .att-btn.selected {
  transform: translateY(-6px) scale(1.02);
}

.att-btn.yes-btn:hover, .att-btn.yes-btn.selected {
  background: linear-gradient(135deg, var(--rose-deep), var(--violet));
  color: white;
  border-color: transparent;
  box-shadow: 0 14px 40px rgba(236,72,153,0.3);
}

.att-btn.no-btn:hover, .att-btn.no-btn.selected {
  background: linear-gradient(135deg, #64748b, #475569);
  color: white;
  border-color: transparent;
  box-shadow: 0 14px 40px rgba(100,116,139,0.25);
}

.form-body { margin-top: 36px; }

.frow { margin-bottom: 22px; }

.flabel {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--plum-soft);
  margin-bottom: 8px;
}

.finput {
  width: 100%;
  padding: 15px 20px;
  border-radius: 16px;
  border: 2px solid rgba(192,132,252,0.12);
  background: #FAFAFA;
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--plum);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.finput:focus {
  border-color: var(--lavender);
  background: white;
  box-shadow: 0 0 0 4px rgba(192,132,252,0.1);
}

.finput::placeholder { color: #C4B5FD; }

textarea.finput { min-height: 90px; resize: vertical; }

.counter-row { display: flex; align-items: center; gap: 16px; }

.cbtn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--rose-deep), var(--violet));
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.cbtn:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 16px rgba(192,132,252,0.35);
}

.cval {
  font-family: 'Fredoka One', cursive;
  font-size: 1.8rem;
  color: var(--violet);
  min-width: 36px;
  text-align: center;
}

.diet-list { display: flex; flex-direction: column; gap: 8px; }

.diet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(192,132,252,0.12);
  background: #FAFAFA;
  cursor: pointer;
  font-weight: 600;
  color: var(--plum);
  font-size: 0.95rem;
  transition: all 0.2s;
}

.diet-item:hover {
  border-color: var(--lavender);
  background: #F5F0FF;
}

.diet-item input {
  width: 16px;
  height: 16px;
  accent-color: var(--violet);
  cursor: pointer;
}

.form-err {
  background: #FEF2F2;
  border: 1.5px solid #FCA5A5;
  border-radius: 14px;
  padding: 12px 18px;
  color: #DC2626;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  border-radius: 18px;
  border: none;
  background: linear-gradient(135deg, var(--rose-deep) 0%, var(--violet) 100%);
  color: white;
  font-family: 'Fredoka One', cursive;
  font-size: 1.15rem;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(139,92,246,0.35);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.submit-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.submit-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(139,92,246,0.4);
}

.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Success */
.success-box { text-align: center; padding: 24px 0; }

.success-icon {
  font-size: 4.5rem;
  animation: unicornFloat 3s ease-in-out infinite;
  margin-bottom: 20px;
  display: block;
}

.success-h {
  font-family: 'Sacramento', 'Great Vibes', cursive;
  font-size: 2.8rem;
  color: var(--violet);
  margin-bottom: 14px;
}

.success-p {
  font-size: 1.05rem;
  color: #6b4f7a;
  line-height: 1.8;
  margin-bottom: 24px;
}

.success-summary {
  background: var(--cream);
  border-radius: 18px;
  padding: 20px 24px;
  text-align: left;
  font-size: 0.9rem;
  color: #5b3f72;
  line-height: 1.9;
  display: inline-block;
  min-width: 220px;
  border: 1.5px solid rgba(192,132,252,0.15);
}

.reset-btn {
  margin-top: 24px;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--violet);
  background: transparent;
  color: var(--violet);
  font-family: 'Fredoka One', cursive;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
}

.reset-btn:hover {
  background: var(--violet);
  color: white;
}

/* Phone */
/* ===== CONTACT BUTTONS ===== */
.contact-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-family: 'Fredoka One', cursive;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s;
  white-space: nowrap;
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.contact-btn--phone {
  background: var(--cream);
  border: 1.5px solid rgba(192,132,252,0.2);
  color: var(--violet);
}

.contact-btn--phone:hover {
  background: var(--violet);
  color: white;
  border-color: var(--violet);
}

.contact-btn--wa {
  background: #25D366;
  color: white;
  border: 1.5px solid transparent;
}

.contact-btn--wa:hover {
  background: #1ebe5d;
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}

.contact-btn--gcal {
  background: #4285F4;
  color: white;
  border: 1.5px solid transparent;
}

.contact-btn--gcal:hover {
  background: #3367D6;
  box-shadow: 0 8px 24px rgba(66,133,244,0.3);
}

@media (max-width: 480px) {
  .contact-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-btn {
    justify-content: center;
    padding: 16px 20px;
    font-size: 1.05rem;
  }
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  background: var(--cream);
  border: 1.5px solid rgba(192,132,252,0.15);
  color: var(--violet);
  font-family: 'Fredoka One', cursive;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
}

.phone-link:hover {
  background: var(--violet);
  color: white;
  border-color: var(--violet);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(139,92,246,0.25);
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(150deg, var(--plum) 0%, #312E81 100%);
  padding: 56px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(192,132,252,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.footer-emojis {
  font-size: 2rem;
  letter-spacing: 10px;
  animation: unicornFloat 3s ease-in-out infinite;
  display: block;
  margin-bottom: 18px;
  position: relative;
}

.footer-text {
  font-family: 'Sacramento', 'Great Vibes', cursive;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.5);
  position: relative;
}

.footer-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 24px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  color: rgba(255,255,255,0.85);
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  position: relative;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.footer-map-btn:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
  color: white;
  transform: translateY(-2px);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== CURSOR STARS ===== */
.cstar {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  font-size: 1rem;
  animation: cstarPop 0.8s ease-out forwards;
}

@keyframes cstarPop {
  0% { opacity: 1; transform: scale(0) rotate(0) translateY(0); }
  40% { opacity: 1; transform: scale(1.4) rotate(120deg) translateY(-16px); }
  100% { opacity: 0; transform: scale(0.3) rotate(300deg) translateY(-40px); }
}
