* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Malgun Gothic', '맑은 고딕', sans-serif;
  background: #0a0e14;
  color: #e6e6e6;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(212, 169, 49, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(212, 169, 49, 0.08) 0%, transparent 60%),
    #0a0e14;
  overflow: hidden;
  position: relative;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 169, 49, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 169, 49, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.login-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  padding: 20px;
  text-align: center;
}

/* ───── Brand ───── */
.brand {
  margin-bottom: 32px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 2px solid #d4a931;
  border-radius: 50%;
  margin-bottom: 16px;
  box-shadow:
    0 0 0 6px rgba(212, 169, 49, 0.08),
    0 0 30px rgba(212, 169, 49, 0.3);
}

.brand-mark .diamond {
  font-size: 28px;
  background: linear-gradient(180deg, #f5d76e 0%, #c89b2a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-title {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 6px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.brand-title span {
  background: linear-gradient(180deg, #f5d76e 0%, #c89b2a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-sub {
  margin-top: 8px;
  font-size: 12px;
  color: #888;
  letter-spacing: 2px;
}

/* ───── Card ───── */
.login-card {
  background: linear-gradient(180deg, #161b24 0%, #0f131a 100%);
  border: 1px solid rgba(212, 169, 49, 0.25);
  border-radius: 8px;
  padding: 36px 36px 28px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(212, 169, 49, 0.1);
  position: relative;
}

.login-card::before,
.login-card::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid #d4a931;
}

.login-card::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.login-card::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

.card-header {
  margin-bottom: 28px;
}

.card-header h2 {
  font-size: 18px;
  font-weight: bold;
  color: #d4a931;
  letter-spacing: 4px;
}

.card-header .line {
  display: block;
  width: 50px;
  height: 2px;
  background: #d4a931;
  margin: 10px auto 0;
}

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

.field label {
  display: block;
  font-size: 11px;
  font-weight: bold;
  color: #888;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  background: #0a0e14;
  border: 1px solid #2a3140;
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: all 0.15s ease;
}

.field input::placeholder {
  color: #4a5468;
}

.field input:focus {
  border-color: #d4a931;
  box-shadow: 0 0 0 3px rgba(212, 169, 49, 0.15);
}

.btn-login {
  width: 100%;
  height: 50px;
  margin-top: 8px;
  background: linear-gradient(180deg, #d4a931 0%, #b88a1f 100%);
  border: none;
  border-radius: 4px;
  color: #0a0e14;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.15s ease;
  box-shadow: 0 4px 16px rgba(212, 169, 49, 0.25);
}

.btn-login:hover {
  background: linear-gradient(180deg, #e6bb43 0%, #c89b2a 100%);
  box-shadow: 0 6px 22px rgba(212, 169, 49, 0.4);
  transform: translateY(-1px);
}

.btn-login i {
  font-style: normal;
  font-size: 18px;
}

.card-footer {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 2px;
  color: #555;
}

.card-footer .dot {
  width: 4px;
  height: 4px;
  background: #d4a931;
  border-radius: 50%;
}

.copyright {
  margin-top: 24px;
  font-size: 11px;
  color: #444;
  letter-spacing: 1px;
}
