/* ============================================
   LOCK-SCREEN.CSS
   ============================================ */

.lock-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  font-family: 'Roboto', -apple-system, sans-serif;
  z-index: 5000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0);
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.45s ease;
  touch-action: none; /* Importante para el gesto tactil */
  cursor: grab;
}

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

.lock-screen.unlocked {
  pointer-events: none;
}

.lock-screen:active {
  cursor: grabbing;
}

/* --- Reloj y Fecha --- */
.lock-clock-container {
  margin-top: 18vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  pointer-events: none; /* Para que el drag funcione en toda la pantalla */
}

.lock-time {
  font-size: 82px;
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 8px;
}

.lock-date {
  font-size: 18px;
  font-weight: 400;
  color: #c8c8c8;
  letter-spacing: 0.5px;
}

/* --- Zona de deslizar --- */
.lock-swipe-area {
  position: absolute;
  bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  pointer-events: none;
}

.swipe-icon {
  width: 28px;
  height: 28px;
  animation: bounce-up 2s infinite;
  opacity: 0.85;
}

.swipe-text {
  font-size: 14px;
  font-weight: 400;
  color: #bbbbbb;
  letter-spacing: 1px;
}

@keyframes bounce-up {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  40% {
    transform: translateY(-12px);
    opacity: 1;
  }
  60% {
    transform: translateY(-6px);
    opacity: 0.9;
  }
}
