/* ==========================================================================
   MilkaOS — Boot & Lockscreen
   ========================================================================== */

/* ---------- Boot ---------- */
#screen-boot {
  background: var(--grad-sky);
  display: flex;
  align-items: center;
  justify-content: center;
}
.boot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.boot-logo {
  font-family: var(--font-display);
  font-size: 30px;
  color: #fff;
  letter-spacing: 1px;
  opacity: 0;
  animation: bootFade 1.4s var(--ease-soft) forwards;
}
.boot-logo span { color: var(--rose); font-style: italic; }

.boot-heart {
  width: 46px; height: 46px;
  opacity: 0;
  animation: bootFade 1.4s var(--ease-soft) forwards, heartbeat 1.1s ease-in-out infinite 1.4s;
}
.boot-caption {
  font-size: 12.5px;
  color: rgba(255,255,255,.65);
  letter-spacing: .5px;
  opacity: 0;
  animation: bootFade 1s var(--ease-soft) forwards 1.6s;
}

@keyframes bootFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.12); }
  40% { transform: scale(1); }
  55% { transform: scale(1.08); }
}

/* ---------- Lockscreen ---------- */
#screen-lock {
  background: var(--grad-sky);
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#screen-lock::after {
  /* velo para legibilidad sobre la foto de fondo */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,12,32,.35) 0%, rgba(20,12,32,.15) 35%, rgba(20,12,32,.55) 100%);
  z-index: 0;
}
#screen-lock > * { position: relative; z-index: 1; }

.lock-clock {
  margin-top: 92px;
  text-align: center;
}
.lock-clock .lc-time {
  font-family: var(--font-display);
  font-size: 74px;
  font-weight: 600;
  line-height: 1;
  text-shadow: 0 4px 18px rgba(0,0,0,.28);
}
.lock-clock .lc-date {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  text-transform: capitalize;
  opacity: .9;
}

.lock-note {
  margin-top: 16px;
  padding: 10px 18px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-round);
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lock-notifs {
  margin-top: 22px;
  width: 100%;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 190px;
  overflow: hidden;
}
.lock-notif {
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  animation: notifIn var(--dur-med) var(--ease-soft) backwards;
}
.lock-notif .ln-icon {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--grad-dawn);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.lock-notif .ln-title { font-size: 12px; font-weight: 700; }
.lock-notif .ln-text { font-size: 11.5px; opacity: .85; margin-top: 1px; }

.lock-swipe {
  position: absolute;
  bottom: 46px;
  left: 0; right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.lock-swipe .swipe-track {
  width: 210px;
  height: 46px;
  border-radius: var(--radius-round);
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  padding: 4px;
  position: relative;
  touch-action: none;
}
.lock-swipe .swipe-thumb {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--lilac-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  box-shadow: 0 3px 8px rgba(0,0,0,.25);
  cursor: grab;
  transition: transform var(--dur-fast) var(--ease-soft);
}
.lock-swipe .swipe-hint {
  position: absolute;
  left: 0; right: 0;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: .5px;
  opacity: .8;
  animation: swipePulse 2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes swipePulse {
  0%, 100% { opacity: .5; }
  50% { opacity: .95; }
}
.lock-caption {
  font-size: 11px;
  opacity: .7;
  font-family: var(--font-script);
  font-size: 18px;
}
