/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  --pink-100: #fff0f6;
  --pink-200: #ffd6e7;
  --pink-300: #ffb3ce;
  --pink-400: #ff85b3;
  --pink-500: #ff5c96;
  --pink-600: #e63e7c;
  --rose: #ff4d8d;
  --blush: #ffadd2;
  --mauve: #d63384;
  --lavender: #c77dff;
  --purple: #7b2d8b;
  --gold: #ffd700;
  --cream: #fffaf6;

  --grad-hero: linear-gradient(135deg, #0d0010 0%, #1a0030 40%, #3d0066 100%);
  --grad-pink: linear-gradient(135deg, #ff85b3, #c77dff);
  --grad-card: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));

  --shadow-soft: 0 8px 32px rgba(230, 62, 124, 0.18);
  --shadow-glow: 0 0 40px rgba(255, 77, 141, 0.35);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Lato', sans-serif;
  --font-script: 'Dancing Script', cursive;

  --transition: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-gutter: stable;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: #0d0010;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

/* =========================================================
   FLOATING PARTICLES
   ========================================================= */
#particles-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  font-size: clamp(10px, 2vw, 22px);
  animation: floatUp linear infinite;
  opacity: 0;
  user-select: none;
}

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

  10% {
    opacity: 0.9;
  }

  90% {
    opacity: 0.6;
  }

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

/* =========================================================
   LOCK / PASSWORD SCREEN
   ========================================================= */
#lock-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-hero);
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#lock-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lock-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 77, 141, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-glow 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-glow {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
  }
}

.lock-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 52px 48px 44px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: card-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }

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

.lock-icon-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 28px;
}

.lock-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  animation: bob 4s ease-in-out infinite;
  filter: drop-shadow(0 8px 24px rgba(255, 77, 141, 0.5));
}

@keyframes bob {

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

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

.lock-shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 60%);
  animation: spin-shine 3s linear infinite;
}

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

.lock-title {
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 133, 179, 0.7);
  margin-bottom: 8px;
}

.lock-subtitle {
  font-size: 0.95rem;
  color: var(--blush);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.input-wrap {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.pw-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 133, 179, 0.4);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-sans);
  letter-spacing: 0.05em;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.pw-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.pw-input:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(255, 77, 141, 0.2);
}

.pw-input.error {
  border-color: #ff6b6b;
  animation: shake 0.4s ease;
}

@keyframes shake {

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

  20%,
  60% {
    transform: translateX(-8px);
  }

  40%,
  80% {
    transform: translateX(8px);
  }
}

.pw-btn {
  background: var(--grad-pink);
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 22px;
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.03em;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(255, 77, 141, 0.4);
}

.pw-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 77, 141, 0.55);
}

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

.lock-hint {
  font-size: 0.85rem;
  min-height: 20px;
  color: #ff9eb5;
  margin-bottom: 16px;
}

.lock-clue {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
}

/* =========================================================
   UNLOCK OVERLAY ANIMATION
   ========================================================= */
#unlock-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(255, 77, 141, 0.9) 0%, rgba(13, 0, 16, 0) 70%);
  pointer-events: none;
}

#unlock-overlay.hidden {
  display: none;
}

.unlock-burst {
  font-size: 6rem;
  animation: burst-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes burst-in {
  0% {
    transform: scale(0) rotate(-20deg);
    opacity: 1;
  }

  60% {
    transform: scale(1.4) rotate(10deg);
    opacity: 1;
  }

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

/* =========================================================
   MAIN SITE
   ========================================================= */
#main-site {
  position: relative;
  z-index: 1;
}

#main-site.hidden {
  display: none;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: rgba(13, 0, 16, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 133, 179, 0.1);
  transform: translateY(-100%);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav.visible {
  transform: translateY(0);
}

.nav-logo {
  font-family: var(--font-script);
  font-size: 1.3rem;
  background: var(--grad-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--rose);
  transition: width var(--transition);
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  width: 100%;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: saturate(1.1);
  transform: scale(1.05);
  animation: slow-zoom 20s ease-in-out infinite alternate;
}

@keyframes slow-zoom {
  from {
    transform: scale(1.05);
  }

  to {
    transform: scale(1.12);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(13, 0, 16, 0.35) 0%,
      rgba(13, 0, 16, 0.2) 40%,
      rgba(13, 0, 16, 0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 24px 60px;
  max-width: 780px;
}

.hero-eyebrow {
  font-family: var(--font-script);
  font-size: clamp(1rem, 3vw, 1.4rem);
  color: var(--blush);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  background: var(--grad-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--grad-pink);
  color: #fff;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 30px rgba(255, 77, 141, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(255, 77, 141, 0.6);
}

.cta-arrow {
  font-size: 1.2rem;
  animation: bounce-arrow 1.4s ease-in-out infinite;
}

@keyframes bounce-arrow {

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

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

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  z-index: 2;
  animation: fade-pulse 2s ease-in-out infinite;
}

@keyframes fade-pulse {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

/* =========================================================
   SECTION COMMONS
   ========================================================= */
.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 24px;
  text-align: center;
}

.section-badge {
  display: inline-block;
  background: rgba(255, 133, 179, 0.15);
  border: 1px solid rgba(255, 133, 179, 0.3);
  color: var(--blush);
  border-radius: 50px;
  padding: 6px 20px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  text-shadow: 0 2px 20px rgba(255, 77, 141, 0.2);
}

.section-sub {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 56px;
}

/* =========================================================
   ANIMATE UP (scroll-triggered via JS)
   ========================================================= */
.animate-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.25s;
}

.delay-3 {
  transition-delay: 0.4s;
}

.delay-4 {
  transition-delay: 0.55s;
}

/* =========================================================
   LETTER SECTION
   ========================================================= */
.letter-section {
  background: linear-gradient(180deg, #0d0010 0%, #1a0030 100%);
  position: relative;
  overflow: hidden;
}

.letter-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(199, 125, 255, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.letter-paper {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 133, 179, 0.2);
  border-radius: var(--radius-lg);
  padding: 60px 56px;
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.letter-paper::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-family: var(--font-serif);
  font-size: 7rem;
  color: rgba(255, 133, 179, 0.1);
  line-height: 1;
  pointer-events: none;
}

.letter-header {
  margin-bottom: 28px;
}

.letter-date {
  font-size: 0.82rem;
  color: var(--blush);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.letter-salutation {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 24px;
}

.letter-body p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 20px;
}

.letter-closing {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 32px;
  line-height: 1.8;
}

.letter-sig {
  font-family: var(--font-script);
  font-size: 1.6rem;
  background: var(--grad-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-top: 4px;
}

.letter-doodles {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 32px;
  font-size: 1.4rem;
  opacity: 0.6;
}

/* =========================================================
   MEMORIES GALLERY
   ========================================================= */
.memories-section {
  background: linear-gradient(180deg, #1a0030 0%, #0d001a 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 16px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.gallery-card:hover img {
  transform: scale(1.07);
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(255, 77, 141, 0.3);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 0, 16, 0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.card-caption {
  font-family: var(--font-script);
  font-size: 1.1rem;
  color: #fff;
}

.card-tall {
  grid-row: 1 / 3;
}

.card-wide {
  grid-column: 1 / 3;
  width: calc(50% - 8px);
  justify-self: center;
}

.card-wide img {
  object-position: center;
}

/* =========================================================
   REASONS SECTION
   ========================================================= */
.reasons-section {
  background: linear-gradient(180deg, #0d001a 0%, #1a0030 100%);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.reason-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 133, 179, 0.15);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  animation: none;
}

.reason-card.visible {
  animation: card-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--delay) both;
}

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

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

.reason-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.reason-card:hover::after {
  transform: scaleX(1);
}

.reason-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 133, 179, 0.4);
  box-shadow: 0 16px 40px rgba(255, 77, 141, 0.2);
}

.reason-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 8px rgba(255, 133, 179, 0.5));
}

.reason-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
}

.reason-card p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.75;
}

/* =========================================================
   COUNTDOWN SECTION
   ========================================================= */
.countdown-section {
  background: linear-gradient(180deg, #1a0030 0%, #0d0010 100%);
  position: relative;
  overflow: hidden;
}

.countdown-section::after {
  content: '∞';
  position: absolute;
  bottom: -60px;
  right: 40px;
  font-size: 20rem;
  color: rgba(255, 133, 179, 0.04);
  font-family: var(--font-serif);
  pointer-events: none;
  line-height: 1;
}

.together-date-wrap {
  margin-top: 12px;
}

.together-date-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 40px;
  font-style: italic;
}

.together-date-label code {
  background: rgba(255, 133, 179, 0.15);
  border-radius: 4px;
  padding: 2px 8px;
  font-family: monospace;
  color: var(--blush);
  font-style: normal;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.count-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 133, 179, 0.2);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  min-width: 130px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.count-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255, 77, 141, 0.25);
}

.count-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-pink);
  opacity: 0.07;
}

.count-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  background: var(--grad-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.count-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.count-subtitle {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.6);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #0d0010;
  border-top: 1px solid rgba(255, 133, 179, 0.1);
  padding: 48px 24px;
  text-align: center;
}

.footer-hearts {
  font-size: 2rem;
  margin-bottom: 16px;
  animation: pulse-heart 1.5s ease-in-out infinite;
}

@keyframes pulse-heart {

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

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

.footer-text {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.footer-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.1em;
}

/* =========================================================
   FLOATING MUSIC TOGGLE
   ========================================================= */
.music-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 133, 179, 0.3);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition);
}

.music-toggle:hover {
  transform: scale(1.1);
  background: rgba(255, 133, 179, 0.15);
  border-color: var(--rose);
}

.music-toggle:active {
  transform: scale(0.95);
}

.music-toggle.hidden {
  display: none;
}

/* Make it spin slightly when playing */
.music-toggle:not(.paused) .music-icon {
  display: inline-block;
  animation: music-spin 4s linear infinite;
}

@keyframes music-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
  .hero-bg-img {
    object-position: top center;
    transform: scale(1.01);
    animation: slow-zoom-mobile 20s ease-in-out infinite alternate;
  }

  @keyframes slow-zoom-mobile {
    from {
      transform: scale(1.01);
    }
    to {
      transform: scale(1.05);
    }
  }

  .nav {
    padding: 14px 20px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-link {
    font-size: 0.78rem;
  }

  .letter-paper {
    padding: 36px 28px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .card-tall {
    grid-row: auto;
  }

  .card-wide {
    grid-column: 1 / 3;
  }

  .reasons-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lock-card {
    padding: 40px 28px;
  }

  .input-wrap {
    flex-direction: column;
  }

  .count-box {
    min-width: 110px;
    padding: 24px 16px;
  }
}

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

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .card-wide {
    grid-column: 1;
    width: 100%;
  }

  .nav-links {
    display: none;
  }
}
