    :root {
      --bg-black: #000000;
      --bg-card: #12131A;
      --bg-card-hover: #161822;
      --bg-card-sub: #1A1C28;
      --border-subtle: rgba(255, 255, 255, 0.08);
      --border-hover: rgba(255, 255, 255, 0.2);
      --text-white: #FFFFFF;
      --text-muted: #9CA3AF;
      --text-dim: #6B7280;
      --accent-peach: #F5B8A8;
      --accent-lavender: #C5BBE8;
      --accent-ice: #E2E6FF;
      --accent-purple: #7C65E8;
      --accent-blue: #5BB2F6;
      --accent-emerald: #10B981;
      --accent-amber: #F59E0B;
      --radius-sm: 8px;
      --radius-md: 14px;
      --radius-lg: 20px;
      --radius-pill: 9999px;
      --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      --font-mono: 'JetBrains Mono', monospace;
    }

    body {
      background-color: var(--bg-black);
      color: var(--text-white);
      font-family: var(--font-main);
      overflow-x: hidden;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
    }
    
    /* Ambient Background Glow (100% Synced with Home Screen) */
    .ambient-glow {
      position: fixed;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100vw;
      height: 100vh;
      background: radial-gradient(circle at 50% 20%, rgba(124, 101, 232, 0.12) 0%, rgba(245, 184, 168, 0.05) 40%, transparent 70%);
      pointer-events: none;
      z-index: 0;
      animation: ambientBreathing 10s ease-in-out infinite alternate;
    }

    @keyframes ambientBreathing {
      0% { opacity: 0.7; transform: translateX(-50%) scale(0.98); }
      50% { opacity: 1; transform: translateX(-50%) scale(1.03); }
      100% { opacity: 0.8; transform: translateX(-50%) scale(1); }
    }

    .obsidian-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
      transition: border-color 0.2s ease, transform 0.2s ease;
    }

    .obsidian-card:hover {
      border-color: var(--border-hover);
    }

    .obsidian-panel {
      background: var(--bg-card-sub);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
    }

    /* Floating Pill Navbar (100% Synced with Index) */
    .navbar-container {
      position: fixed;
      top: 24px;
      left: 0;
      width: 100%;
      display: flex;
      justify-content: center;
      z-index: 1000;
      padding: 0 16px;
    }

    .navbar-pill {
      display: flex;
      align-items: center;
      gap: 6px;
      background: rgba(18, 19, 26, 0.85);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-pill);
      padding: 6px 10px;
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-brand {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px;
      text-decoration: none;
      color: var(--text-white);
      font-weight: 700;
      font-size: 15px;
      letter-spacing: -0.02em;
    }

    .nav-brand-icon {
      width: 20px;
      height: 20px;
      background: linear-gradient(135deg, var(--accent-peach), var(--accent-purple));
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: 800;
      color: #000;
      transition: transform 0.25s ease;
    }

    .nav-brand:hover .nav-brand-icon {
      transform: rotate(8deg) scale(1.08);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 2px;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .nav-link {
      padding: 8px 14px;
      font-size: 13.5px;
      font-weight: 500;
      color: var(--text-muted);
      text-decoration: none;
      border-radius: var(--radius-pill);
      transition: all 0.2s ease;
    }

    .nav-link:hover, .nav-link.active {
      color: var(--text-white);
      background: rgba(255, 255, 255, 0.06);
    }

    .nav-cta {
      background: #FFFFFF;
      color: #000000;
      padding: 8px 18px;
      border-radius: var(--radius-pill);
      font-size: 13.5px;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.2s ease;
      margin-left: 6px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .nav-cta:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 18px rgba(255, 255, 255, 0.3);
    }

    .nav-login-link {
      color: var(--text-muted);
      font-size: 13.5px;
      font-weight: 500;
      text-decoration: none;
      padding: 8px 14px;
      border-radius: var(--radius-pill);
      transition: all 0.2s ease;
    }

    .nav-login-link:hover {
      color: var(--text-white);
      background: rgba(255, 255, 255, 0.06);
    }

    /* Navbar User Auth Pill (Last Position) */
    .nav-profile-pill {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: rgba(16, 185, 129, 0.12);
      border: 1px solid rgba(16, 185, 129, 0.35);
      color: #FFFFFF;
      padding: 5px 12px 5px 6px;
      border-radius: var(--radius-pill);
      font-size: 13px;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.2s ease;
      margin-left: 6px;
    }
    .nav-profile-pill:hover {
      background: rgba(16, 185, 129, 0.22);
      border-color: rgba(16, 185, 129, 0.6);
      box-shadow: 0 0 14px rgba(16, 185, 129, 0.3);
      transform: translateY(-1px);
    }
    .nav-profile-avatar {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: #10B981;
      color: #000000;
      font-size: 10px;
      font-weight: 800;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
    .nav-profile-name {
      font-family: inherit;
    }
    .nav-profile-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #10B981;
    }
    @media (max-width: 1024px) {
      .navbar-container {
        top: 14px !important;
        padding: 0 12px !important;
      }
      .navbar-pill {
        padding: 5px 10px !important;
        gap: 6px !important;
      }
      .nav-links {
        display: none !important;
      }
      main {
        padding-top: 80px !important;
      }
    }
    @media (max-width: 768px) {
      main {
        padding-top: 68px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        gap: 14px !important;
      }
      .obsidian-card {
        padding: 20px 16px !important;
        border-radius: 18px !important;
      }
      #vault-login-screen {
        margin-top: 4px !important;
        margin-bottom: 8px !important;
      }
    }

    /* Live Vault Real-Time Unlock Animations */
    @keyframes vaultGrandEntrance {
      0% {
        opacity: 0;
        transform: translateY(28px) scale(0.97);
        filter: brightness(1.4) blur(4px);
      }
      60% {
        filter: brightness(1.1) blur(0);
      }
      100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: brightness(1) blur(0);
      }
    }
    .vault-grand-entrance {
      animation: vaultGrandEntrance 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes celebrationPop {
      0% {
        opacity: 0;
        transform: scale(0.7) translateY(20px);
      }
      50% {
        transform: scale(1.04) translateY(-4px);
      }
      100% {
        opacity: 1;
        transform: scale(1) translateY(0);
      }
    }
    .celebration-pop {
      animation: celebrationPop 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    }

    @keyframes goldenLockSpin {
      0% {
        transform: scale(0.85) rotate(-10deg);
        filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.4));
      }
      50% {
        transform: scale(1.15) rotate(10deg);
        filter: drop-shadow(0 0 35px rgba(16, 185, 129, 0.9));
      }
      100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 20px rgba(124, 101, 232, 0.8));
      }
    }
    .golden-lock-anim {
      animation: goldenLockSpin 1.4s cubic-bezier(0.34, 1.56, 0.64, 1) infinite alternate;
    }

    @keyframes ringPulseGlow {
      0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
      }
      70% {
        box-shadow: 0 0 0 24px rgba(16, 185, 129, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
      }
    }
    .ring-pulse-glow {
      animation: ringPulseGlow 1.8s infinite;
    }

    @keyframes cardCelebrationHighlight {
      0% {
        box-shadow: 0 0 0 rgba(16, 185, 129, 0);
        border-color: rgba(245, 158, 11, 0.4);
      }
      50% {
        box-shadow: 0 0 40px rgba(16, 185, 129, 0.45);
        border-color: rgba(16, 185, 129, 0.8);
      }
      100% {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
        border-color: rgba(16, 185, 129, 0.6);
      }
    }
    .celebration-highlight {
      animation: cardCelebrationHighlight 1.5s ease-out forwards;
    }
