/* ═══════════════════════════════════════════════════════════
   THE CLOSER — Login Page Styles
   ═══════════════════════════════════════════════════════════ */

/* ── Custom gold coin cursor ── */
*, *::before, *::after { cursor: none !important; }

.cursor-coin {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 999999;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #fffbcc 4%, #f2c435 38%, #b87d18 72%, #7a5010);
  box-shadow:
    inset 0 1px 2px rgba(255,255,210,0.55),
    0 0 6px 2px rgba(210,165,35,0.55),
    0 0 16px 4px rgba(210,165,35,0.18);
  will-change: transform;
  opacity: 0;
  transition: opacity 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  color: #5c3a00;
  font-family: Arial, sans-serif;
  text-shadow: 0 1px 0 rgba(255,245,170,0.6);
  line-height: 1;
  user-select: none;
}

.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 999998;
  font-size: 14px;
  line-height: 1;
  user-select: none;
  transform: translate(-50%, -50%);
  animation: trailSign 0.7s cubic-bezier(0.2,0.8,0.4,1) forwards;
  filter: drop-shadow(0 0 3px rgba(210,165,35,0.7));
}

@keyframes trailSign {
  0%   { opacity: 0.85; transform: translate(-50%, -50%) translateY(0)    scale(1);   }
  100% { opacity: 0;    transform: translate(-50%, -50%) translateY(-26px) scale(0.5); }
}

.cursor-burst {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 999997;
  font-size: 13px;
  line-height: 1;
  user-select: none;
  filter: drop-shadow(0 0 4px rgba(210,165,35,0.8));
  animation: burstFly var(--dur, 0.7s) ease-out forwards;
}

@keyframes burstFly {
  0%   { opacity: 1;  transform: translate(-50%,-50%) translate(0,0)                 scale(1);   }
  100% { opacity: 0;  transform: translate(-50%,-50%) translate(var(--bx),var(--by)) scale(0.4); }
}

.login-body {
  background: var(--navy-950);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.login-back {
  position: fixed;
  top: 20px;
  left: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
  font-family: var(--font-body);
}
.login-back:hover { color: rgba(255,255,255,0.8); }

.login-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* ── Left panel ── */
.login-left {
  background: linear-gradient(180deg, var(--navy-700) 0%, var(--navy-800) 100%);
  border-right: 1px solid rgba(200,168,74,0.12);
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.login-left::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200,168,74,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.login-left-inner { position: relative; z-index: 2; max-width: 400px; }

.login-left-title {
  font-family: var(--font-main);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  margin-bottom: 16px;
}
.login-left-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 32px;
}

.login-proof {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.lp-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}
.lp-icon { font-size: 14px; flex-shrink: 0; margin-top: 1px; }

.login-testi {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px;
}
.login-testi > p {
  font-size: 14px;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
  line-height: 1.6;
}
.login-testi-author { display: flex; align-items: center; gap: 10px; }
.lta-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.login-testi-author strong { display: block; font-size: 13px; }
.login-testi-author span { font-size: 11px; color: rgba(255,255,255,0.4); }

/* ── Right panel (form) ── */
.login-right {
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}

.login-form-wrap {
  width: 100%;
  max-width: 400px;
}

/* Tabs */
.login-tabs {
  display: flex;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 4px;
  margin-bottom: 28px;
}
.ltab {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  transition: all 0.2s ease;
}
.ltab.active {
  background: var(--navy-700);
  color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Form */
.lform { display: flex; flex-direction: column; gap: 0; }
.lform.hidden { display: none; }

.form-blitz {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(135deg, rgba(10,39,68,0.6), rgba(13,58,110,0.4));
  border: 1px solid rgba(26,107,191,0.25);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 20px;
}
.form-blitz p {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}
.form-blitz strong { color: var(--gold-400); }

.social-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: white;
  transition: all 0.2s ease;
  margin-bottom: 10px;
}
.social-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}
.apple-btn { background: #000; border-color: rgba(255,255,255,0.15); }
.apple-btn:hover { background: #1a1a1a; }

.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 16px;
}
.form-divider::before, .form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}
.form-divider span { font-size: 12px; color: rgba(255,255,255,0.25); }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  position: relative;
}
.form-group label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.form-group input {
  padding: 13px 16px;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: white;
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
.form-group input::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus {
  border-color: rgba(200,168,74,0.5);
  background: rgba(200,168,74,0.04);
  box-shadow: 0 0 0 3px rgba(200,168,74,0.08);
}

.forgot-link {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 11px;
  color: var(--blue);
  text-decoration: none;
}
.forgot-link:hover { color: var(--blue-light); }

.submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900);
  border: none;
  border-radius: 14px;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(200,168,74,0.3);
  transition: all 0.2s ease;
  margin-top: 4px;
  margin-bottom: 16px;
}
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200,168,74,0.45);
}
.submit-btn:active { transform: translateY(0); }

.form-switch {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.form-switch button {
  background: none;
  border: none;
  color: var(--gold-400);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  padding: 0;
  margin-left: 4px;
}

.form-terms {
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  line-height: 1.5;
  margin-bottom: 12px;
}
.form-terms a { color: rgba(255,255,255,0.4); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .login-page { grid-template-columns: 1fr; }
  .login-left { display: none; }
  .login-right { padding: 80px 24px 40px; min-height: 100vh; }
}

@media (max-width: 480px) {
  .login-right { padding: 80px 16px 40px; }
}
