/* ─────────────────────────────────────────
   Affiliate Ninja — Auth Pages CSS
   register.html / login.html / reset-password.html
   ───────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
  --blue:       #1a44ff;
  --blue-dark:  #0a22bb;
  --cyan:       #00ccff;
  --bg:         #04050f;
  --bg-card:    #0d1022;
  --border:     rgba(26,68,255,0.2);
  --text:       #eef0ff;
  --muted:      #6a70a0;
  --error:      #ff4d4d;
  --success:    #00cc88;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow-x: hidden;
}

/* Subtle animated background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(26,68,255,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 80%, rgba(0,204,255,0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Card ── */
.auth-card {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 44px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(26,68,255,0.08);
}

/* ── Logo ── */
.auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}
.auth-logo img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(0,204,255,0.3));
}
.auth-logo-text {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.05em;
}
.auth-logo-text span { color: var(--cyan); }

/* ── Heading ── */
.auth-title {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 6px;
  color: var(--text);
}
.auth-subtitle {
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 32px;
}

/* ── Form ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 13px 16px;
  color: var(--text);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,204,255,0.12);
}
input::placeholder { color: rgba(255,255,255,0.2); }

/* ── Submit button ── */
.btn-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(26,68,255,0.35);
  letter-spacing: 0.02em;
}
.btn-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
  box-shadow: 0 6px 30px rgba(0,204,255,0.3);
  transform: translateY(-1px);
}
.btn-submit:disabled { opacity: 0.6; cursor: default; }

/* ── Alerts ── */
.form-error {
  display: none;
  background: rgba(255,77,77,0.1);
  border: 1px solid rgba(255,77,77,0.3);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--error);
  font-size: 0.88rem;
  margin-bottom: 16px;
  line-height: 1.5;
}
.form-error a { color: var(--cyan); }

.form-success {
  display: none;
  background: rgba(0,204,136,0.1);
  border: 1px solid rgba(0,204,136,0.3);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--success);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

/* ── Footer links ── */
.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--muted);
}
.auth-footer a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 500;
}
.auth-footer a:hover { text-decoration: underline; }

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 0.78rem;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Free badge ── */
.free-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,204,255,0.08);
  border: 1px solid rgba(0,204,255,0.2);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 auto 20px;
  display: flex;
  width: fit-content;
}

/* ── Google Button ── */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 13px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-google:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}
.btn-google:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-google svg {
  width: 18px;
  height: 18px;
}


/* ── Responsive ── */
@media (max-width: 500px) {
  .auth-card { padding: 32px 24px; }
}
