:root {
  --bg-color: #f7efe4;
  --text-main: #1d1d1f;
  --text-sub: #6e6e73;
  --accent-color: #0071e3;
}

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

html,
body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Fullscreen iOS Liquid Glass Loader */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(247, 239, 228, 0.88);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.loader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
  display: none !important;
  z-index: -9999 !important;
}

/* Premium Liquid Glass Preloader Card */
.loader-content {
  width: min(360px, 90vw);
  background: radial-gradient(
    circle at 50% 0%,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(248, 244, 238, 0.78) 60%,
    rgba(245, 238, 226, 0.86) 100%
  );
  backdrop-filter: blur(50px) saturate(220%);
  -webkit-backdrop-filter: blur(50px) saturate(220%);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 44px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.16),
    0 0 60px rgba(255, 204, 2, 0.18),
    inset 0 1.5px 2px rgba(255, 255, 255, 1);
  animation: preloaderPopIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes preloaderPopIn {
  0% { opacity: 0; transform: scale(0.92) translateY(16px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.spinner {
  width: 52px;
  height: 52px;
  border: 4px solid rgba(255, 204, 2, 0.18);
  border-top: 4px solid #ffcc02;
  border-right: 4px solid #ff9500;
  border-radius: 50%;
  animation: spin 0.85s cubic-bezier(0.6, 0.2, 0.4, 0.8) infinite;
  box-shadow:
    0 0 24px rgba(255, 204, 2, 0.55),
    inset 0 0 10px rgba(255, 204, 2, 0.25);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.progress-container {
  width: 100%;
  height: 10px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1.5px 3px rgba(0, 0, 0, 0.08);
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ffcc02 0%, #ff9500 50%, #ff5277 100%);
  border-radius: 10px;
  transition: width 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 16px rgba(255, 204, 2, 0.8);
}

.loader-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.loading-title {
  color: #1d1d1f;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.percent-text {
  color: #ff9500;
  font-weight: 800;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 8px rgba(255, 149, 0, 0.3);
}

.count-text {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: #6e6e73;
  font-variant-numeric: tabular-nums;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.04),
    inset 0 1px 1px rgba(255, 255, 255, 0.95);
  letter-spacing: 0.05em;
}

/* "Hey Lady" Liquid Glass Dialog Box Overlay */
.intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(247, 239, 228, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9980;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.intro-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
  display: none !important;
  z-index: -9999 !important;
}

/* Liquid Glass Dialog Card Container */
.liquid-dialog-card {
  width: min(360px, 92vw);
  background: rgba(245, 245, 247, 0.72);
  backdrop-filter: blur(40px) saturate(210%);
  -webkit-backdrop-filter: blur(40px) saturate(210%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 40px;
  padding: 28px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.16),
    0 4px 16px rgba(0, 0, 0, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.95);
  animation: dialogPopIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dialogPopIn {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }

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

.dialog-img-wrapper {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 230, 235, 0.6) 100%);
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.09),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 2px rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.dialog-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.12);
}

.dialog-text-wrapper {
  width: 100%;
}

.intro-title {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}

/* Distinct Font Colors: Hey in Deep Charcoal, Lady in Vibrant Pink (matching her bow) */
.hey-text {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.4rem, 7vw, 3.2rem);
  color: #1d1d1f;
  margin-right: 8px;
}

.lady-text {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.4rem, 7vw, 3.2rem);
  color: #ff2d55;
}

.type-cursor {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 6.5vw, 2.8rem);
  color: #34c759;
  margin-left: 2px;
  animation: blinkCursor 0.75s steps(2, start) infinite;
  vertical-align: baseline;
}

@keyframes blinkCursor {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Continue Button in iOS Liquid Glass Style (Appears after typing completes) */
.dialog-continue-btn {
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
  width: 100%;
  padding: 14px 24px;
  border-radius: 30px;
  background: #ffcc02;
  border: none;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow:
    0 8px 24px rgba(255, 204, 2, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.dialog-continue-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dialog-continue-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.dialog-continue-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 204, 2, 0.55);
}

.dialog-continue-btn:hover svg {
  transform: translateX(4px);
}

.dialog-continue-btn:active {
  transform: scale(0.97);
}

/* Top Liquid Glass Capsule Header */
.hud-header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  pointer-events: none;
}

.liquid-top-capsule {
  padding: 10px 14px 10px 22px;
  border-radius: 40px;
  background: rgba(245, 245, 247, 0.65);
  backdrop-filter: blur(35px) saturate(200%);
  -webkit-backdrop-filter: blur(35px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #1d1d1f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.12),
    0 4px 14px rgba(0, 0, 0, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.95);
  pointer-events: auto;
  min-width: 310px;
}

.brand-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-name {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: #1d1d1f;
}

.dot-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #34c759;
  box-shadow: 0 0 10px rgba(52, 199, 89, 0.7);
}

/* Top Meaningful Action Button: Replay */
.top-action-btn {
  background: rgba(225, 225, 230, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #1d1d1f;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.top-action-btn svg {
  width: 15px;
  height: 15px;
}

.top-action-btn:hover {
  background: #ffcc02;
  color: #000000;
  border-color: rgba(255, 204, 2, 0.8);
  box-shadow: 0 4px 14px rgba(255, 204, 2, 0.45);
}

.top-action-btn:active {
  transform: scale(0.95);
}

/* "Scroll to Begin" Hint Text (Positioned at red circle top: 260px without capsule container) */
.scroll-hint-toast {
  position: fixed;
  top: 260px;
  bottom: auto;
  left: 50%;
  transform: translateX(-50%);
  z-index: 990;
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
  animation: floatHint 2.4s ease-in-out infinite alternate;
}

.scroll-hint-toast.fade-out {
  opacity: 0;
  transform: translate(-50%, -15px);
  visibility: hidden;
}

.scroll-hint-toast.bottom-hint {
  top: auto;
  bottom: 36px;
  background: rgba(245, 245, 247, 0.82);
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 10px 20px;
  border-radius: 30px;
  white-space: nowrap;
  width: max-content;
  max-width: 92vw;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.95);
}

.scroll-hint-toast.bottom-hint .hint-glass-pill {
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hint-glass-pill {
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6e6e73;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hint-arrow {
  width: 14px;
  height: 14px;
  color: #0071e3;
  animation: arrowBounce 1.6s ease-in-out infinite;
}

@keyframes arrowBounce {

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

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

@keyframes floatHint {
  0% {
    transform: translate(-50%, 0);
  }

  100% {
    transform: translate(-50%, -6px);
  }
}

/* Scroll Viewport Container */
#scroll-container {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
}

#sticky-viewport {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-color);
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  transition: opacity 1.3s cubic-bezier(0.25, 1, 0.5, 1);
}

#sticky-viewport.fade-out {
  opacity: 0;
  pointer-events: none;
}

#petals-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  pointer-events: none;
  z-index: 9999;
  object-fit: cover;
}

#canvas {
  display: block;
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  pointer-events: none;
}

/* End Birthday Celebration Section (Fixed In-Place Viewport) */
.birthday-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 16px 120px 16px;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.birthday-section.active {
  opacity: 1;
  pointer-events: auto;
}

.birthday-section.fade-out {
  opacity: 0;
  pointer-events: none;
}

.birthday-card {
  position: relative;
  z-index: 2;
  width: min(330px, 86vw);
  background: rgba(245, 245, 247, 0.72);
  backdrop-filter: blur(40px) saturate(210%);
  -webkit-backdrop-filter: blur(40px) saturate(210%);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 36px;
  padding: 20px 20px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.16),
    0 4px 18px rgba(0, 0, 0, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.95);
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 1.3s cubic-bezier(0.16, 1, 0.3, 1), transform 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.birthday-card.reveal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Staggered Inner Elements Animation */
.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.birthday-card.reveal .reveal-item:nth-child(1) { transition-delay: 0.2s; }
.birthday-card.reveal .reveal-item:nth-child(2) { transition-delay: 0.45s; }
.birthday-card.reveal .reveal-item:nth-child(3) { transition-delay: 0.7s; }
.birthday-card.reveal .reveal-item:nth-child(4) { transition-delay: 0.95s; }
.birthday-card.reveal .reveal-item:nth-child(5) { transition-delay: 1.2s; }
.birthday-card.reveal .reveal-item:nth-child(6) { transition-delay: 1.45s; }

.birthday-card.reveal .reveal-item {
  opacity: 1;
  transform: translateY(0);
}

.bday-scroll-hint-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  padding: 6px 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  color: #1d1d1f;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.06),
    inset 0 1px 1px rgba(255, 255, 255, 1);
  animation: bounceUpArrow 1.8s ease-in-out infinite;
}

.bday-bounce-arrow {
  width: 14px;
  height: 14px;
  color: #ff2d55;
}

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

.birthday-badge-pill {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: #1d1d1f;
  background: rgba(255, 204, 2, 0.2);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 204, 2, 0.45);
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(255, 204, 2, 0.15);
}

.badge-icon {
  font-size: 12px;
  line-height: 1;
}

.badge-text {
  color: #d97706;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.birthday-img-frame {
  width: 135px;
  height: 135px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 230, 235, 0.6) 100%);
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.09),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 2px rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
}

.birthday-text-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.birthday-title {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.4rem, 7vw, 3.2rem);
  line-height: 1.1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.birthday-title .happy-text {
  color: #1d1d1f;
}

.birthday-title .birthday-text {
  color: #ff2d55;
  text-shadow: 0 4px 20px rgba(255, 45, 85, 0.25);
}

.birthday-subtitle {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #6e6e73;
  line-height: 1.5;
  max-width: 310px;
}

.wish-pills-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.wish-pill {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #1d1d1f;
  background: rgba(225, 225, 230, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  padding: 6px 14px;
  border-radius: 18px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.wish-pill:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* iOS Liquid Glass Bottom Navigation Bar */
.liquid-bottom-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(380px, 92vw);
  background: rgba(245, 245, 247, 0.65);
  backdrop-filter: blur(35px) saturate(200%);
  -webkit-backdrop-filter: blur(35px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 36px;
  padding: 10px 14px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.14),
    0 4px 14px rgba(0, 0, 0, 0.06),
    inset 0 1px 1px rgba(255, 255, 255, 0.95);
  pointer-events: auto;
}

/* Inner Address Bar Pill */
.glass-address-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(225, 225, 230, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.url-text {
  font-size: 13px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

.bar-icon {
  width: 16px;
  height: 16px;
  color: #1d1d1f;
  opacity: 0.7;
}

/* Navigation Buttons Row */
.nav-icons-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 2px 6px;
}

.nav-btn {
  background: transparent;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1d1d1f;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-btn svg {
  width: 22px;
  height: 22px;
}

/* Active Yellow Circle Highlight Button */
.nav-btn.active {
  background-color: #ffcc02;
  color: #000000;
  box-shadow: 0 4px 14px rgba(255, 204, 2, 0.5);
}

.nav-btn:hover:not(.active) {
  background: rgba(0, 0, 0, 0.06);
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .hud-header {
    top: 14px;
    padding: 0 14px;
  }

  .liquid-top-capsule {
    width: min(340px, 94vw);
    min-width: unset;
    padding: 10px 12px 10px 18px;
  }

  .brand-name {
    font-size: 16px;
  }

  .liquid-bottom-bar {
    bottom: 16px;
    width: min(360px, 94vw);
    padding: 10px 12px 10px 12px;
  }
}

/* Memory Gallery Stacking Cards Section (Physical Scroll-Up Layout) */
.memory-stack-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-color);
  z-index: 20;
}

.cards-stack-sticky {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px 20px 100px 20px;
}

.stack-header-capsule {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  z-index: 10;
}

.stack-title {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  color: #1d1d1f;
  margin: 0;
}

.cards-stack-wrapper {
  position: relative;
  width: min(360px, 92vw);
  height: 440px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.memory-stack-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  will-change: transform, opacity;
  transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.15s ease-out;
  transform-origin: center center;
}

.memory-card-inner {
  width: 100%;
  height: 100%;
  background: #f5f5f7;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 36px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.15),
    0 4px 16px rgba(0, 0, 0, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.95);
}

.memory-img-frame {
  width: 100%;
  height: 270px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: #111;
  box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.8);
}

.memory-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.memory-caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  padding: 0 4px;
}

.memory-number {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #ff9500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.memory-title {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  color: #1d1d1f;
  line-height: 1.2;
}

.memory-desc {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #6e6e73;
  line-height: 1.4;
}

/* Dedicated Cake Cutting Section (Scroll Down / Page Up Transition) */
.cake-cutting-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px 160px 20px;
  z-index: 1001;
  overflow: hidden;
}

/* Ambient Backlight Orbs behind Section */
.cake-cutting-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, 95vw);
  height: min(420px, 95vw);
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(255, 204, 2, 0.45) 0%,
    rgba(255, 45, 85, 0.25) 50%,
    rgba(255, 149, 0, 0.15) 75%,
    transparent 100%
  );
  filter: blur(65px);
  pointer-events: none;
  z-index: 0;
  animation: bgOrbPulse 4s ease-in-out infinite alternate;
}

@keyframes bgOrbPulse {
  0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.cake-card {
  position: relative;
  z-index: 2;
  width: min(380px, 92vw);
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(255, 248, 240, 0.6) 45%,
    rgba(255, 235, 242, 0.72) 100%
  );
  backdrop-filter: blur(55px) saturate(230%);
  -webkit-backdrop-filter: blur(55px) saturate(230%);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 44px;
  padding: 34px 26px 30px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  box-shadow:
    0 40px 100px rgba(255, 180, 50, 0.24),
    0 12px 30px rgba(0, 0, 0, 0.06),
    inset 0 2px 2px rgba(255, 255, 255, 1),
    inset 0 -2px 4px rgba(255, 255, 255, 0.5);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.cake-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 45px 110px rgba(255, 180, 50, 0.32),
    0 16px 35px rgba(0, 0, 0, 0.08),
    inset 0 2px 2px rgba(255, 255, 255, 1);
}

/* Glass Specular Light Beam Streak across Card */
.glass-specular-shine {
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: linear-gradient(
    45deg,
    transparent 42%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 58%
  );
  pointer-events: none;
  transform: rotate(25deg);
  animation: specularSweep 7s ease-in-out infinite;
}

@keyframes specularSweep {
  0%, 70% { transform: translateY(0) rotate(25deg); }
  100% { transform: translateY(80%) rotate(25deg); }
}

/* Liquid Glass Badge Pill */
.liquid-badge {
  background: rgba(255, 204, 2, 0.22) !important;
  backdrop-filter: blur(20px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(200%) !important;
  border: 1px solid rgba(255, 204, 2, 0.55) !important;
  box-shadow: 0 4px 16px rgba(255, 204, 2, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
}

/* 3D Liquid Glass Cake Vessel Frame */
.cake-hero-frame {
  position: relative;
  width: 175px;
  height: 175px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 30%,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 240, 245, 0.7) 55%,
    rgba(255, 204, 2, 0.3) 100%
  );
  backdrop-filter: blur(35px) saturate(220%);
  -webkit-backdrop-filter: blur(35px) saturate(220%);
  border: 2px solid rgba(255, 255, 255, 0.98);
  box-shadow:
    0 20px 50px rgba(255, 175, 0, 0.38),
    0 6px 18px rgba(0, 0, 0, 0.05),
    inset 0 4px 8px rgba(255, 255, 255, 1),
    inset 0 -4px 8px rgba(255, 180, 0, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.cake-hero-frame:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow:
    0 25px 60px rgba(255, 175, 0, 0.5),
    0 8px 24px rgba(0, 0, 0, 0.08),
    inset 0 4px 8px rgba(255, 255, 255, 1);
}

.cake-glass-vessel {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cake-vector {
  width: 115px;
  height: 115px;
  filter: drop-shadow(0 12px 20px rgba(255, 100, 120, 0.35));
  animation: cakeFloat 2.5s ease-in-out infinite alternate;
}

@keyframes cakeFloat {
  0% { transform: translateY(0) rotate(-4deg); }
  100% { transform: translateY(-8px) rotate(4deg); }
}

.flame {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: flameFlicker 1.2s ease-in-out infinite alternate;
}

.flame-1 { animation-delay: 0.1s; }
.flame-2 { animation-delay: 0.35s; }
.flame-3 { animation-delay: 0.2s; }

@keyframes flameFlicker {
  0% { transform: scale(1) rotate(-3deg); opacity: 0.9; }
  50% { transform: scale(1.15) rotate(4deg); opacity: 1; }
  100% { transform: scale(0.95) rotate(-2deg); opacity: 0.85; }
}

.candle-glow-aura {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 75px;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(255, 204, 2, 0.85) 0%, rgba(255, 149, 0, 0.45) 50%, transparent 100%);
  filter: blur(12px);
  pointer-events: none;
  animation: auraPulse 1.8s ease-in-out infinite alternate;
}

@keyframes auraPulse {
  0% { opacity: 0.6; transform: translateX(-50%) scale(0.9); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.3); }
}

.cake-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cake-title {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.1rem, 6.5vw, 2.7rem);
  color: #1d1d1f;
  margin: 0;
}

.cake-subtitle {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #6e6e73;
  line-height: 1.5;
  max-width: 310px;
  margin: 0;
}

/* Liquid Glass Primary Action Button */
.cake-action-btn {
  position: relative;
  z-index: 1005 !important;
  pointer-events: auto !important;
  width: 100%;
  padding: 16px 26px;
  border-radius: 32px;
  background: linear-gradient(135deg, #ffcc02 0%, #ff9500 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #000000;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    0 14px 34px rgba(255, 165, 0, 0.55),
    0 4px 14px rgba(0, 0, 0, 0.08),
    inset 0 2px 2px rgba(255, 255, 255, 0.9),
    inset 0 -2px 4px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cake-action-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.7) 50%,
    transparent 100%
  );
  transform: skewX(-22deg);
  animation: liquidSheen 3.5s ease-in-out infinite;
}

@keyframes liquidSheen {
  0%, 60% { left: -100%; }
  100% { left: 200%; }
}

.cake-action-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 20px 45px rgba(255, 165, 0, 0.72),
    0 6px 18px rgba(0, 0, 0, 0.12),
    inset 0 2px 3px rgba(255, 255, 255, 0.98);
  background: linear-gradient(135deg, #ffd633 0%, #ffa726 100%);
}

.cake-action-btn:active {
  transform: scale(0.96) translateY(0);
}

/* Cake Cutting Liquid Glass Modal */
.cake-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 12, 20, 0.48);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
}

.cake-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cake-modal-card {
  position: relative;
  width: min(390px, 92vw);
  background: rgba(248, 246, 242, 0.88);
  backdrop-filter: blur(50px) saturate(220%);
  -webkit-backdrop-filter: blur(50px) saturate(220%);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 44px;
  padding: 36px 28px 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.22),
    0 0 70px rgba(255, 204, 2, 0.2),
    inset 0 1.5px 2px rgba(255, 255, 255, 1);
  transform: scale(0.88) translateY(24px);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.cake-modal-overlay.active .cake-modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  color: #1d1d1f;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.12);
  transform: scale(1.08);
}

.cake-modal-img-frame {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 230, 235, 0.7) 100%);
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.09),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 2px rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Small circular replay button positioned at bottom-right inside image frame */
.modal-frame-replay-btn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 5;
  background: linear-gradient(135deg, #ffcc02 0%, #ff9500 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-frame-replay-btn:hover {
  transform: scale(1.12) rotate(15deg);
  box-shadow: 0 8px 20px rgba(255, 165, 0, 0.5);
  background: linear-gradient(135deg, #ffd633 0%, #ffa726 100%);
}

.modal-frame-replay-btn:active {
  transform: scale(0.95);
}

.cake-modal-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cake-modal-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #1d1d1f;
  margin: 0;
}

.cake-modal-desc {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #5e5e63;
  line-height: 1.58;
  letter-spacing: -0.01em;
  max-width: 320px;
  margin: 0;
}

.cake-modal-buttons-row {
  display: flex;
  gap: 12px;
  width: 100%;
  margin-top: 4px;
}

.cake-modal-btn {
  flex: 1;
  padding: 15px 22px;
  border-radius: 32px;
  background: linear-gradient(135deg, #ffcc02 0%, #ff9500 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow:
    0 10px 28px rgba(255, 175, 0, 0.45),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.9);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.cake-modal-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 34px rgba(255, 175, 0, 0.6);
  background: linear-gradient(135deg, #ffd633 0%, #ffa726 100%);
}

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

.send-gift-btn {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow:
    0 12px 30px rgba(37, 211, 102, 0.48),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.5) !important;
}

.send-gift-btn:hover {
  background: linear-gradient(135deg, #2cf074 0%, #159f8f 100%) !important;
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.62) !important;
  transform: translateY(-2px) scale(1.02);
}

.cake-modal-secondary-btn {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
  color: #1d1d1f !important;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.05),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.9) !important;
}

.cake-modal-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08) !important;
}

/* Premium 3D Liquid Glass Circular Button */
.circle-btn-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  width: 100%;
}

.try-pressing-circle-btn {
  position: relative;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(40px) saturate(210%);
  -webkit-backdrop-filter: blur(40px) saturate(210%);
  border: 1.5px solid rgba(255, 255, 255, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 14px;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.2;
  color: #1d1d1f;
  text-decoration: none;
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(255, 180, 0, 0.32),
    0 6px 18px rgba(0, 0, 0, 0.06),
    inset 0 2px 3px rgba(255, 255, 255, 1),
    inset 0 -2px 4px rgba(255, 204, 2, 0.2);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  animation: liquidCirclePulse 2.4s ease-in-out infinite alternate;
}

.try-pressing-circle-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 42%,
    rgba(255, 255, 255, 0.75) 50%,
    transparent 58%
  );
  transform: rotate(25deg);
  pointer-events: none;
  animation: circleGlassSheen 4.5s ease-in-out infinite;
}

@keyframes circleGlassSheen {
  0%, 70% { transform: translateY(0) rotate(25deg); }
  100% { transform: translateY(80%) rotate(25deg); }
}

@keyframes liquidCirclePulse {
  0% {
    transform: scale(1);
    box-shadow: 0 20px 50px rgba(255, 180, 0, 0.32), 0 0 25px rgba(255, 204, 2, 0.25);
  }
  100% {
    transform: scale(1.06);
    box-shadow: 0 26px 60px rgba(255, 180, 0, 0.48), 0 0 40px rgba(255, 204, 2, 0.45);
  }
}

.try-pressing-circle-btn:hover {
  transform: scale(1.12) rotate(4deg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 28px 65px rgba(255, 180, 0, 0.55),
    0 0 45px rgba(255, 204, 2, 0.5),
    inset 0 3px 4px rgba(255, 255, 255, 1);
}

.try-pressing-circle-btn:active {
  transform: scale(0.95);
}

/* Compact Card for Pure Red Press Me Modal */
.wa-compact-card {
  width: min(310px, 86vw) !important;
  padding: 34px 28px 36px 28px !important;
  gap: 0 !important;
  background: radial-gradient(
    circle at 50% 30%,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 238, 240, 0.82) 55%,
    rgba(245, 238, 226, 0.88) 100%
  ) !important;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.2),
    0 0 60px rgba(255, 59, 48, 0.22),
    inset 0 1.5px 2px rgba(255, 255, 255, 1) !important;
}

/* Developer Reward Badge Pill */
.liquid-badge-red {
  background: rgba(255, 45, 85, 0.15) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(255, 45, 85, 0.4) !important;
  box-shadow: 0 4px 14px rgba(255, 45, 85, 0.18) !important;
  margin-bottom: 22px;
}

.badge-text-red {
  color: #ff2d55 !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 11.5px;
  text-transform: uppercase;
}

/* 3D Liquid Red Gem Circle Button */
.pure-red-press-btn {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50% !important;
  background: linear-gradient(145deg, #ff453a 0%, #ff2d55 50%, #d70015 100%) !important;
  border: 2px solid rgba(255, 255, 255, 0.95) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none !important;
  overflow: hidden !important;
  clip-path: circle(50% at 50% 50%) !important;
  box-shadow:
    0 22px 55px rgba(255, 45, 85, 0.58),
    0 0 35px rgba(255, 59, 48, 0.35),
    inset 0 4px 8px rgba(255, 255, 255, 0.7),
    inset 0 -6px 12px rgba(120, 0, 20, 0.4) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  animation: redGemPulse 2.4s ease-in-out infinite alternate !important;
}

.pure-red-press-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.45) 0%,
    transparent 50%
  );
  pointer-events: none;
  opacity: 0.8;
}

@keyframes redGemPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 22px 55px rgba(255, 45, 85, 0.58), 0 0 25px rgba(255, 59, 48, 0.35);
  }
  100% {
    transform: scale(1.07);
    box-shadow: 0 30px 70px rgba(255, 45, 85, 0.78), 0 0 45px rgba(255, 59, 48, 0.6);
  }
}

.pure-red-press-btn:hover {
  background: linear-gradient(145deg, #ff5e54 0%, #ff3b60 50%, #e00017 100%) !important;
  transform: scale(1.12) rotate(4deg);
  box-shadow:
    0 28px 75px rgba(255, 45, 85, 0.8),
    0 0 50px rgba(255, 59, 48, 0.6),
    inset 0 4px 10px rgba(255, 255, 255, 0.85) !important;
}

.pure-red-press-btn:active {
  transform: scale(0.95);
}

/* Profile Liquid Glass Dialog Modal */
.profile-dialog-card {
  width: min(360px, 92vw) !important;
  padding: 32px 20px 28px 20px !important;
  gap: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  background: radial-gradient(
    circle at 50% 20%,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 245, 235, 0.88) 60%,
    rgba(255, 235, 240, 0.9) 100%
  ) !important;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.18),
    0 0 50px rgba(255, 204, 2, 0.25),
    inset 0 1.5px 2px rgba(255, 255, 255, 1) !important;
}

.liquid-badge-gold {
  background: rgba(255, 204, 2, 0.18) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(255, 204, 2, 0.5) !important;
  box-shadow: 0 4px 14px rgba(255, 204, 2, 0.22) !important;
}

.badge-text-gold {
  color: #b38000 !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 11.5px;
  text-transform: uppercase;
}

.profile-avatar-wrapper {
  position: relative;
  margin: 4px 0 4px 0;
}

.profile-avatar-frame {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #ffcc02 0%, #ff2d55 50%, #af52de 100%);
  box-shadow:
    0 12px 30px rgba(255, 45, 85, 0.35),
    0 0 24px rgba(255, 204, 2, 0.45);
  animation: liquidCirclePulse 2.4s ease-in-out infinite alternate;
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 2px solid #ffffff;
}

.profile-age-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: linear-gradient(135deg, #ff2d55, #ff3b30);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 14px;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(255, 45, 85, 0.4);
}

.profile-info-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-name {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 26px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0;
  line-height: 1.15;
}

.profile-tagline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #6e6e73;
  margin: 0;
}

.profile-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 100%;
  margin-top: 4px;
}

.profile-detail-item {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.detail-label {
  font-size: 9.5px;
  font-weight: 700;
  color: #8e8e93;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.detail-val {
  font-size: 11px;
  font-weight: 800;
  color: #1d1d1f;
  white-space: nowrap;
}

.profile-wish-btn {
  width: 100% !important;
  margin-top: 6px !important;
  background: linear-gradient(135deg, #ff2d55 0%, #ff3b60 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow:
    0 12px 28px rgba(255, 45, 85, 0.4),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.6) !important;
  border-radius: 24px !important;
  padding: 14px 20px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.profile-wish-btn:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 16px 36px rgba(255, 45, 85, 0.55) !important;
}

/* Calendar Liquid Glass Dialog Modal */
.calendar-dialog-card {
  width: min(340px, 90vw) !important;
  padding: 30px 22px 26px 22px !important;
  gap: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  background: radial-gradient(
    circle at 50% 20%,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(245, 240, 255, 0.88) 60%,
    rgba(235, 240, 255, 0.9) 100%
  ) !important;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.18),
    0 0 50px rgba(175, 82, 222, 0.25),
    inset 0 1.5px 2px rgba(255, 255, 255, 1) !important;
}

.liquid-badge-purple {
  background: rgba(175, 82, 222, 0.15) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(175, 82, 222, 0.4) !important;
  box-shadow: 0 4px 14px rgba(175, 82, 222, 0.18) !important;
}

.badge-text-purple {
  color: #af52de !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 11.5px;
  text-transform: uppercase;
}

/* Glass Calendar Widget */
.glass-calendar-widget {
  width: 110px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 14px 35px rgba(175, 82, 222, 0.22),
    0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2px 0;
}

.calendar-month-banner {
  width: 100%;
  background: linear-gradient(135deg, #af52de, #5856d6);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 5px 0;
  text-transform: uppercase;
}

.calendar-day-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1;
  padding: 8px 0 2px 0;
}

.calendar-year-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #8e8e93;
  padding-bottom: 8px;
}

.calendar-info-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calendar-title {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 24px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0;
  line-height: 1.15;
}

.calendar-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: #6e6e73;
  margin: 0;
  line-height: 1.4;
}

.calendar-schedule-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}

.schedule-item {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.schedule-icon {
  font-size: 20px;
}

.schedule-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.schedule-time {
  font-size: 10px;
  font-weight: 700;
  color: #af52de;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.schedule-name {
  font-size: 12.5px;
  font-weight: 800;
  color: #1d1d1f;
}

.calendar-action-btn {
  width: 100% !important;
  margin-top: 4px !important;
  background: linear-gradient(135deg, #af52de 0%, #5856d6 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow:
    0 12px 28px rgba(175, 82, 222, 0.4),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.6) !important;
  border-radius: 24px !important;
  padding: 13px 20px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
}

.calendar-action-btn:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 16px 36px rgba(175, 82, 222, 0.55) !important;
}