/* ============================================= */
/*    💕 OUR LOVE STORY - COMPLETE STYLES 💕     */
/* ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&family=Poppins:wght@300;400;600;700&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    background: #0a0a0a;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(220,20,60,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(220,20,60,0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(139,0,0,0.08) 0%, transparent 50%);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: #DC143C; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #FF007F; }
::selection { background: rgba(220,20,60,0.3); color: white; }

/* ---------- Rose Border ---------- */
.rose-border { position: relative; }
.rose-border::before {
    content: '🌹'; position: absolute; top: -15px; left: 20px;
    font-size: 26px; animation: roseSway 3s ease-in-out infinite;
}
.rose-border::after {
    content: '🤍'; position: absolute; bottom: -15px; right: 20px;
    font-size: 22px; animation: roseSway 3s ease-in-out infinite reverse;
}
@keyframes roseSway {
    0%, 100% { transform: rotate(-12deg); }
    50% { transform: rotate(12deg); }
}

/* ---------- Counter Box ---------- */
.counter-box {
    transition: all 0.3s ease;
    position: relative; overflow: hidden;
}
.counter-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(220,20,60,0.25);
}
.counter-box::before {
    content: ''; position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220,20,60,0.08), transparent);
    transition: left 0.5s;
}
.counter-box:hover::before { left: 100%; }

/* ---------- Calendar ---------- */
.calendar-day {
    aspect-ratio: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    border-radius: 10px; cursor: pointer;
    transition: all 0.3s ease; position: relative;
    font-size: 0.85rem; border: 1px solid transparent; min-height: 40px;
}
.calendar-day:hover {
    background: rgba(220,20,60,0.15);
    border-color: rgba(220,20,60,0.4); transform: scale(1.05);
}
.calendar-day.today {
    background: rgba(220,20,60,0.25);
    border: 2px solid #DC143C; font-weight: bold;
    box-shadow: 0 0 12px rgba(220,20,60,0.35);
}
.calendar-day.has-event {
    background: rgba(220,20,60,0.1);
    border: 1px solid rgba(220,20,60,0.3);
}
.calendar-day.has-event::after {
    content: '🌹'; position: absolute; bottom: 1px; font-size: 8px;
}
.calendar-day.is-anniversary {
    background: linear-gradient(135deg, rgba(220,20,60,0.3), rgba(139,0,0,0.3));
    border: 2px solid #DC143C;
    animation: anniversaryGlow 2s ease-in-out infinite;
}
.calendar-day.is-anniversary::after {
    content: '💕'; font-size: 8px;
}
.calendar-day.start-date {
    background: linear-gradient(135deg, #DC143C, #8B0000);
    color: white; font-weight: bold;
    box-shadow: 0 0 18px rgba(220,20,60,0.5);
    animation: heartbeat 1.5s ease-in-out infinite;
}
.calendar-day.start-date::after {
    content: '❤️'; font-size: 10px; position: absolute; bottom: 1px;
}
.calendar-day.empty { cursor: default; }
.calendar-day.empty:hover {
    background: transparent; transform: none; border-color: transparent;
}
.calendar-day.other-month { opacity: 0.25; }

@keyframes anniversaryGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(220,20,60,0.25); }
    50% { box-shadow: 0 0 20px rgba(220,20,60,0.5); }
}
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

/* ---------- Day Tooltip ---------- */
.day-tooltip {
    position: absolute; bottom: calc(100% + 6px);
    left: 50%; transform: translateX(-50%);
    background: #1a1a1a; border: 1px solid #DC143C;
    border-radius: 6px; padding: 4px 10px;
    white-space: nowrap; font-size: 0.65rem;
    color: white; z-index: 100;
    pointer-events: none; opacity: 0;
    transition: opacity 0.2s;
}
.calendar-day:hover .day-tooltip { opacity: 1; }

/* ---------- Event Card ---------- */
.event-card {
    background: rgba(0,0,0,0.5); border: 1px solid rgba(220,20,60,0.2);
    border-radius: 16px; padding: 18px; transition: all 0.3s;
    backdrop-filter: blur(8px); position: relative;
    overflow: hidden; cursor: pointer;
}
.event-card:hover {
    border-color: rgba(220,20,60,0.5);
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(220,20,60,0.15);
}
.event-card::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #DC143C, #8B0000);
    border-radius: 3px 0 0 3px;
}

/* ---------- Milestone Card ---------- */
.milestone-card {
    background: rgba(0,0,0,0.5); border: 1px solid rgba(220,20,60,0.2);
    border-radius: 16px; padding: 20px; text-align: center;
    transition: all 0.3s; backdrop-filter: blur(8px);
    position: relative; overflow: hidden;
}
.milestone-card:hover {
    border-color: rgba(220,20,60,0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(220,20,60,0.15);
}
.milestone-card.achieved {
    border-color: rgba(220,20,60,0.4);
    background: linear-gradient(135deg, rgba(220,20,60,0.08), rgba(0,0,0,0.5));
    cursor: pointer;
}
.milestone-card.achieved::after {
    content: '✓'; position: absolute; top: 8px; right: 12px;
    color: #DC143C; font-size: 18px; font-weight: bold;
}

/* ---------- Alert Bar ---------- */
.alert-bar {
    border-radius: 14px; padding: 14px 20px;
    display: flex; align-items: center; gap: 14px;
    animation: slideInDown 0.4s ease; backdrop-filter: blur(8px);
    transition: all 0.3s;
}
.alert-bar:hover { transform: scale(1.01); }
.alert-bar.alert-today {
    background: linear-gradient(135deg, rgba(220,20,60,0.3), rgba(139,0,0,0.3));
    border: 2px solid rgba(220,20,60,0.5);
    box-shadow: 0 0 25px rgba(220,20,60,0.3);
    animation: slideInDown 0.4s ease, alertPulse 2.5s ease-in-out infinite;
}
.alert-bar.alert-upcoming {
    background: rgba(220,20,60,0.08);
    border: 1px solid rgba(220,20,60,0.2);
}
@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes alertPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(220,20,60,0.2); }
    50% { box-shadow: 0 0 35px rgba(220,20,60,0.5); }
}

/* ---------- Puzzle Gallery ---------- */
.puzzle-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-auto-rows: 180px;
    gap: 8px;
    grid-auto-flow: dense;
}
.puzzle-item.puzzle-large {
    grid-column: span 2; grid-row: span 2;
}
.puzzle-item.puzzle-tall {
    grid-row: span 2;
}
.puzzle-item.puzzle-wide {
    grid-column: span 2;
}
.puzzle-item.puzzle-normal {
    grid-column: span 1; grid-row: span 1;
}

@media (max-width: 640px) {
    .puzzle-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }
    .puzzle-item.puzzle-wide { grid-column: span 2; }
    .puzzle-item.puzzle-large { grid-column: span 2; grid-row: span 2; }
}

/* ---------- Floating Effects ---------- */
.petal {
    position: absolute; pointer-events: none;
    animation: petalFall linear forwards; z-index: 50;
}
@keyframes petalFall {
    0% { opacity: 1; transform: translateY(0) rotate(0deg) translateX(0); }
    25% { transform: translateY(25vh) rotate(90deg) translateX(25px); }
    50% { transform: translateY(50vh) rotate(180deg) translateX(-15px); }
    75% { transform: translateY(75vh) rotate(270deg) translateX(30px); }
    100% { opacity: 0; transform: translateY(100vh) rotate(360deg) translateX(-8px); }
}

.floating-heart {
    position: absolute;
    animation: floatHeart linear forwards;
    pointer-events: none; opacity: 0.08;
}
@keyframes floatHeart {
    0% { opacity: 0; transform: translateY(100vh) scale(0.5); }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1.1); }
}

.firework-particle {
    position: absolute; width: 4px; height: 4px; border-radius: 50%;
    animation: particleFly 1.2s ease-out forwards;
}
@keyframes particleFly {
    0% { opacity: 1; transform: translate(0,0) scale(1); }
    100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0); }
}

.confetti {
    position: absolute;
    animation: confettiFall linear forwards;
}
@keyframes confettiFall {
    0% { opacity: 1; transform: translateY(0) rotate(0deg); }
    100% { opacity: 0; transform: translateY(100vh) rotate(720deg); }
}

/* ---------- Celebration ---------- */
.celebration-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.8rem; color: #DC143C;
    text-shadow: 0 0 25px rgba(220,20,60,0.4);
    animation: celebrationPulse 1.5s ease-in-out infinite;
}
@keyframes celebrationPulse {
    0%, 100% { transform: scale(1); text-shadow: 0 0 25px rgba(220,20,60,0.4); }
    50% { transform: scale(1.04); text-shadow: 0 0 45px rgba(220,20,60,0.7); }
}

.celebration-emoji {
    font-size: 3.5rem;
    animation: bounceEmoji 1s ease-in-out infinite;
    display: inline-block;
}
@keyframes bounceEmoji {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-18px) rotate(-8deg); }
    75% { transform: translateY(-8px) rotate(8deg); }
}

.rose-garden { display: flex; justify-content: center; gap: 8px; margin: 18px 0; }
.rose-garden span {
    font-size: 2.2rem;
    animation: roseGrow 0.5s ease-out forwards; opacity: 0;
}
@keyframes roseGrow {
    0% { opacity: 0; transform: scale(0) rotate(-180deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* ---------- Glow Text ---------- */
.glow-text {
    text-shadow: 0 0 10px rgba(220,20,60,0.4),
                 0 0 20px rgba(220,20,60,0.2);
}

/* ---------- Delete Button ---------- */
.delete-btn { opacity: 0; transition: opacity 0.3s; }
.group:hover .delete-btn, .event-card:hover .delete-btn { opacity: 1; }

/* ---------- Input Date Fix ---------- */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1); cursor: pointer;
}

/* ---------- Active Nav ---------- */
.active-nav {
    background: rgba(139, 0, 0, 0.3) !important;
    color: #DC143C !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
    .celebration-title { font-size: 1.8rem; }
    .celebration-emoji { font-size: 2.5rem; }
    .calendar-day {
        font-size: 0.7rem; min-height: 32px; border-radius: 6px;
    }
    .calendar-day.has-event::after,
    .calendar-day.is-anniversary::after,
    .calendar-day.start-date::after {
        font-size: 6px;
    }
}

/* ---------- Animate Shake ---------- */
.animate-shake {
    animation: shake 0.5s ease-in-out;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

/* ============================================= */
/*     💕 UPDATED MODAL / POPUP STYLES 💕        */
/* ============================================= */

/* ---------- Modal Backdrop ---------- */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* ---------- Modal Content Box ---------- */
.modal-box {
    position: relative;
    background: #0d0d0d;
    border: 2px solid rgba(220, 20, 60, 0.5);
    border-radius: 24px;
    padding: 32px;
    max-width: 460px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow:
        0 0 60px rgba(220, 20, 60, 0.15),
        0 0 120px rgba(0, 0, 0, 0.8),
        0 25px 60px rgba(0, 0, 0, 0.9);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 101;
}

.modal-backdrop.active .modal-box {
    transform: scale(1) translateY(0);
}

/* Subtle inner glow */
.modal-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: radial-gradient(ellipse at 50% 0%, rgba(220, 20, 60, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

/* Corner roses */
.modal-box::after {
    content: '🌹';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 22px;
    filter: drop-shadow(0 0 8px rgba(220, 20, 60, 0.4));
}

/* ---------- Modal Close Button ---------- */
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 20, 60, 0.1);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 50%;
    color: #888;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(220, 20, 60, 0.3);
    color: white;
    border-color: rgba(220, 20, 60, 0.5);
    transform: rotate(90deg);
}

/* ---------- Modal Title ---------- */
.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #DC143C;
    text-align: center;
    margin-bottom: 24px;
    text-shadow: 0 0 20px rgba(220, 20, 60, 0.2);
}

/* ---------- Modal Input ---------- */
.modal-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.modal-input::placeholder {
    color: #444;
}

.modal-input:focus {
    border-color: rgba(220, 20, 60, 0.6);
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
    background: rgba(0, 0, 0, 0.8);
}

/* ---------- Modal Label ---------- */
.modal-label {
    display: block;
    color: #FF69B4;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 6px;
    letter-spacing: 0.03em;
}

/* ---------- Modal Button ---------- */
.modal-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #8B0000, #DC143C);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(220, 20, 60, 0.3);
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(220, 20, 60, 0.5);
    background: linear-gradient(135deg, #a00010, #e6163f);
}

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

/* Button shine */
.modal-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.modal-btn:hover::after {
    left: 100%;
}

/* ---------- Modal Select ---------- */
.modal-select {
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23DC143C' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.modal-select:focus {
    border-color: rgba(220, 20, 60, 0.6);
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

.modal-select option {
    background: #111;
    color: white;
    padding: 8px;
}

/* ---------- Modal Textarea ---------- */
.modal-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
    resize: none;
    font-family: inherit;
}

.modal-textarea::placeholder {
    color: #444;
}

.modal-textarea:focus {
    border-color: rgba(220, 20, 60, 0.6);
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
    background: rgba(0, 0, 0, 0.8);
}

/* ---------- Modal Checkbox ---------- */
.modal-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 0;
}

.modal-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #DC143C;
    border-radius: 4px;
    cursor: pointer;
}

.modal-checkbox label {
    color: rgba(255, 105, 180, 0.7);
    font-size: 0.85rem;
    cursor: pointer;
}

/* ---------- Modal Divider ---------- */
.modal-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(220, 20, 60, 0.3), transparent);
    margin: 16px 0;
}

/* ---------- Celebration Overlay (Updated) ---------- */
.celebration-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.celebration-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.celebration-inner {
    position: relative;
    z-index: 10;
    max-width: 500px;
    width: 100%;
    transform: scale(0.8);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.celebration-backdrop.active .celebration-inner {
    transform: scale(1);
}

/* ---------- Lightbox (Updated) ---------- */
.lightbox-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* ---------- Event Detail Modal ---------- */
.event-detail-box {
    background: #0d0d0d;
    border: 2px solid rgba(220, 20, 60, 0.4);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    max-width: 420px;
    width: 100%;
    box-shadow:
        0 0 50px rgba(220, 20, 60, 0.12),
        0 20px 50px rgba(0, 0, 0, 0.85);
}

/* ---------- Scrollbar inside modals ---------- */
.modal-box::-webkit-scrollbar { width: 4px; }
.modal-box::-webkit-scrollbar-track { background: transparent; }
.modal-box::-webkit-scrollbar-thumb { background: rgba(220, 20, 60, 0.3); border-radius: 4px; }

/* ---------- Form Group ---------- */
.form-group {
    margin-bottom: 16px;
}

/* ---------- Alert inside modal ---------- */
.modal-alert {
    background: rgba(220, 20, 60, 0.08);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    color: rgba(255, 105, 180, 0.8);
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 16px;
}

/* ---------- Responsive Modals ---------- */
@media (max-width: 640px) {
    .modal-box {
        padding: 24px 20px;
        border-radius: 20px;
        margin: 8px;
    }
    .modal-title {
        font-size: 1.25rem;
    }
    .celebration-title {
        font-size: 1.6rem !important;
    }
}

/* ============================================= */
/*     🔒 LOCK SCREEN STYLES                    */
/* ============================================= */

/* ---------- Keypad Button ---------- */
.keypad-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(220, 20, 60, 0.06);
    border: 2px solid rgba(220, 20, 60, 0.15);
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    margin: 0 auto;
}

.keypad-btn:hover {
    background: rgba(220, 20, 60, 0.15);
    border-color: rgba(220, 20, 60, 0.4);
    transform: scale(1.05);
}

.keypad-btn:active {
    background: rgba(220, 20, 60, 0.25);
    border-color: rgba(220, 20, 60, 0.6);
    transform: scale(0.95);
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.3);
}

.keypad-del {
    font-size: 1.3rem;
    color: #888;
    border-color: rgba(100, 100, 100, 0.15);
    background: rgba(100, 100, 100, 0.05);
}

.keypad-del:hover {
    color: #DC143C;
    border-color: rgba(220, 20, 60, 0.3);
    background: rgba(220, 20, 60, 0.08);
}

.keypad-bio {
    font-size: 1.8rem;
    border-color: rgba(220, 20, 60, 0.2);
    background: rgba(220, 20, 60, 0.05);
}

.keypad-bio:hover {
    background: rgba(220, 20, 60, 0.15);
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.2);
}

/* ---------- PIN Dot ---------- */
.pin-dot {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Unlock Heart Animation ---------- */
.unlock-heart {
    animation: unlockPulse 0.8s ease-in-out infinite;
}

@keyframes unlockPulse {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.3);
        filter: brightness(1.3);
    }
}

/* ---------- Lock Screen Background ---------- */
#lock-screen {
    animation: fadeIn 0.5s ease;
}

#setup-screen {
    animation: fadeIn 0.5s ease;
}

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

/* ---------- Responsive Keypad ---------- */
@media (max-width: 360px) {
    .keypad-btn {
        width: 65px;
        height: 65px;
        font-size: 1.2rem;
    }
}

@media (min-width: 640px) {
    .keypad-btn {
        width: 85px;
        height: 85px;
    }
}