/* 로그인 화면 디자인 (기능 없음). 로비와 같은 컨셉: 어두운 배경, 청록 네온, 노란 아케이드 버튼 */
:root {
  --cyan: #22d3ee;
  --cyan-soft: rgba(34, 211, 238, 0.25);
  --ink: #e2e8f0;
  --dim: #94a3b8;
  --gold: #fde047;
  --brown: #5b3a06;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: "Jua", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: #0b1020 url("./images/bg-clean.jpg") center / cover no-repeat;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.screen {
  min-height: 100dvh;
  max-width: 440px;
  margin: 0 auto;
  padding: 36px 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 타이틀: 로비와 같은 두 줄 로고 */
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 24px;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.7));
}
.logo .ko {
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.04em;
}
.logo .en {
  margin-top: 6px;
  font-family: "Jua", sans-serif;
  font-size: 15px;
  letter-spacing: 0.35em;
  color: #a5f3fc;
}
.tagline {
  margin-top: 14px;
  font-size: 14px;
  color: var(--dim);
}

/* 로그인 패널: 테두리 그림을 늘려서 씀 */
.panel {
  position: relative;
  width: 100%;
  margin-top: 28px;
  padding: 44px 34px 34px;
  border-style: solid;
  border-width: 34px;
  border-image: url("./images/panel.png") 130 fill stretch;
}
.panel-title {
  margin: 0 0 18px;
  text-align: center;
  font-size: 22px;
  color: var(--brown);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* 입력칸: 어두운 유리 + 청록 테두리 */
.field { margin-bottom: 14px; }
.field label {
  display: block;
  margin: 0 0 6px 4px;
  font-size: 13px;
  color: var(--brown);
}
.field input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  border: 2px solid var(--cyan-soft);
  background: rgba(2, 6, 23, 0.82);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
  color: #ecfeff;
  font: inherit;
  font-size: 18px;
  outline: none;
  transition: border-color 150ms, box-shadow 150ms;
}
.field input::placeholder { color: #475569; }
.field input:focus {
  border-color: var(--cyan);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.6), 0 0 14px rgba(34, 211, 238, 0.55);
}

/* 옵션 줄 */
.row-opts {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2px 2px 18px;
  font-size: 13px;
  color: var(--brown);
}
.check { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.check input {
  width: 16px; height: 16px; margin: 0;
  accent-color: #d97706;
}
.link { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* 아케이드 버튼: 노란 알약 그림 (늘려서 테두리만 반복) */
.btn {
  width: 100%;
  height: 58px;
  border: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Jua", sans-serif;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--brown);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
  cursor: pointer;
  border-style: solid;
  border-width: 24px;
  border-image: url("./images/btn-pill.png") 200 290 200 290 fill stretch;
  background: none;
  transition: transform 80ms ease;
}
.btn:active { border-image-source: url("./images/btn-pill-press.png"); transform: translateY(3px); }
.btn-login { margin-top: 6px; }

/* 보조 버튼 (소셜 로그인 등): 작고 둥근 아이콘 느낌 */
.sub-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.sub-btn {
  flex: 1;
  height: 48px;
  border: 2px solid rgba(34, 211, 238, 0.45);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.7);
  color: #cffafe;
  font-family: "Jua", sans-serif;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 0 #020617;
}
.sub-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #020617; }

/* 하단 안내 */
.footer {
  margin-top: auto;
  padding-top: 28px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.footer span + span::before { content: " · "; }

/* 상단 장식 아바타(로그인 전 기본 아이콘) */
.avatar {
  position: absolute;
  top: -44px;
  left: 50%;
  width: 84px;
  height: 84px;
  transform: translateX(-50%);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5));
}

@media (max-width: 380px) {
  .logo .ko { font-size: 38px; }
  .panel { padding: 40px 24px 26px; }
}
