/* ==========================================================================
   ewlat.org — Animasyon & Etkileşim Katmanı (düz CSS — derleme yok)
   --------------------------------------------------------------------------
   • Bu dosya doğrudan düzenlenir ve sunucuya olduğu gibi yüklenir (Node/derleme gerekmez).
   • Kurallar sınıf seçicilidir ve katmansızdır: sitenin app.css / Bootstrap kurallarıyla
     (ör. "* { margin:0; padding:0 }", "button { border-radius:0 }") çakışınca sınıf özgüllüğüyle
     kazanır; site kuralını ezmek gereken yerlerde seçici "html.ew-js …" ile güçlendirilir.
   • JS'in oluşturduğu öğeler "ew-*" sınıflarını taşır (assets/js/motion.js).
   • Hareket gerektiren her şey html.ew-motion altında: kullanıcı "hareketi azalt" seçtiyse
     ya da JS çalışmadıysa sayfa bugünkü gibi kalır.
   • Renkler: altın #ffe08a · turkuaz #44acbf · koyu #0f4c5c
   ========================================================================== */

@keyframes ew-spin { to { transform: rotate(360deg); } }
@keyframes ew-pulse-soft {
  0%, 100% { opacity: .85; filter: drop-shadow(0 0 4px rgba(255, 224, 138, .45)); }
  50%      { opacity: 1;   filter: drop-shadow(0 0 10px rgba(255, 224, 138, .9)); }
}
@keyframes ew-ripple {
  from { opacity: .7; transform: scale(0); }
  to   { opacity: 0;  transform: scale(14); }
}

/* ---------- Çeviri yüklenene kadar (ug dışı dillerde) eski Uygurca metinlerin parlamasını önle ---------- */
html.ew-i18n-wait .chislaDiv,
html.ew-i18n-wait .apps .item-title,
html.ew-i18n-wait .apps .item-text,
html.ew-i18n-wait .menu:not(.ew-wheel-on) {
  opacity: 0 !important;
}

/* ---------- Ortak keyframe'ler ---------- */
@keyframes ew-word-in {
  from { opacity: 0; filter: blur(10px); transform: translateY(16px) scale(.96); }
  to   { opacity: 1; filter: none;       transform: none; }
}
@keyframes ew-shine {
  0%        { background-position: 0% 50%; }
  28%, 100% { background-position: 100% 50%; }
}
@keyframes ew-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes ew-pop-in {
  0%   { opacity: 0; transform: translateY(46px) scale(.6) rotate(-6deg); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes ew-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

/* ==========================================================================
   2. SLOGAN & TARİH
   ========================================================================== */
.ew-word { display: inline-block; }
html.ew-motion .ew-word {
  opacity: 0;
  animation: ew-word-in 1s cubic-bezier(.2, .7, .2, 1) forwards;
  animation-delay: calc(var(--i, 0) * 150ms + 250ms);
}
.ew-word-txt { display: inline-block; }
html.ew-motion .ew-word-txt.ew-shine {
  background-image: linear-gradient(100deg, #fff 0 42%, #ffe08a 47%, #fffbe9 50%, #ffe08a 53%, #fff 58% 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: ew-shine 7s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 260ms);
}

html.ew-js .chislaDiv {
  font-size: 16px;
}
html.ew-js .chislaDiv .date-sep {
  font-size: 18px;
}
html.ew-js .ew-moon-wrap svg {
  width: 22px;
  height: 22px;
}

html.ew-motion .chislaDiv > * {
  animation: ew-rise .9s cubic-bezier(.2, .7, .2, 1) both;
}
html.ew-motion .chislaDiv > :nth-child(1) { animation-delay: .75s; }
html.ew-motion .chislaDiv > :nth-child(2) { animation-delay: .85s; }
html.ew-motion .chislaDiv > :nth-child(3) { animation-delay: .95s; }
html.ew-motion .chislaDiv > :nth-child(4) { animation-delay: 1.05s; }
/* "|" ayırıcısı animasyonsuz: Chrome bu ince karakteri animasyon bittikten sonra çizmeyebiliyor */
html.ew-motion .chislaDiv > .date-sep { animation: none; }

/* Dar ekranda tarih: 1. satır ay + Hicri, 2. satır Miladi (ortalı); "|" ayırıcı gizli */
@media (max-width: 1023px) {
  html.ew-js .chislaDiv {
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 10px;
    row-gap: 2px;
  }
  html.ew-js .chislaDiv .date-sep { display: none; }
  html.ew-js .chislaDiv .chisla-ug { flex-basis: 100%; text-align: center; }
}

/* ==========================================================================
   3. YARIM DAİRE MENÜ — dönme dolap
   ========================================================================== */
html.ew-js .menu > img:first-of-type { position: relative; z-index: 2; }   /* yalnızca orijinal menu.png */
html.ew-js .top { overflow-x: clip; }   /* hero'dan taşan hiçbir şey sayfayı yana genişletmesin */
/* overflow:clip'i bilmeyen tarayıcılar (ör. Safari < 16): sayfa düzeyinde yatay taşmayı kapat */
@supports not (overflow: clip) {
  html.ew-js, html.ew-js body { overflow-x: hidden; }
}

/* Çarkın yarım dairesi alttaki çizgiye (hero'nun alt kenarı) dayanır. Site, ≤1023px'te .top'a padding-bottom: 10px
   veriyor; bu çemberle çizgi arasında boşluk bırakıyordu. Menü ve .top altındaki ek boşluklar sıfırlanır. */
html.ew-js .top.ew-wheel-top { padding-bottom: 0; }
html.ew-js .top.ew-wheel-top .menu { margin-bottom: 0; }
html.ew-js .menu.ew-wheel-on > img:first-of-type { display: block; }   /* satır içi resmin alt boşluğu (baseline) olmasın */

/* Çark kurulunca orijinal görselin yerini hub.png (sabit göbek) + legs.png alır */
html.ew-motion .menu.ew-wheel-on > img.ew-center { opacity: 0; }

/* Çocuğun başı: çoğunlukla kitaba bakar, ara sıra başını kaldırıp yavaşça indirir */
html.ew-motion .ew-head { animation: ew-head 7s ease-in-out infinite; }
@keyframes ew-head {
  0%, 30%   { rotate: 3deg; }      /* kitaba bakıyor */
  40%, 58%  { rotate: -13deg; }    /* başını belirgin şekilde kaldırıyor */
  68%, 100% { rotate: 3deg; }      /* tekrar kitaba */
}

/* Hilalde oturan çocuğun bacakları: dizden belirgin şekilde ileri-geri sallanır */
html.ew-motion .ew-legs { animation: ew-legs 1.3s ease-in-out infinite alternate; }
@keyframes ew-legs {
  from { rotate: -10deg; }
  to   { rotate: 10deg; }
}

/* Dönen iskelet */
.ew-clip { position: absolute; top: 0; z-index: 2; overflow: hidden; opacity: 0; transition: opacity .5s; }
.ew-clip.ew-ready { opacity: 1; }
.ew-wheel { position: absolute; top: 0; rotate: var(--ew-a, 0deg); pointer-events: none; }
/* Çocuğun altındaki yazı (dile göre gerçek metin; konum ve boyut JS'ten) */
.ew-hubtext {
  position: absolute;
  z-index: 2;
  translate: -50% -50%;
  white-space: nowrap;
  text-align: center;
  line-height: 1.2;
  font-family: 'EwUKIJ', 'UKIJ', 'uyghur', sans-serif;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 50, 70, .45), 0 0 14px rgba(255, 255, 255, .25);
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
.ew-ring-img, .ew-sprite { position: absolute; pointer-events: none; -webkit-user-select: none; user-select: none; }
.ew-sprite { z-index: 2; }
/* Üzerine gelinen dilim: koyu örtü (halkayla birlikte döner; logolar ve yazılar üstte kalır) */
.ew-sector { position: absolute; pointer-events: none; overflow: visible; }
.ew-sector path { fill: rgba(3, 30, 40, .42); }
/* Logolar: pime merkezinden takılı, yazının ağırlığıyla dik durur (konum ve açı JS'ten) */
.ew-cabin {
  position: absolute;
  left: 0;
  top: 0;
  will-change: transform;
}
.ew-gondola {                         /* görünmez taşıyıcı: yuvarlak ikon + altında yazı */
  position: absolute;
  left: 0;
  right: 0;
}
.ew-label {                           /* logonun altındaki yazı: gerçek metin, tek satır */
  position: absolute;
  left: 50%;
  translate: -50% 0;
  white-space: nowrap;
  font-family: 'UKIJ', 'uyghur', sans-serif;
  line-height: 1.25;
  color: #fff;
  text-align: center;
  pointer-events: none;
  text-shadow: 0 1px 2px rgba(0, 20, 30, .9), 0 0 8px rgba(0, 30, 45, .6);
}
html.ew-js .menu.ew-wheel-on .ew-slice { opacity: 1; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 6px 14px rgba(0, 0, 0, .3); }
html.ew-js .menu.ew-wheel-on .mbtn-inactive .ew-slice { filter: none; }

/* Ok düğmeleri ve "Hepsini gör" düğmesi */
.ew-arrow, .ew-seeall {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, .45);
  background: rgba(20, 86, 106, .9);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
  transition: background .2s, border-color .2s, scale .2s;
}
.ew-arrow:hover, .ew-seeall:hover { background: #1b6c84; border-color: rgba(255, 255, 255, .8); }
.ew-arrow:hover { scale: 1.1; }
.ew-arrow:active, .ew-seeall:active { scale: .95; }
.ew-seeall { gap: 8px; white-space: nowrap; font-weight: 700; }
/* Bootstrap'in button { border-radius: 0 } kuralını ezmek için seçici güçlendirilmiş */
html.ew-js .top .ew-arrow { border-radius: 50%; padding: 0; line-height: 0; outline-offset: 3px; }
html.ew-js .top .ew-seeall { border-radius: 999px; line-height: 1; font-family: inherit; padding: 0 22px; }

.ew-hubbtn { position: absolute; z-index: 3; padding: 0; border: 0; background: transparent; cursor: pointer; }
html.ew-js .menu .ew-hubbtn { border-radius: 50%; }
html.ew-js .menu .ew-hubbtn:focus-visible { outline: 3px solid rgba(255, 224, 138, .9); outline-offset: 4px; }

/* "Hepsini gör" penceresi (siteler kartlarla) */
.ew-sites {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(6, 42, 53, .6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .3s;
}
.ew-sites.ew-show { opacity: 1; }
.ew-sites[hidden] { display: none !important; }
.ew-sites-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 880px;
  max-height: 88vh;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  color: #0f4c5c;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  transform: translateY(16px) scale(.97);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.ew-sites.ew-show .ew-sites-panel { transform: none; }
.ew-sites-head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  background: #fff;
  border-bottom: 1px solid #e2eef1;
}
@media (min-width: 640px) {
  .ew-sites-head { gap: 12px; padding: 14px 20px; }
}
.ew-sites-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
}
.ew-sites-foot {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  background: #f7fbfc;
  border-top: 1px solid #e2eef1;
}
.ew-sites-foot-info {
  font-size: 13px;
  font-weight: 600;
  color: #5b7f89;
}
.ew-sites-foot-close {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: #0f4c5c;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.ew-sites-foot-close:hover { background: #146378; }
.ew-sites-foot-close:active { transform: scale(.97); }
.ew-sites-foot-close:focus-visible { outline: 3px solid #44acbf; outline-offset: 2px; }
.ew-sites-title { font-size: 20px; line-height: 28px; font-weight: 700; }
.ew-sites-tabs {
  display: inline-flex;
  flex-wrap: nowrap;
  min-width: 0;
  max-width: 100%;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: #eef5f7;
}
.ew-sites-tab {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12.5px;
  line-height: 1.3;
  font-weight: 700;
  font-family: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #3b6976;
  background: transparent;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
}
@media (min-width: 640px) {
  .ew-sites-tabs { gap: 6px; }
  .ew-sites-tab { padding: 8px 16px; font-size: 14px; }
}
.ew-sites-tab:hover { color: #0f4c5c; }
.ew-sites-tab.ew-on {
  background: #0f4c5c;
  color: #fff;
  box-shadow: 0 3px 10px rgba(15, 76, 92, .22);
}
.ew-sites-tab:focus-visible { outline: 3px solid #44acbf; outline-offset: 2px; }
.ew-sites-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #eef5f7;
  color: #0f4c5c;
  cursor: pointer;
  transition: background .15s;
}
.ew-sites-close:hover { background: #dcebef; }
.ew-sites-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 20px; }
.ew-sites-grid[hidden] { display: none !important; }
@media (min-width: 640px) { .ew-sites-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .ew-sites-grid { grid-template-columns: repeat(4, 1fr); } }
.ew-site-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 12px 16px;
  text-align: center;
  text-decoration: none;
  border: 1px solid #e2eef1;
  border-radius: 18px;
  background: #f7fbfc;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
a.ew-site-card:hover,
button.ew-site-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(15, 76, 92, .18); border-color: #44acbf; }
button.ew-site-card { font-family: inherit; cursor: pointer; width: 100%; }
.ew-site-card.ew-off { opacity: .6; }
.ew-site-card:focus-visible { outline: 3px solid #44acbf; outline-offset: 2px; }
.ew-site-logo { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
.ew-app-logo { width: 64px; height: 64px; object-fit: contain; border-radius: 16px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .16)); }
.ew-site-name { font-size: 15px; font-weight: 700; line-height: 1.375; color: #0f4c5c; }
.ew-site-host { font-size: 12px; line-height: 16px; color: #5b7f89; }
.ew-soon { font-size: 12px; line-height: 16px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: #ffe08a; color: #6b4e00; }
.ew-app-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-top: 2px;
}
.ew-plat-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 50%;
  background: #e4f1f4;
  color: #0f4c5c;
}
.ew-plat-ios { background: #eef1f5; color: #1f2937; }
.ew-plat-android { background: #e6f6ec; color: #136c36; }
.ew-plat-win { background: #e6f2fc; color: #0b5cab; }
.ew-plat-web { background: #e3f5f8; color: #0f5f70; }
html.ew-sites-open, html.ew-sites-open body { overflow: hidden; }
html.ew-motion .menu.ew-wheel-on {
  touch-action: pan-y;               /* dokunmatikte yatay kaydırma çarkı çevirir */
  -webkit-user-select: none;
  user-select: none;
}
html.ew-motion .menu.ew-grabbing,
html.ew-motion .menu.ew-grabbing * { cursor: grabbing !important; }

/* Daire bağlantılar: eski "karartan" hover yerine dışarı fırlayan ikon */
html.ew-js .menu .mbtn {
  z-index: 3;
  opacity: 1;
  background: transparent;
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
/* Logo üzerinde hover efekti yok (büyüme/küçülme). Vurgu, arkadaki dilim (.ew-sector) ile yapılır.
   app.css'teki ".mbtn:hover { transform: scale(0.7) }" kuralını da bu yüzden eziyoruz. */
html.ew-js .menu .mbtn:hover,
html.ew-js .menu .mbtn:focus-within,
html.ew-js .menu.ew-grabbing .mbtn { transform: none; }
html.ew-js .menu .mbtn-inactive {
  pointer-events: auto;
  cursor: not-allowed;
}
.ew-slice {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-repeat: no-repeat;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, box-shadow .35s ease;
}
.mbtn-inactive .ew-slice { filter: grayscale(.85) brightness(1.05); }
html.ew-js .menu .mbtn a:focus-visible { outline: none; }

/* Okuyan çocuğun arkasındaki ışık huzmeleri */
.ew-halo-wrap {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 77%;
  width: 30%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.5s;
}
.ew-halo-wrap.ew-on { opacity: .8; }
html.ew-motion .ew-halo { animation: ew-spin 48s linear infinite; }
.ew-halo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg,
      rgba(255, 236, 170, .38) 0deg 5deg,
      transparent 5deg 15deg);
  -webkit-mask-image: radial-gradient(circle closest-side, #000 18%, rgba(0, 0, 0, .5) 55%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 18%, rgba(0, 0, 0, .5) 55%, transparent 100%);
}

/* ==========================================================================
   5. UYGULAMALAR
   ========================================================================== */
html.ew-js .apps { position: relative; }
html.ew-js .apps > .item-title,
html.ew-js .apps > .items { position: relative; z-index: 1; }
html.ew-js .apps .icon { position: relative; }
/* Boşluklar: app.css'teki `* { padding: 0 }` sıfırlamasını geçmek için sınıf seçicisi kullanılır.
   Alt boşluk: etiketler footer bandına yapışmasın. Satır aralığı: iki satıra kırılan etiketler birbirine girmesin. */
.apps { padding-bottom: 28px; }
.apps .items { row-gap: 22px; }
.apps .item-text { line-height: 1.5; padding-top: 2px; }

html.ew-motion .apps .item { opacity: 0; }
html.ew-motion .apps .item.ew-in {
  animation: ew-pop-in .9s cubic-bezier(.34, 1.56, .64, 1) forwards;
  animation-delay: calc(var(--i, 0) * 95ms);
}
html.ew-motion .apps .item.ew-in .ew-floater {
  animation: ew-float 5.5s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -.8s);
}
html.ew-motion .apps .item-title { animation: ew-rise .9s ease-out both; }

/* 3D eğim (JS --rx / --ry değişkenlerini imlece göre ayarlar) */
html.ew-js .apps .icon.ew-tilt { transition: transform .18s ease-out, filter .2s ease; }
html.ew-js .apps .icon.ew-tilt:hover {
  transform: perspective(520px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.13) translateY(-6px);
}
.ew-floater { position: relative; display: block; }
.ew-iconmask {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: var(--ew-mask);
  mask-image: var(--ew-mask);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.ew-glare {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .3s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%),
      rgba(255, 255, 255, .6), rgba(255, 255, 255, .12) 32%, transparent 60%);
}

/* ==========================================================================
   6. MODAL
   ========================================================================== */
html.ew-js .modal-backdrop {
  --bs-backdrop-bg: #062a35;
  --bs-backdrop-opacity: .6;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
html.ew-js #appMpdal .modal-content {
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
html.ew-js #appMpdal .modal-body { position: relative; }
/* Telefon: modal ekrana sığsın; kaydırma yalnızca gövdede olsun, başlık (yok) ve alt düğme (تاقاش) yerinde kalsın */
html.ew-js #appMpdal .modal-dialog { max-height: calc(100vh - 1rem); max-height: calc(100dvh - 1rem); }
html.ew-js #appMpdal .modal-content { max-height: calc(100vh - 1rem); max-height: calc(100dvh - 1rem); min-height: 0; }
html.ew-js #appMpdal .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
html.ew-js #appMpdal .modal-footer { flex: 0 0 auto; }
html.ew-motion #appMpdal.fade .modal-dialog {
  opacity: 0;
  transform: translateY(40px) scale(.9);
  transition: transform .55s cubic-bezier(.34, 1.56, .64, 1), opacity .3s ease;
}
html.ew-motion #appMpdal.show .modal-dialog { opacity: 1; transform: none; }

/* Uygulama kartı (apps.json): Uygurca metin için UKIJ Ekran (assets/fonts/UKIJEkran.ttf).
   Not: app.css'teki evrensel "margin:0; padding:0" katmansız olduğu için boşluklar burada verilir. */
@font-face {
  font-family: 'EwUKIJ';
  src: url('../fonts/UKIJEkran.ttf') format('truetype');
  font-display: swap;
}
.ew-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 24px 22px;
  background: #fff;
  color: #0f4c5c;
  font-family: 'EwUKIJ', 'UKIJ', 'uyghur', sans-serif;
  text-align: center;
  line-height: 1.9;
}
.ew-app-img { width: 132px; height: 132px; border-radius: 28px; object-fit: cover; box-shadow: 0 10px 24px rgba(15, 76, 92, .18); }
/* Modal başlığı (uygulama adı + X); gövde kayarken yerinde kalır */
.ew-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 auto;
  padding: 12px 16px 12px 20px;
  background: #fff;
  color: #0f4c5c;
  border-bottom: 1px solid #e2eef1;
  font-family: 'EwUKIJ', 'UKIJ', 'uyghur', sans-serif;
}
.ew-modal-title { font-size: 18px; font-weight: 700; line-height: 1.6; }
.ew-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #eef5f7;
  color: #0f4c5c;
  cursor: pointer;
  transition: background .15s;
}
.ew-modal-close:hover { background: #dcebef; }
.ew-modal-close:focus-visible { outline: 3px solid #44acbf; outline-offset: 2px; }
.ew-app .ew-app-desc { margin: 0; font-size: 16px; color: #2b4b55; }
.ew-app .ew-app-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.ew-app .ew-app-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 22px; border-radius: 999px;
  background: #44acbf; color: #fff; text-decoration: none; font-size: 16px; line-height: 1.4;
}
.ew-app .ew-app-btn:hover, .ew-app .ew-app-btn:focus-visible { background: #0f4c5c; color: #fff; }
.ew-app .ew-app-stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ew-app .ew-app-stores a { display: block; line-height: 0; }
.ew-app .ew-app-stores img { width: 150px; height: auto; display: block; }
.ew-app .ew-app-web {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid #cde3e8;
  background: #f2f9fb;
  color: #0f4c5c;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s, border-color .18s, color .18s, transform .18s;
}
.ew-app .ew-app-web:hover,
.ew-app .ew-app-web:focus-visible {
  background: #0f4c5c;
  border-color: #0f4c5c;
  color: #fff;
  transform: translateY(-1px);
}
.ew-app .ew-app-share-title {
  width: 100%;
  margin: 14px 0 -2px;
  padding-top: 16px;
  border-top: 1px solid #e2eef1;
  font-size: 14px;
  color: #5b7c86;
}
.ew-app .ew-app-share { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 10px; margin-top: 4px; }
.ew-app .ew-app-sh {
  display: flex; flex-direction: column; align-items: center; gap: 6px; width: 66px;
  margin: 0; padding: 0; border: 0; background: none; font: inherit; font-size: 12px; line-height: 1.3;
  color: #0f4c5c; text-decoration: none; cursor: pointer;
}
.ew-app .ew-app-sh i {
  display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%;
  color: #fff; box-shadow: 0 4px 10px rgba(15, 76, 92, .22); transition: transform .2s ease;
}
.ew-app .ew-app-sh svg { width: 22px; height: 22px; display: block; }
.ew-app .ew-app-sh span { white-space: nowrap; }
.ew-app .ew-app-sh:hover i, .ew-app .ew-app-sh:focus-visible i { transform: translateY(-2px); }
.ew-app .ew-app-sh:focus-visible { outline: 2px solid #44acbf; outline-offset: 3px; border-radius: 8px; }
.ew-app .ew-app-status { margin: 0; min-height: 1.4em; font-size: 14px; color: #2a8fa0; }

/* ==========================================================================
   7. DİL SEÇİCİ & FOOTER
   ========================================================================== */
html.ew-js .d-lang-trigger { transition: background .2s ease, border-color .2s ease; }
html.ew-js .d-lang-trigger:hover { background: rgba(255, 255, 255, .28); border-color: rgba(255, 255, 255, .6); }
html.ew-js .d-lang-dropdown {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(.97);
  transform-origin: top left;
  transition: opacity .2s ease, transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .28s;
}
html.ew-js .d-lang-picker.open .d-lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
html.ew-motion .d-lang-dropdown a {
  opacity: 0;
  transform: translateX(10px);
  transition: opacity .25s ease, transform .3s ease, background .15s ease;
}
html.ew-motion .d-lang-picker.open .d-lang-dropdown a { opacity: 1; transform: none; }
html.ew-motion .d-lang-picker.open .d-lang-dropdown a:nth-child(2) { transition-delay: .03s; }
html.ew-motion .d-lang-picker.open .d-lang-dropdown a:nth-child(3) { transition-delay: .06s; }
html.ew-motion .d-lang-picker.open .d-lang-dropdown a:nth-child(4) { transition-delay: .09s; }
html.ew-motion .d-lang-picker.open .d-lang-dropdown a:nth-child(5) { transition-delay: .12s; }
html.ew-motion .d-lang-picker.open .d-lang-dropdown a:nth-child(6) { transition-delay: .15s; }

html.ew-js .footer-social .social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .85), 0 4px 12px rgba(0, 0, 0, .2);
  transition: transform .25s ease, opacity .2s, box-shadow .25s;
}
html.ew-js .footer-social .social-icon.yt { background: #ff0000; }
html.ew-js .footer-social .social-icon.x  { background: #000000; }
html.ew-js .footer-social .social-icon.fb { background: #1877f2; }
html.ew-js .footer-social .social-icon.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
html.ew-js .footer-social .social-icon.li { background: #0a66c2; }
html.ew-js .footer-social .social-icon.wa { background: #25d366; }

html.ew-js .footer-social .social-icon:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.08);       /* sakin: hafif kalkma (app.css'teki 1.15 yerine) */
  box-shadow: 0 0 0 3px #ffffff, 0 8px 22px rgba(0, 0, 0, .3);
}
html.ew-motion .footer-social .social-icon { opacity: 0; }
html.ew-motion .footer-social .social-icon.ew-in {
  animation: ew-rise .6s ease-out forwards;          /* sade: yukarı kayarak belirme */
  animation-delay: calc(var(--i, 0) * 60ms);
}
html.ew-motion .footer-social .social-icon.ew-in.ew-done { animation: none; opacity: .85; }
html.ew-motion .footer-social .social-icon.ew-in.ew-done:hover { opacity: 1; }

/* ==========================================================================
   8. KÜÇÜK BİLEŞENLER (JS'in oluşturduğu öğeler)
   ========================================================================== */
.ew-moon-wrap { display: inline-flex; flex-shrink: 0; align-items: center; }
html.ew-motion .ew-moon-wrap { animation: ew-pulse-soft 4s ease-in-out infinite; }

.ew-group:hover .ew-glare { opacity: 1; }
.ew-ripple-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .7);
  animation: ew-ripple .75s ease-out forwards;
}
.ew-letters { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* Modal yükleniyor göstergesi (iframe yedeği) */
.ew-loader {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #fff;
  color: #0f4c5c;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.ew-loader.ew-on { opacity: 1; pointer-events: auto; }
.ew-loader-text { font-size: 16px; line-height: 24px; }
.ew-spinner { width: 48px; height: 48px; border-radius: 50%; border: 4px solid rgba(68, 172, 191, .25); border-top-color: #44acbf; }
html.ew-motion .ew-spinner { animation: ew-spin .9s linear infinite; }
