:root{
  --bg: #f0f0f0;
  --card: #ffffff;
  --text: #222;
  --muted: #666;
  --line: rgba(0,0,0,.08);
}

*{ box-sizing:border-box }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  background: #f0f0f0;
  color: var(--text);
  overflow: hidden;
}

/* =========================
   🔁 배경 레이어 (회전 이미지)
========================= */
.bg-layer{
  position: fixed;
  inset: 0;
  background:
    linear-gradient(
      rgba(240,240,240,0.85),
      rgba(240,240,240,0.85)
    );
  z-index: 0;
}

/* 회전 이미지 */
.bg-layer::before{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:420px;
  height:420px;
  background: url("/LPImage.png") no-repeat center/contain;
  opacity: 0.18;
  transform: translate(-50%, -50%);
  animation: spin 60s linear infinite;
}

/* 회전 애니메이션 */
@keyframes spin{
  from{
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to{
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* =========================
   로그인 레이아웃
========================= */
.wrap{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
  position: relative;
  z-index: 1;
}

.card{
  width:100%;
  max-width:420px;
  background: rgba(255,255,255,0.92);
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
  padding:22px;
  backdrop-filter: blur(6px);
}

.brand{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:14px;
}

.brand h1{
  font-size:18px;
  margin:0;
}

.brand span{
  font-size:12px;
  color:var(--muted);
}

h2{
  margin:6px 0 14px;
  font-size:22px;
}

p.muted{
  margin:0 0 16px;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}

.field{ margin:10px 0 }

label{
  display:block;
  font-size:12px;
  color:var(--muted);
  margin-bottom:6px;
}

input{
  width:100%;
  padding:12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  outline:none;
}

input:focus{
  border-color:#4CAF50;
}

.row{
  display:flex;
  gap:10px;
  margin-top:14px;
}

button, a.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  padding:12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#f6f6f6;
  color:#222;
  text-decoration:none;
  cursor:pointer;
}

button.primary, a.btn.primary{
  background:#4CAF50;
  border-color:#4CAF50;
  color:#fff;
}

.notice{
  margin-top:10px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fafafa;
  color:#555;
  font-size:12px;
}
