body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
    background: #1b001f;
    color: white;
  }
  
  .vault-sky {
    position: fixed;
    width: 100%;
    height: 100%;
    background: url('https://cdn.pixabay.com/photo/2016/11/29/12/54/galaxy-1867612_1280.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.15;
    z-index: 0;
  }
  
  .vault-glow {
    position: fixed;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 0, 150, 0.15), transparent 70%);
    z-index: 1;
  }
  
  .glowing-lock {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    animation: glowLock 2s infinite ease-in-out;
    color: #ff4d79;
    z-index: 10;
    transition: all 0.4s ease;
  }
  
  @keyframes glowLock {
    0%, 100% { text-shadow: 0 0 10px #ff99bb, 0 0 20px #ff4d79; }
    50% { text-shadow: 0 0 25px #ff4d79, 0 0 40px #ff0077; }
  }
  
  .glowing-lock.unlocked {
    animation: unlockPop 0.6s ease-out forwards;
    color: #00ff88;
    text-shadow: 0 0 25px #00ffaa, 0 0 40px #00ffaa;
  }
  
  @keyframes unlockPop {
    0% {
      transform: rotate(0deg) scale(1);
      opacity: 1;
    }
    30% {
      transform: rotate(-20deg) scale(1.1);
    }
    60% {
      transform: rotate(20deg) scale(1.2);
    }
    100% {
      transform: rotate(0deg) scale(1.4);
    }
  }
  
  .vault-container {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 3rem 1.5rem;
    max-width: 600px;
    margin: auto;
    margin-top: 8vh;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(255,255,255,0.1);
  }
  
  h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    background: linear-gradient(90deg, #ffd700, #ff4d79, #ffd700);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(255, 105, 180, 0.5);
    animation: rainbowText 6s linear infinite;
  }
  
  @keyframes rainbowText {
    0% { background-position: 0%; }
    100% { background-position: 200%; }
  }
  
  .vault-subtitle {
    font-size: 1.1rem;
    background: linear-gradient(90deg, #ffffff, #ffd6e5, #ffc0cb);
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(255, 192, 203, 0.3);
    margin-bottom: 2rem;
  }
  
  .vault-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    position: relative;
  }
  
  #vault-input {
    padding: 0.7rem 1rem;
    font-size: 1rem;
    border-radius: 10px;
    border: none;
    outline: none;
    width: 80%;
    max-width: 300px;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.2s;
  }
  
  #vault-input.typing {
    box-shadow: 0 0 10px #ff99bb;
    transform: scale(1.03);
  }
  
  .show-pass {
    margin-top: -10px;
    font-size: 0.9rem;
    color: #ffc0d9;
    user-select: none;
  }
  
  #vault-button {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    background: linear-gradient(135deg, #ff4d79, #ff99bb);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 0, 90, 0.4);
    transition: all 0.3s;
  }
  
  #vault-button:hover {
    background: #e6005c;
  }
  
  /* Heartbeat */
  .heartbeat-glow {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 77, 121, 0.3) 40%, transparent 70%);
    border-radius: 50%;
    animation: heartbeat 1.5s infinite ease-in-out;
    z-index: -1;
  }
  
  @keyframes heartbeat {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.6; }
    50% { transform: translateX(-50%) scale(1.3); opacity: 0.9; }
  }
  
  /* Hint */
  .hint-line {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #ffc0cb;
  }
  
  #hint-btn {
    background: none;
    border: none;
    color: #ffb6c1;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: 'Montserrat';
  }
  
  .hidden-hint {
    display: none;
    color: #ffd6e5;
    margin-left: 0.5rem;
  }
  
  .fade-out {
    animation: fadeOutHint 1s ease forwards;
  }
  
  @keyframes fadeOutHint {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.95); }
  }
  
  /* Surprise */
  .vault-hidden {
    display: none;
    margin-top: 2rem;
  }
  
  .vault-hidden.show {
    display: block;
    animation: fadeIn 1s ease-in-out;
  }
  
  .vault-photo {
    margin-top: 1rem;
    width: 250px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(255, 192, 203, 0.4);
  }
  
  .vault-audio {
    margin-top: 1.5rem;
  }
  
  .vault-quote {
    font-style: italic;
    margin-top: 1.5rem;
    color: #ffc9dc;
    font-size: 1rem;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  