/* =========================================
   REZA'S COSMIC GIFT WEBSITE – style.css
   ========================================= */

:root {
  --bg-primary: #04050f;
  --bg-secondary: #080b1a;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.08);
  --border-glow: rgba(167,139,250,0.3);

  --accent-purple: #a78bfa;
  --accent-violet: #7c3aed;
  --accent-rose: #f472b6;
  --accent-blue: #60a5fa;
  --accent-gold: #fcd34d;
  --accent-cyan: #67e8f9;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #475569;

  --gradient-main: linear-gradient(135deg, #a78bfa, #f472b6, #60a5fa);
  --gradient-card: linear-gradient(135deg, rgba(167,139,250,0.15), rgba(244,114,182,0.08));
  --gradient-gold: linear-gradient(135deg, #fcd34d, #f472b6);
  --shadow-glow: 0 0 40px rgba(167,139,250,0.2);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);

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

  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Grotesk', sans-serif;
  --font-elegant: 'Cormorant Garamond', serif;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ===== STARFIELD CANVAS ===== */
#starfield {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== FLOATING PARTICLES ===== */
.particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  animation: floatUp linear infinite;
  opacity: 0;
}
@keyframes floatUp {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(4,5,15,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(4,5,15,0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gradient-main);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--accent-purple);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8rem 5rem 4rem;
  gap: 4rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 50%, rgba(124,58,237,0.12), transparent),
              radial-gradient(ellipse 60% 40% at 80% 50%, rgba(244,114,182,0.08), transparent);
  pointer-events: none;
}
.hero-content {
  flex: 1;
  max-width: 640px;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.2rem;
  background: rgba(167,139,250,0.12);
  border: 1px solid rgba(167,139,250,0.3);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s ease both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s 0.1s ease both;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-family: var(--font-elegant);
  font-size: 1.2rem;
  animation: fadeInDown 0.8s 0.2s ease both;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInDown 0.8s 0.3s ease both;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-mono);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 8px 32px rgba(167,139,250,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(167,139,250,0.5);
}
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glow);
}
.btn-secondary:hover {
  background: rgba(167,139,250,0.1);
  border-color: var(--accent-purple);
  transform: translateY(-2px);
}

/* ===== MOON / ORBITAL VISUAL ===== */
.hero-visual {
  flex: 0 0 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1s 0.5s ease both;
}
.moon-container {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.moon {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fefce8, #fcd34d 40%, #f59e0b 70%, #d97706);
  box-shadow: 0 0 60px rgba(252,211,77,0.5), 0 0 120px rgba(252,211,77,0.2), inset -20px -10px 40px rgba(0,0,0,0.3);
  z-index: 2;
  animation: moonPulse 4s ease-in-out infinite;
}
.moon-glow {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252,211,77,0.15), transparent 70%);
  animation: moonPulse 4s ease-in-out infinite;
}
@keyframes moonPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.orbit-1 { width: 220px; height: 220px; animation: spin 8s linear infinite; }
.orbit-2 { width: 280px; height: 280px; animation: spin 14s linear infinite reverse; }
.orbit-3 { width: 320px; height: 320px; animation: spin 20s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.planet {
  width: 14px; height: 14px;
  border-radius: 50%;
  position: absolute;
  top: -7px;
}
.p1 { background: radial-gradient(circle at 30% 30%, #c084fc, #7c3aed); box-shadow: 0 0 10px rgba(192,132,252,0.8); }
.p2 { background: radial-gradient(circle at 30% 30%, #fb7185, #e11d48); box-shadow: 0 0 10px rgba(251,113,133,0.8); }
.p3 { background: radial-gradient(circle at 30% 30%, #67e8f9, #0891b2); box-shadow: 0 0 10px rgba(103,232,249,0.8); }

/* ===== SECTIONS COMMON ===== */
.section {
  position: relative;
  z-index: 10;
  padding: 7rem 5rem;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 1rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-desc {
  font-family: var(--font-elegant);
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* ===== LETTER SECTION ===== */
.letter-section {
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(124,58,237,0.08), transparent);
}
.letter-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 4rem;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}
.letter-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-main);
}
.letter-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}
.letter-greeting {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--accent-purple);
  margin-bottom: 1.5rem;
}
.letter-card p {
  font-family: var(--font-elegant);
  font-size: 1.15rem;
  line-height: 2;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
}
.letter-card p em {
  color: var(--accent-rose);
  font-style: italic;
}
.letter-sig {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-family: var(--font-elegant);
  font-size: 1.05rem;
  color: var(--text-secondary);
}
.sig-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== AMAZING / STAR GRID ===== */
.amazing-section {
  background: linear-gradient(180deg, transparent, rgba(244,114,182,0.03), transparent);
}
.star-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.star-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.star-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: var(--transition);
}
.star-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}
.star-card:hover::before { opacity: 1; }
.star-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  position: relative;
  z-index: 1;
}
.star-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}
.star-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ===== QUOTES CAROUSEL ===== */
.quotes-section {
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(96,165,250,0.05), transparent);
}
.quotes-carousel-wrap {
  max-width: 800px;
  margin: 0 auto 3rem;
}
.quotes-carousel {
  position: relative;
  min-height: 220px;
  margin-bottom: 2rem;
}
.quote-card {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  backdrop-filter: blur(20px);
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.quote-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
  position: relative;
}
.qstars {
  color: var(--accent-gold);
  font-size: 1rem;
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
}
.quote-card blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}
.quote-card cite {
  font-size: 0.9rem;
  color: var(--accent-purple);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-glow);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}
.carousel-btn:hover {
  background: rgba(167,139,250,0.2);
  border-color: var(--accent-purple);
  transform: scale(1.1);
}
.carousel-dots {
  display: flex;
  gap: 0.5rem;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.dot.active {
  background: var(--accent-purple);
  width: 24px;
  border-radius: 4px;
}

/* ===== AFFIRMATIONS ===== */
.affirmations-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.aff-pill {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font-mono);
  background: var(--bg-card);
  transition: var(--transition);
  cursor: default;
  backdrop-filter: blur(10px);
  animation: pillFloat 3s ease-in-out infinite;
}
.aff-pill:nth-child(odd) { animation-delay: 0.5s; }
.aff-pill:nth-child(3n) { animation-delay: 1s; }
.aff-pill:hover {
  background: rgba(167,139,250,0.15);
  border-color: var(--accent-purple);
  transform: scale(1.05) translateY(-2px);
  color: var(--accent-purple);
}
@keyframes pillFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ===== TIMELINE ===== */
.memories-section {
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(244,114,182,0.04), transparent);
}
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--accent-purple), var(--accent-rose), transparent);
  transform: translateX(-50%);
}
.tl-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}
.tl-item.right {
  flex-direction: row-reverse;
}
.tl-dot {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(10px);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
}
.tl-content {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  max-width: calc(50% - 48px);
  margin-left: 0;
}
.tl-item.right .tl-content {
  margin-left: auto;
}
.tl-content:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.tl-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--accent-purple);
}
.tl-content p {
  font-family: var(--font-elegant);
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== FUTURE SECTION ===== */
.future-section {
  background: linear-gradient(180deg, transparent, rgba(124,58,237,0.04), transparent);
}
.future-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto 4rem;
}
.future-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.future-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}
.fn {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(167,139,250,0.15);
  position: absolute;
  top: 1rem; right: 1.5rem;
  line-height: 1;
}
.future-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}
.future-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== MOTIVATION BANNER ===== */
.motivation-banner {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(167,139,250,0.12), rgba(244,114,182,0.08));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}
.motivation-banner h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.daily-quote {
  font-family: var(--font-elegant);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.pulse-ring {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(167,139,250,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  animation: pulseRing 2s ease-in-out infinite;
  position: relative;
}
.pulse-ring::before {
  content: '';
  position: absolute;
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 1px solid rgba(167,139,250,0.2);
  animation: pulseRingOuter 2s ease-in-out infinite 0.3s;
}
@keyframes pulseRing {
  0%, 100% { transform: scale(1); border-color: rgba(167,139,250,0.4); }
  50% { transform: scale(1.05); border-color: rgba(167,139,250,0.8); }
}
@keyframes pulseRingOuter {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0; }
}
.pulse-core {
  font-size: 1.5rem;
  color: var(--accent-purple);
}

/* ===== PLAYLIST SECTION ===== */
.playlist-section {
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(96,165,250,0.04), transparent);
}
.playlist-container {
  max-width: 850px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
}
.playlist-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 2rem;
  background: linear-gradient(135deg, rgba(167,139,250,0.1), rgba(244,114,182,0.06));
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}
.ph-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.vinyl {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: conic-gradient(
    #1a1a2e 0deg, #a78bfa 60deg, #1a1a2e 120deg, #f472b6 180deg,
    #1a1a2e 240deg, #60a5fa 300deg, #1a1a2e 360deg
  );
  box-shadow: 0 0 20px rgba(167,139,250,0.4);
  transition: var(--transition);
}
.vinyl.spinning {
  animation: vinylSpin 3s linear infinite;
}
@keyframes vinylSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.pl-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.pl-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.now-playing {
  font-size: 0.85rem;
  color: var(--accent-purple);
  font-family: var(--font-mono);
  font-weight: 500;
}
.playlist-tracks { padding: 0.5rem 0; }
.track {
  display: grid;
  grid-template-columns: 40px 1fr auto 40px;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}
.track:hover, .track.playing {
  background: rgba(167,139,250,0.08);
  border-bottom-color: var(--border);
}
.track-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}
.track.playing .track-num {
  color: var(--accent-purple);
}
.track-name {
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.track-artist {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.track-vibe {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}
.track-play {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(167,139,250,0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--accent-purple);
  transition: var(--transition);
}
.track:hover .track-play {
  background: var(--accent-purple);
  color: white;
  border-color: var(--accent-purple);
}

/* ===== CLOSING SECTION ===== */
.closing-section {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 8rem 2rem;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(124,58,237,0.1), rgba(244,114,182,0.05), transparent);
}
.closing-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.closing-stars {
  font-size: 1.5rem;
  color: var(--accent-gold);
  letter-spacing: 0.5rem;
  margin-bottom: 2rem;
  animation: twinkle 2s ease-in-out infinite alternate;
}
@keyframes twinkle {
  0% { opacity: 0.6; }
  100% { opacity: 1; text-shadow: 0 0 20px rgba(252,211,77,0.8); }
}
.closing-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.closing-text {
  font-family: var(--font-elegant);
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 2rem;
}
.closing-glow {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-style: italic;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
}
.closing-sig {
  font-family: var(--font-elegant);
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Intersection observer reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-violet); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-purple); }

/* ===== MOBILE NAV OVERLAY ===== */
.nav-mobile-open .nav-links {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: rgba(4,5,15,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 2rem 2rem 2.5rem;
  border-bottom: 1px solid var(--border-glow);
  gap: 1.5rem;
  z-index: 999;
  animation: slideDown 0.25s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-mobile-open .nav-links a {
  font-size: 1rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== TABLET (≤1100px) ===== */
@media (max-width: 1100px) {
  .hero { padding: 6rem 3rem 4rem; gap: 3rem; }
  .section { padding: 5rem 2.5rem; }
  .star-grid { grid-template-columns: repeat(2, 1fr); }
  .future-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { flex: 0 0 300px; }
  .moon-container { width: 260px; height: 260px; }
  .moon { width: 110px; height: 110px; }
  .moon-glow { width: 160px; height: 160px; }
  .orbit-1 { width: 180px; height: 180px; }
  .orbit-2 { width: 230px; height: 230px; }
  .orbit-3 { width: 260px; height: 260px; }
}

/* ===== MOBILE (≤768px) ===== */
@media (max-width: 768px) {
  /* Nav */
  .nav { padding: 0.9rem 1.25rem; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero {
    flex-direction: column;
    padding: 6.5rem 1.5rem 3rem;
    text-align: center;
    min-height: auto;
  }
  .hero-content { max-width: 100%; }
  .hero-visual { display: none; }
  .hero-title { font-size: clamp(2.6rem, 10vw, 3.5rem); }
  .hero-subtitle { font-size: 1.05rem; }
  .hero-buttons { justify-content: center; flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; justify-content: center; }

  /* Sections */
  .section { padding: 4rem 1.25rem; }
  .section-header h2 { font-size: clamp(1.8rem, 7vw, 2.5rem); }

  /* Letter */
  .letter-card { padding: 2rem 1.25rem; border-radius: var(--radius-md); }
  .letter-greeting { font-size: 1.4rem; }
  .letter-card p { font-size: 1rem; line-height: 1.85; }

  /* Grids */
  .star-grid { grid-template-columns: 1fr; gap: 1rem; }
  .future-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* Timeline */
  .timeline { padding-left: 0; }
  .timeline::before { left: 20px; top: 10px; }
  .tl-item,
  .tl-item.right {
    flex-direction: column;
    padding-left: 58px;
    padding-right: 0;
    margin-bottom: 2rem;
  }
  .tl-dot {
    left: 0;
    transform: none;
    width: 40px; height: 40px;
    font-size: 1.1rem;
    top: 0;
  }
  .tl-content,
  .tl-item.right .tl-content {
    max-width: 100%;
    margin-left: 0;
    padding: 1.25rem;
  }
  .tl-content h3 { font-size: 1.05rem; }
  .tl-content p  { font-size: 0.95rem; }

  /* Quotes */
  .quotes-carousel-wrap { padding: 0; }
  .quote-card { padding: 2rem 1.25rem; }
  .quote-card blockquote { font-size: 1.1rem; }

  /* Affirmations */
  .affirmations-grid { gap: 0.5rem; }
  .aff-pill { font-size: 0.78rem; padding: 0.45rem 0.9rem; }

  /* Playlist */
  .playlist-container { border-radius: var(--radius-md); }
  .playlist-header-bar { padding: 1.25rem 1rem; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .now-playing { font-size: 0.78rem; }
  .track { grid-template-columns: 28px 1fr 36px; gap: 0.6rem; padding: 0.85rem 1rem; }
  .track-vibe { display: none; }
  .track-name { font-size: 0.88rem; }
  .track-artist { font-size: 0.75rem; }

  /* Future motivational banner */
  .motivation-banner { padding: 2rem 1.25rem; border-radius: var(--radius-md); }

  /* Closing */
  .closing-section { padding: 5rem 1.5rem; }
  .closing-title { font-size: clamp(2rem, 8vw, 3rem); }
  .closing-glow { font-size: 2rem; }

  /* Playlist vinyl */
  .vinyl { width: 46px; height: 46px; }
}

/* ===== SMALL MOBILE (≤480px) ===== */
@media (max-width: 480px) {
  .hero { padding: 6rem 1rem 2.5rem; }
  .hero-title { font-size: clamp(2.2rem, 11vw, 3rem); }
  .hero-subtitle { font-size: 0.97rem; }
  .hero-badge { font-size: 0.7rem; padding: 0.4rem 1rem; }

  .section { padding: 3.5rem 1rem; }
  .letter-card { padding: 1.5rem 1rem; }
  .letter-greeting { font-size: 1.25rem; }

  .quote-card { padding: 1.75rem 1rem; border-radius: var(--radius-md); }
  .quote-card blockquote { font-size: 1rem; }

  .motivation-banner { padding: 1.75rem 1rem; }
  .motivation-banner h3 { font-size: 1.2rem; }
  .daily-quote { font-size: 1rem; }

  .playlist-header-bar { padding: 1rem; }
  .pl-title { font-size: 1rem; }
  .track { padding: 0.75rem 0.75rem; }

  .closing-section { padding: 4rem 1rem; }
  .closing-text { font-size: 1rem; }
  .sig-name { font-size: 1.2rem; }

  .aff-pill { font-size: 0.73rem; padding: 0.4rem 0.8rem; }
  .carousel-btn { width: 38px; height: 38px; font-size: 1.3rem; }
}

/* ===== VERY SMALL (≤360px) ===== */
@media (max-width: 360px) {
  .hero-title { font-size: 2rem; }
  .btn { font-size: 0.85rem; padding: 0.8rem 1.4rem; }
  .nav-logo { font-size: 1.1rem; }
  .section-header h2 { font-size: 1.6rem; }
  .track-num { display: none; }
  .track { grid-template-columns: 1fr 36px; }
}
