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

        :root {
            --primary: #ff6b9d;
            --secondary: #ffd93d;
            --accent: #c44569;
            --bg: #fff5f7;
            --text: #2d1b2e;
            --light: #ffe5ec;
            --card: #ffffff;
            --surface: #fff7fa;
            --shadow: rgba(255, 107, 157, 0.15);
            --glow: rgba(255, 107, 157, 0.25);
        }

        body[data-theme="dark"] {
            --primary: #ff7ab6;
            --secondary: #ffd56a;
            --accent: #ff5f8a;
            --bg: #0f0b14;
            --text: #f6e9f0;
            --light: #1b1224;
            --card: #16111f;
            --surface: #1a1326;
            --shadow: rgba(255, 122, 182, 0.25);
            --glow: rgba(255, 122, 182, 0.35);
        }

        body {
            font-family: 'DM Sans', sans-serif;
            background: linear-gradient(135deg, var(--bg) 0%, var(--surface) 50%, #ffd5e2 100%);
            color: var(--text);
            overflow-x: hidden;
            min-height: 100vh;
            position: relative;
        }

        body[data-theme="dark"] {
            background: radial-gradient(circle at top right, #24152f 0%, transparent 45%),
                        radial-gradient(circle at bottom left, #1b1026 0%, transparent 50%),
                        linear-gradient(135deg, #0f0b14 0%, #150e1f 50%, #0f0b14 100%);
        }

        .night-sky {
            position: fixed;
            inset: 0;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.5s ease;
            z-index: 0;
        }

        body[data-theme="dark"] .night-sky {
            opacity: 1;
            background:
                radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.8), transparent 60%),
                radial-gradient(1px 1px at 30% 80%, rgba(255, 255, 255, 0.6), transparent 60%),
                radial-gradient(1px 1px at 70% 30%, rgba(255, 255, 255, 0.7), transparent 60%),
                radial-gradient(1px 1px at 85% 70%, rgba(255, 255, 255, 0.5), transparent 60%),
                radial-gradient(1px 1px at 55% 55%, rgba(255, 255, 255, 0.6), transparent 60%),
                radial-gradient(2px 2px at 20% 40%, rgba(255, 200, 220, 0.7), transparent 70%),
                radial-gradient(2px 2px at 80% 20%, rgba(255, 200, 220, 0.6), transparent 70%),
                radial-gradient(120px 120px at 80% 10%, rgba(255, 120, 182, 0.15), transparent 70%),
                radial-gradient(180px 180px at 15% 85%, rgba(124, 78, 255, 0.12), transparent 70%);
        }

        /* Floating hearts background */
        .heart-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
        }

        .floating-heart {
            position: absolute;
            font-size: 20px;
            animation: float 15s infinite;
            opacity: 0.15;
        }

        @keyframes float {
            0% {
                transform: translateY(100vh) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 0.15;
            }
            90% {
                opacity: 0.15;
            }
            100% {
                transform: translateY(-100vh) rotate(360deg);
                opacity: 0;
            }
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            position: relative;
            z-index: 1;
        }

        /* Header */
        header {
            text-align: center;
            padding: 60px 20px 40px;
            animation: fadeInDown 1s ease;
        }

        h1 {
            font-family: 'Crimson Pro', serif;
            font-size: clamp(3rem, 8vw, 5rem);
            font-weight: 700;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 20px;
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }

        .subtitle {
            font-family: 'Caveat', cursive;
            font-size: clamp(1.5rem, 4vw, 2rem);
            color: var(--accent);
            margin-bottom: 10px;
        }

        .date-countdown {
            font-size: 1rem;
            color: var(--text);
            opacity: 0.7;
            margin-top: 15px;
        }

        /* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}


.cards-grid.letter-expanded {
    grid-template-columns: 1fr;
}

.card.dimmed {
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
    max-height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.letter-card.focused {
    grid-column: 1 / -1;
    z-index: 2;
}

.memory-card.focused {
    grid-column: 1 / -1;
    z-index: 2;
}

.memories-list.collapsed .memory-item:not(:first-child) {
    display: none;
}

        .card {
            background: var(--card);
            border-radius: 25px;
            padding: 35px;
            box-shadow: 0 10px 40px var(--shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            animation: fadeInUp 0.8s ease forwards;
            opacity: 0;
            position: relative;
            overflow: hidden;
        }


        .card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255, 107, 157, 0.1), transparent);
            transform: rotate(45deg);
            transition: all 0.5s ease;
            pointer-events: none;
        }

        .card:hover::before {
            left: 100%;
        }

        .card:nth-child(1) { animation-delay: 0.1s; }
        .card:nth-child(2) { animation-delay: 0.2s; }
        .card:nth-child(3) { animation-delay: 0.3s; }
        .card:nth-child(4) { animation-delay: 0.4s; }
        .card:nth-child(5) { animation-delay: 0.5s; }
        .card:nth-child(6) { animation-delay: 0.6s; }

        .card:hover {
            transform: translateY(-10px) rotate(1deg);
            box-shadow: 0 20px 60px var(--glow);
        }

        .card-icon {
            font-size: 3rem;
            margin-bottom: 20px;
            display: inline-block;
            animation: bounce 2s ease-in-out infinite;
        }

        @keyframes bounce {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
        }

        .card h2 {
            font-family: 'Crimson Pro', serif;
            font-size: 1.8rem;
            color: var(--accent);
            margin-bottom: 15px;
        }

        .card p {
            color: var(--text);
            line-height: 1.6;
            margin-bottom: 20px;
            opacity: 0.8;
        }

        /* Buttons */
        .btn {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            border: none;
            padding: 12px 28px;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
            font-family: 'DM Sans', sans-serif;
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 25px rgba(255, 107, 157, 0.5);
        }

        .btn:active {
            transform: translateY(0);
        }

        .btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        /* Counter */
        .counter-display {
            font-size: 4rem;
            font-weight: 700;
            color: var(--primary);
            margin: 20px 0;
            font-family: 'Crimson Pro', serif;
            text-align: center;
        }

        /* Love Note Display */
        .love-note {
            background: var(--light);
            padding: 25px;
            border-radius: 15px;
            margin: 20px 0;
            min-height: 120px;
            border-left: 4px solid var(--primary);
            font-family: 'Caveat', cursive;
            font-size: 1.5rem;
            line-height: 1.8;
            color: var(--accent);
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            animation: slideIn 0.5s ease;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(-20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* Memory Jar */
        .memory-input {
            width: 100%;
            padding: 15px;
            border: 2px solid rgba(255, 107, 157, 0.2);
            border-radius: 15px;
            font-size: 1rem;
            font-family: 'DM Sans', sans-serif;
            margin-bottom: 15px;
            transition: border-color 0.3s ease;
            background: var(--surface);
            color: var(--text);
        }

        .memory-input:focus {
            outline: none;
            border-color: var(--primary);
        }

        .memories-list {
            max-height: 300px;
            overflow-y: auto;
            margin-top: 20px;
        }

        .memory-item {
            background: var(--light);
            padding: 15px;
            border-radius: 12px;
            margin-bottom: 10px;
            animation: fadeIn 0.5s ease;
            position: relative;
            padding-right: 45px;
        }

        .memory-date {
            font-size: 0.75rem;
            color: var(--accent);
            opacity: 0.7;
            margin-bottom: 5px;
        }

        .delete-memory {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: var(--primary);
            color: white;
            border: none;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            line-height: 1;
            transition: all 0.3s ease;
        }

        .delete-memory:hover {
            background: var(--accent);
            transform: translateY(-50%) scale(1.1);
        }

        /* Photo Upload */
        .photo-upload {
            border: 3px dashed var(--primary);
            border-radius: 15px;
            padding: 40px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            background: var(--light);
        }

        .photo-upload:hover {
            background: white;
            border-color: var(--accent);
        }

        .photo-upload input {
            display: none;
        }

.photos-grid {
    display: block;
    margin-top: 20px;
}

.photo-deck {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 1;
}

.photo-card {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transition: transform 0.35s ease, opacity 0.35s ease;
    background: white;
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-card.back-1 {
    transform: translate(10px, 10px) rotate(2deg) scale(0.98);
    opacity: 0.8;
}

.photo-card.back-2 {
    transform: translate(18px, 18px) rotate(4deg) scale(0.96);
    opacity: 0.6;
}

.photo-card.front {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 1;
}

.photo-deck-hint {
    text-align: center;
    font-size: 0.85rem;
    color: var(--accent);
    margin-top: 10px;
}

.delete-photo {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--accent);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
    z-index: 5;
}

.delete-photo:hover {
    transform: scale(1.1);
}

        /* Quiz Section */
        .quiz-option {
            background: var(--light);
            padding: 15px;
            border-radius: 12px;
            margin-bottom: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .quiz-option:hover {
            background: white;
            border-color: var(--primary);
            transform: translateX(5px);
        }

        .quiz-option.correct {
            background: #d4edda;
            border-color: #28a745;
        }

        .quiz-option.incorrect {
            background: #f8d7da;
            border-color: #dc3545;
        }

        .quiz-result {
            margin-top: 20px;
            padding: 20px;
            border-radius: 15px;
            background: var(--light);
            text-align: center;
            font-family: 'Caveat', cursive;
            font-size: 1.5rem;
            animation: fadeIn 0.5s ease;
        }

        /* Secret Messages Vault */
        .locked-counter {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            padding: 20px;
            border-radius: 15px;
            font-family: 'Crimson Pro', serif;
        }

        .locked-counter-number {
            font-size: 3rem;
            font-weight: 700;
            display: block;
            margin: 10px 0;
        }

        .locked-counter-text {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        .locked-message {
            background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
            padding: 20px;
            border-radius: 15px;
            margin-bottom: 15px;
            border: 2px solid var(--primary);
            position: relative;
            animation: fadeIn 0.5s ease;
        }

        body[data-theme="dark"] .locked-message {
            background: linear-gradient(135deg, #1a1326, #21162f);
        }

        body[data-theme="dark"] .unlocked-message {
            background: linear-gradient(135deg, #1b2a1f, #213326);
        }

        body[data-theme="dark"] .letter-text {
            background: #1a1326;
            color: #f6e9f0;
        }

        body[data-theme="dark"] .love-note,
        body[data-theme="dark"] .memory-item,
        body[data-theme="dark"] .quiz-option,
        body[data-theme="dark"] .photo-upload {
            background: #1a1326;
        }

        body[data-theme="dark"] .photo-deck-hint,
        body[data-theme="dark"] .vault-auth-hint,
        body[data-theme="dark"] .subtitle,
        body[data-theme="dark"] .date-countdown {
            color: #d9c5d2;
        }

        body[data-theme="dark"] .btn {
            box-shadow: 0 6px 20px rgba(255, 122, 182, 0.35);
        }

        body[data-theme="dark"] .card {
            box-shadow: none;
            border: 1px solid rgba(255, 255, 255, 0.06);
        }

        body[data-theme="dark"] .card::before {
            background: linear-gradient(45deg, transparent, rgba(255, 122, 182, 0.08), transparent);
        }

        .theme-toggle {
            margin-top: 18px;
            background: rgba(255, 255, 255, 0.6);
            border: 2px solid rgba(255, 107, 157, 0.25);
            color: var(--accent);
            padding: 10px 18px;
            border-radius: 999px;
            cursor: pointer;
            font-family: 'DM Sans', sans-serif;
            transition: all 0.3s ease;
        }

        .theme-toggle:hover {
            background: rgba(255, 107, 157, 0.1);
            transform: translateY(-1px);
        }

        body[data-theme="dark"] .theme-toggle {
            background: rgba(22, 17, 31, 0.8);
            color: #f6e9f0;
            border-color: rgba(255, 122, 182, 0.3);
        }

        .locked-message::before {
            content: '🔒';
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 1.5rem;
        }

        .locked-message-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
            font-size: 0.9rem;
            color: var(--accent);
        }

        .locked-message-preview {
            color: var(--text);
            font-style: italic;
            opacity: 0.6;
            margin-bottom: 10px;
        }

        .unlocked-message {
            background: linear-gradient(135deg, #d4edda, #c3e6cb);
            padding: 25px;
            border-radius: 15px;
            margin-bottom: 15px;
            border: 2px solid #28a745;
            position: relative;
            animation: unlockAnimation 0.8s ease;
        }

        @keyframes unlockAnimation {
            0% {
                transform: scale(0.9);
                opacity: 0;
            }
            50% {
                transform: scale(1.05);
            }
            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        .unlocked-message::before {
            content: '🔓';
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 1.5rem;
        }

        .unlocked-message-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            font-size: 0.85rem;
            color: #155724;
            font-weight: 500;
        }

        .unlocked-message-text {
            font-family: 'Caveat', cursive;
            font-size: 1.4rem;
            line-height: 1.8;
            color: var(--text);
            margin-bottom: 10px;
        }

        .error-message {
            background: #f8d7da;
            color: #721c24;
            padding: 15px;
            border-radius: 10px;
            margin-top: 15px;
            border-left: 4px solid #dc3545;
            animation: shake 0.5s ease;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-10px); }
            75% { transform: translateX(10px); }
        }

        .success-message {
            background: #d4edda;
            color: #155724;
            padding: 15px;
            border-radius: 10px;
            margin-top: 15px;
            border-left: 4px solid #28a745;
            animation: fadeIn 0.5s ease;
        }

        .delete-secret {
            background: #dc3545;
            color: white;
            border: none;
            padding: 8px 15px;
            border-radius: 20px;
            cursor: pointer;
            font-size: 0.85rem;
            transition: all 0.3s ease;
            margin-top: 10px;
        }

        .delete-secret:hover {
            background: #c82333;
            transform: scale(1.05);
        }

        /* Open Letter */
        .letter-button {
            position: relative;
            perspective: 1000px;
        }

        .envelope {
            width: 200px;
            height: 140px;
            margin: 20px auto;
            position: relative;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .envelope:hover {
            transform: scale(1.05);
        }

        .envelope-body {
            width: 100%;
            height: 100%;
            background: white;
            border: 3px solid var(--primary);
            border-radius: 5px;
            position: relative;
        }

        .envelope-flap {
            width: 0;
            height: 0;
            border-left: 100px solid transparent;
            border-right: 100px solid transparent;
            border-top: 70px solid var(--primary);
            position: absolute;
            top: 0;
            left: 0;
            transform-origin: top center;
            transition: transform 0.5s ease;
        }

        .envelope.open .envelope-flap {
            transform: rotateX(180deg);
        }

        .letter-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease;
            margin-top: 20px;
        }

        .letter-content.show {
            max-height: 800px;
        }

.letter-text {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    font-family: 'Caveat', cursive;
            font-size: 1.3rem;
            line-height: 2;
    color: var(--text);
}

.letter-fill {
    margin-top: 25px;
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.08), rgba(255, 217, 61, 0.12));
    text-align: center;
    border: 1px dashed rgba(255, 107, 157, 0.35);
}

.letter-stars {
    color: var(--accent);
    letter-spacing: 6px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.letter-whisper {
    font-family: 'Caveat', cursive;
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.letter-seal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.3);
    font-family: 'Crimson Pro', serif;
}

        /* Cloud sync indicator */
        .sync-status {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: white;
            padding: 10px 20px;
            border-radius: 50px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            font-size: 0.9rem;
            z-index: 1000;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .sync-status.show {
            opacity: 1;
        }

        /* Animations */
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .cards-grid {
                grid-template-columns: 1fr;
            }
            
            h1 {
                font-size: 3rem;
            }
        }

        /* Particle effect on click */
        .particle {
            position: fixed;
            pointer-events: none;
            animation: particleFly 1s ease-out forwards;
            font-size: 20px;
            z-index: 9999;
        }

        @keyframes particleFly {
            0% {
                transform: translate(0, 0) rotate(0deg) scale(1);
                opacity: 1;
            }
            100% {
                transform: translate(var(--tx), var(--ty)) rotate(360deg) scale(0);
                opacity: 0;
            }
        }

/* Vault auth */
.vault-auth,
.vault-password {
    background: var(--light);
    padding: 20px;
    border-radius: 15px;
    margin: 15px 0 25px;
    border: 2px solid rgba(255, 107, 157, 0.2);
}

.vault-toggle {
    width: 100%;
    margin: 10px 0 15px;
}

.vault-panel {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 20px;
    border: 2px solid rgba(255, 107, 157, 0.15);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    transition: max-height 0.4s ease, opacity 0.3s ease, transform 0.3s ease;
    max-height: 2000px;
    opacity: 1;
    transform: translateY(0);
    overflow: hidden;
}

.vault-panel.collapsed {
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
    margin: 0;
}

.vault-locked {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(0.2);
}

.vault-password.focused {
    border-color: rgba(255, 107, 157, 0.6);
    box-shadow: 0 0 0 2px rgba(255, 107, 157, 0.15);
}

.vault-auth {
    background: linear-gradient(135deg, #ffe7f0, #fff4f8);
    border: 2px solid rgba(255, 107, 157, 0.2);
}

.vault-password {
    background: linear-gradient(135deg, #fff, #ffeef5);
    border: 2px solid rgba(196, 69, 105, 0.2);
}

.vault-auth .btn,
.vault-password .btn,
#createSecretSection .btn {
    width: 100%;
}

.vault-auth-row {
    align-items: center;
}

.vault-auth-row .memory-input {
    margin-bottom: 0;
}

.unlock-panel {
    background: linear-gradient(135deg, #fff, #ffeef5);
    border: 2px solid rgba(196, 69, 105, 0.2);
    border-radius: 18px;
    padding: 18px;
}

.unlock-panel .btn {
    width: 100%;
}

.unlock-bridge {
    background: rgba(255, 107, 157, 0.08);
    border: 1px dashed rgba(255, 107, 157, 0.35);
    padding: 14px;
    border-radius: 14px;
    margin: 10px 0 15px;
    text-align: center;
    color: var(--accent);
}

.btn-ghost {
    background: transparent;
    color: var(--accent);
    border: 2px solid rgba(255, 107, 157, 0.35);
    box-shadow: none;
}

.btn-ghost:hover {
    background: rgba(255, 107, 157, 0.08);
}

.vault-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: -10px 0 10px;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.connector-line {
    height: 3px;
    width: 120px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 157, 0.6), transparent);
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(255, 107, 157, 0.25);
}

.connector-dot {
    background: white;
    border: 2px solid rgba(255, 107, 157, 0.4);
    color: var(--accent);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(255, 107, 157, 0.2);
}

.vault-connector:hover .connector-dot {
    box-shadow: 0 10px 24px rgba(255, 107, 157, 0.35);
    transform: scale(1.05);
}

.vault-connector:hover .connector-line {
    box-shadow: 0 0 16px rgba(255, 107, 157, 0.4);
}

.hidden-card {
    display: none;
}

.vault-auth h3,
.vault-password h3 {
    font-family: 'Crimson Pro', serif;
    color: var(--accent);
    margin-bottom: 10px;
}

.vault-auth-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-bottom: 10px;
}

.otp-actions {
    align-items: center;
}

.vault-auth-hint {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 10px;
}

.vault-auth-status {
    font-size: 0.9rem;
    margin-top: 10px;
    color: var(--accent);
}

.otp-field {
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease;
}

.otp-field.show {
    max-height: 80px;
    opacity: 1;
    transform: translateY(0);
}

.otp-field input {
    margin-bottom: 0;
}

.ready-badge {
    background: white;
    border: 2px solid rgba(255, 107, 157, 0.25);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 12px;
    text-align: center;
}

@media (max-width: 768px) {
    .vault-auth-row {
        grid-template-columns: 1fr;
    }

    .vault-connector {
        flex-direction: column;
        margin: -5px 0 15px;
    }

    .connector-line {
        width: 3px;
        height: 90px;
        background: linear-gradient(180deg, transparent, rgba(255, 107, 157, 0.6), transparent);
    }

    .vault-panel.collapsed {
        max-height: 2000px;
        opacity: 1;
        transform: translateY(0);
        padding-top: 20px;
        padding-bottom: 20px;
        border-width: 2px;
    }
}
