/* ===== LOCK SCREEN ===== */
#lock-screen {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at 50% 30%, rgba(255,215,0,0.06) 0%, transparent 50%),
                var(--bg-dark);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

#lock-screen.active {
    opacity: 1;
    pointer-events: all;
}

.lock-container {
    text-align: center;
    max-width: 480px;
    width: 90%;
    padding: 48px 36px;
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease forwards;
}

/* Lock Icon */
.lock-icon { margin-bottom: 24px; }

.lock-svg {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 20px rgba(255,215,0,0.4));
}

.lock-shackle {
    stroke: var(--gold);
    transition: transform 0.6s ease, opacity 0.4s ease;
    transform-origin: center;
}

.lock-body { fill: var(--gold); }
.lock-keyhole { fill: var(--bg-dark); }
.lock-keyhole-line { stroke: var(--bg-dark); }

.lock-icon.unlocked .lock-shackle {
    transform: translateY(-6px) rotate(-15deg);
    stroke: #4CAF50;
}

.lock-icon.unlocked .lock-body { fill: #4CAF50; }

/* Question */
.lock-question {
    font-family: var(--font-cursive);
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1.3;
}

.lock-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

/* Date Picker */
.date-picker {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.date-select-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 100px;
}

.date-select-group label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.date-select-group select {
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FFD700' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.date-select-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255,215,0,0.15);
}

.date-select-group select option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

/* Unlock Button */
.unlock-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border: none;
    border-radius: 50px;
    background: var(--gradient-gold);
    color: var(--bg-dark);
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 30px rgba(255,215,0,0.3);
    position: relative;
    overflow: hidden;
}

.unlock-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: none;
}

.unlock-button:hover::before {
    animation: shimmer 0.8s ease forwards;
}

.unlock-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(255,215,0,0.5);
}

.unlock-button:active { transform: scale(0.98); }

.btn-sparkle { font-size: 1.2rem; }

/* Error Message */
.lock-error {
    margin-top: 16px;
    color: var(--pink);
    font-size: 0.9rem;
    min-height: 24px;
    transition: var(--transition);
}

/* Shake animation for wrong answer */
.lock-container.shake {
    animation: shake 0.5s ease;
}

/* Success state */
#lock-screen.unlocking {
    animation: fadeOutScale 1s ease forwards;
    animation-delay: 1s;
}
