/* =============================================
   Happy Birthday Ahona — Premium Stylesheet
   ============================================= */

:root {
  --bg-deep: #120c10;
  --bg-mid: #1c1218;
  --bg-card: rgba(255, 245, 248, 0.05);
  --rose-gold: #c9956c;
  --rose-gold-bright: #e8b896;
  --blush: #f2c4ce;
  --blush-deep: #b76e79;
  --dusty-rose: #d4a5a5;
  --champagne: #e8dcc8;
  --cream: #fff5f7;
  --muted: rgba(255, 245, 247, 0.58);
  --border: rgba(242, 196, 206, 0.2);
  --glass-blur: 28px;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-display: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-accent: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --nav-height: 52px;
}

/* Generic utility: completely hides an element (panel, icons, equalizer) */
.hidden {
  display: none !important;
}

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

/* Image & Media protection against dragging/copying */
img, video {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  height: 100%;
}

html,
body {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  position: fixed;
  inset: 0;
}

/* ---- Background ---- */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-gradient {
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(183, 110, 121, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 100% 60%, rgba(201, 149, 108, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 0% 80%, rgba(242, 196, 206, 0.1) 0%, transparent 45%),
    linear-gradient(180deg, #120c10 0%, #1a1016 40%, #140e12 100%);
}

.bg-mesh {
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(242, 196, 206, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 196, 206, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 75%);
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: orb-drift 22s ease-in-out infinite;
}

.bg-orb--1 {
  width: 420px;
  height: 420px;
  background: rgba(183, 110, 121, 0.22);
  top: -8%;
  left: 15%;
}

.bg-orb--2 {
  width: 340px;
  height: 340px;
  background: rgba(201, 149, 108, 0.16);
  bottom: 5%;
  right: 8%;
  animation-delay: -8s;
}

.bg-orb--3 {
  width: 280px;
  height: 280px;
  background: rgba(242, 196, 206, 0.14);
  top: 45%;
  left: -6%;
  animation-delay: -15s;
}

@keyframes orb-drift {

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

  33% {
    transform: translate(25px, -18px) scale(1.06);
  }

  66% {
    transform: translate(-18px, 12px) scale(0.94);
  }
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

#confetti {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

/* ---- Progress bar ---- */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.06);
}

.progress-bar__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blush-deep), var(--rose-gold-bright), var(--blush));
  transition: width 0.8s var(--ease-out);
  box-shadow: 0 0 12px rgba(242, 196, 206, 0.45);
}

/* ---- Step nav — moved to TOP so it won't hide buttons ---- */
.step-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(18, 12, 16, 0.82);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), visibility 0.5s;
  will-change: opacity, transform;
}

.step-nav.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(-24px);
  pointer-events: none;
  visibility: hidden;
}

.step-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  padding: 0;
  touch-action: manipulation;
}

/* Touch hit-area expander for phone browsers */
.step-dot::after {
  content: '';
  position: absolute;
  top: -12px;
  bottom: -12px;
  left: -8px;
  right: -8px;
}

.step-dot:hover {
  background: rgba(242, 196, 206, 0.55);
  transform: scale(1.2);
}

.step-dot.active {
  width: 26px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--blush-deep), var(--blush));
  box-shadow: 0 0 10px rgba(242, 196, 206, 0.45);
}

/* ---- Sections ---- */
.section {
  position: fixed;
  inset: 0;
  z-index: 10;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: calc(var(--nav-height) + 36px + env(safe-area-inset-top, 0px)) clamp(20px, 6vw, 100px) calc(48px + env(safe-area-inset-bottom, 0px));
  opacity: 0;
  visibility: hidden;
  transform: translateX(60px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(242, 196, 206, 0.35) transparent;
  pointer-events: none;
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out),
    visibility 0.7s;
}

.section::-webkit-scrollbar {
  width: 5px;
}

.section::-webkit-scrollbar-thumb {
  background: rgba(242, 196, 206, 0.35);
  border-radius: var(--radius-pill);
}

.section.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.section.exit-left {
  transform: translateX(-60px);
  opacity: 0;
}

.section__inner {
  width: 100%;
  max-width: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-height: min(100%, calc(100dvh - var(--nav-height) - 84px));
  overflow: visible;
}

.section--tall .section__inner {
  justify-content: flex-start;
  padding-top: 8px;
  padding-bottom: 16px;
}

/* ---- Typography ---- */
.label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rose-gold-bright);
  margin-bottom: 14px;
}

.title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}

.title--gradient {
  background: linear-gradient(135deg, var(--cream) 0%, var(--blush) 45%, var(--rose-gold-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-family: var(--font-accent);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 400;
  font-style: italic;
  color: var(--muted);
  max-width: min(720px, 90vw);
  margin: 0 auto 32px;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.ornament__line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blush), transparent);
}

.ornament__gem {
  width: 7px;
  height: 7px;
  background: var(--blush);
  transform: rotate(45deg);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(242, 196, 206, 0.55);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 20px;
  background: transparent;
  border: 1px solid var(--blush-deep);
  border-radius: var(--radius-pill);
  color: var(--blush);
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
  transition: color 0.35s, border-color 0.35s, box-shadow 0.35s, transform 0.25s;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blush-deep) 0%, var(--blush) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
  z-index: -1;
  border-radius: var(--radius-pill);
}

.btn:hover {
  color: var(--bg-deep);
  border-color: var(--blush);
  box-shadow: 0 6px 22px rgba(183, 110, 121, 0.28);
  transform: translateY(-2px);
}

.btn:hover::before {
  transform: scaleX(1);
}

.btn svg {
  width: 9px;
  height: 9px;
  pointer-events: none;
  transition: transform 0.3s var(--ease-out);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
  width: 100%;
  padding-bottom: 0.5cm;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--muted);
}

.btn--ghost::before {
  background: rgba(255, 255, 255, 0.08);
}

.btn--ghost:hover {
  color: var(--cream);
  border-color: rgba(255, 255, 255, 0.38);
}

/* ---- Glass panel ---- */
.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  padding: clamp(28px, 5vw, 44px);
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blush), transparent);
}

.panel p {
  font-family: var(--font-accent);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 245, 247, 0.9);
}

/* ---- Reveal animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.section.active .reveal {
  opacity: 1;
  transform: translateY(0);
}

.section.active .reveal:nth-child(1) {
  transition-delay: 0.05s;
}

.section.active .reveal:nth-child(2) {
  transition-delay: 0.12s;
}

.section.active .reveal:nth-child(3) {
  transition-delay: 0.19s;
}

.section.active .reveal:nth-child(4) {
  transition-delay: 0.26s;
}

.section.active .reveal:nth-child(5) {
  transition-delay: 0.33s;
}

.section.active .reveal:nth-child(6) {
  transition-delay: 0.4s;
}

/* =============================================
   SECTION 1 — Intro
   ============================================= */
.intro {
  text-align: center;
}

.intro__badge {
  width: 100px;
  height: 100px;
  margin: 0 auto 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: badge-pulse 3s ease-in-out infinite;
}

.intro__badge::before,
.intro__badge::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(242, 196, 206, 0.15);
}

.intro__badge::before {
  inset: -10px;
  animation: ring-spin 12s linear infinite;
}

.intro__badge::after {
  inset: -22px;
  animation: ring-spin 18s linear infinite reverse;
}

@keyframes badge-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(242, 196, 206, 0.2);
  }

  50% {
    box-shadow: 0 0 0 18px rgba(242, 196, 206, 0);
  }
}

@keyframes ring-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.intro__badge svg {
  width: 40px;
  height: 40px;
  color: var(--blush);
  filter: drop-shadow(0 0 10px rgba(242, 196, 206, 0.45));
}

.typewriter {
  display: inline;
  border-right: 2px solid var(--blush);
  animation: blink-cursor 0.8s step-end infinite;
}

@keyframes blink-cursor {
  50% {
    border-color: transparent;
  }
}

.intro__meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.meta-item {
  text-align: center;
  padding: 20px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-width: 120px;
}

.meta-item__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--blush);
  display: block;
}

.meta-item__label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* =============================================
   SECTION 2 — Photo Gallery
   ============================================= */
.gallery {
  text-align: center;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 20px);
  margin-top: 28px;
  width: 100%;
}

.photo-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  cursor: default;
  background: var(--bg-card);
  transition: transform 0.45s var(--ease-spring), box-shadow 0.45s, border-color 0.45s;
  animation: photo-in 0.7s var(--ease-out) both;
}

.section.active .photo-card:nth-child(1) {
  animation-delay: 0.08s;
}

.section.active .photo-card:nth-child(2) {
  animation-delay: 0.16s;
}

.section.active .photo-card:nth-child(3) {
  animation-delay: 0.24s;
}

.section.active .photo-card:nth-child(4) {
  animation-delay: 0.32s;
}

.section.active .photo-card:nth-child(5) {
  animation-delay: 0.4s;
}

.section.active .photo-card:nth-child(6) {
  animation-delay: 0.48s;
}

@keyframes photo-in {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }

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

.photo-card:hover {
  transform: scale(1.03);
  border-color: rgba(242, 196, 206, 0.45);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

.photo-card:hover img {
  transform: scale(1.06);
}

.photo-card__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(18, 12, 16, 0.88));
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--cream);
  text-align: left;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
}

.photo-card:hover .photo-card__caption {
  transform: translateY(0);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(18, 12, 16, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: min(900px, 92vw);
  max-height: 80vh;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s;
}

.lightbox__close:hover {
  background: rgba(242, 196, 206, 0.15);
  border-color: var(--blush);
}

.lightbox__caption {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--blush);
}

@media (max-width: 768px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   SECTION 3 — About Her
   ============================================= */
.about {
  text-align: center;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(14px, 2vw, 24px);
  margin-top: 28px;
  width: 100%;
  text-align: left;
}

@media (min-width: 1100px) {
  .info-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
  animation: card-float 0.6s var(--ease-out) both;
}

.section.active .info-card:nth-child(1) {
  animation-delay: 0.15s;
}

.section.active .info-card:nth-child(2) {
  animation-delay: 0.25s;
}

.section.active .info-card:nth-child(3) {
  animation-delay: 0.35s;
}

.section.active .info-card:nth-child(4) {
  animation-delay: 0.45s;
}

@keyframes card-float {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 196, 206, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.info-card__icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  background: rgba(242, 196, 206, 0.06);
}

.info-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--cream);
}

.info-card__text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* =============================================
   SECTION 4 — Timeline
   ============================================= */
.timeline-wrap {
  text-align: center;
}

.timeline {
  position: relative;
  margin-top: 36px;
  padding-left: 0;
  width: 100%;
  max-width: min(900px, 100%);
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.timeline__item {
  position: relative;
  padding: 20px 24px 24px 24px;
  margin-bottom: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.section.active .timeline__item {
  opacity: 1;
  transform: translateX(0);
}

.section.active .timeline__item:nth-child(1) {
  transition-delay: 0.1s;
}

.section.active .timeline__item:nth-child(2) {
  transition-delay: 0.22s;
}

.section.active .timeline__item:nth-child(3) {
  transition-delay: 0.34s;
}

.section.active .timeline__item:nth-child(4) {
  transition-delay: 0.46s;
}

.timeline__year {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose-gold-bright);
  margin-bottom: 6px;
}

.timeline__heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.timeline__desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* =============================================
   SECTION 5 — Love Letter
   ============================================= */
.letter {
  text-align: center;
}

.letter .panel {
  text-align: left;
  margin-top: 8px;
  width: 100%;
  max-width: min(960px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.letter .panel p+p {
  margin-top: 18px;
}

.signature-block {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  text-align: right;
}

.signature-block__from {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rose-gold-bright);
}

.signature-block__name {
  font-family: var(--font-accent);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--cream);
  margin-top: 6px;
}

/* =============================================
   SECTION 6 — Wishes
   ============================================= */
.wishes {
  text-align: center;
}

.wish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin-top: 28px;
  width: 100%;
}

@media (min-width: 900px) {
  .wish-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.wish-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  transition: transform 0.35s var(--ease-spring), border-color 0.35s;
  cursor: default;
}

.wish-card:hover {
  transform: scale(1.04);
  border-color: rgba(242, 196, 206, 0.45);
}

.wish-card__emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
  animation: wish-bounce 2s ease-in-out infinite;
}

.wish-card:nth-child(2) .wish-card__emoji {
  animation-delay: -0.3s;
}

.wish-card:nth-child(3) .wish-card__emoji {
  animation-delay: -0.6s;
}

.wish-card:nth-child(4) .wish-card__emoji {
  animation-delay: -0.9s;
}

.wish-card:nth-child(5) .wish-card__emoji {
  animation-delay: -1.2s;
}

.wish-card:nth-child(6) .wish-card__emoji {
  animation-delay: -1.5s;
}

@keyframes wish-bounce {

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

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

.wish-card__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.wish-card__text {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
}

/* =============================================
   SECTION 7 — Stats
   ============================================= */
.stats {
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: clamp(14px, 2vw, 24px);
  margin-top: 32px;
  width: 100%;
}

@media (min-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 16px;
  position: relative;
  overflow: hidden;
}

.stat-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blush), transparent);
  transform: scaleX(0);
  transition: transform 0.8s var(--ease-out);
}

.section.active .stat-box::after {
  transform: scaleX(1);
}

.stat-box__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 400;
  color: var(--blush);
  line-height: 1;
  display: block;
}

.stat-box__suffix {
  font-size: 1.2rem;
  color: var(--rose-gold-bright);
}

.stat-box__label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}

.stats-note {
  margin-top: 28px;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--dusty-rose);
}

/* =============================================
   SECTION 8 — Finale
   ============================================= */
.finale {
  text-align: center;
}

.cake-stage {
  position: relative;
  margin: 20px auto 36px;
  width: fit-content;
}

.cake-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(242, 196, 206, 0.22) 0%, transparent 65%);
  border-radius: 50%;
  animation: glow-breathe 2.5s ease-in-out infinite;
}

@keyframes glow-breathe {

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

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.cake-emoji {
  font-size: clamp(4.5rem, 14vw, 7rem);
  display: block;
  position: relative;
  z-index: 1;
  animation: cake-float 3s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
}

@keyframes cake-float {

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

  50% {
    transform: translateY(-18px) rotate(2deg);
  }
}

.candles-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: -16px;
  position: relative;
  z-index: 2;
}

.candle {
  width: 5px;
  height: 28px;
  background: linear-gradient(180deg, var(--blush) 0%, var(--blush-deep) 100%);
  border-radius: var(--radius-pill);
  position: relative;
}

.candle__flame {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 16px;
  background: radial-gradient(ellipse, #fffacd 0%, #ffb347 50%, transparent 75%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: flame-flicker 0.6s ease-in-out infinite alternate;
}

@keyframes flame-flicker {
  0% {
    opacity: 0.85;
    transform: translateX(-50%) scale(1);
  }

  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1.15);
  }
}

.finale__message {
  font-family: var(--font-accent);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-style: italic;
  color: var(--dusty-rose);
  line-height: 1.7;
  max-width: min(680px, 90vw);
  margin: 0 auto;
}

.finale__tagline {
  margin-top: 20px;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose-gold-bright);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  :root {
    --glass-blur: 10px;
  }

  .bg-orb {
    filter: blur(40px);
  }

  .panel {
    background: rgba(24, 16, 22, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .step-nav {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(18, 12, 16, 0.92);
  }
}

@media (max-width: 600px) {
  :root {
    --nav-height: 44px;
  }

  .section {
    padding: calc(var(--nav-height) + 24px + env(safe-area-inset-top, 0px)) 16px calc(36px + env(safe-area-inset-bottom, 0px));
  }

  .step-nav {
    top: calc(12px + env(safe-area-inset-top, 0px));
    gap: 6px;
    padding: 8px 14px;
  }

  .btn-group {
    margin-top: 24px;
    gap: 10px;
  }

  .btn {
    padding: 12px 22px;
    letter-spacing: 0.15em;
    font-size: 0.7rem;
    touch-action: manipulation;
  }

  .intro__meta {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    gap: 6px;
    margin-top: 24px;
  }

  .meta-item {
    flex: 1 1 0%;
    min-width: 0;
    padding: 10px 4px;
    border-radius: var(--radius-sm);
  }

  .meta-item__value {
    font-size: clamp(0.95rem, 3.8vw, 1.25rem);
    white-space: nowrap;
  }

  .meta-item__label {
    font-size: clamp(0.5rem, 2.2vw, 0.62rem);
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .lightbox__img {
    max-width: 96vw;
    max-height: 75vh;
  }

  .lightbox__close {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

/* =============================================
   PASSCODE LOCK MODAL 
   ============================================= */

.passcode-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(10, 6, 9, 0.94);
  backdrop-filter: blur(28px) saturate(1.3);
  -webkit-backdrop-filter: blur(28px) saturate(1.3);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.5s ease;
}

.passcode-modal-backdrop.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.passcode-modal-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: linear-gradient(145deg,
      rgba(38, 22, 32, 0.94) 0%,
      rgba(22, 12, 19, 0.97) 100%);
  border: 1px solid rgba(242, 196, 206, 0.32);
  border-radius: 28px;
  padding: 2.25rem 1.75rem 2rem 1.75rem;
  box-shadow:
    0 24px 60px -12px rgba(0, 0, 0, 0.85),
    0 0 50px rgba(183, 110, 121, 0.22),
    inset 0 1px 0 rgba(255, 245, 247, 0.3);
  text-align: center;
  animation: passcodePopIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.passcode-modal-card.unlocked-glow {
  border-color: rgba(114, 224, 150, 0.8) !important;
  box-shadow:
    0 24px 60px -12px rgba(0, 0, 0, 0.85),
    0 0 50px rgba(114, 224, 150, 0.4),
    inset 0 1px 0 rgba(255, 245, 247, 0.4) !important;
}

.passcode-modal-card.shake {
  animation: passcodeShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes passcodePopIn {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(18px);
  }

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

@keyframes passcodeShake {

  10%,
  90% {
    transform: translate3d(-2px, 0, 0);
  }

  20%,
  80% {
    transform: translate3d(4px, 0, 0);
  }

  30%,
  50%,
  70% {
    transform: translate3d(-8px, 0, 0);
  }

  40%,
  60% {
    transform: translate3d(8px, 0, 0);
  }
}

.passcode-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.passcode-icon-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 149, 108, 0.25) 0%, rgba(183, 110, 121, 0.12) 100%);
  border: 1px solid rgba(242, 196, 206, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--rose-gold-bright);
  box-shadow: 0 0 25px rgba(201, 149, 108, 0.2);
}

.passcode-icon-badge svg {
  width: 30px;
  height: 30px;
}

.passcode-modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 5vw, 1.45rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.passcode-modal-subtitle {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}

.passcode-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.passcode-input-group {
  position: relative;
  width: 100%;
}

.passcode-input {
  width: 100%;
  height: 52px;
  background: rgba(255, 245, 248, 0.07);
  border: 1.5px solid rgba(242, 196, 206, 0.3);
  border-radius: 16px;
  padding: 0 3.2rem 0 1.25rem;
  color: var(--cream);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 6px;
  text-align: center;
  font-family: var(--font-body);
  transition: all 0.25s ease;
}

.passcode-input::placeholder {
  color: rgba(255, 245, 247, 0.35);
  letter-spacing: 1px;
  font-size: 1rem;
  font-weight: 400;
}

.passcode-input:focus {
  outline: none;
  background: rgba(255, 245, 248, 0.12);
  border-color: var(--rose-gold-bright);
  box-shadow: 0 0 20px rgba(232, 184, 150, 0.35);
}

.passcode-vis-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: color 0.2s ease;
}

.passcode-vis-btn:hover {
  color: var(--cream);
}

.passcode-eye-icon {
  width: 20px;
  height: 20px;
}

.passcode-error-msg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #ff8ca3;
  background: rgba(255, 140, 163, 0.1);
  border: 1px solid rgba(255, 140, 163, 0.25);
  padding: 0.6rem 1rem;
  border-radius: 12px;
}

.passcode-error-msg svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.passcode-submit-btn {
  width: 100%;
  height: 50px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 16px;
}

/* =============================================
   MUSIC WELCOME MODAL & TOP-RIGHT NAVIGATION
   ============================================= */

/* Modal Backdrop */
.music-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(10, 6, 9, 0.82);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.4s ease;
}

.music-modal-backdrop.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Modal Glass Card */
.music-modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: linear-gradient(145deg,
      rgba(40, 24, 34, 0.92) 0%,
      rgba(25, 14, 21, 0.95) 100%);
  border: 1px solid rgba(242, 196, 206, 0.28);
  border-radius: 28px;
  padding: 2.25rem 1.75rem 2rem 1.75rem;
  box-shadow:
    0 24px 60px -12px rgba(0, 0, 0, 0.75),
    0 0 40px rgba(183, 110, 121, 0.18),
    inset 0 1px 0 rgba(255, 245, 247, 0.25);
  text-align: center;
  animation: modalPopIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes modalPopIn {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(18px);
  }

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

.music-modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.music-modal-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201, 149, 108, 0.35), rgba(183, 110, 121, 0.45));
  border: 1px solid rgba(242, 196, 206, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blush);
  box-shadow: 0 8px 20px rgba(183, 110, 121, 0.25);
}

.music-modal-icon svg {
  width: 26px;
  height: 26px;
}

.music-modal-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.3;
}

.music-modal-subtitle {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.music-modal-track-info {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 245, 247, 0.07);
  border: 1px solid rgba(242, 196, 206, 0.18);
  margin-bottom: 1.5rem;
}

.track-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rose-gold-bright);
}

.track-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cream);
}

.music-modal-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(18, 10, 15, 0.6);
  border-radius: 20px;
  border: 1px solid rgba(242, 196, 206, 0.12);
  margin-bottom: 1.5rem;
}

.modal-control-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blush-deep), var(--rose-gold));
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(183, 110, 121, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
  touch-action: manipulation;
}

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

.modal-btn-icon {
  width: 20px;
  height: 20px;
}

.modal-volume-wrapper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
}

.modal-vol-icon-btn {
  background: none;
  border: none;
  color: var(--blush);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  touch-action: manipulation;
}

.modal-vol-icon-btn svg {
  width: 18px;
  height: 18px;
}

/* Custom Styled Volume Range Slider */
.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(242, 196, 206, 0.2);
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--rose-gold-bright);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.volume-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blush);
  min-width: 32px;
  text-align: right;
}

.music-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn--modal-primary {
  width: 100%;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blush-deep), var(--rose-gold));
  color: #ffffff;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(183, 110, 121, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  touch-action: manipulation;
}

.btn--modal-primary:active {
  transform: scale(0.97);
}

.btn--modal-ghost {
  width: 100%;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid rgba(242, 196, 206, 0.15);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  touch-action: manipulation;
}

.btn--modal-ghost:hover {
  background: rgba(255, 245, 247, 0.06);
  color: var(--cream);
}

/* =============================================
   TOP-LEFT MUSIC NAVIGATION BAR
   ============================================= */
.music-nav-container {
  position: fixed;
  top: max(0.85rem, env(safe-area-inset-top, 0.85rem));
  left: max(0.85rem, env(safe-area-inset-left, 0.85rem));
  z-index: 9999;
  pointer-events: auto;
  min-width: 38px;
  min-height: 38px;
}

/* Single Round Floating Music Trigger Button (Collapsed State) */
.music-trigger-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(42, 24, 36, 0.88), rgba(22, 12, 18, 0.92));
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(242, 196, 206, 0.35);
  color: var(--rose-gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 8px 24px -4px rgba(0, 0, 0, 0.65),
    0 0 16px rgba(183, 110, 121, 0.25);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  touch-action: manipulation;
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 10000;
}

.music-trigger-btn:active {
  transform: scale(0.92);
}

.music-trigger-btn.playing {
  border-color: var(--rose-gold-bright);
  box-shadow:
    0 8px 24px -4px rgba(0, 0, 0, 0.7),
    0 0 20px rgba(232, 184, 150, 0.4);
  animation: pulseGlow 2.5s ease-in-out infinite;
}

@keyframes pulseGlow {

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

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

.music-btn-icon {
  width: 15px;
  height: 15px;
}

/* Expanded Music Panel Card */
.music-panel-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 275px;
  background: linear-gradient(145deg, rgba(38, 22, 32, 0.96), rgba(22, 12, 18, 0.98));
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(242, 196, 206, 0.3);
  border-radius: 22px;
  padding: 0.65rem 0.95rem 0.95rem 0.95rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 9999;
  transform-origin: top left;
  animation: panelSlideIn 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes panelSlideIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

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

.music-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(242, 196, 206, 0.12);
  padding-bottom: 0.5rem;
  padding-left: 44px;
  min-height: 38px;
}

.music-panel-title-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.track-sub {
  font-size: 0.78rem;
  color: var(--muted);
}

.panel-close-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  touch-action: manipulation;
}

.panel-close-btn:hover {
  color: var(--cream);
}

/* Separate Play and Pause Buttons */
.music-panel-playback-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.playback-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(242, 196, 206, 0.2);
  background: rgba(255, 245, 247, 0.06);
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  touch-action: manipulation;
}

.playback-btn svg {
  width: 14px;
  height: 14px;
}

.playback-btn.play-btn:hover,
.playback-btn.play-btn.active {
  background: linear-gradient(135deg, var(--blush-deep), var(--rose-gold));
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(183, 110, 121, 0.4);
}

.playback-btn.pause-btn:hover,
.playback-btn.pause-btn.active {
  background: rgba(242, 196, 206, 0.18);
  border-color: rgba(242, 196, 206, 0.35);
  color: var(--rose-gold-bright);
}

.music-panel-vol-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(16, 9, 13, 0.5);
  padding: 0.45rem 0.65rem;
  border-radius: 14px;
}

.vol-icon-btn {
  background: none;
  border: none;
  color: var(--blush);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  touch-action: manipulation;
}

.vol-icon-btn svg {
  width: 16px;
  height: 16px;
}

.vol-step-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(242, 196, 206, 0.25);
  background: rgba(255, 245, 247, 0.08);
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
  flex-shrink: 0;
}

.vol-step-btn:active {
  background: rgba(242, 196, 206, 0.25);
}

.nav-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  position: absolute;
  bottom: 4px;
  right: 4px;
}

.nav-equalizer .eq-bar {
  width: 2px;
  height: 8px;
  border-radius: 2px;
  background-color: var(--rose-gold-bright);
  animation: barBounce 0.9s ease-in-out infinite;
}

.nav-equalizer .eq-bar:nth-child(1) {
  animation-delay: 0s;
}

.nav-equalizer .eq-bar:nth-child(2) {
  animation-delay: 0.13s;
}

.nav-equalizer .eq-bar:nth-child(3) {
  animation-delay: 0.26s;
}

/* Phone Browser Specific Responsiveness */
@media (max-width: 600px) {
  .music-modal-card {
    padding: 1.75rem 1.25rem 1.5rem 1.25rem;
    border-radius: 24px;
  }

  .music-modal-title {
    font-size: 1.15rem;
  }

  .music-trigger-btn {
    width: 36px;
    height: 36px;
  }

  .music-note-icon {
    width: 20px;
    height: 20px;
  }

  .music-panel-card {
    width: 250px;
    padding: 0.85rem 0.95rem;
  }
}