/* =====================================================================
   EarnEmpire arayuz sistemi (ee-ui) - 2026-11 "Dark castle" tasarimi
   ---------------------------------------------------------------------
   Kaynak: kullanicinin gonderdigi home.html (Homepage · Dark castle
   theme). Degerler oradan birebir alindi; uydurma renk yok.

   Yeni tasarima gecen HER sayfa bu dosyayi yukler:
     pages.php -> assign_ee_public_page_assets() (includes/page_assets.php)
   Sayfaya ozgu bolumler ayri dosyada durur (ornek: ee-home.css).
   Ortak parcalar: partials/ee/_header.tpl, _footer.tpl, _brand.tpl,
   _lang-menu.tpl, _icon.tpl.

   Bu dosya degisince page_assets.php'deki ee-ui surumunu artir.
   ===================================================================== */

:root {
  /* Zeminler */
  --ee-bg: #0a0f1c;                         /* sayfa */
  --ee-bg-band: #0d1424;                    /* serit bolumler (istatistik, SSS...) */
  --ee-bg-foot: #080c17;                    /* alt bilgi */
  --ee-header-bg: rgba(10, 15, 28, 0.72);

  /* Yuzeyler */
  --ee-surface: #121b2e;                    /* kart */
  --ee-surface-glass: rgba(18, 27, 46, 0.88);
  --ee-surface-inset: #0e1628;              /* kart icindeki kutucuk */
  --ee-raised: #18233a;                     /* ikincil dugme, numara rozeti */
  --ee-raised-2: #1b2742;                   /* kart ustundeki ikincil dugme */
  --ee-raised-3: #1c2842;                   /* avatar */

  /* Kenarliklar */
  --ee-line: rgba(160, 185, 235, 0.10);     /* bolum ayiraclari */
  --ee-line-soft: rgba(160, 185, 235, 0.08);
  --ee-line-card: rgba(160, 185, 235, 0.13);
  --ee-line-ticker: rgba(160, 185, 235, 0.14);
  --ee-line-badge: rgba(160, 185, 235, 0.18);
  --ee-line-strong: rgba(160, 185, 235, 0.20); /* dugme / alan kenari */
  --ee-line-frame: rgba(160, 185, 235, 0.16);

  /* Metin */
  --ee-text: #eef2fb;
  --ee-heading: #f4f7fd;
  --ee-display: #f6f8fd;                    /* buyuk baslik, logo */
  --ee-text-nav: #cdd6e7;
  --ee-text-soft: #c3cde0;
  --ee-text-lead: #b4bfd3;
  --ee-text-muted: #a6b2c9;
  --ee-text-faint: #8f9bb4;
  /* theme.css'teki --ee-text-dim baska anlamda (ikincil metin); panelde iki
     dosya birlikte yuklendigi icin bu ad farkli. */
  --ee-text-subtle: #7f8ba3;

  /* Vurgu */
  --ee-accent: #ffc53d;
  --ee-accent-hover: #ffd978;
  --ee-accent-ring: rgba(255, 197, 61, 0.35);
  --ee-on-accent: #1d1405;
  --ee-green: #8bdc4f;
  --ee-green-soft: rgba(139, 220, 79, 0.12);
  --ee-green-tile: rgba(139, 220, 79, 0.13);
  --ee-paper: #f4efe1;                      /* kagit etiket */
  --ee-ink: #15203a;

  /* Form alanlari */
  --ee-input-bg: #0b1222;
  --ee-input-line: rgba(160, 185, 235, 0.22);
  --ee-input-icon: #7d89a2;

  /* Yazi tipleri */
  --ee-font-display: 'Lilita One', 'Trebuchet MS', system-ui, sans-serif;
  --ee-font-body: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Yerlesim */
  --ee-container: 1240px;
  --ee-gutter: 24px;

  /* Golgeler */
  --ee-shadow-drop: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
  --ee-shadow-panel: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  --ee-shadow-lift: 0 14px 30px -12px rgba(0, 0, 0, 0.7);
  --ee-shadow-tag: 0 4px 0 rgba(0, 0, 0, 0.35);
  --ee-text-shadow: 0 5px 0 rgba(0, 0, 0, 0.35);
}

/* ---------- Temel ---------- */

html.ee-ui {
  background: var(--ee-bg);
  scrollbar-color: rgba(160, 185, 235, 0.28) var(--ee-bg);
}

body.ee-ui {
  margin: 0;
  background: var(--ee-bg);
  color: var(--ee-text);
  font-family: var(--ee-font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

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

/* :where -> ozgulluk sifir; bilesenlerin kendi link rengi her zaman kazanir. */
:where(.ee-ui) a { color: var(--ee-accent); }
:where(.ee-ui) a:hover { color: var(--ee-accent-hover); }

.ee-ui :focus-visible {
  outline: 3px solid var(--ee-accent);
  outline-offset: 3px;
}

.ee-ui details > summary { list-style: none; }
.ee-ui details > summary::-webkit-details-marker { display: none; }

.ee-container {
  max-width: var(--ee-container);
  margin: 0 auto;
  padding: 0 var(--ee-gutter);
}

/* ---------- Logo ---------- */

.ee-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  text-decoration: none;
}

.ee-brand__mark {
  display: block;
  width: 46px;
  height: 46px;
}

.ee-brand__name {
  font-family: var(--ee-font-display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.4px;
  color: var(--ee-display);
}

.ee-brand__name span { color: var(--ee-accent); }

/* ---------- Dugmeler ---------- */
/* Boyut: varsayilan (baslik, 46px), --xs (kart ici, 44px), --md (52px),
          --lg (hero / CTA, 56px).
   Tur:   --primary (sari), --secondary (koyu, kenarli). */

.ee-btn {
  --ee-btn-depth: 3px;
  --ee-btn-depth-color: rgba(0, 0, 0, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 13px;
  font-family: var(--ee-font-display);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.3px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 calc(var(--ee-btn-depth) * -1) 0 var(--ee-btn-depth-color);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.ee-btn:hover { transform: translateY(-2px); filter: brightness(1.07); }
.ee-btn:active { transform: translateY(1px); }
.ee-btn svg { flex: none; }

.ee-btn--primary {
  --ee-btn-depth: 4px;
  --ee-btn-depth-color: rgba(0, 0, 0, 0.22);
  background: var(--ee-accent);
  color: var(--ee-on-accent);
}

.ee-btn--primary:hover { color: var(--ee-on-accent); }

.ee-btn--secondary {
  background: var(--ee-raised);
  border: 1px solid var(--ee-line-strong);
  color: var(--ee-text);
}

.ee-btn--secondary:hover { color: var(--ee-text); }

/* Kart yuzeyindeki ikincil dugme bir ton acik. */
.ee-card .ee-btn--secondary { background: var(--ee-raised-2); }

.ee-btn--xs {
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
}

.ee-btn--md {
  --ee-btn-depth: 4px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 18px;
}

.ee-btn--lg {
  --ee-btn-depth: 5px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 15px;
  font-size: 20px;
  letter-spacing: 0.4px;
}

.ee-btn--primary.ee-btn--lg {
  box-shadow: inset 0 -5px 0 var(--ee-btn-depth-color), var(--ee-shadow-lift);
}

/* Govde yazisiyla dugme (alt bilgideki Telegram baglantisi gibi). */
.ee-btn--text {
  padding: 0 18px;
  font-family: var(--ee-font-body);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

/* ---------- Kart ---------- */

.ee-card {
  background: var(--ee-surface);
  border: 1px solid var(--ee-line-card);
  border-radius: 24px;
}

.ee-card--hover { transition: transform 0.2s ease, border-color 0.2s ease; }
.ee-card--hover:hover { transform: translateY(-4px); border-color: var(--ee-accent-ring); }

/* ---------- Bolum ---------- */

.ee-section { padding: 96px 0; }

.ee-section--band {
  padding: 88px 0;
  background: var(--ee-bg-band);
  border-top: 1px solid var(--ee-line);
  border-bottom: 1px solid var(--ee-line);
}

.ee-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  text-align: center;
}

.ee-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--ee-accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.ee-h2 {
  margin: 0;
  font-family: var(--ee-font-display);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0.3px;
  color: var(--ee-heading);
  text-wrap: balance;
}

/* Yanda metinli (iki sutunlu) bolumlerin basligi. */
.ee-h2--side {
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.08;
}

.ee-lead {
  margin: 0;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ee-text-muted);
}

/* ---------- Kagit etiket ---------- */

.ee-tag {
  display: inline-block;
  padding: 7px 13px 6px;
  border-radius: 7px;
  background: var(--ee-paper);
  color: var(--ee-ink);
  font-family: var(--ee-font-display);
  font-size: 15px;
  letter-spacing: 1.2px;
  box-shadow: var(--ee-shadow-tag);
}

.ee-tag--accent { background: var(--ee-accent); color: var(--ee-on-accent); }

/* Uclu etiket grubu (STRATEGY / BUILD / EARN): hafif egik dizilir. */
.ee-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ee-tags .ee-tag:nth-child(3n+1) { transform: rotate(-3deg); }
.ee-tags .ee-tag:nth-child(3n+2) { transform: rotate(2deg); }
.ee-tags .ee-tag:nth-child(3n) { transform: rotate(-1.5deg); }

/* ---------- Hap rozet ---------- */

.ee-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ee-green-soft);
  color: var(--ee-green);
  font-size: 13px;
  font-weight: 800;
}

/* ---------- Acilir soru (SSS) ---------- */

.ee-acc {
  border-radius: 18px;
  background: var(--ee-surface);
  border: 1px solid var(--ee-line-card);
}

.ee-acc__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 22px;
  cursor: pointer;
  font-weight: 800;
  font-size: 18px;
  color: var(--ee-text);
}

.ee-acc__chev {
  flex: none;
  color: var(--ee-accent);
  transition: transform 0.2s ease;
}

.ee-acc[open] .ee-acc__chev { transform: rotate(180deg); }

.ee-acc__a {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ee-text-muted);
}

/* ---------- Form ---------- */
/* Giris / kayit tasarimindaki alanlar. Betik kancalari (js-*) degismez;
   js/auth.js hem bu yapiyi hem eski bc-field yapisini taniyor. */

.ee-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ee-field__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
}

.ee-label {
  font-weight: 800;
  font-size: 15px;
  color: var(--ee-text-nav);
}

.ee-field__link {
  font-weight: 800;
  font-size: 15px;
  color: var(--ee-accent);
  text-decoration: none;
}

.ee-field__control { position: relative; }

.ee-field__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ee-input-icon);
  pointer-events: none;
}

.ee-input {
  width: 100%;
  height: 54px;
  padding: 0 16px 0 48px;
  border-radius: 14px;
  background: var(--ee-input-bg);
  border: 1px solid var(--ee-input-line);
  color: var(--ee-text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
}

.ee-input::placeholder { color: var(--ee-input-icon); }

.ee-input:focus {
  outline: none;
  border-color: var(--ee-accent);
  box-shadow: 0 0 0 4px rgba(255, 197, 61, 0.18);
}

.ee-ui .ee-input:focus-visible { outline: none; }
.ee-input--toggle { padding-right: 56px; }
.ee-input--code { font-weight: 700; letter-spacing: 2px; }
.ee-input[readonly],
.ee-input:disabled { opacity: 0.7; }

.ee-field__toggle {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--ee-text-muted);
  cursor: pointer;
}

.ee-field__toggle .ee-eye-off,
.ee-field__toggle.is-shown .ee-eye { display: none; }
.ee-field__toggle.is-shown .ee-eye-off { display: block; }

.ee-field__hint {
  font-size: 14px;
  color: var(--ee-text-faint);
}

.ee-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 4px 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ee-text-muted);
  cursor: pointer;
}

.ee-check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--ee-accent);
  cursor: pointer;
}

.ee-check a {
  color: var(--ee-accent);
  font-weight: 800;
  text-decoration: none;
}

/* Tam genislik dugme (form gonder) */
.ee-btn--block {
  display: flex;
  width: 100%;
}

.ee-btn--lg.ee-btn--block { padding: 0 24px; }

/* Cizgili, dolgusuz dugme ("Baska e-posta kullan", "Kodu yeniden gonder") */
.ee-btn--ghost {
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  background: transparent;
  border: 1px solid var(--ee-line-strong);
  color: var(--ee-text-nav);
  font-family: var(--ee-font-body);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: none;
}

.ee-btn--ghost:hover { color: var(--ee-accent); }
.ee-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; filter: none; }

/* Gonderim sirasinda dugmedeki "Yukleniyor" */
.ee-btn__busy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ee-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid currentColor;
  border-right-color: transparent;
  animation: ee-spin 0.7s linear infinite;
}

@keyframes ee-spin { to { transform: rotate(360deg); } }

/* Uyari kutulari. Renkler tasarimin vurgu seceneklerinden (#FF7A59, #5CC8FF). */
.ee-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.ee-alert svg { flex: none; margin-top: 2px; }

.ee-alert--error {
  background: rgba(255, 122, 89, 0.1);
  border-color: rgba(255, 122, 89, 0.35);
  color: #ffb39f;
}

.ee-alert--success {
  background: var(--ee-green-soft);
  border-color: rgba(139, 220, 79, 0.35);
  color: var(--ee-green);
}

.ee-alert--info {
  background: rgba(92, 200, 255, 0.08);
  border-color: rgba(92, 200, 255, 0.3);
  color: #b9e7ff;
}

/* Bekleyen islem / dikkat (sari vurgu). */
.ee-alert--warn {
  background: rgba(255, 197, 61, 0.1);
  border-color: rgba(255, 197, 61, 0.35);
  color: #ffd978;
}

/* Cloudflare Turnstile kutusu */
.ee-turnstile {
  display: flex;
  justify-content: center;
  min-height: 65px;
}

.x-hidden { display: none !important; }

/* Yalniz ekran okuyucu icin metin (gorunmez). */
.ee-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Dil menusu ---------- */
/* <details> ile calisir: betik olmadan da acilir. js/ee-site.js disari
   tiklayinca / Esc ile kapatir. */

.ee-lang { position: relative; }

.ee-lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid var(--ee-line-strong);
  color: var(--ee-text-nav);
  font-family: inherit;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  user-select: none;
}

.ee-lang__btn:hover { color: var(--ee-accent); }
.ee-lang[open] .ee-lang__chev { transform: rotate(180deg); }
.ee-lang__chev { transition: transform 0.2s ease; }

/* Alt bilgideki buyuk hali */
.ee-lang--footer .ee-lang__btn {
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 13px;
  background: var(--ee-surface);
  color: var(--ee-text);
}

.ee-lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: grid;
  gap: 2px;
  min-width: 210px;
  max-height: min(70vh, 460px);
  overflow-y: auto;
  padding: 6px;
  border-radius: 16px;
  background: var(--ee-surface);
  border: 1px solid var(--ee-line-strong);
  box-shadow: var(--ee-shadow-drop);
}

/* Alt bilgide yukari dogru acilir. */
.ee-lang--footer .ee-lang__menu {
  top: auto;
  bottom: calc(100% + 8px);
  right: auto;
  left: 0;
}

.ee-lang__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--ee-text-nav);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}

.ee-lang__item:hover { background: var(--ee-raised); color: var(--ee-accent); }
.ee-lang__item.is-active { color: var(--ee-accent); }

/* ---------- Ust baslik ---------- */

.ee-header {
  position: relative;
  z-index: 5;
  background: var(--ee-header-bg);
  border-bottom: 1px solid var(--ee-line);
}

.ee-header__inner {
  max-width: var(--ee-container);
  margin: 0 auto;
  padding: 12px var(--ee-gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.ee-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.ee-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  color: var(--ee-text-nav);
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
}

.ee-nav__link:hover { color: var(--ee-accent); }

/* "Ana sayfaya don" (giris/kayit sayfalarinin basligi) */
.ee-nav__link--back {
  gap: 8px;
  font-size: 15px;
}

.ee-header__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* ---------- Mobil menu (991px ve alti) ---------- */
/* Bu genislikte baslik yalniz logo + menu tusu (partials/ee/_header.tpl) ve
   eski tasarimdaki gibi ustte sabit (sticky). Menu <details> ile calisir,
   betik olmadan da acilir; basligin altina asili bir pano, boyu icerigi
   kadar: alttaki site gorunur, sayfa kaydirilabilir (kullanici: "acilan
   menu siteyi tamamen kapatiyor"). Acilis/kapanis animasyonlu; kapanisi
   js/ee-site.js yonetir (.is-closing, animasyon bitince [open] kalkar),
   disari tiklama / Esc / baglanti da kapatir. */

.ee-mnav { display: none; }

.ee-mnav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--ee-raised);
  border: 1px solid var(--ee-line-strong);
  color: var(--ee-text);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.ee-mnav__btn:hover { color: var(--ee-accent); }

.ee-mnav[open]:not(.is-closing) .ee-mnav__btn {
  color: var(--ee-accent);
  border-color: var(--ee-accent-ring);
}

/* Kapanirken tus hemen hamburgere doner. */
.ee-mnav__ico--close,
.ee-mnav[open]:not(.is-closing) .ee-mnav__ico--open { display: none; }
.ee-mnav[open]:not(.is-closing) .ee-mnav__ico--close { display: block; }

.ee-mnav__panel {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 1;
  max-height: calc(100vh - 73px);
  max-height: calc(100dvh - var(--ee-mnav-top, 73px));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--ee-bg);
  border-top: 1px solid var(--ee-line);
  border-bottom: 1px solid var(--ee-line-strong);
  border-radius: 0 0 22px 22px;
  box-shadow: 0 28px 50px -18px rgba(0, 0, 0, 0.85);
}

.ee-mnav__inner {
  display: grid;
  gap: 18px;
  max-width: 560px;
  margin: 0 auto;
  padding: 12px var(--ee-gutter) calc(32px + env(safe-area-inset-bottom, 0px));
}

.ee-mnav__links,
.ee-mnav__auth {
  display: grid;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ee-line);
}

.ee-mnav__links { gap: 4px; }
.ee-mnav__auth { gap: 12px; }

.ee-mnav__link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 6px 10px 6px 6px;
  border-radius: 14px;
  color: var(--ee-text);
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
}

.ee-mnav__link:hover,
.ee-mnav__link:focus-visible {
  background: var(--ee-surface);
  color: var(--ee-accent);
}

.ee-mnav__tile {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--ee-raised);
  border: 1px solid var(--ee-line-badge);
  color: var(--ee-accent);
}

.ee-mnav__text { flex: 1 1 auto; min-width: 0; }
.ee-mnav__chev { flex: none; color: var(--ee-text-faint); }

/* Dil secicinin menudeki tam genislik hali: liste sayfanin icinde acilir. */
.ee-lang--drawer .ee-lang__btn {
  width: 100%;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  background: var(--ee-surface);
  color: var(--ee-text);
}

.ee-lang--drawer .ee-lang__chev { margin-left: auto; }

.ee-lang--drawer .ee-lang__menu {
  position: static;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
  max-height: none;
  margin-top: 8px;
  box-shadow: none;
}

/* Acilis: pano basligin altindan asagi dogru acilir (clip-path; yanlarda
   ve altta golge kesilmesin diye pay var), satirlar sirayla kayarak gelir.
   Kapanis: pano yukari toplanir, satirlar soner. */
@keyframes ee-mnav-unroll {
  from { clip-path: inset(0 -60px 100% -60px); }
  to { clip-path: inset(0 -60px -90px -60px); }
}

@keyframes ee-mnav-roll {
  from { clip-path: inset(0 -60px -90px -60px); }
  to { clip-path: inset(0 -60px 100% -60px); }
}

@keyframes ee-mnav-item-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

@keyframes ee-mnav-item-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes ee-mnav-ico {
  from { opacity: 0; transform: rotate(-90deg) scale(0.6); }
  to { opacity: 1; transform: none; }
}

.ee-mnav[open]:not(.is-closing) .ee-mnav__panel {
  animation: ee-mnav-unroll 0.36s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.ee-mnav[open]:not(.is-closing) .ee-mnav__inner > * {
  animation: ee-mnav-item-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.ee-mnav[open]:not(.is-closing) .ee-mnav__inner > :nth-child(2) { animation-delay: 0.06s; }
.ee-mnav[open]:not(.is-closing) .ee-mnav__inner > :nth-child(3) { animation-delay: 0.12s; }

.ee-mnav.is-closing .ee-mnav__panel {
  animation: ee-mnav-roll 0.26s cubic-bezier(0.55, 0, 0.7, 0.2) forwards;
}

.ee-mnav.is-closing .ee-mnav__inner > * {
  animation: ee-mnav-item-out 0.18s ease-in forwards;
}

.ee-mnav[open]:not(.is-closing) .ee-mnav__ico--close,
.ee-mnav.is-closing .ee-mnav__ico--open {
  animation: ee-mnav-ico 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 991.98px) {
  .ee-header--nav {
    position: sticky;
    top: 0;
    z-index: 50;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  .ee-header--nav .ee-nav,
  .ee-header--nav .ee-header__actions { display: none; }
  .ee-header--nav .ee-header__inner { flex-wrap: nowrap; }
  .ee-mnav { display: block; }

  /* Sabit baslik bolum basliklarini (#how-it-works, #faq...) ortmesin. */
  html.ee-ui { scroll-padding-top: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  .ee-mnav .ee-mnav__panel,
  .ee-mnav .ee-mnav__inner > *,
  .ee-mnav .ee-mnav__ico { animation: none !important; }
}

/* ---------- Alt bilgi ---------- */

.ee-footer {
  background: var(--ee-bg-foot);
  border-top: 1px solid var(--ee-line);
}

.ee-footer__main {
  max-width: var(--ee-container);
  margin: 0 auto;
  padding: 56px var(--ee-gutter) 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 36px 48px;
}

.ee-footer__brand {
  flex: 2 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.ee-footer__about {
  margin: 0;
  max-width: 400px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ee-text-faint);
}

.ee-footer__nav {
  flex: 1 1 150px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.ee-footer__nav--wide { flex-basis: 170px; }

.ee-footer__title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ee-text-faint);
}

.ee-footer__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--ee-text-nav);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}

.ee-footer__link:hover { color: var(--ee-accent); }

.ee-footer__lang {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.ee-footer__lang .ee-footer__title { margin-bottom: 2px; }

.ee-footer__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ee-text-faint);
}

.ee-footer__bottom {
  max-width: var(--ee-container);
  margin: 0 auto;
  padding: 20px var(--ee-gutter) 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--ee-line-soft);
  font-size: 14px;
  color: var(--ee-text-subtle);
}

/* Ince alt bilgi (giris / kayit / sifre sifirlama) */
.ee-footer__bar {
  max-width: var(--ee-container);
  margin: 0 auto;
  padding: 14px var(--ee-gutter) 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  font-size: 14px;
  color: var(--ee-text-subtle);
}

.ee-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
}

.ee-footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--ee-text-muted);
  text-decoration: none;
  font-weight: 700;
}

.ee-footer__legal a:hover { color: var(--ee-accent); }

/* ---------- Hareket azaltma ---------- */

@media (prefers-reduced-motion: reduce) {
  .ee-btn,
  .ee-card--hover,
  .ee-acc__chev,
  .ee-lang__chev { transition: none; }
  .ee-spinner { animation-duration: 1.6s; }
}
