/* ════════════════════════════════
   LOGIN SCREEN
   ════════════════════════════════ */

#loginScreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

#loginScreen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.login-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/KakaoTalk_20260324_211054339.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(6px) brightness(0.45);
  transform: scale(1.05);
}

.login-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 340px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 28px;
  padding: 40px 28px 36px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

.login-icon {
  font-size: 44px;
  display: block;
  margin-bottom: 12px;
  animation: heartBeat 2.2s ease-in-out infinite;
}

.login-title {
  font-family: 'Noto Serif KR', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.login-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  margin-bottom: 28px;
  line-height: 1.6;
}

.login-field {
  margin-bottom: 12px;
  text-align: left;
}

.login-field label {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 500;
}

.login-field input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  font-size: 15px;
  color: var(--white);
  font-family: 'Noto Sans KR', sans-serif;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.login-field input::placeholder {
  color: rgba(255,255,255,0.35);
}

.login-field input:focus {
  border-color: var(--rose);
  background: rgba(255,255,255,0.2);
}

.login-error {
  font-size: 12px;
  color: #ff8fa8;
  margin-top: -4px;
  margin-bottom: 10px;
  min-height: 18px;
  text-align: left;
}

.login-btn {
  width: 100%;
  margin-top: 8px;
  padding: 15px;
  background: linear-gradient(135deg, var(--rose), var(--rose-dk));
  color: var(--white);
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  font-family: 'Noto Sans KR', sans-serif;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(224,122,150,0.5);
  transition: transform 0.15s, box-shadow 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.login-btn:active {
  transform: scale(0.97);
  box-shadow: none;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  14%  { transform: scale(1.2); }
  28%  { transform: scale(1); }
  42%  { transform: scale(1.12); }
  56%  { transform: scale(1); }
}
