    :root {
      --bg: #05060a;
      --bg-alt: #0b0d14;
      --accent: #ff4f7b;
      --accent-soft: rgba(255, 79, 123, 0.12);
      --text: #f5f5f7;
      --muted: #9fa1a7;
      --card: #12141f;
      --radius: 18px;
      --transition: 220ms ease-out;
      --max-width: 1120px;
      --accent-glow: rgba(255, 79, 123, 0.4);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
                   "Segoe UI", sans-serif;
      background: radial-gradient(circle at top, #15192b 0, #05060a 52%, #020308 100%);
      color: var(--text);
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    .floating-hearts {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
    }

    .floating-heart {
      position: absolute;
      color: var(--accent);
      opacity: 0;
      font-size: 24px;
      animation: floatUp 20s linear infinite;
    }

    @keyframes floatUp {
      0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
      }
      10% {
        opacity: 0.7;
      }
      90% {
        opacity: 0.7;
      }
      100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
      }
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    /* Layout */
    .page {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      position: relative;
      z-index: 2;
    }

    .shell {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 20px;
    }

    /* Nav */
    .nav {
      position: sticky;
      top: 0;
      z-index: 20;
      backdrop-filter: blur(16px);
      background: linear-gradient(to bottom, rgba(5, 6, 10, 0.94), rgba(5, 6, 10, 0.7));
      border-bottom: 1px solid rgba(255, 255, 255, 0.04);
      transition: all var(--transition);
    }

    .nav.scrolled {
      background: rgba(5, 6, 10, 0.95);
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 64px;
    }

    .nav-logo {
      font-size: 18px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: none;
      background: linear-gradient(45deg, var(--accent), #ff8a4f);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      transition: transform var(--transition);
    }

    .nav-logo:hover {
      transform: scale(1.05);
    }

    .nav-links {
      display: flex;
      gap: 24px;
      font-size: 14px;
      color: var(--muted);
    }

    .nav-link {
      position: relative;
      padding-bottom: 4px;
      cursor: pointer;
      transition: color var(--transition);
    }

    .nav-link::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--accent), transparent);
      transition: width var(--transition);
    }

    .nav-link:hover {
      color: var(--text);
    }

    .nav-link:hover::after {
      width: 100%;
    }

    /* Hero */
    .hero {
      padding: 80px 0 72px;
      position: relative;
    }

    .hero::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
      gap: 40px;
      align-items: center;
    }

    .hero-eyebrow {
      font-size: 13px;
      text-transform: none;
      letter-spacing: 0.18em;
      color: var(--accent);
      margin-bottom: 12px;
      display: inline-block;
      animation: pulse 2s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.7; }
    }

    .hero-title {
      font-size: clamp(40px, 4vw + 12px, 56px);
      line-height: 1.08;
      font-weight: 700;
      margin-bottom: 18px;
      background: linear-gradient(45deg, #fff, var(--accent));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-subtitle {
      font-size: 16px;
      max-width: 420px;
      color: var(--muted);
      margin-bottom: 28px;
      line-height: 1.6;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
    }

    .btn-primary {
      padding: 12px 24px;
      border-radius: 999px;
      border: none;
      background: linear-gradient(135deg, #ff4f7b, #ff8a4f);
      color: #fff;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      box-shadow: 0 12px 30px rgba(255, 79, 123, 0.3);
      transition: all var(--transition);
      position: relative;
      overflow: hidden;
    }

    .btn-primary::before {
      content: "";
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: left 0.5s;
    }

    .btn-primary:hover::before {
      left: 100%;
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 20px 40px rgba(255, 79, 123, 0.4);
    }

    .btn-ghost {
      padding: 11px 20px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.18);
      background: rgba(9, 11, 20, 0.7);
      color: var(--muted);
      font-size: 13px;
      cursor: pointer;
      backdrop-filter: blur(10px);
      transition: all var(--transition);
      position: relative;
      overflow: hidden;
    }

    .btn-ghost:hover {
      border-color: var(--accent);
      background: rgba(14, 18, 30, 0.95);
      color: var(--text);
      transform: translateY(-1px);
      box-shadow: 0 8px 25px rgba(255, 79, 123, 0.15);
    }

    .hero-meta {
      font-size: 12px;
      color: var(--muted);
      margin-top: 16px;
      opacity: 0.8;
    }

    .chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 12px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.08);
      font-size: 11px;
      color: var(--muted);
      margin-bottom: 14px;
      animation: float 3s ease-in-out infinite;
    }

    @keyframes float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-5px); }
    }

    .chip-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 0 4px rgba(255, 79, 123, 0.3);
      animation: pulse 2s ease-in-out infinite;
    }

    .hero-card {
      position: relative;
      border-radius: 28px;
      padding: 26px 22px 22px;
      background:
        radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.1) 0, transparent 45%),
        radial-gradient(circle at 100% 0, rgba(255, 79, 123, 0.1) 0, transparent 55%),
        linear-gradient(145deg, #090b14, #05060a);
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow:
        0 26px 70px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(255, 255, 255, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
      overflow: hidden;
      transition: transform var(--transition);
    }

    .hero-card:hover {
      transform: translateY(-4px);
    }

    .hero-card-tag {
      font-size: 11px;
      letter-spacing: 0.18em;
      text-transform: none;
      color: var(--muted);
      margin-bottom: 8px;
    }

    .hero-card-text {
      font-size: 14px;
      color: #e8e8f0;
      margin-bottom: 18px;
      line-height: 1.6;
    }

.hero-card-photo {
  position: relative;
  width: 100%;
  height: 420px; /* keep your existing height if different */
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;

  /* 👇 Permanent photo */
  background-image: url("assets/moon.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


    .hero-card-photo:hover {
      transform: scale(1.02);
    }

    .hero-card-overlay {
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at bottom right, rgba(5, 6, 10, 0), rgba(5, 6, 10, 0.7));
    }

    .hero-card-caption {
      position: absolute;
      left: 16px;
      bottom: 14px;
      font-size: 11px;
      color: rgba(255, 255, 255, 0.85);
      z-index: 2;
    }

    .orb {
      position: absolute;
      inset: -120px;
      background:
        radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.12) 0, transparent 55%),
        radial-gradient(circle at 100% 0, rgba(255, 79, 123, 0.3) 0, transparent 55%);
      opacity: 0.6;
      pointer-events: none;
      animation: rotate 20s linear infinite;
    }

    @keyframes rotate {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

    /* Sections */
    section {
      padding: 56px 0;
      position: relative;
    }

    section::before {
      content: "";
      position: absolute;
      top: 0;
      left: 20px;
      right: 20px;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    }

    .section-header {
      margin-bottom: 26px;
    }

    .section-eyebrow {
      font-size: 12px;
      letter-spacing: 0.2em;
      text-transform: none;
      color: var(--accent);
      margin-bottom: 8px;
      display: inline-block;
      position: relative;
    }

    .section-eyebrow::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -4px;
      width: 30px;
      height: 2px;
      background: var(--accent);
      border-radius: 2px;
    }

    .section-title {
      font-size: 26px;
      margin-bottom: 6px;
      background: linear-gradient(45deg, #fff, #ff8a4f);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .section-subtitle {
      font-size: 14px;
      color: var(--muted);
      max-width: 540px;
      line-height: 1.6;
    }

    /* Our story */
    .story-grid {
      display: grid;
      grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
      gap: 32px;
      align-items: flex-start;
    }

    .story-body {
      font-size: 14px;
      line-height: 1.7;
      color: #e1e1ea;
      margin-bottom: 20px;
    }

    .timeline {
      margin-top: 18px;
      border-left: 2px solid var(--accent-soft);
      padding-left: 20px;
      display: grid;
      gap: 24px;
    }

    .timeline-item {
      position: relative;
      padding-bottom: 10px;
      transition: transform var(--transition);
    }

    .timeline-item:hover {
      transform: translateX(5px);
    }

    .timeline-item::before {
      content: "";
      position: absolute;
      left: -25px;
      top: 4px;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 0 4px rgba(255, 79, 123, 0.25);
      border: 2px solid var(--bg);
    }

    .timeline-label {
      font-size: 11px;
      letter-spacing: 0.18em;
      text-transform: none;
      color: var(--accent);
      margin-bottom: 4px;
      font-weight: 600;
    }

    .timeline-title {
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 4px;
    }

    .timeline-text {
      font-size: 13px;
      color: var(--muted);
      line-height: 1.5;
    }

    .story-card {
      border-radius: var(--radius);
      padding: 20px;
      background: var(--bg-alt);
      border: 1px solid rgba(255, 255, 255, 0.06);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
      font-size: 13px;
      color: var(--muted);
      line-height: 1.6;
      transition: all var(--transition);
      cursor: pointer;
      position: relative;
      overflow: hidden;
    }

    .story-card:hover {
      border-color: var(--accent-soft);
      transform: translateY(-2px);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
    }

    .story-card::before {
      content: "✎ Click to edit";
      position: absolute;
      top: 10px;
      right: 10px;
      font-size: 10px;
      color: var(--accent);
      opacity: 0;
      transition: opacity var(--transition);
    }

    .story-card:hover::before {
      opacity: 1;
    }

    /* Reasons cards */
    .card-row {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 20px;
    }

    .reason-card {
      position: relative;
      border-radius: var(--radius);
      padding: 22px 20px;
      background: linear-gradient(145deg, #0b0d16, #05060a);
      border: 1px solid rgba(255, 255, 255, 0.06);
      box-shadow: 0 18px 42px rgba(0, 0, 0, 0.9);
      overflow: hidden;
      transition: all var(--transition);
      height: 100%;
    }

    .reason-card:hover {
      border-color: var(--accent-soft);
      transform: translateY(-4px);
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95);
    }

    .reason-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 12px;
      border-radius: 999px;
      background: var(--accent-soft);
      font-size: 11px;
      color: var(--accent);
      margin-bottom: 12px;
      font-weight: 600;
    }

    .reason-title {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 8px;
      color: #fff;
    }

    .reason-text {
      font-size: 13px;
      color: var(--muted);
      line-height: 1.6;
    }

    /* Memories gallery */
    .memory-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 16px;
    }

    .memory-card {
      border-radius: 16px;
      padding: 12px;
      background: linear-gradient(135deg, #090b14, #060812);
      border: 1px solid rgba(255, 255, 255, 0.06);
      aspect-ratio: 4 / 3;
      display: flex;
      align-items: flex-end;
      justify-content: flex-start;
      color: #f5f5f7;
      font-size: 12px;
      background-image: radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 55%);
      overflow: hidden;
      cursor: pointer;
      transition: all var(--transition);
      position: relative;
    }

    .memory-card:hover {
      transform: translateY(-4px);
      border-color: var(--accent-soft);
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
    }

    .memory-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(5, 6, 10, 0.9), transparent 50%);
      opacity: 0.7;
    }

    .memory-label {
      background: rgba(5, 6, 10, 0.85);
      padding: 6px 10px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      position: relative;
      z-index: 1;
      backdrop-filter: blur(10px);
    }

    /* Future section */
    .future-panel {
      border-radius: 22px;
      padding: 28px 24px;
      background: linear-gradient(145deg, #060712, #080a16);
      border: 1px solid rgba(255, 255, 255, 0.06);
      display: grid;
      grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
      gap: 32px;
      align-items: center;
      position: relative;
      overflow: hidden;
    }

    .future-panel::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--accent), transparent);
    }

    .future-list {
      list-style: none;
      display: grid;
      gap: 16px;
      font-size: 14px;
      color: #e1e1ea;
    }

    .future-item {
      padding: 12px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .future-item:last-child {
      border-bottom: none;
    }

    .future-item-label {
      font-size: 11px;
      text-transform: none;
      letter-spacing: 0.18em;
      color: var(--accent);
      margin-bottom: 4px;
      font-weight: 600;
    }

    .future-cta {
      display: flex;
      flex-direction: column;
      gap: 12px;
      font-size: 13px;
      color: var(--muted);
    }

    .future-note {
      font-size: 12px;
      color: var(--muted);
      line-height: 1.6;
      opacity: 0.8;
    }

    .song-player {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 10px;
    }

    .progress-bar {
      flex: 1;
      height: 4px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 2px;
      overflow: hidden;
      cursor: pointer;
    }

    .progress {
      width: 30%;
      height: 100%;
      background: var(--accent);
      border-radius: 2px;
      transition: width 0.1s;
    }

    /* Footer */
    footer {
      padding: 26px 0 32px;
      font-size: 11px;
      color: var(--muted);
      text-align: center;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      margin-top: 32px;
      position: relative;
    }

    footer::before {
      content: "♥";
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
      width: 24px;
      height: 24px;
      background: var(--bg);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent);
      font-size: 12px;
    }

    .heart-btn {
      background: none;
      border: none;
      color: var(--accent);
      font-size: 24px;
      cursor: pointer;
      transition: transform 0.3s;
      margin: 0 5px;
    }

    .heart-btn:hover {
      transform: scale(1.3);
    }

    /* Responsive */
    @media (max-width: 920px) {
      .hero-grid,
      .story-grid,
      .future-panel {
        grid-template-columns: minmax(0, 1fr);
      }
      .hero {
        padding-top: 64px;
      }
      .card-row {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      }
    }

    @media (max-width: 720px) {
      .nav-inner {
        justify-content: space-between;
      }
      .nav-links {
        display: none;
      }
      .hero-title {
        font-size: 32px;
      }
      section {
        padding: 44px 0;
      }
      .memory-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 480px) {
      .hero-actions {
        flex-direction: column;
        align-items: stretch;
      }
      .hero-actions button {
        width: 100%;
      }
      .memory-grid {
        grid-template-columns: 1fr;
      }
    }

    /* Modal for photo upload */
    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(5, 6, 10, 0.95);
      z-index: 100;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(10px);
    }

    .modal-content {
      background: var(--card);
      border-radius: var(--radius);
      padding: 30px;
      max-width: 400px;
      width: 90%;
      border: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
    }

    .modal-header {
      margin-bottom: 20px;
      text-align: center;
    }

    .modal-title {
      font-size: 18px;
      margin-bottom: 8px;
      color: #fff;
    }

    .modal-text {
      font-size: 13px;
      color: var(--muted);
    }

    .modal-actions {
      display: flex;
      gap: 10px;
      margin-top: 20px;
    }

    .modal-actions button {
      flex: 1;
    }

    /* Typewriter effect */
    .typewriter {
      overflow: hidden;
      border-right: 2px solid var(--accent);
      white-space: nowrap;
      animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
    }

    @keyframes typing {
      from { width: 0 }
      to { width: 100% }
    }

    @keyframes blink-caret {
      from, to { border-color: transparent }
      50% { border-color: var(--accent) }
    }