/* =============================================================
   LOGIN PAGE — Premium split layout
   ============================================================= */

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  background: var(--bg-app);
}

/* ----- LEFT: form pane ----- */
.auth-form-pane {
  display: flex;
  flex-direction: column;
  padding: var(--s-7);
  min-height: 100vh;
  position: relative;
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.auth-brand img { height: 56px; width: auto; }

.auth-form-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-form-card {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}
.auth-heading h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.auth-heading p {
  margin-top: var(--s-3);
  font-size: 15px;
  color: var(--text-secondary);
}

.auth-form { display: flex; flex-direction: column; gap: var(--s-4); }
.auth-input-wrap {
  position: relative;
}
.auth-input-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--text-tertiary);
  pointer-events: none;
}
.auth-input-wrap .form-input { padding-left: 44px; }

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2px 0 var(--s-3);
}
.auth-row a {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.auth-row a:hover { color: var(--accent-hover); }

.auth-register {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: var(--s-4);
}
.auth-register a {
  color: var(--accent);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
  transition: color .15s ease, gap .15s ease;
}
.auth-register a:hover { color: var(--accent-hover); gap: 8px; }
.auth-register a i { font-size: 11px; }

.auth-divider {
  position: relative;
  text-align: center;
  margin: var(--s-3) 0;
}
.auth-divider::before {
  content: '';
  position: absolute;
  inset: 50% 0 0 0;
  border-top: 1px solid var(--border);
}
.auth-divider span {
  position: relative;
  background: var(--bg-app);
  padding: 0 var(--s-4);
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.auth-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: var(--s-7);
}
.auth-foot .lang-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--bg-subtle);
  font-weight: 600;
  color: var(--text-secondary);
}

/* ----- RIGHT: showcase pane ----- */
.auth-showcase {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(140% 100% at 100% 0%, rgba(255,145,72,.22) 0%, transparent 55%),
    radial-gradient(120% 100% at 0% 100%, rgba(31,111,184,.10) 0%, transparent 55%),
    linear-gradient(180deg, #F5F4EF 0%, #FAFAF7 100%);
  padding: var(--s-7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
[data-theme="dark"] .auth-showcase {
  background:
    radial-gradient(140% 100% at 100% 0%, rgba(255,145,72,.22) 0%, transparent 55%),
    radial-gradient(120% 100% at 0% 100%, rgba(31,111,184,.18) 0%, transparent 55%),
    linear-gradient(180deg, #0F1013 0%, #0B0C0E 100%);
}

.auth-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,17,22,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,17,22,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 75%);
  pointer-events: none;
}
[data-theme="dark"] .auth-showcase::before {
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
}

/* Hero art (3D coins composition) — full background of the showcase pane */
.auth-showcase-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .55;
  mix-blend-mode: multiply;
  filter: saturate(1.05);
  pointer-events: none;
  z-index: 0;
}
[data-theme="dark"] .auth-showcase-art {
  opacity: .65;
  mix-blend-mode: lighten;
}
.auth-showcase-art.left {
  right: auto;
  left: -10%;
  width: 38%;
  max-width: 320px;
  opacity: .14;
  filter: saturate(.9);
}
[data-theme="dark"] .auth-showcase-art.left { opacity: .28; }

.auth-showcase-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-6);
  width: 100%;
  max-width: 540px;
  text-align: center;
}
.showcase-headline {
  max-width: 540px;
  text-align: center;
  position: relative;
  padding: var(--s-4) var(--s-5);
}
.showcase-headline::before {
  content: '';
  position: absolute;
  inset: -16% -14%;
  background: radial-gradient(ellipse 75% 65% at 50% 50%, rgba(255,255,255,.92) 35%, rgba(255,255,255,.6) 60%, rgba(255,255,255,0) 85%);
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
[data-theme="dark"] .showcase-headline::before {
  background: radial-gradient(ellipse 75% 65% at 50% 50%, rgba(15,16,19,.88) 35%, rgba(15,16,19,.55) 60%, rgba(15,16,19,0) 85%);
}
.showcase-headline .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.showcase-headline h2 {
  margin-top: var(--s-4);
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: -.025em;
  font-weight: 700;
}
.showcase-headline h2 .accent {
  background: linear-gradient(120deg, #FFAE5C 0%, #E87722 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.showcase-headline p {
  margin-top: var(--s-4);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Mini preview card */
.preview-stack {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}
.preview-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.preview-card.shifted {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 78%;
  z-index: -1;
  opacity: .55;
  transform: rotate(-2deg);
}
.preview-row { display: flex; align-items: center; justify-content: space-between; }
.preview-row .pl { font-size: 12px; color: var(--text-tertiary); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.preview-row .pv { font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.preview-row .pv .cur { color: var(--text-tertiary); font-size: 14px; font-weight: 600; margin-right: 4px; }
.preview-bar {
  height: 4px;
  background: var(--bg-subtle);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.preview-bar > span { display: block; height: 100%; background: var(--accent-grad); border-radius: var(--r-pill); }
.preview-bar.success > span { background: linear-gradient(90deg, #3DA47A, #2E7D5E); }

.showcase-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-5);
  flex-wrap: wrap;
  margin-top: var(--s-3);
  width: 100%;
}
.showcase-stats {
  display: flex;
  gap: var(--s-4);
  text-align: center;
  padding: var(--s-4) var(--s-5);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 24px rgba(15,17,22,.08);
}
.showcase-stats > div {
  padding: 0 var(--s-4);
  border-right: 1px solid var(--border);
}
.showcase-stats > div:last-child { border-right: 0; }
[data-theme="dark"] .showcase-stats {
  background: rgba(15,16,19,.62);
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.showcase-stats .st-num { font-size: 24px; font-weight: 700; letter-spacing: -.015em; }
.showcase-stats .st-num .accent { color: var(--accent); }
.showcase-stats .st-lbl { font-size: 12px; color: var(--text-tertiary); margin-top: 2px; }

/* Floating dots */
.float-dot {
  position: absolute;
  border-radius: 999px;
  background: var(--accent);
  opacity: .5;
  filter: blur(0.5px);
  animation: float 6s ease-in-out infinite;
}
.float-dot.d1 { top: 18%; left: 10%; width: 8px; height: 8px; animation-delay: 0s; }
.float-dot.d2 { top: 30%; right: 12%; width: 6px; height: 6px; background: var(--info); animation-delay: 1s; }
.float-dot.d3 { bottom: 28%; left: 18%; width: 10px; height: 10px; animation-delay: 2s; background: #FFAE5C; }
.float-dot.d4 { bottom: 12%; right: 22%; width: 5px; height: 5px; animation-delay: 3s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ----- SHOWCASE SLIDER (TR / EN tasarım slaytları) ----- */
.auth-slider {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-5);
}
.auth-slides {
  position: relative;
  width: 100%;
  /* Tasarım görselleri ~ 525 x 595 (yaklaşık 1:1.13 dikey) */
  aspect-ratio: 525 / 595;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15,17,22,.28), 0 4px 14px rgba(15,17,22,.18);
  border: 1px solid rgba(255,255,255,.10);
  background: #0B0C0E;
}
.auth-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .6s ease, transform .6s ease;
  pointer-events: none;
}
.auth-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.auth-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Sol/sağ oklar */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(15,16,19,.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s ease, background .2s ease, transform .2s ease;
  z-index: 2;
}
.auth-slides:hover ~ .slider-arrow,
.slider-arrow:hover,
.auth-slider:hover .slider-arrow { opacity: 1; }
.slider-arrow:hover { background: var(--accent); border-color: transparent; }
.slider-arrow.prev { left: 14px; }
.slider-arrow.next { right: 14px; }

/* Nokta göstergeleri */
.slider-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: var(--r-pill);
  border: 0;
  background: var(--border-strong);
  cursor: pointer;
  padding: 0;
  transition: width .25s ease, background .25s ease;
}
.slider-dot.is-active {
  width: 26px;
  background: var(--accent);
}

/* Top-right corner: theme toggle on showcase */
.auth-top-right {
  position: absolute;
  top: var(--s-6);
  right: var(--s-6);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

/* Responsive */
@media (max-width: 1000px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-showcase { display: none; }
  .auth-form-pane { padding: var(--s-6); }
}
@media (max-width: 600px) {
  .auth-heading h1 { font-size: 26px; }
}
