/* ============================================================
   CSKARTALI — GİRİŞ v5 "Saha" (sinematik, ikonsuz, editoryal)
   Yalnız bu sayfa için. csk-auth.css / csk-v3.css etkilenmez.
   ------------------------------------------------------------
   1 · Tokenlar
   2 · Sahne (fotoğraf + perde + gren)
   3 · Sol vitrin (marka, başlık, sayaçlar)
   4 · Giriş kartı (sosyal, alanlar, buton, uyarılar)
   5 · Duyarlılık & erişilebilirlik
   ============================================================ */

:root {
  --g-ink:   #f3f1ec;
  --g-dim:   rgba(243, 241, 236, .62);
  --g-faint: rgba(243, 241, 236, .38);
  --g-hair:  rgba(243, 241, 236, .16);
  --g-sand:  #d9bd8c;
  --g-bad:   #e8878f;
  --g-ok:    #8fd3ac;
  --g-warn:  #e0bd83;
  --g-display: "Barlow Condensed", "Inter", system-ui, sans-serif;
  --g-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html, body { min-height: 100%; }

body.csk-login {
  margin: 0;
  background: #06090e;
  color: var(--g-ink);
  font-family: var(--g-body);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ============================================================
   2 · Sahne
   ============================================================ */
.g-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #06090e;
  overflow: hidden;
}

.g-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.4s ease, transform 14s linear;
  will-change: opacity;
}
.g-slide.is-tek,
.g-slide.is-aktif { opacity: 1; transform: scale(1.07); }

.g-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(4, 7, 11, .92) 0%, rgba(4, 7, 11, .82) 24%, rgba(4, 7, 11, .44) 50%, rgba(4, 7, 11, .48) 72%, rgba(4, 7, 11, .66) 100%),
    linear-gradient(0deg, rgba(4, 7, 11, .9) 0%, rgba(4, 7, 11, .06) 42%, rgba(4, 7, 11, .32) 100%),
    radial-gradient(900px 640px at 68% 56%, rgba(255, 176, 104, .14), transparent 66%);
}

.g-grain {
  position: absolute;
  inset: 0;
  opacity: .09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   3 · Yerleşim & sol vitrin
   ============================================================ */
.g-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 54px) clamp(20px, 4.5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 404px;
  gap: clamp(36px, 6vw, 96px);
  align-items: stretch;
}

/* daha çok alanı olan form (kayıt) */
.g-wrap.g-genis { grid-template-columns: minmax(0, 1fr) 436px; }

.g-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-width: 0;
}

.g-brand { display: flex; flex-direction: column; gap: 7px; }
.g-word {
  font-family: var(--g-display);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: .44em;
  text-transform: uppercase;
  line-height: 1;
}
.g-tag {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--g-faint);
}

.g-hero { margin: auto 0; padding: 18px 0; }

.g-eyebrow {
  margin: 0 0 20px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--g-sand);
}

.g-title {
  margin: 0 0 22px;
  font-family: var(--g-display);
  font-weight: 600;
  font-size: clamp(54px, 7.4vw, 112px);
  line-height: .88;
  letter-spacing: .004em;
  text-transform: uppercase;
}
.g-outline {
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(243, 241, 236, .52);
  text-stroke: 1.2px rgba(243, 241, 236, .52);
}
@supports not ((-webkit-text-stroke: 1px black)) {
  .g-outline { color: rgba(243, 241, 236, .55); }
}

.g-lead {
  margin: 0;
  max-width: 42ch;
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--g-dim);
}

/* sayaçlar */
.g-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--g-hair);
}
.g-stat { min-width: 0; }
.g-stat b {
  display: block;
  font-family: var(--g-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
.g-stat span {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--g-faint);
}
.g-stat-durum b {
  font-family: var(--g-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--g-sand);
  padding-top: 8px;
}

.g-copy {
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--g-faint);
}

/* ============================================================
   4 · Giriş kartı
   ============================================================ */
.g-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-width: 0;
}

.g-card {
  position: relative;
  padding: clamp(24px, 2.4vw, 32px);
  border: 1px solid var(--g-hair);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(11, 16, 23, .86), rgba(6, 9, 14, .93));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 50px 90px -60px rgba(0, 0, 0, 1), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.g-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 1px;
  background: var(--g-sand);
}

.g-step {
  margin: 0 0 16px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--g-sand);
}
.g-card h2 {
  margin: 0 0 7px;
  font-family: var(--g-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .006em;
  text-transform: uppercase;
}
.g-sub { margin: 0 0 22px; font-size: 12.5px; line-height: 1.65; color: var(--g-dim); }

/* sosyal butonlar */
.g-social { display: grid; gap: 8px; }

.g-sos {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 15px;
  border: 1px solid var(--g-hair);
  border-radius: 2px;
  background: rgba(243, 241, 236, .045);
  color: var(--g-ink);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .01em;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.g-sos span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-sos em {
  margin-left: auto;
  font-style: normal;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--g-faint);
}
.g-sos-google { background: #f2f1ee; border-color: #f2f1ee; color: #16181c; }
.g-sos-google:hover { background: #ffffff; border-color: #ffffff; }
.g-sos-steam { background: #10151c; border-color: rgba(243, 241, 236, .22); color: #eef2f7; }
.g-sos-steam:hover { background: #18202b; border-color: rgba(243, 241, 236, .34); }
.g-sos:hover { transform: translateY(-1px); }
.g-sos:focus-visible { outline: 2px solid var(--g-sand); outline-offset: 2px; }
.g-sos.is-off {
  opacity: .42;
  pointer-events: none;
  filter: grayscale(.5);
}

.g-note {
  margin: 10px 0 0;
  font-size: 10px;
  line-height: 1.65;
  color: var(--g-faint);
}

/* ayraç */
.g-veya {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 18px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--g-faint);
}
.g-veya::before, .g-veya::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(243, 241, 236, .14);
}

/* alanlar */
.g-form { display: grid; gap: 18px; }

/* ad / soyad yan yana */
.g-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* hizmet şartları onayı */
.g-terms {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--g-dim);
  cursor: pointer;
  user-select: none;
}
.g-terms input { width: 14px; height: 14px; margin: 2px 0 0; accent-color: var(--g-sand); cursor: pointer; }
.g-terms a { color: var(--g-ink); text-decoration: none; border-bottom: 1px solid rgba(243, 241, 236, .34); }
.g-terms a:hover { border-bottom-color: var(--g-sand); }

.g-field { position: relative; display: flex; flex-direction: column; gap: 7px; }
.g-field label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--g-faint);
}
.g-field input {
  width: 100%;
  height: 40px;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid rgba(243, 241, 236, .2);
  border-radius: 0;
  background: transparent;
  color: var(--g-ink);
  font-family: var(--g-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .01em;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.g-field input:hover { border-bottom-color: rgba(243, 241, 236, .34); }
.g-field input:focus {
  border-bottom-color: var(--g-sand);
  box-shadow: 0 1px 0 var(--g-sand);
}
.g-field input:-webkit-autofill {
  -webkit-text-fill-color: var(--g-ink);
  -webkit-box-shadow: 0 0 0 1000px #0b1119 inset;
  border-bottom-color: rgba(243, 241, 236, .2);
}
.g-field input[name="parola"] { padding-right: 58px; }

.g-goz {
  position: absolute;
  right: 0;
  bottom: 9px;
  padding: 4px 0 4px 10px;
  border: 0;
  background: none;
  color: rgba(243, 241, 236, .45);
  font-family: var(--g-body);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .16s ease;
}
.g-goz:hover { color: var(--g-ink); }
.g-goz:focus-visible { outline: 1px solid var(--g-sand); outline-offset: 2px; }

.g-caps {
  display: none;
  margin: -6px 0 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--g-warn);
}
.g-caps.is-on { display: block; }

/* beni hatırla */
.g-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11.5px;
}
.g-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--g-dim);
  cursor: pointer;
  user-select: none;
}
.g-check input { width: 14px; height: 14px; margin: 0; accent-color: var(--g-sand); cursor: pointer; }
.g-row a {
  color: rgba(243, 241, 236, .74);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(243, 241, 236, .26);
  transition: color .16s ease, border-color .16s ease;
}
.g-row a:hover { color: #fff; border-bottom-color: var(--g-sand); }

/* gönder */
.g-submit {
  height: 50px;
  margin-top: 2px;
  border: 0;
  border-radius: 2px;
  background: #ece7dc;
  color: #0a0d12;
  font-family: var(--g-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, opacity .18s ease;
}
.g-submit:hover { background: #ffffff; transform: translateY(-1px); }
.g-submit:active { transform: translateY(0); }
.g-submit:focus-visible { outline: 2px solid var(--g-sand); outline-offset: 3px; }
.g-submit[disabled] { cursor: progress; opacity: .7; transform: none; }

/* kart altı */
.g-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(243, 241, 236, .12);
  font-size: 11px;
  color: var(--g-faint);
}
.g-card-foot a {
  color: var(--g-ink);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(243, 241, 236, .34);
  transition: border-color .16s ease;
}
.g-card-foot a:hover { border-bottom-color: var(--g-sand); }

.g-secure {
  margin: 0;
  text-align: center;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--g-faint);
}
.g-secure a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(243, 241, 236, .2); }
.g-secure a:hover { color: var(--g-ink); }

/* uyarılar (giris.php .cl-alert · eski sayfalar .csk-alert) */
.cl-alert, .csk-alert {
  margin: 0 0 16px;
  padding: 11px 13px;
  border-left: 2px solid currentColor;
  background: rgba(243, 241, 236, .05);
  font-size: 11.5px;
  line-height: 1.6;
  animation: g-slide-in .28s ease both;
}
.cl-alert .dot, .csk-alert .dot { display: none; }
.cl-alert-bad, .csk-alert-bad   { color: var(--g-bad); }
.cl-alert-ok, .csk-alert-ok     { color: var(--g-ok); }
.cl-alert-warn, .csk-alert-warn { color: var(--g-warn); }

/* doğrulama e-postası tekrar gönder */
.g-resend { display: grid; gap: 10px; margin: 0 0 18px; }
.g-resend input {
  width: 100%;
  height: 38px;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid rgba(243, 241, 236, .22);
  background: transparent;
  color: var(--g-ink);
  font-family: var(--g-body);
  font-size: 13px;
  outline: none;
}
.g-resend input:focus { border-bottom-color: var(--g-sand); box-shadow: 0 1px 0 var(--g-sand); }
.g-resend input::placeholder { color: var(--g-faint); }
.g-btn-alt {
  height: 38px;
  border: 1px solid rgba(243, 241, 236, .22);
  border-radius: 2px;
  background: transparent;
  color: rgba(243, 241, 236, .8);
  font-family: var(--g-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.g-btn-alt:hover { background: rgba(243, 241, 236, .08); border-color: rgba(243, 241, 236, .4); color: #fff; }

/* ============================================================
   5 · Hareket & duyarlılık
   ============================================================ */
.g-in { animation: g-rise .8s cubic-bezier(.16, 1, .3, 1) both; }
.g-in-2 { animation-delay: .08s; }
.g-in-3 { animation-delay: .16s; }

@keyframes g-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes g-slide-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes g-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}
.g-card.has-error { animation: g-shake .42s ease; }

@media (max-width: 1080px) {
  .g-wrap {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 30px;
    padding-bottom: 36px;
    align-content: start;
  }
  .g-main { gap: 24px; }
  .g-hero { margin: 0; padding: 6px 0 0; }
  .g-title { font-size: clamp(44px, 9.5vw, 72px); line-height: .92; }
  .g-lead { max-width: none; }
  .g-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 18px; }
  .g-stat b { font-size: 26px; }
  .g-copy { display: none; }
  .g-panel { width: 100%; max-width: 460px; margin: 0 auto; }
}

@media (max-width: 560px) {
  .g-wrap { padding: 20px 16px 28px; gap: 24px; }
  .g-word { font-size: 18px; letter-spacing: .34em; }
  .g-tag { font-size: 8.5px; letter-spacing: .2em; }
  .g-eyebrow { margin-bottom: 14px; }
  .g-title { font-size: clamp(38px, 12vw, 56px); margin-bottom: 16px; }
  .g-lead { display: none; }
  .g-stats { gap: 12px; }
  .g-stat b { font-size: 23px; }
  .g-stat-durum b { font-size: 11px; }
  .g-grid2 { grid-template-columns: 1fr; gap: 18px; }
  .g-card { padding: 22px 18px; }
  .g-card h2 { font-size: 27px; }
  .g-sos { height: 46px; font-size: 12px; }
  .g-card-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .g-slide { transition: none !important; }
  .g-slide:first-child { opacity: 1; }
}
