:root {
  /* Fonts */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Dark Theme (default) */
  --bg-primary: #050816;
  --bg-primary-rgb: 5, 8, 22;
  --bg-gradient-start: #050816;
  --bg-gradient-mid: #0f1440;
  --bg-gradient-end: #182376;
  --text-primary: #e8eaf6;
  --text-secondary: rgba(232, 234, 246, 0.7);
  --accent: #4a7aff;
  --accent-rgb: 74, 122, 255;
  --accent-glow: rgba(74, 122, 255, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-light: rgba(255, 255, 255, 0.25);
  --star-color: #ffffff;
  
  /* Radii */
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  
  /* Transitions */
  --transition-fast: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme='light'] {
  --bg-primary: #f0fdfa;
  --bg-primary-rgb: 240, 253, 250;
  --bg-gradient-start: #f0fdfa;
  --bg-gradient-mid: #ccfbf1;
  --bg-gradient-end: #99f6e4;
  --text-primary: #134e4a;
  --text-secondary: rgba(19, 78, 74, 0.7);
  --accent: #0f766e;
  --accent-rgb: 15, 118, 110;
  --accent-glow: rgba(15, 118, 110, 0.3);
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.9);
  --glass-border-light: rgba(255, 255, 255, 1);
  --anim-slow: 0.8s;
  --star-color: #0d9488;
}

/* ==========================================
   Welcome Overlay
========================================== */
.site-blurred {
  filter: blur(15px);
  pointer-events: none;
  transition: filter 1s ease;
  height: 100vh;
  overflow: hidden;
}

.welcome-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.welcome-overlay.active {
  opacity: 1;
  visibility: visible;
}

.welcome-box {
  text-align: center;
  padding: 3rem 2rem;
  max-width: 400px;
  width: 90%;
  transform: scale(0.9);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.welcome-overlay.active .welcome-box {
  transform: scale(1);
}

.welcome-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  font-family: 'Playfair Display', serif;
}

.welcome-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.btn-wrapper-no {
  position: relative;
  display: flex;
  align-items: center;
}

.welcome-btn {
  padding: 0.8rem 2rem;
  font-size: 1.2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-yes {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.4);
}
.btn-yes:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.6);
}

.btn-no {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-no:hover {
  background: rgba(255, 255, 255, 0.2);
}

.arrow-to-yes {
  position: absolute;
  left: -40px;
  font-size: 1.5rem;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  animation: point-arrow 1s infinite alternate;
}
.arrow-to-yes.show {
  opacity: 1;
}

@keyframes point-arrow {
  0% { transform: translateX(0); }
  100% { transform: translateX(-10px); }
}

/* ==========================================
   Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
  transition: background-color 0.5s ease, color 0.5s ease;
}

::selection {
  background: var(--accent);
  color: white;
}

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

/* Background Layers */
.bg-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-mid), var(--bg-gradient-end));
  transition: background 0.5s ease;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: orbFloat 25s infinite ease-in-out alternate;
}

.bg-orb-1 {
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(74, 122, 255, 0.4), rgba(139, 92, 246, 0.1));
}

.bg-orb-2 {
  bottom: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3), rgba(74, 122, 255, 0.1));
  animation-duration: 30s;
  animation-delay: -5s;
}

.bg-orb-3 {
  top: 40%;
  left: 50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.2), transparent);
  animation-duration: 20s;
  animation-delay: -10s;
}

.bg-noise {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

#bg-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Glass Utilities (iOS 26 Liquid Glass) */
.glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0.07) 100%);
  backdrop-filter: blur(24px) saturate(180%) brightness(1.05);
  -webkit-backdrop-filter: blur(24px) saturate(180%) brightness(1.05);
  border: 1px solid var(--glass-border);
  border-top-color: var(--glass-border-light);
  border-left-color: var(--glass-border-light);
  border-radius: var(--radius-lg);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 100%);
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  border-top-color: rgba(255, 255, 255, 0.35);
  border-left-color: rgba(255, 255, 255, 0.35);
}

.glass-card .card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.glass-card:hover .card-glow {
  opacity: 0.3;
}

.glass-btn {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0.07) 100%);
  backdrop-filter: blur(24px) saturate(180%) brightness(1.05);
  -webkit-backdrop-filter: blur(24px) saturate(180%) brightness(1.05);
  border: 1px solid var(--glass-border);
  border-top-color: var(--glass-border-light);
  border-left-color: var(--glass-border-light);
  border-radius: var(--radius-sm);
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.glass-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 100%);
  border-radius: inherit;
  pointer-events: none;
}

.glass-btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Floating Hearts & Click Hearts */
#floating-hearts {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-heart {
  position: fixed;
  clip-path: url(#heart-clip);
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(var(--accent-rgb), 0.1));
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  filter: drop-shadow(0 4px 12px var(--accent-glow));
  width: var(--size, 30px);
  height: var(--size, 30px);
  left: var(--x, 50%);
  bottom: -20vh;
  animation: 
    heartFloat var(--duration, 15s) linear infinite,
    heartSway var(--sway, 3s) ease-in-out alternate infinite,
    heartPulse 2s ease-in-out infinite alternate,
    heartRotate 10s linear infinite;
  animation-delay: var(--delay, 0s);
}

#click-hearts {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
}

.click-heart {
  position: absolute;
  font-size: 24px;
  animation: clickHeartAnim 1.5s ease-out forwards;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 12px 24px;
  background: transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
}

.navbar.scrolled {
  background: rgba(var(--bg-primary-rgb), 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  text-decoration: none;
  color: var(--text-primary);
  z-index: 1002;
}

.brand-heart {
  font-size: 1.6rem;
  filter: drop-shadow(0 0 8px var(--accent-glow));
  animation: pulse 2s infinite;
  color: var(--accent);
}

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

.nav-link {
  display: block;
  padding: 8px 16px;
  border-radius: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

.nav-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 1002;
}

.hamburger {
  display: none;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 24px 60px;
  position: relative;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
}

.hero-heart-container {
  margin-bottom: 32px;
}

.hero-glass-heart {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  clip-path: url(#heart-clip);
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  filter: drop-shadow(0 12px 24px var(--accent-glow));
  animation: heartbeat 2s infinite;
}

.heart-inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.4), transparent);
}

.heart-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 100%);
  opacity: 0.3;
}

.hero-title {
  font-family: var(--font-display);
  margin-bottom: 24px;
}

.title-line {
  display: block;
}

.title-line-1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--text-primary);
  opacity: 0;
  animation: fadeInUp 1s forwards 0.2s;
}

.title-line-2 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  opacity: 0;
  animation: fadeInUp 1s forwards 0.4s;
}

.highlight {
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px var(--accent-glow));
}

[data-theme='light'] .highlight {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 1s forwards 0.6s;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
  border: none;
  opacity: 0;
  animation: fadeInUp 1s forwards 0.8s;
}

.cta-button:hover {
  transform: scale(1.05) translateY(-4px);
}

.cta-arrow {
  animation: bounceArrow 2s infinite;
}


/* Sections */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.title-decoration {
  color: var(--accent);
  margin-right: 12px;
  font-size: 0.7em;
  vertical-align: middle;
}

.title-heart {
  margin-left: 8px;
  color: var(--accent);
  display: inline-block;
  animation: pulse 2s infinite;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 48px;
}

/* About Cards */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card {
  padding: 36px 28px;
  text-align: center;
  cursor: default;
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.card-text {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Counter */
.counter-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.counter-item {
  padding: 28px 20px;
  min-width: 120px;
  text-align: center;
  position: relative;
}

.counter-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.counter-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.counter-separator {
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.5;
  font-weight: 300;
}

.counter-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}

/* Love Letter */
.letter-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.letter-card {
  padding: 48px 40px;
  position: relative;
}

.letter-seal {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.5rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.letter-content {
  position: relative;
  z-index: 2;
}

.letter-greeting {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.letter-body {
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.letter-closing {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-top: 28px;
  text-align: right;
}

.letter-decoration {
  position: absolute;
  width: 60px;
  height: 60px;
  border-style: solid;
  border-color: var(--accent);
  opacity: 0.2;
}

.letter-decoration-tl {
  top: 16px;
  left: 16px;
  border-width: 2px 0 0 2px;
}

.letter-decoration-br {
  bottom: 16px;
  right: 16px;
  border-width: 0 2px 2px 0;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 48px auto 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
  align-items: flex-start;
  flex-direction: row-reverse;
}

.timeline-item-right {
  flex-direction: row;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  flex-shrink: 0;
  z-index: 2;
  margin-top: 20px;
}

.timeline-dot-inner {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--bg-primary);
}

.timeline-card {
  flex: 1;
  padding: 24px;
  max-width: calc(50% - 40px);
  text-align: right;
}

.timeline-item-right .timeline-card {
  text-align: left;
}

.timeline-date {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 8px;
  display: block;
}

.timeline-text {
  color: var(--text-secondary);
  line-height: 1.7;
}

.timeline-card-now {
  border-color: rgba(var(--accent-rgb), 0.5);
}

.timeline-pulse {
  position: absolute;
  bottom: -8px;
  right: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

.timeline-item-right .timeline-pulse {
  right: auto;
  left: 16px;
}

/* Gallery Placeholder */
.gallery-placeholder {
  max-width: 500px;
  margin: 0 auto;
}

.gallery-card {
  padding: 48px 36px;
  text-align: center;
}

.gallery-icon-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
}

.gallery-icon {
  font-size: 3rem;
  position: relative;
  z-index: 2;
  line-height: 80px;
}

.gallery-icon-ring {
  position: absolute;
  inset: -8px;
  border: 2px dashed var(--accent);
  border-radius: 50%;
  opacity: 0.3;
  animation: spin 20s linear infinite;
}

.gallery-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.gallery-text {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.gallery-btn {
  padding: 12px 28px;
  font-size: 0.95rem;
  cursor: not-allowed;
  opacity: 0.5;
}

.gallery-btn:disabled {
  filter: grayscale(0.5);
}

.gallery-coming-soon {
  font-size: 0.8rem;
  color: var(--accent);
  margin-top: 16px;
  opacity: 0.7;
  display: block;
}

/* Music Player */
.music-player {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 20px;
  max-width: 320px;
}

.music-play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.music-play-btn:hover {
  background: rgba(var(--accent-rgb), 0.3);
  transform: scale(1.1);
}

.music-play-btn.playing {
  background: rgba(var(--accent-rgb), 0.3);
}

.music-info {
  flex: 1;
  min-width: 0;
  position: relative;
  padding-bottom: 8px;
}

.music-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-artist {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.music-progress-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  cursor: pointer;
}

.music-progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  width: 0%;
  transition: width 0.3s linear;
}

.music-visualizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
}

.viz-bar {
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
  animation: vizBounce 0.8s ease-in-out infinite alternate;
  animation-play-state: paused;
}

.music-visualizer.active .viz-bar {
  animation-play-state: running;
}

.viz-bar:nth-child(1) { animation-duration: 0.8s; }
.viz-bar:nth-child(2) { animation-duration: 0.6s; }
.viz-bar:nth-child(3) { animation-duration: 0.9s; }
.viz-bar:nth-child(4) { animation-duration: 0.7s; }
.viz-bar:nth-child(5) { animation-duration: 0.85s; }

/* Toast */
.toast-container {
  position: fixed;
  top: 100px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  padding: 16px 24px;
  border-radius: 16px;
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 300px;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-message {
  font-size: 0.9rem;
  color: var(--text-primary);
}

/* Footer */
.footer {
  padding: 60px 24px 120px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-inner {
  max-width: 500px;
  margin: 0 auto;
  padding: 32px;
}

.footer-hearts {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.footer-hearts span {
  animation: pulse 2s infinite;
}

.footer-hearts span:nth-child(2) { animation-delay: 0.3s; }
.footer-hearts span:nth-child(3) { animation-delay: 0.6s; }

.footer-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.footer-year {
  color: var(--text-secondary);
  font-size: 0.8rem;
  opacity: 0.5;
}

/* Scroll Reveal Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}
.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  25% { transform: scale(1.1); }
  50% { transform: scale(1); }
  75% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

@keyframes orbFloat {
  0% { transform: translate(0, 0); }
  33% { transform: translate(30px, -50px); }
  66% { transform: translate(-20px, 20px); }
  100% { transform: translate(0, 0); }
}

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


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

@keyframes clickHeartAnim {
  0% { transform: scale(0) translateY(0); opacity: 1; }
  50% { transform: scale(1.2) translateY(-50px); opacity: 0.8; }
  100% { transform: scale(1) translateY(-100px); opacity: 0; }
}

@keyframes heartFloat {
  from { transform: translateY(110vh); }
  to { transform: translateY(-20vh); }
}

@keyframes heartSway {
  from { margin-left: -20px; }
  to { margin-left: 20px; }
}

@keyframes heartPulse {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

@keyframes heartRotate {
  from { transform: rotate(-15deg); }
  to { transform: rotate(15deg); }
}

@keyframes vizBounce {
  0% { height: 4px; }
  50% { height: 20px; }
  100% { height: 4px; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes twinkle {
  0% { opacity: 0.2; transform: scale(0.8); }
  100% { opacity: 0.8; transform: scale(1.2); }
}

/* Stars */
.star {
  pointer-events: none;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 100px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  padding: 16px 24px;
  border-radius: 16px;
  max-width: 300px;
  font-size: 0.95rem;
  color: var(--text-primary);
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
  pointer-events: auto;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1003;
  }

  .hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
  }

  .hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(7px) translateX(3px);
  }
  .hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px) translateX(3px);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100vh;
    flex-direction: column;
    background: rgba(var(--bg-primary-rgb), 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 80px 24px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
  }

  .nav-links.active {
    transform: translateX(0);
  }

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

  .timeline-line {
    left: 24px;
    transform: none;
  }

  .timeline-item, .timeline-item-right {
    flex-direction: row;
    align-items: flex-start;
  }

  .timeline-dot {
    position: relative;
    left: 0;
    transform: none;
    margin-right: 16px;
    margin-left: 16px;
  }

  .timeline-card, .timeline-item-right .timeline-card {
    max-width: 100%;
    text-align: left;
  }

  .timeline-pulse {
    left: 16px;
    right: auto;
  }
  
  .section {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  .counter-separator {
    display: none;
  }
  
  .music-player {
    bottom: 16px;
    right: 16px;
    left: 16px;
    max-width: none;
  }

  .letter-card {
    padding: 32px 24px;
  }

  .hero-section {
    padding: 100px 16px 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .bg-orb {
    animation: none;
  }
}
