* { margin: 0; padding: 0; box-sizing: border-box; font-family: system-ui; }
html, body { width: 100%; height: 100%; }

#lock-screen, #devotional-screen {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
}

#lock-screen {
  background-image: url("images/download.png");
  display: flex;
  align-items: center;
  justify-content: center;
}

.lock-card {
  background: rgba(0,0,0,0.65);
  color: white;
  padding: 2rem;
  border-radius: 18px;
  width: 320px;
  text-align: center;
}

.subtitle { opacity: 0.9; margin: 1rem 0; }

.passcode-wrapper {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
}

.passcode-wrapper input {
  flex: 1;
  padding: 0.6rem;
  border-radius: 999px;
  border: none;
}

.passcode-wrapper button {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: white;
  cursor: pointer;
}

#unlockBtn {
  background: #7f8cff;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  color: white;
  cursor: pointer;
}

#devotional-screen {
  display: none;
  align-items: center;
  justify-content: center;
}

.quote-box {
  text-align: center;
  max-width: 900px;
  color: white;
  padding: 1.5rem;
}

.quote-box p {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  text-shadow: 0 6px 20px rgba(0,0,0,0.8);
}

#breath-widget {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 12px;
  border-radius: 14px;
  width: 190px;
  font-size: 0.8rem;
}

#breath-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  margin-bottom: 6px;
  transition: transform 4s ease-in-out;
}
