:root {
  --black: #060607;
  --black-soft: #0c0c0e;
  --white: #f4f2ee;
  --white-dim: rgba(244, 242, 238, 0.62);
  --white-faint: rgba(244, 242, 238, 0.08);
  --red: #a94444;
  --red-soft: #b85a5a;
  --red-glow: rgba(169, 68, 68, 0.35);
  --line: rgba(244, 242, 238, 0.14);
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

#hearts-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

main, .topbar, .footer { position: relative; z-index: 1; }

/* ---------- TOP BAR ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(6, 6, 7, 0.45);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease, background 0.4s ease;
  z-index: 100;
}
.topbar.scrolled {
  border-bottom-color: var(--white-faint);
  background: rgba(6, 6, 7, 0.75);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand em { color: var(--red-soft); font-style: normal; }
.brand-heart { width: 18px; height: 18px; color: var(--red); }
.topnav { display: flex; gap: 26px; }
.topnav a {
  color: var(--white-dim);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}
.topnav a:hover { color: var(--white); }
@media (max-width: 720px) { .topnav { display: none; } }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red-soft);
  margin-bottom: 22px;
}
.hero-title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(56px, 12vw, 128px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero-title .amp {
  color: var(--red);
  font-style: italic;
  font-weight: 400;
  padding: 0 0.08em;
}
.hero-sub {
  margin-top: 18px;
  color: var(--white-dim);
  font-size: clamp(15px, 2vw, 18px);
  max-width: 520px;
}

.counter {
  display: flex;
  gap: clamp(18px, 4vw, 44px);
  margin-top: 56px;
}
.counter-cell {
  min-width: clamp(72px, 10vw, 110px);
  padding: 18px 10px 14px;
  border: 1px solid var(--white-faint);
  border-radius: 14px;
  background: rgba(244, 242, 238, 0.02);
}
.counter-cell span {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.counter-cell label {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-dim);
}
.counter-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--white-dim);
  font-style: italic;
}
.scroll-hint {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white-dim);
  animation: bob 2.2s ease-in-out infinite;
}
.scroll-hint svg { width: 26px; height: 26px; }
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.5; }
  50% { transform: translate(-50%, 8px); opacity: 1; }
}

/* ---------- SECTIONS ---------- */
.section {
  max-width: 1040px;
  margin: 0 auto;
  padding: 110px 28px;
}
.section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-icon {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--white-faint);
  border-radius: 50%;
  color: var(--red-soft);
  flex-shrink: 0;
}
.section-icon svg { width: 21px; height: 21px; }
.section-head h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(30px, 5vw, 46px);
  letter-spacing: -0.01em;
}
.section-sub {
  width: 100%;
  color: var(--white-dim);
  font-size: 14px;
  margin-top: 4px;
}

/* ---------- MUSIC ---------- */
.music-card {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 28px;
  border: 1px solid var(--white-faint);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(169, 68, 68, 0.10), rgba(244, 242, 238, 0.02) 55%);
  margin-bottom: 22px;
}
.big-heart {
  width: 76px; height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(169, 68, 68, 0.4);
  color: var(--red);
  box-shadow: 0 0 34px var(--red-glow);
  flex-shrink: 0;
}
.big-heart svg { width: 34px; height: 34px; animation: heartbeat 1.6s ease-in-out infinite; }
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.18); }
  28% { transform: scale(1); }
  42% { transform: scale(1.12); }
  60% { transform: scale(1); }
}
.music-meta h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
}
.music-artist { color: var(--white-dim); font-size: 14px; margin-top: 4px; }
.music-artist em { font-style: italic; }
.music-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--red-soft);
  font-style: italic;
}
.embed-wrap {
  border: 1px solid var(--white-faint);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(244, 242, 238, 0.02);
}

/* ---------- HOROSCOPE ---------- */
.horo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.horo-card {
  border: 1px solid var(--white-faint);
  border-radius: 18px;
  padding: 26px;
  background: rgba(244, 242, 238, 0.02);
  transition: border-color 0.35s ease, transform 0.35s ease;
}
.horo-card:hover {
  border-color: rgba(169, 68, 68, 0.45);
  transform: translateY(-3px);
}
.horo-card header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.zodiac-icon {
  width: 54px; height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--white-faint);
  border-radius: 50%;
  color: var(--red-soft);
  flex-shrink: 0;
}
.zodiac-icon svg { width: 28px; height: 28px; }
.horo-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
}
.zodiac-name { font-size: 13px; color: var(--white-dim); letter-spacing: 0.06em; text-transform: uppercase; }
.horo-date {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-soft);
  margin-bottom: 12px;
}
.horo-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--white);
  min-height: 82px;
}
.horo-text.loading { color: var(--white-dim); font-style: italic; }
.horo-meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--white-faint);
  font-size: 12.5px;
  color: var(--white-dim);
}
.credit {
  margin-top: 26px;
  font-size: 12px;
  color: var(--white-dim);
  text-align: center;
}
.credit a {
  color: var(--red-soft);
  text-decoration: none;
}
.credit a:hover { text-decoration: underline; }

/* ---------- BIG NUMBER ---------- */
#ortak { text-align: center; }
#ortak .section-head { justify-content: center; }
.big-number span {
  display: block;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(110px, 26vw, 260px);
  line-height: 1;
  background: linear-gradient(180deg, var(--white) 30%, var(--red-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.big-number-label {
  margin-top: 14px;
  font-size: 15px;
  color: var(--white-dim);
  font-style: italic;
}

/* ---------- TIMELINE ---------- */
.timeline {
  list-style: none;
  position: relative;
  padding-left: 34px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--red), var(--white-faint));
}
.timeline li {
  position: relative;
  padding: 26px 0 30px;
}
.timeline-dot {
  position: absolute;
  left: -34px;
  top: 34px;
  width: 17px; height: 17px;
  border-radius: 50%;
  border: 2px solid var(--red);
  background: var(--black);
  box-shadow: 0 0 18px var(--red-glow);
}
.timeline li.future .timeline-dot {
  border-color: var(--white-dim);
  box-shadow: none;
}
.timeline time {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-soft);
}
.timeline li.future time { color: var(--white-dim); }
.timeline h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  margin-top: 6px;
}
.timeline p { color: var(--white-dim); font-size: 14.5px; margin-top: 4px; }

/* ---------- COUNTDOWN ---------- */
#gerisayim { text-align: center; }
#gerisayim .section-head { justify-content: center; }
.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
}
.cd-cell {
  min-width: clamp(84px, 14vw, 150px);
  padding: 24px 12px 18px;
  border: 1px solid rgba(169, 68, 68, 0.35);
  border-radius: 16px;
  background: rgba(169, 68, 68, 0.06);
}
.cd-cell span {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.cd-cell label {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-dim);
}
.countdown-note {
  margin-top: 22px;
  color: var(--white-dim);
  font-size: 14px;
  font-style: italic;
}
.countdown-note.celebrate {
  font-family: var(--font-serif);
  font-size: clamp(22px, 4vw, 34px);
  font-style: normal;
  color: var(--red-soft);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

/* ---------- SPOTIFY ---------- */
.spotify-panel {
  border: 1px solid var(--white-faint);
  border-radius: 18px;
  padding: 30px;
  background: rgba(244, 242, 238, 0.02);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid var(--red);
  background: transparent;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.btn:hover {
  background: rgba(169, 68, 68, 0.16);
  box-shadow: 0 0 26px var(--red-glow);
}
.btn.hidden { display: none; }
.spotify-hint {
  margin-top: 16px;
  font-size: 13px;
  color: var(--white-dim);
}
.spotify-list {
  list-style: none;
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.spotify-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--white-faint);
  border-radius: 12px;
  color: var(--white);
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.spotify-list li a:hover {
  border-color: rgba(169, 68, 68, 0.5);
  background: rgba(169, 68, 68, 0.06);
}
.spotify-list img {
  width: 46px; height: 46px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.sp-track {
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sp-artist {
  font-size: 12px;
  color: var(--white-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spotify-empty {
  margin-top: 18px;
  font-size: 13px;
  color: var(--white-dim);
  font-style: italic;
}

/* ---------- FOOTER ---------- */
.footer {
  text-align: center;
  padding: 70px 24px 60px;
  border-top: 1px solid var(--white-faint);
}
.footer-heart {
  width: 26px; height: 26px;
  color: var(--red);
  margin-bottom: 14px;
  animation: heartbeat 2.4s ease-in-out infinite;
}
.footer p {
  font-family: var(--font-serif);
  font-size: 17px;
}
.footer-sub {
  margin-top: 6px;
  color: var(--white-dim);
  font-size: 13px !important;
  font-family: var(--font-sans) !important;
  letter-spacing: 0.1em;
}

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint, .big-heart svg, .footer-heart { animation: none; }
}

@media (max-width: 640px) {
  .topbar { padding: 14px 18px; }
  .section { padding: 80px 20px; }
  .music-card { flex-direction: column; text-align: center; }
  .horo-text { min-height: 0; }
}
