
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  
  padding: 4rem 1.5rem 3rem;
  overflow-x: hidden;
  overflow-y: auto;
}


body::before {
  background: radial-gradient(ellipse 55% 55% at 50% 50%, rgba(168,85,247,0.09) 0%, transparent 65%);
}


.back-link {
  position: fixed;
  top: 1.4rem;
  left: 1.75rem;
  z-index: 10;
  animation: fadeIn 0.5s both;
}


.card {
  position: relative;
  z-index: 1;
  background: rgba(6,6,6,0.95);
  border: 1.5px solid var(--purple-border);
  border-radius: 20px;
  padding: 2.6rem 2.2rem;
  width: 100%;
  max-width: 380px;
  margin-bottom: auto;   
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  box-shadow:
    0 0 0 1px rgba(168,85,247,0.05),
    0 0 60px rgba(168,85,247,0.1),
    0 32px 64px rgba(0,0,0,0.6);
  animation: riseIn 0.7s cubic-bezier(0.16,1,0.3,1) both;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.card-header { display: flex; flex-direction: column; gap: 0.25rem; }

.card-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--purple);
  letter-spacing: 0.06em;
  text-shadow: 0 0 24px rgba(168,85,247,0.45);
  text-decoration: none;
}

.card-tagline {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(168,85,247,0.4);
}


.tabs {
  display: flex;
  border-bottom: 1px solid rgba(168,85,247,0.18);
}
.tab-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 0.55rem 0;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(168,85,247,0.35);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}
.tab-btn.active { color: var(--purple); border-bottom-color: var(--purple); }


.tab-panel { display: none; flex-direction: column; gap: 1rem; }
.tab-panel.active { display: flex; }


.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(168,85,247,0.75);
}
.field input {
  background: rgba(168,85,247,0.04);
  border: 1px solid rgba(168,85,247,0.28);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  color: #fff;
  font-family: 'DM Mono', monospace;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.field input::placeholder { color: rgba(168,85,247,0.35); }
.field input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(168,85,247,0.1);
}
.field input.error { border-color: rgba(239,68,68,0.6); }


.submit-btn {
  position: relative;
  padding: 0.8rem;
  background: rgba(168,85,247,0.14);
  border: 1.5px solid var(--purple-border);
  border-radius: 10px;
  color: var(--purple);
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
  margin-top: 0.25rem;
}
.submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(168,85,247,0.1);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.submit-btn:hover::before { transform: translateX(0); }
.submit-btn:hover { color: #fff; box-shadow: 0 0 20px rgba(168,85,247,0.25); }
.submit-btn:active { transform: scale(0.98); }
.submit-btn:disabled { opacity: 0.5; pointer-events: none; }


.forgot-link {
  background: none;
  border: none;
  color: rgba(168,85,247,0.45);
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  margin-top: -0.4rem;
  text-align: right;
  align-self: flex-end;
  transition: color 0.2s;
}
.forgot-link:hover { color: var(--purple); }


.eye-icon.eye-hide          { display: none; }
.eye-btn.eye-open .eye-show { display: none; }
.eye-btn.eye-open .eye-hide { display: block; }


.field--full { width: 100%; }
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-wrap .field input,
.input-wrap input {
  width: 100%;
  padding-right: 2.6rem;
}
.eye-btn {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  color: rgba(168,85,247,0.35);
  transition: color 0.2s;
}
.eye-btn:hover { color: var(--purple); }
.eye-icon {
  width: 15px; height: 15px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}


.field-hint {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
  min-height: 1em;
  transition: color 0.2s;
}
.field-hint.hint-ok  { color: rgba(168,85,247,0.75); }
.field-hint.hint-err { color: rgba(239,68,68,0.75); }


.or-divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(168,85,247,0.25);
}
.or-divider::before, .or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(168,85,247,0.12);
}


.discord-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem;
  background: rgba(88,101,242,0.08);
  border: 1.5px solid rgba(88,101,242,0.45);
  border-radius: 10px;
  color: #818cf8;
  font-family: 'DM Mono', monospace;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.discord-btn:hover {
  background: rgba(88,101,242,0.18);
  border-color: #818cf8;
  color: #fff;
  box-shadow: 0 0 20px rgba(88,101,242,0.25);
}
.discord-btn:disabled { opacity: 0.5; pointer-events: none; }
.discord-btn svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }


.card-footer-note {
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  color: rgba(168,85,247,0.65);
  text-align: center;
  line-height: 1.7;
}
.card-footer-note a { color: rgba(168,85,247,0.95); text-decoration: none; transition: color 0.2s; }
.card-footer-note a:hover { color: var(--purple); }


.verify-panel {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding: 0.5rem 0;
}

.verify-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(168,85,247,0.35);
  background: rgba(168,85,247,0.07);
  display: flex; align-items: center; justify-content: center;
}
.verify-icon-wrap svg {
  width: 22px; height: 22px;
  stroke: var(--purple); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.verify-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: 0.06em;
}

.verify-body {
  font-size: 0.72rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}

.verify-body strong {
  color: rgba(168,85,247,0.85);
  font-weight: 500;
}

.verify-hint {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: rgba(168,85,247,0.3);
  line-height: 1.7;
}

.verify-resend-btn {
  width: 100%;
  padding: 0.75rem;
  background: rgba(168,85,247,0.08);
  border: 1.5px solid rgba(168,85,247,0.35);
  border-radius: 10px;
  color: var(--purple);
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  margin-top: 0.25rem;
}
.verify-resend-btn:hover { background: rgba(168,85,247,0.14); color: #fff; border-color: var(--purple); }
.verify-resend-btn:disabled { opacity: 0.45; pointer-events: none; }

.verify-back-link {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(168,85,247,0.4);
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'DM Mono', monospace;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.verify-back-link:hover { color: var(--purple); }
.verify-back-link svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }


.terms-notice {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  margin-top: auto;   
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(168,85,247,0.2);
  border-left: 3px solid var(--purple);
  border-radius: 0 8px 8px 0;
  background: rgba(168,85,247,0.04);
  animation: riseIn 0.7s cubic-bezier(0.16,1,0.3,1) both;
}
.terms-notice p {
  font-size: 0.8rem;
  line-height: 1.8;
  color: rgba(168,85,247,0.82);
  letter-spacing: 0.06em;
}
.terms-notice a { color: var(--purple); text-decoration: none; opacity: 0.9; }
.terms-notice a:hover { opacity: 1; }

@media (max-width: 480px) {
  .card { padding: 2rem 1.5rem; }
  .corners { display: none; }
  .back-link { top: 1rem; left: 1.1rem; }
}
