/* ════════════════════════════════════════════════════════════════
   Signup Page — 다크 베이스
   ════════════════════════════════════════════════════════════════ */
.su-page {
  min-height: calc(100vh - 56px);
  padding: 56px 24px 80px;
  background: linear-gradient(180deg, #0a0a14 0%, #050510 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.su-wrap {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ─── 가입 보상 배너 ─── */
.su-reward {
  position: relative;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(20, 18, 32, 0.6));
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 14px;
}
.su-rw-title {
  font-size: 12px;
  font-weight: 700;
  color: #c4b5fd;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.su-rw-grid {
  display: flex;
  align-items: center;
  gap: 14px;
}
.su-rw-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.su-rw-ico {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 18px;
  flex-shrink: 0;
}
.su-rw-ico-amber {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
}
.su-rw-ico-purple {
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(168, 85, 247, 0.4);
}
.su-rw-item strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: white;
  line-height: 1.2;
}
.su-rw-item p {
  font-size: 11px;
  color: #9ca3af;
}
.su-rw-plus {
  font-size: 18px;
  font-weight: 800;
  color: #6b7280;
}
.su-rw-free {
  position: absolute;
  top: 18px; right: 22px;
  padding: 4px 12px;
  background: linear-gradient(135deg, #ec4899, #be185d);
  color: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: 999px;
}

/* ─── 가입 카드 ─── */
.su-card {
  padding: 32px 28px;
  background: rgba(20, 18, 32, 0.7);
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

.su-brand {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: #c4b5fd;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}
.su-h1 {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  color: white;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.su-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.su-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.su-label {
  font-size: 12px;
  font-weight: 700;
  color: #c5c4d6;
}
.su-hint {
  margin-left: 6px;
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  color: #34d399;
}
.su-field input {
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: white;
  font-size: 13px;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.su-field input::placeholder { color: #6b7280; }
.su-field input:focus {
  outline: none;
  border-color: #a855f7;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

.su-agree {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 12px;
  color: #c5c4d6;
  cursor: pointer;
}
.su-agree input { width: 16px; height: 16px; accent-color: #a855f7; cursor: pointer; }
.su-link {
  color: #c4b5fd;
  text-decoration: underline;
}
.su-link:hover { color: #ddd6fe; }
.su-link-strong { font-weight: 700; }

.su-submit {
  margin-top: 6px;
  padding: 14px;
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  color: white;
  font-size: 14px;
  font-weight: 800;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.25);
}
.su-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(168, 85, 247, 0.35);
}

.su-footer {
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  color: #9ca3af;
}

/* ─── select 스타일 ─── */
.su-select {
  width: 100%;
  padding: 12px 14px;
  padding-right: 32px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: white;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.su-select:focus {
  outline: none;
  border-color: #a855f7;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}
.su-select option {
  background: #1f1937;
  color: white;
}

/* ─── 한줄 두개 나열 ─── */
.su-field-row {
  flex-direction: row;
  gap: 12px;
}
.su-field-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ─── 라이트 모드 select ─── */
body.light .su-select {
  background-color: #faf5ff;
  border-color: rgba(168, 85, 247, 0.18);
  color: #1f1937;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}
body.light .su-select option { background: white; color: #1f1937; }

/* ─── 라이트 모드 ─── */
body.light .su-page {
  background: linear-gradient(180deg, #faf5ff 0%, #fff 100%);
}
body.light .su-card {
  background: white;
  border-color: rgba(168, 85, 247, 0.18);
  box-shadow: 0 12px 32px rgba(76, 29, 149, 0.08);
}
body.light .su-h1 { color: #1f1937; }
body.light .su-label { color: #4b5563; }
body.light .su-field input {
  background: #faf5ff;
  border-color: rgba(168, 85, 247, 0.18);
  color: #1f1937;
}
body.light .su-field input::placeholder { color: #9ca3af; }
body.light .su-agree { color: #4b5563; }
body.light .su-link { color: #7c3aed; }
body.light .su-footer { color: #6b7280; }
body.light .su-reward {
  background: linear-gradient(135deg, #faf5ff, #fff);
  border-color: rgba(168, 85, 247, 0.18);
  box-shadow: 0 4px 16px rgba(76, 29, 149, 0.04);
}
body.light .su-rw-title { color: #6b21a8; }
body.light .su-rw-item strong { color: #1f1937; }
body.light .su-rw-item p { color: #6b7280; }
