/* ==========================================================================
   PARUL'S DREAMY CELEBRATION THEME - SEAMLESS, BORDERLESS & NON-CARDY UI
   ========================================================================== */

:root {
  /* Curated Soft Sunset & Sakura Palette */
  --bg-gradient: linear-gradient(135deg, #fff7f9 0%, #fff0f3 25%, #fff4f6 65%, #ffe6ec 100%);
  --primary-pink: #ff4772;
  --primary-hover: #e62354;
  --soft-pink: #ffb3c6;
  --rose-glow: rgba(255, 71, 114, 0.18);
  --accent-gold: #ffb703;
  --accent-gold-glow: rgba(255, 183, 3, 0.28);
  --text-dark: #2d1822;
  --text-muted: #795769;
  --text-secondary: #9c6e85;

  /* Typography */
  --font-text: "Quicksand", "Outfit", "PingFang SC", sans-serif;
  --font-display: "Fredoka", "Outfit", sans-serif;
  --font-title: "Fredoka", "Quicksand", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-text);
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-dark);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.65;
}

/* Ambient Canvas for Sakura petals & starry dust */
#ambientCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   TOP NAVIGATION (BORDERLESS, SLEEK & GLASSMORPHIC)
   ========================================================================== */

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: none;
  box-shadow: 0 2px 20px rgba(255, 71, 114, 0.05);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-pink);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.brand-text {
  display: inline-flex;
  align-items: center;
}

.brand-text-short {
  display: none;
}

.brand-logo-svg {
  color: var(--primary-pink);
  flex-shrink: 0;
  animation: floatLogo 3s infinite ease-in-out;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Fluid Minimalist Control Buttons */
.control-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.88);
  font-family: var(--font-text);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-pink);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 3px 14px rgba(255, 71, 114, 0.08);
}

.control-btn:hover {
  transform: translateY(-2px);
  background: var(--primary-pink);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 71, 114, 0.25);
}

.control-btn:active {
  transform: scale(0.96);
}

.btn-svg-icon {
  stroke: currentColor;
  flex-shrink: 0;
}

.btn-text {
  display: inline-flex;
  align-items: center;
}

.btn-text-short {
  display: none;
}

.lang-desktop-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-mobile-label {
  display: none;
}

/* Audio wave animation indicator */
.music-wave {
  display: none;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
}

.music-wave.playing {
  display: inline-flex;
}

.music-wave span {
  width: 3px;
  height: 4px;
  background-color: currentColor;
  border-radius: 2px;
}

.music-wave.playing span:nth-child(1) {
  animation: waveBar 0.8s infinite ease-in-out;
}
.music-wave.playing span:nth-child(2) {
  animation: waveBar 0.8s infinite ease-in-out 0.2s;
}
.music-wave.playing span:nth-child(3) {
  animation: waveBar 0.8s infinite ease-in-out 0.4s;
}

@keyframes waveBar {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}

.lang-btn {
  background: rgba(255, 252, 245, 0.95);
  color: #b56a00;
  box-shadow: 0 3px 14px rgba(255, 183, 3, 0.12);
}

.lang-btn:hover {
  background: linear-gradient(135deg, #ffb703, #fb8500);
  color: #fff;
  box-shadow: 0 6px 20px rgba(251, 133, 0, 0.28);
}

.lang-switch-arrow {
  opacity: 0.5;
  font-size: 0.85rem;
}

.lang-alt {
  font-size: 0.78rem;
  background: rgba(255, 183, 3, 0.18);
  padding: 2px 7px;
  border-radius: 10px;
}

/* ==========================================================================
   PAGE CONTAINER & SECTIONS (OPEN, BORDERLESS & FLUID)
   ========================================================================== */

.page-container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 95px 24px 60px;
  position: relative;
  z-index: 10;
}

.section-block {
  margin-bottom: 95px;
  scroll-margin-top: 85px;
  position: relative;
}

.section-header {
  margin-bottom: 46px;
}

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

.minimal-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 18px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 40px;
  color: var(--primary-pink);
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 12px;
  box-shadow: 0 3px 12px rgba(255, 71, 114, 0.08);
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.3rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
  font-weight: 700;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  margin-bottom: 85px;
  text-align: center;
  position: relative;
  padding: 60px 10px 10px;
}

/* Full-Width Festive Garland Across Screen */
.full-garland-wrap {
  position: absolute;
  top: 68px;
  left: 0;
  width: 100%;
  height: 60px;
  overflow: visible;
  pointer-events: none;
  z-index: 50;
  animation: garlandSway 4.5s ease-in-out infinite alternate;
  transform-origin: 50% 0%;
}

.full-garland-svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 3px 8px rgba(255, 71, 114, 0.15));
}

@keyframes garlandSway {
  0% { transform: translateY(0) rotate(-0.3deg); }
  50% { transform: translateY(-3px) rotate(0.3deg); }
  100% { transform: translateY(0) rotate(-0.3deg); }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 30px;
  color: var(--primary-pink);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(255, 71, 114, 0.08);
}

.hero-title {
  font-family: var(--font-title);
  font-size: 3.4rem;
  line-height: 1.25;
  margin-bottom: 18px;
  color: var(--text-dark);
}

.title-greeting {
  display: block;
  font-size: 1.9rem;
  color: #8b4363;
  margin-bottom: 6px;
  font-weight: 500;
}

.title-highlight {
  background: linear-gradient(135deg, #ff4772 0%, #ff758f 25%, #ffb703 50%, #f72585 75%, #ff4772 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 14px rgba(247, 37, 133, 0.2));
  animation: titleShimmerSweep 5s linear infinite;
  display: inline-block;
  font-weight: 700;
}

@keyframes titleShimmerSweep {
  0% { background-position: 0% center; }
  100% { background-position: 250% center; }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto 32px;
  font-weight: 500;
  line-height: 1.8;
}

.quick-nav-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 40px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 14px rgba(255, 71, 114, 0.06);
}

.pill-link:hover {
  transform: translateY(-2px);
  background: var(--primary-pink);
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 71, 114, 0.25);
}

.highlight-pill {
  background: linear-gradient(135deg, #ff4772, #ff758f);
  color: #fff;
}

.highlight-pill:hover {
  background: linear-gradient(135deg, #e62354, #ff4772);
}

.hero-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: #a45a7c;
  background: rgba(255, 255, 255, 0.7);
  padding: 5px 16px;
  border-radius: 20px;
}

/* Floating Balloons Cluster */
.hero-balloon-cluster {
  position: absolute;
  top: 10px;
  right: 5%;
  display: flex;
  gap: 10px;
  pointer-events: all;
  z-index: 5;
}

.balloon {
  width: 44px;
  height: 54px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  position: relative;
  cursor: pointer;
  animation: balloonFloat 4s ease-in-out infinite alternate;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.balloon:hover {
  transform: scale(1.15) translateY(-6px);
}

.balloon-pink { background: radial-gradient(circle at 35% 30%, #ffccd5, #ff4772); animation-delay: 0s; }
.balloon-gold { background: radial-gradient(circle at 35% 30%, #ffea85, #ffb703); animation-delay: 0.7s; }
.balloon-lavender { background: radial-gradient(circle at 35% 30%, #e8dff5, #b392ac); animation-delay: 1.4s; }
.balloon-cyan { background: radial-gradient(circle at 35% 30%, #ade8f4, #0096c7); animation-delay: 2.1s; }

.balloon-shine {
  position: absolute;
  top: 10px;
  left: 9px;
  width: 10px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  transform: rotate(-30deg);
}

.balloon-knot {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 4px;
  border-radius: 2px;
  background: inherit;
}

.balloon-string {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1.5px;
  height: 38px;
  background: rgba(200, 160, 180, 0.6);
  transform-origin: top center;
  animation: stringSway 3s ease-in-out infinite alternate;
}

@keyframes balloonFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

@keyframes stringSway {
  0% { transform: rotate(-5deg); }
  100% { transform: rotate(5deg); }
}

.balloon.popped {
  transform: scale(0) !important;
  opacity: 0;
  transition: all 0.25s ease-out;
}

/* ==========================================================================
   SECTION 1: SEAMLESS PHOTO PORTALS (ZERO CARDS, ORGANIC 2x2 GRID)
   ========================================================================== */

.portals-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
  max-width: 1060px;
  margin: 0 auto;
}

.portal-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portal-unit:hover {
  transform: translateY(-4px);
}

/* Floating Halo Portal Frame */
.portal-halo {
  position: relative;
  width: 200px;
  height: 200px;
  cursor: pointer;
  margin-bottom: 18px;
}

.portal-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 117, 143, 0.4);
  animation: spinPortalRing 30s linear infinite;
  pointer-events: none;
}

@keyframes spinPortalRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.portal-viewport {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 40% 35%, #ffffff 0%, #fff0f3 65%, #ffdce5 100%);
  box-shadow: 0 10px 32px rgba(255, 71, 114, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portal-halo:hover .portal-viewport {
  transform: scale(1.04);
  box-shadow: 0 16px 42px rgba(255, 71, 114, 0.25);
}

/* Empty State Inside Portal */
.portal-empty-holder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px;
  text-align: center;
  user-select: none;
}

.portal-cam-icon {
  color: #ff4772;
  filter: drop-shadow(0 2px 6px rgba(255, 71, 114, 0.25));
  animation: pulsePortalCam 2.5s infinite ease-in-out;
}

@keyframes pulsePortalCam {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.portal-prompt-text {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary-pink);
  line-height: 1.3;
}

.portal-sub-prompt {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Image inside Portal */
.portal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.portal-halo:hover .portal-img {
  transform: scale(1.08);
}

.portal-hover-lens {
  position: absolute;
  inset: 0;
  background: rgba(255, 71, 114, 0.35);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  border-radius: 50%;
  transition: opacity 0.25s ease;
}

.portal-halo:hover .portal-hover-lens {
  opacity: 1;
}

/* Portal Typography & Info (Borderless) */
.portal-info {
  width: 100%;
  max-width: 320px;
}

.portal-header-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}

.portal-unit-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
}

.portal-love-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  padding: 4px 10px;
  border-radius: 20px;
  color: var(--primary-pink);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 71, 114, 0.1);
  transition: all 0.2s ease;
}

.portal-love-btn:hover {
  transform: scale(1.1);
  background: #ff4772;
  color: #fff;
}

.portal-unit-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.portal-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.portal-action-pill {
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(255, 71, 114, 0.3);
  color: #ff4772;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.22s ease;
}

.portal-action-pill:hover {
  background: #ff4772;
  color: #fff;
  border-color: #ff4772;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(255, 71, 114, 0.2);
}

.portal-reset-pill {
  background: transparent;
  border: 1px solid rgba(121, 87, 105, 0.25);
  color: var(--text-muted);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.portal-reset-pill:hover {
  background: #795769;
  color: #fff;
}

/* Floating Heart Click Animation */
.floating-heart-particle {
  position: fixed;
  font-size: 1.4rem;
  pointer-events: none;
  z-index: 9999;
  animation: floatHeartRise 1.2s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}

@keyframes floatHeartRise {
  0% { opacity: 1; transform: translate(-50%, 0) scale(0.6); }
  50% { transform: translate(-50%, -35px) scale(1.3); }
  100% { opacity: 0; transform: translate(-50%, -70px) scale(1); }
}

/* ==========================================================================
   SECTION 2: OPEN CAKE STAGE (SEAMLESS & BORDERLESS)
   ========================================================================== */

.cake-stage {
  position: relative;
  max-width: 500px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cake-ambient-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 183, 3, 0.45) 0%, rgba(255, 117, 143, 0.2) 50%, transparent 75%);
  filter: blur(35px);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.5s ease;
}

.cake-sparkle {
  position: absolute;
  pointer-events: none;
  z-index: 3;
  color: #ffd166;
  font-size: 1.2rem;
  animation: ambientSparkle 3s infinite ease-in-out;
}

.sp1 { top: 8%; left: 16%; animation-delay: 0s; }
.sp2 { top: 12%; right: 18%; animation-delay: 0.8s; font-size: 1.4rem; }
.sp3 { top: 2%; left: 45%; animation-delay: 1.5s; font-size: 1rem; color: #ff85a1; }
.sp4 { top: 22%; left: 80%; animation-delay: 2.2s; font-size: 1.1rem; }

@keyframes ambientSparkle {
  0%, 100% { transform: scale(0.6); opacity: 0.4; }
  50% { transform: scale(1.2); opacity: 1; }
}

.cute-drawn-cake-svg {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 18px 36px rgba(255, 90, 130, 0.22));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
}

.cute-drawn-cake-svg:hover {
  transform: scale(1.025);
}

.svg-candle {
  cursor: pointer;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.svg-candle:hover {
  filter: drop-shadow(0 3px 10px rgba(255, 183, 3, 0.45));
}

.flame {
  /* No movement: realistic, calm, and firmly anchored to candle wicks */
  animation: none !important;
  transform-origin: center bottom;
  transform-box: fill-box;
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.flame.extinguished {
  opacity: 0 !important;
  transform: scale(0.15) translateY(-8px) !important;
  pointer-events: none;
}

.smoke-puff {
  opacity: 0;
  pointer-events: none;
  transform-origin: center bottom;
}

.smoke-puff.puff-active {
  animation: smokeRise 1.2s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes smokeRise {
  0% { opacity: 0; transform: translateY(0) scale(0.3); }
  25% { opacity: 0.85; transform: translateY(-8px) scale(0.95); }
  60% { opacity: 0.5; transform: translateY(-24px) scale(1.35); }
  100% { opacity: 0; transform: translateY(-44px) scale(1.9); }
}

.cake-actions-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.fluid-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: all 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fluid-action-btn.icon-only-btn {
  width: 56px;
  height: 56px;
  min-width: 56px;
  max-width: 56px;
  padding: 0;
  border-radius: 50%;
}

.blow-btn {
  background: linear-gradient(135deg, #ff4772 0%, #ff85a1 100%);
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(255, 71, 114, 0.35);
}

.blow-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 10px 30px rgba(255, 71, 114, 0.5);
}

.blow-btn.relight-mode {
  background: linear-gradient(135deg, #ffb703 0%, #fb8500 100%);
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(251, 133, 0, 0.35);
}

.blow-btn.relight-mode:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 10px 30px rgba(251, 133, 0, 0.5);
}

.fireworks-btn {
  background: rgba(255, 255, 255, 0.9);
  color: #fb8500;
  box-shadow: 0 4px 18px rgba(255, 71, 114, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.fireworks-btn:hover {
  transform: translateY(-3px) scale(1.08);
  background: #ffffff;
  box-shadow: 0 8px 26px rgba(251, 133, 0, 0.28);
}

/* Cinematic Wish Letter (Zero Box/Card, Pure Typography) */
.cinematic-wish-reveal {
  margin-top: 45px;
  position: relative;
  text-align: center;
  padding: 30px 20px;
  animation: cinematicFadeIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cinematic-wish-reveal.hidden {
  display: none;
}

@keyframes cinematicFadeIn {
  0% { opacity: 0; transform: translateY(20px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.wish-stardust-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.3) 0%, rgba(255, 117, 143, 0.15) 50%, transparent 75%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

.wish-content-center {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.wish-ornament {
  display: block;
  font-size: 1.1rem;
  color: #ffb703;
  margin-bottom: 12px;
  letter-spacing: 6px;
}

.cinematic-wish-title {
  font-family: var(--font-title);
  font-size: 1.85rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.cinematic-wish-quote {
  font-size: 1.22rem;
  color: #63334d;
  font-weight: 500;
  line-height: 1.85;
  font-style: italic;
  margin-bottom: 18px;
}

.cinematic-wish-sign {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-pink);
  letter-spacing: 0.5px;
}

/* ==========================================================================
   SECTION 3: SEAMLESS WISHES STREAM (NO PAPER CARDS)
   ========================================================================== */

.whispers-stream {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.whispers-stream:empty {
  display: none !important;
  margin: 0 !important;
}

/* Floating Glass Whisper Capsule */
.whisper-bubble {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px 24px;
  border-radius: 28px;
  box-shadow: 0 4px 18px rgba(255, 71, 114, 0.06);
  max-width: 420px;
  flex: 1 1 380px;
  transition: all 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.whisper-bubble:hover {
  transform: translateY(-3px) scale(1.015);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 26px rgba(255, 71, 114, 0.15);
}

.whisper-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.whisper-sender {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-pink);
}

.whisper-tag-pill {
  font-size: 0.74rem;
  font-weight: 700;
  color: #b56a00;
  background: rgba(255, 183, 3, 0.18);
  padding: 3px 10px;
  border-radius: 12px;
}

.whisper-delete-btn {
  background: transparent;
  border: none;
  color: rgba(140, 110, 130, 0.35);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.whisper-delete-btn:hover {
  color: var(--primary-pink);
  transform: scale(1.2);
}

.whisper-body {
  font-size: 0.96rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 8px;
}

.whisper-time {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

/* Sleek Minimal Wish Prompt Bar */
.minimal-wish-composer {
  max-width: 720px;
  margin: 0 auto;
}

.fluid-composer-form {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 36px;
  padding: 18px 24px;
  box-shadow: 0 6px 28px rgba(255, 71, 114, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.composer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.composer-name-input {
  border: none;
  background: transparent;
  font-family: var(--font-text);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-pink);
  outline: none;
  padding: 4px 6px;
  width: 150px;
}

.composer-name-input::placeholder {
  color: rgba(255, 71, 114, 0.55);
  font-weight: 500;
}

.composer-tag-strip {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mini-tag-btn {
  border: none;
  background: rgba(255, 71, 114, 0.08);
  color: #ff4772;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mini-tag-btn.active, .mini-tag-btn:hover {
  background: #ff4772;
  color: #fff;
}

.composer-main-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.composer-msg-input {
  flex: 1;
  border: none;
  background: rgba(255, 240, 245, 0.6);
  border-radius: 24px;
  padding: 12px 20px;
  font-family: var(--font-text);
  font-size: 0.95rem;
  color: var(--text-dark);
  outline: none;
  transition: background 0.2s ease;
}

.composer-msg-input:focus {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255, 71, 114, 0.2);
}

.composer-send-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--primary-pink);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(255, 71, 114, 0.35);
  transition: all 0.22s ease;
}

.composer-send-btn:hover {
  transform: scale(1.08);
  background: #e62354;
}

/* ==========================================================================
   FOOTER (AIRY & BORDERLESS)
   ========================================================================== */

.page-footer {
  margin-top: 60px;
  padding: 40px 20px;
  text-align: center;
}

.footer-heart {
  display: inline-block;
  animation: pulseLogo 2s infinite ease-in-out;
  margin-bottom: 8px;
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.footer-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.footer-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */

.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 15, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-dialog {
  position: relative;
  max-width: 640px;
  width: 100%;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.45);
}

.prev-btn { left: -58px; }
.next-btn { right: -58px; }

.lightbox-content {
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  padding: 24px;
}

.lightbox-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: #ffffff;
}

.lightbox-img {
  max-width: 100%;
  max-height: 60vh;
  border-radius: 20px;
  margin: 0 auto;
  display: block;
}

.lightbox-info {
  margin-top: 18px;
  color: #fff;
}

.lightbox-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.lightbox-info p {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* ==========================================================================
   MOBILE QUICK BAR
   ========================================================================== */

.mobile-quick-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 8px 18px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 8px 30px rgba(255, 71, 114, 0.18);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-quick-bar.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.quick-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  background: transparent;
  border: none;
  cursor: pointer;
}

.quick-bar-item svg {
  color: var(--primary-pink);
}

/* ==========================================================================
   RESPONSIVENESS & COMPREHENSIVE MOBILE OPTIMIZATION
   ========================================================================== */

/* Universal mobile enhancements */
html, body {
  overflow-x: hidden;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}

button, a, input {
  touch-action: manipulation;
}

/* Tablet screens (<= 960px) */
@media (max-width: 960px) {
  .portals-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
    max-width: 680px;
  }
}

/* Mobile Devices (<= 680px) */
@media (max-width: 680px) {
  /* Top Navigation */
  .top-nav {
    height: 56px;
    padding: 0 14px;
  }

  .nav-brand {
    font-size: 1.15rem;
    gap: 8px;
  }

  .brand-text-full {
    display: none;
  }

  .brand-text-short {
    display: inline;
  }

  .nav-controls {
    gap: 8px;
  }

  .control-btn {
    padding: 6px 12px;
    font-size: 0.82rem;
    gap: 5px;
  }

  .btn-text-full {
    display: none;
  }

  .btn-text-short {
    display: inline;
  }

  .lang-desktop-label {
    display: none;
  }

  .lang-mobile-label {
    display: inline-flex;
  }

  /* Garland Banner */
  .full-garland-wrap {
    height: 38px;
  }

  /* Page Layout */
  .page-container {
    padding: 0 14px;
    overflow-x: hidden;
  }

  /* Hero Section */
  .hero-section {
    padding: 104px 12px 28px 12px;
  }

  .hero-tag {
    font-size: 0.78rem;
    padding: 5px 14px;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: 2.15rem;
    line-height: 1.25;
    margin-bottom: 12px;
    word-break: break-word;
  }

  .title-greeting {
    font-size: 1.25rem;
    margin-bottom: 4px;
  }

  .title-highlight {
    font-size: 2.15rem;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 100%;
    margin: 0 auto 18px auto;
    padding: 0 4px;
  }

  .hero-balloon-cluster {
    display: none;
  }

  .quick-nav-pills {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .pill-link {
    padding: 7px 14px;
    font-size: 0.82rem;
    border-radius: 20px;
  }

  /* Memories Gallery */
  .section-block {
    margin-bottom: 45px;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
  }

  .portals-container {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 330px;
    margin: 0 auto;
  }

  .portal-halo {
    width: 180px;
    height: 180px;
    margin-bottom: 12px;
  }

  .portal-info {
    max-width: 300px;
  }

  .portal-unit-title {
    font-size: 1.15rem;
  }

  .portal-unit-desc {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .portal-actions-row {
    gap: 8px;
  }

  .portal-action-pill {
    padding: 6px 14px;
    font-size: 0.78rem;
  }

  .portal-reset-pill {
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  /* Cake Section */
  .cake-stage {
    max-width: 330px;
    margin: 0 auto 16px;
  }

  .cute-drawn-cake-svg {
    max-width: 320px;
  }

  .cake-controls {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .cake-actions-wrap {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }

  .fluid-action-btn.icon-only-btn {
    width: 56px;
    height: 56px;
    min-width: 56px;
    max-width: 56px;
    padding: 0;
  }

  /* Wishes Stream & Composer */
  .whispers-stream {
    gap: 10px;
    margin-bottom: 24px;
  }

  .whisper-bubble {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 14px 16px;
    border-radius: 20px;
  }

  .whisper-text {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .wish-composer {
    padding: 16px 14px;
    border-radius: 22px;
    max-width: 100%;
  }

  .composer-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
  }

  .composer-name-input {
    width: 100%;
    border-bottom: 1px dashed rgba(255, 71, 114, 0.3);
    padding: 6px 4px;
    font-size: 0.9rem;
  }

  .composer-tag-strip {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .composer-main-row {
    width: 100%;
  }

  .composer-msg-input {
    font-size: 0.88rem;
    padding: 10px 16px;
  }

  .composer-send-btn {
    width: 40px;
    height: 40px;
  }

  /* Footer */
  .page-footer {
    padding: 35px 14px 75px 14px;
  }

  .footer-text {
    font-size: 0.92rem;
  }

  .footer-sub {
    font-size: 0.8rem;
  }

  /* Lightbox */
  .lightbox-content {
    padding: 10px;
    max-width: 95vw;
  }

  .lightbox-img {
    max-height: 55vh;
    max-width: 92vw;
    border-radius: 12px;
  }

  .lightbox-nav-btn {
    width: 36px;
    height: 36px;
  }

  .prev-btn { left: 4px; }
  .next-btn { right: 4px; }

  .lightbox-close {
    top: 6px;
    right: 6px;
    width: 34px;
    height: 34px;
    font-size: 1.5rem;
  }

  .lightbox-info {
    padding: 8px;
  }

  .lightbox-info h3 {
    font-size: 1.1rem;
  }

  .lightbox-info p {
    font-size: 0.84rem;
  }

  /* Mobile Quick Bar */
  .mobile-quick-bar {
    bottom: 12px;
    padding: 6px 14px;
    gap: 14px;
  }

  .quick-bar-item {
    font-size: 0.68rem;
  }
}

/* Extra small mobile screens (<= 380px) */
@media (max-width: 380px) {
  .hero-title {
    font-size: 1.9rem;
  }

  .title-highlight {
    font-size: 1.9rem;
  }

  .portal-halo {
    width: 160px;
    height: 160px;
  }

  .cake-stage {
    max-width: 280px;
  }

  .cute-drawn-cake-svg {
    max-width: 270px;
  }
}
