/* ============================================================
   BIRTHDAY WEBSITE — Custom CSS
   Color Palette:
     --blue-soft : #DDEEFD  (background utama)
     --warm      : #DCCBBA  (secondary/aksen)
     --dark      : #000000  (text utama)
   ============================================================ */

/* ── CSS VARIABLES ─────────────────────────────────────── */
:root {
  --blue-soft  : #DDEEFD;
  --blue-mid   : #c4dff9;
  --blue-deep  : #a8ccf0;
  --warm       : #DCCBBA;
  --warm-light : #ede3d8;
  --warm-deep  : #c9b09a;
  --dark       : #000000;
  --text-body  : #2a2a2a;
  --text-muted : #6b6b6b;
  --white      : #ffffff;
  --shadow-sm  : 0 4px 20px rgba(0,0,0,0.06);
  --shadow-md  : 0 8px 40px rgba(0,0,0,0.10);
  --shadow-lg  : 0 16px 60px rgba(0,0,0,0.14);
  --radius     : 20px;
  --radius-lg  : 32px;
  --transition : 0.4s 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;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--blue-soft);
  color: var(--text-body);
  overflow-x: hidden;
  max-width: 100%;
  line-height: 1.75;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
  line-height: 1.3;
}

p { color: var(--text-body); }

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

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

.section-padding { padding: 100px 0; }

/* ── LOADING SCREEN ──────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--blue-soft);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

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

.loader-heart {
  font-size: 3rem;
  color: #e8a0b0;
  animation: heartbeat 1s ease-in-out infinite;
  margin-bottom: 1rem;
}

.loader-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--text-muted);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

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

/* ── NAVBAR ─────────────────────────────────────────────── */
#navbar {
  background: transparent;
  padding: 1.2rem 0;
  transition: all 0.4s ease;
}

#navbar.scrolled {
  background: rgba(221, 238, 253, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.8rem 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.07);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--dark) !important;
  letter-spacing: 0.02em;
}

.navbar-brand i { color: #e8a0b0; }

.nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
  letter-spacing: 0.02em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 1.5px;
  background: var(--warm-deep);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

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

.navbar-toggler {
  border: none;
  color: var(--dark);
  font-size: 1.2rem;
  padding: 0.3rem 0.6rem;
}

.navbar-toggler:focus { box-shadow: none; }

/* ── HERO SECTION ───────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #e8f3fd 0%,
    #ddeefd 30%,
    #e8e0d8 70%,
    #dccbba 100%
  );
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.layer-1 {
  background: radial-gradient(ellipse 80% 60% at 20% 40%, rgba(220,203,186,0.3) 0%, transparent 70%);
}

.layer-2 {
  background: radial-gradient(ellipse 70% 50% at 80% 70%, rgba(168,204,240,0.25) 0%, transparent 70%);
}

/* Petals */
.petals-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.petal {
  position: absolute;
  width: 10px;
  height: 14px;
  background: rgba(232, 160, 176, 0.4);
  border-radius: 50% 0 50% 0;
  animation: petalFall linear infinite;
}

@keyframes petalFall {
  0%   { transform: translateY(-20px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 720px;
}

.hero-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards 0.3s;
}

.hero-name {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;
  background: linear-gradient(135deg, #1a1a1a, #5a4535);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards 0.6s;
}

.hero-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--warm-deep);
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards 0.9s;
}

.hero-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-style: italic;
  line-height: 1.8;
  color: var(--text-body);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards 1.2s;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  background: var(--dark);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: var(--transition);
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards 1.5s;
  position: relative;
  overflow: hidden;
}

.hero-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--warm-deep);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.hero-btn:hover::before { transform: translateX(0); }
.hero-btn span, .hero-btn i { position: relative; z-index: 1; }
.hero-btn:hover { color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(0,0,0,0.2);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--dark);
  border-radius: 4px;
  animation: scrollDown 1.8s ease infinite;
}

@keyframes scrollDown {
  0%   { opacity: 0; transform: translateY(0); }
  30%  { opacity: 1; }
  80%  { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ── SECTION HEADERS ─────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: var(--warm-deep);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--warm), var(--blue-deep));
  margin: 0 auto 1.2rem;
  border-radius: 2px;
}

.section-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
  max-width: 480px;
  margin: 0 auto;
}

/* ── STORY SECTION ───────────────────────────────────────── */
#story {
  background: var(--white);
}

.story-img-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.story-img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--blue-mid), var(--warm-light));
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.story-img-placeholder i { font-size: 2.5rem; opacity: 0.4; }
.story-img-placeholder p { opacity: 0.6; font-size: 0.9rem; }

.story-img-deco {
  position: absolute;
  top: -20px; right: -20px;
  width: 120px; height: 120px;
  border: 2px solid var(--warm);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.story-badge {
  position: absolute;
  bottom: 24px; right: -16px;
  width: 56px; height: 56px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  font-size: 1.4rem;
  color: #e8a0b0;
  animation: heartbeat 2s ease-in-out infinite;
}

.story-text { padding-left: 1rem; }

.story-lead {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--dark);
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.story-stats {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  background: var(--blue-soft);
  border-radius: var(--radius);
}

.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--warm);
  flex-shrink: 0;
}

/* ── REASONS SECTION ────────────────────────────────────── */
.reasons-bg {
  background: linear-gradient(160deg, var(--blue-soft) 0%, var(--warm-light) 100%);
}

.reason-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.reason-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: linear-gradient(to bottom, var(--warm), var(--blue-deep));
  transition: height 0.4s ease;
}

.reason-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.reason-card:hover::before { height: 100%; }

.reason-icon {
  width: 52px; height: 52px;
  background: var(--blue-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--warm-deep);
  margin-bottom: 1.2rem;
  transition: var(--transition);
}

.reason-card:hover .reason-icon {
  background: var(--warm-light);
  transform: scale(1.1);
}

.reason-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.reason-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── TRAITS / TIMELINE SECTION ──────────────────────────── */
#traits {
  background: var(--white);
}

.traits-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.traits-timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--warm), var(--blue-deep), var(--warm));
  transform: translateX(-50%);
}

.trait-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.trait-item.right {
  flex-direction: row-reverse;
  text-align: right;
}

.trait-icon-wrap {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.trait-icon {
  width: 56px; height: 56px;
  background: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--warm-light);
  box-shadow: 0 0 0 6px var(--white), 0 0 0 8px var(--warm);
  transition: var(--transition);
}

.trait-item:hover .trait-icon {
  background: var(--warm-deep);
  transform: scale(1.1);
}

.trait-content {
  background: var(--blue-soft);
  border-radius: var(--radius);
  padding: 1.5rem 1.8rem;
  flex: 1;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.trait-item:hover .trait-content { box-shadow: var(--shadow-md); }

.trait-content h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.trait-content p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ── WISHES SECTION ─────────────────────────────────────── */
.wishes-bg {
  background: linear-gradient(135deg, var(--warm-light) 0%, var(--blue-soft) 100%);
}

.wish-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  height: 100%;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.wish-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.wish-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 180px; height: 180px;
  border-radius: 50%;
  opacity: 0.07;
}

.now-card::after  { background: #e8a0b0; right: -60px; top: -60px; }
.future-card::after { background: var(--blue-deep); right: -60px; top: -60px; }

.wish-tag {
  display: inline-block;
  background: var(--blue-soft);
  border-radius: 30px;
  padding: 0.3rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.wish-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.now-card .wish-icon { color: #e8a0b0; }
.future-card .wish-icon { color: var(--blue-deep); }

.wish-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.wish-letter p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-body);
  margin-bottom: 1rem;
}

.wish-sign {
  font-style: italic;
  color: var(--warm-deep) !important;
  font-weight: 500;
  margin-top: 1.5rem;
}

/* ── KEEP / IMPROVE SECTION ─────────────────────────────── */
#keep-improve { background: var(--white); }

.reflect-card {
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.reflect-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.keep-card { background: linear-gradient(145deg, #fff5f7, #fffbfc); border: 1px solid #fce4ea; }
.grow-card { background: linear-gradient(145deg, #f5fdf7, #fafffe); border: 1px solid #d4eedd; }

.reflect-header { margin-bottom: 2rem; }

.reflect-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.keep-card .reflect-icon { background: #fce4ea; color: #e8a0b0; }
.grow-card .reflect-icon { background: #d4eedd; color: #4caf50; }

.reflect-header h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.reflect-sub { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

.reflect-list { list-style: none; padding: 0; margin: 0; }

.reflect-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.reflect-list li:last-child { border-bottom: none; }

.reflect-list li > i {
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.keep-card .reflect-list li > i { color: #e8a0b0; }
.grow-card .reflect-list li > i { color: #4caf50; }

.reflect-list li div strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.reflect-list li div p { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

/* ── GALLERY SECTION ────────────────────────────────────── */
.gallery-bg {
  background: linear-gradient(160deg, var(--blue-soft), var(--warm-light));
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--white);
}

.gallery-item.featured {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--blue-mid), var(--warm-light));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-muted);
  transition: transform 0.5s ease;
}

.gallery-placeholder i { font-size: 2rem; opacity: 0.5; }
.gallery-placeholder span { font-size: 0.85rem; opacity: 0.6; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--white);
  font-size: 1.5rem;
}

.gallery-item:hover .gallery-placeholder { transform: scale(1.06); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ── LIGHTBOX ───────────────────────────────────────────── */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 85vw;
  max-height: 85vh;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  margin: 0 auto;
}

#lightboxCaption {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-top: 1rem;
  font-style: italic;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev  { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.3); }

/* ── CLOSING SECTION ────────────────────────────────────── */
.closing-bg {
  background: linear-gradient(135deg, var(--dark) 0%, #1a0a0f 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(220,203,186,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 80% 70%, rgba(168,204,240,0.12) 0%, transparent 60%);
}

.closing-wrap { position: relative; z-index: 2; max-width: 620px; margin: 0 auto; }

.closing-hearts {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.closing-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.closing-title {
  color: var(--white);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.closing-title em {
  font-style: italic;
  background: linear-gradient(135deg, #f0c8d8, var(--warm));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.closing-message {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  line-height: 2;
  color: rgba(255,255,255,0.75);
  margin-bottom: 3rem;
}

.closing-btns { margin-bottom: 2rem; }

.btn-love {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.8rem;
  background: linear-gradient(135deg, #e8a0b0, #c97a90);
  border: none;
  color: var(--white);
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(232,160,176,0.35);
}

.btn-love:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 48px rgba(232,160,176,0.5);
}

.btn-love i { animation: heartbeat 1.2s ease-in-out infinite; }

/* Love explosion */
.love-explosion {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.love-explosion .exp-heart {
  position: absolute;
  font-size: 1.5rem;
  animation: explode 1s ease-out forwards;
  color: #e8a0b0;
}

@keyframes explode {
  0%   { transform: translate(0, 0) scale(0); opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)) scale(1); opacity: 0; }
}

/* Music toggle */
.music-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  z-index: 100;
  transition: var(--transition);
  font-size: 1rem;
}

.music-toggle:hover { background: rgba(255,255,255,0.2); transform: scale(1.1); }
.music-toggle.playing { background: #e8a0b0; }

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

.music-toggle.playing i { animation: spin 3s linear infinite; }

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: #0a0a0a;
  text-align: center;
  padding: 1.5rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.site-footer i { color: #e8a0b0; }

/* ── SHARED ANIMATIONS ──────────────────────────────────── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ─────────────────────────────────────────── */

/* Tablet */
@media (max-width: 991px) {
  .traits-timeline::before { left: 28px; }
  .trait-item { flex-direction: row !important; text-align: left !important; }
  .trait-icon-wrap { flex-shrink: 0; }

  .story-img-wrap { margin-bottom: 2rem; }
  .story-stats { gap: 1rem; padding: 1.2rem 1.5rem; }
}

/* Mobile */
@media (max-width: 767px) {
  .section-padding { padding: 70px 0; }

  .hero-quote br { display: none; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .gallery-item.featured { grid-column: span 2; }
  .gallery-item.tall { grid-row: span 1; }

  .wish-card { padding: 1.8rem; }
  .reflect-card { padding: 1.8rem; }

  .stat-num { font-size: 1.5rem; }

  .closing-message br { display: none; }
}

/* Small mobile */
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 140px;
  }

  .trait-item { gap: 1rem; }

  .story-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }
}

/* ── UTILITY ─────────────────────────────────────────────── */
.text-warm   { color: var(--warm-deep); }
.bg-warm     { background: var(--warm-light); }
.bg-blue     { background: var(--blue-soft); }
