:root {
  --va-ink: #171a16;
  --va-ink-soft: #252a22;
  --va-paper: #f4f1e8;
  --va-surface: #fffef9;
  --va-muted: #687065;
  --va-line: rgba(23, 26, 22, .14);
  --va-lime: #c8ff38;
  --va-lime-soft: #efffc4;
  --va-blue: #6f86ff;
  --va-orange: #ff8a47;
  --va-danger: #bd3c3c;
  --va-radius: 26px;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--va-paper); }

body {
  margin: 0;
  color: var(--va-ink);
  background: var(--va-paper);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
a { color: inherit; }

.vox-auth-body {
  min-height: 100vh;
  overflow-x: hidden;
  overflow-x: clip;
  background:
    radial-gradient(circle at 88% 7%, rgba(111, 134, 255, .15), transparent 29%),
    radial-gradient(circle at 8% 94%, rgba(200, 255, 56, .20), transparent 27%),
    radial-gradient(rgba(23, 26, 22, .075) .7px, transparent .7px),
    var(--va-paper);
  background-size: auto, auto, 9px 9px, auto;
}

.vox-auth-layout {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(430px, 46%) minmax(0, 1fr);
}

.vox-auth-story {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(30px, 4.4vw, 68px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 83% 12%, rgba(200, 255, 56, .21), transparent 28%),
    radial-gradient(circle at 0 100%, rgba(111, 134, 255, .26), transparent 39%),
    linear-gradient(142deg, #0d100c, #1d2219 58%, #11140f);
  isolation: isolate;
}

.vox-auth-story::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .72;
  background-image:
    linear-gradient(rgba(255, 255, 255, .038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .038) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(150deg, #000 0 72%, transparent 100%);
}

.vox-auth-story::after {
  content: 'V';
  position: absolute;
  right: -86px;
  bottom: -175px;
  z-index: -1;
  color: rgba(200, 255, 56, .07);
  font-family: Georgia, serif;
  font-size: clamp(25rem, 36vw, 42rem);
  line-height: .8;
  transform: rotate(-8deg);
}

.vox-auth-brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.vox-auth-brand > span {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--va-ink);
  background: var(--va-lime);
  box-shadow: 0 10px 28px rgba(200, 255, 56, .18);
  font-size: 1rem;
  font-weight: 900;
}

.vox-auth-brand > b { font-size: 1.22rem; font-weight: 850; letter-spacing: -.045em; }

.vox-auth-story-copy { position: relative; z-index: 2; max-width: 620px; margin: auto 0; padding: 42px 0; }

.vox-auth-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  color: rgba(255, 255, 255, .67);
  background: rgba(255, 255, 255, .06);
  font-size: .68rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.vox-auth-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--va-lime); box-shadow: 0 0 0 6px rgba(200, 255, 56, .10); }

.vox-auth-story h1 {
  max-width: 760px;
  margin: 24px 0 0;
  color: #fff;
  font-size: clamp(3.2rem, 5.25vw, 6.1rem);
  font-weight: 850;
  letter-spacing: -.078em;
  line-height: .91;
}

.vox-auth-story h1 span {
  color: var(--va-lime);
  background: linear-gradient(105deg, var(--va-lime), #efffc0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vox-auth-story-copy > p {
  max-width: 580px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .57);
  font-size: clamp(.9rem, 1.15vw, 1.04rem);
  line-height: 1.75;
}

.vox-auth-trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }

.vox-auth-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 35px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 999px;
  color: rgba(255, 255, 255, .68);
  background: rgba(255, 255, 255, .05);
  font-size: .64rem;
  font-weight: 800;
}

.vox-auth-trust-row i { color: var(--va-lime); font-style: normal; }

.vox-auth-card-stage {
  position: relative;
  width: min(100%, 460px);
  min-height: 190px;
  margin-top: 34px;
  perspective: 1100px;
}

.vox-auth-nfc-card {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 1.7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 25px;
  background:
    radial-gradient(circle at 84% 5%, rgba(200, 255, 56, .18), transparent 29%),
    linear-gradient(135deg, #262c22, #10130f);
  box-shadow: 0 34px 68px rgba(0, 0, 0, .34);
  transform: rotateX(5deg) rotateY(-10deg) rotateZ(-1deg);
  animation: voxAuthFloat 5.5s ease-in-out infinite;
}

.vox-auth-nfc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 24%, rgba(255, 255, 255, .10), transparent 56%);
  transform: translateX(-100%);
  animation: voxAuthShine 5.8s ease-in-out infinite;
}

.vox-auth-card-top, .vox-auth-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.vox-auth-card-top b { font-size: .84rem; letter-spacing: -.03em; }
.vox-auth-card-top span { color: var(--va-lime); font-size: .55rem; font-weight: 900; letter-spacing: .15em; }
.vox-auth-card-name { display: flex; flex-direction: column; }
.vox-auth-card-name small { color: rgba(255, 255, 255, .43); font-size: .52rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.vox-auth-card-name strong { margin-top: 5px; color: #fff; font-size: 1.18rem; letter-spacing: -.045em; }
.vox-auth-card-bottom { color: rgba(255, 255, 255, .47); font-size: .51rem; font-weight: 800; letter-spacing: .12em; }
.vox-auth-card-bottom i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 10px; color: var(--va-ink); background: var(--va-lime); font-style: normal; font-size: .65rem; }

.vox-auth-live-chip {
  position: absolute;
  right: 0;
  bottom: 6px;
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 224px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 17px;
  background: rgba(33, 38, 29, .82);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
}

.vox-auth-live-chip > i:first-child { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px; color: var(--va-ink); background: var(--va-lime); font-style: normal; font-size: .66rem; font-weight: 900; }
.vox-auth-live-chip div { display: flex; min-width: 0; flex-direction: column; }
.vox-auth-live-chip b { color: #fff; font-size: .65rem; }
.vox-auth-live-chip small { margin-top: 2px; color: rgba(255, 255, 255, .43); font-size: .52rem; }
.vox-auth-live-chip > i:last-child { width: 8px; height: 8px; border-radius: 50%; background: #6bff88; box-shadow: 0 0 0 5px rgba(107, 255, 136, .10); }

.vox-auth-story-footer { color: rgba(255, 255, 255, .36); font-size: .58rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

.vox-auth-main {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(26px, 5vw, 76px);
}

.vox-auth-main::before {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  top: -180px;
  right: -160px;
  border-radius: 50%;
  background: rgba(200, 255, 56, .25);
  filter: blur(2px);
  pointer-events: none;
}

.vox-auth-mobile-head { width: min(100%, 520px); display: none; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.vox-auth-back { color: #62695f; font-size: .68rem; font-weight: 800; text-decoration: none; }
.vox-auth-back:hover { color: var(--va-ink); }

.vox-auth-panel { position: relative; z-index: 2; width: min(100%, 520px); }

.vox-auth-heading small {
  display: block;
  color: #697065;
  font-size: .61rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.vox-auth-heading h2 {
  margin: 10px 0 0;
  color: var(--va-ink);
  font-size: clamp(2.25rem, 4.4vw, 3.7rem);
  font-weight: 850;
  letter-spacing: -.075em;
  line-height: .98;
}

.vox-auth-heading p { margin: 14px 0 0; color: var(--va-muted); font-size: .82rem; line-height: 1.65; }

.vox-auth-alert {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  margin-top: 20px;
  padding: 12px 13px;
  border: 1px solid rgba(23, 26, 22, .14);
  border-radius: 16px;
  color: #435043;
  background: #f2f8e9;
  font-size: .71rem;
  font-weight: 750;
  line-height: 1.45;
}

.vox-auth-alert::before { content: 'i'; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; color: var(--va-ink); background: var(--va-lime); font-style: normal; font-weight: 900; }
.vox-auth-alert.is-error, .alert.error { border-color: rgba(189, 60, 60, .22); color: #8f3131; background: #fff0ed; }
.vox-auth-alert.is-error::before, .alert.error::before { content: '!'; color: #fff; background: var(--va-danger); }
.alert.error { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 11px; margin-top: 20px; padding: 12px 13px; border-style: solid; border-width: 1px; border-radius: 16px; font-size: .71rem; font-weight: 750; line-height: 1.45; }

.vox-auth-providers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 25px; }
.vox-auth-providers.is-single { grid-template-columns: 1fr; }

.vox-auth-provider {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--va-line);
  border-radius: 16px;
  color: var(--va-ink);
  background: var(--va-surface);
  box-shadow: 0 8px 24px rgba(23, 26, 22, .045);
  font-size: .74rem;
  font-weight: 850;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.vox-auth-provider svg { width: 20px; height: 20px; flex: 0 0 auto; }
.vox-auth-provider.is-apple { border-color: var(--va-ink); color: #fff; background: var(--va-ink); }
.vox-auth-provider:hover { border-color: rgba(23, 26, 22, .45); box-shadow: 0 13px 30px rgba(23, 26, 22, .10); transform: translateY(-2px); }
.vox-auth-provider.is-apple:hover { color: var(--va-lime); background: #0f110e; }
.vox-auth-provider.is-loading { opacity: .65; pointer-events: none; }

.vox-auth-social-legal { margin: 10px 4px 0; color: #858b82; font-size: .57rem; line-height: 1.55; text-align: center; }
.vox-auth-social-legal a { color: #555d53; font-weight: 800; }

.vox-auth-divider { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 22px 0; color: #90968e; font-size: .55rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.vox-auth-divider::before, .vox-auth-divider::after { content: ''; height: 1px; background: var(--va-line); }

.vox-auth-form { display: grid; gap: 14px; }
.vox-auth-heading + .vox-auth-form { margin-top: 25px; }
.vox-auth-alert + .vox-auth-form { margin-top: 14px; }
.vox-auth-field { display: grid; gap: 7px; }
.vox-auth-field-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vox-auth-field label, .vox-auth-field-head > label { color: #555d53; font-size: .63rem; font-weight: 900; letter-spacing: .04em; }
.vox-auth-field-head a { color: #4a6140; font-size: .58rem; font-weight: 850; text-decoration: none; }
.vox-auth-field-head a:hover { text-decoration: underline; }

.vox-auth-input {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 54px;
  border: 1px solid var(--va-line);
  border-radius: 16px;
  background: rgba(255, 254, 249, .82);
  box-shadow: 0 8px 25px rgba(23, 26, 22, .035);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.vox-auth-input:focus-within { border-color: rgba(23, 26, 22, .50); background: #fff; box-shadow: 0 0 0 4px rgba(200, 255, 56, .35); }
.vox-auth-input > span { display: grid; place-items: center; color: #788076; font-size: .72rem; }
.vox-auth-input input { width: 100%; min-width: 0; height: 52px; padding: 0 10px 0 0; border: 0; outline: 0; color: var(--va-ink); background: transparent; font-size: .78rem; font-weight: 700; }
.vox-auth-input input::placeholder { color: #a0a69e; font-weight: 600; }
.vox-auth-input button { width: 38px; height: 38px; margin-right: 6px; border: 0; border-radius: 11px; color: #71786f; background: transparent; cursor: pointer; }
.vox-auth-input button:hover { color: var(--va-ink); background: rgba(23, 26, 22, .055); }

.vox-auth-legal { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 9px; margin: 1px 0 0; color: #737a70; font-size: .62rem; line-height: 1.55; cursor: pointer; }
.vox-auth-legal input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--va-ink); }
.vox-auth-legal a { color: #454c43; font-weight: 850; }

.vox-auth-primary {
  width: 100%;
  min-height: 57px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 17px;
  border: 1px solid var(--va-ink);
  border-radius: 17px;
  color: var(--va-ink);
  background: var(--va-lime);
  box-shadow: 0 15px 34px rgba(155, 196, 45, .18);
  cursor: pointer;
  font-size: .76rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.vox-auth-primary:hover { background: #dcff80; box-shadow: 0 19px 39px rgba(155, 196, 45, .25); transform: translateY(-2px); }
.vox-auth-primary:disabled, .vox-auth-primary.is-loading { opacity: .68; cursor: wait; transform: none; }
.vox-auth-success-action { margin-top: 16px; }

.vox-auth-magic {
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 11px;
  padding: 10px 14px;
  border: 1px solid var(--va-line);
  border-radius: 15px;
  color: #555d53;
  background: rgba(255, 254, 249, .65);
  font-size: .67rem;
  font-weight: 850;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}
.vox-auth-magic:hover { border-color: rgba(23, 26, 22, .38); color: var(--va-ink); background: var(--va-surface); }

.vox-auth-switch { margin: 24px 0 0; color: #71786f; font-size: .68rem; text-align: center; }
.vox-auth-switch a { color: var(--va-ink); font-weight: 900; text-decoration: none; }
.vox-auth-switch a:hover { text-decoration: underline; }

.vox-auth-secure-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 17px; color: #929890; font-size: .55rem; font-weight: 750; }
.vox-auth-secure-note i { width: 7px; height: 7px; border-radius: 50%; background: #53a96c; box-shadow: 0 0 0 4px rgba(83, 169, 108, .10); }

.vox-auth-error-page { min-height: 100vh; display: grid; place-items: center; padding: 25px; background: var(--va-paper); }
.vox-auth-error-card { width: min(100%, 500px); padding: 36px; border: 1px solid var(--va-line); border-radius: 28px; background: var(--va-surface); box-shadow: 0 28px 70px rgba(23, 26, 22, .11); text-align: center; }
.vox-auth-error-card .vox-auth-brand { margin: 0 auto 27px; }
.vox-auth-error-icon { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto; border-radius: 18px; color: #fff; background: var(--va-danger); font-size: 1.1rem; font-weight: 900; }
.vox-auth-error-card h1 { margin: 19px 0 0; font-size: 1.5rem; letter-spacing: -.04em; }
.vox-auth-error-card p { margin: 10px 0 22px; color: var(--va-muted); font-size: .78rem; line-height: 1.65; }

@keyframes voxAuthFloat { 0%, 100% { transform: rotateX(5deg) rotateY(-10deg) rotateZ(-1deg) translateY(0); } 50% { transform: rotateX(4deg) rotateY(-7deg) rotateZ(.4deg) translateY(-8px); } }
@keyframes voxAuthShine { 0%, 60% { transform: translateX(-110%); } 82%, 100% { transform: translateX(120%); } }

@media (max-width: 1040px) {
  .vox-auth-layout { grid-template-columns: 400px minmax(0, 1fr); }
  .vox-auth-story { padding: 36px; }
  .vox-auth-story h1 { font-size: 3.4rem; }
  .vox-auth-card-stage { transform: scale(.9); transform-origin: left center; }
}

@media (max-width: 860px) {
  .vox-auth-layout { display: block; }
  .vox-auth-story { display: none; }
  .vox-auth-main { min-height: 100vh; justify-content: flex-start; padding: 25px 20px 44px; }
  .vox-auth-mobile-head { display: flex; }
  .vox-auth-heading h2 { font-size: clamp(2.4rem, 10vw, 3.4rem); }
}

@media (max-width: 520px) {
  .vox-auth-main { padding-inline: 16px; }
  .vox-auth-providers { grid-template-columns: 1fr; }
  .vox-auth-panel { width: 100%; }
  .vox-auth-heading p { font-size: .76rem; }
  .vox-auth-error-card { padding: 28px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

:is(a, button, input):focus-visible { outline: 3px solid rgba(111, 134, 255, .45); outline-offset: 3px; }

/* OAuth seçenekleri her zaman görünür; anahtarlar tanımlanınca aynı butonlar doğrudan çalışır. */
.vox-auth-provider.is-awaiting-config { position: relative; }
.vox-auth-provider.is-awaiting-config::after {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(126, 134, 122, .45);
}
.vox-auth-provider.is-apple.is-awaiting-config::after { background: rgba(255, 255, 255, .42); }
.vox-auth-alternative-title {
  margin: 22px 0 0;
  color: #6e756c;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-align: center;
  text-transform: uppercase;
}
.vox-auth-success-action + .vox-auth-alternative-title + .vox-auth-providers { margin-top: 12px; }
