/*
  BROADWAVE — açılış sayfası.

  ⚠️ RENKLER UYGULAMADAN: apps/mobile/src/design/tokens.ts.
  Siteyi ayrı bir palete oturtmak, uygulamayı indiren kişiye
  "başka bir ürün" hissi verirdi.

  ⚠️ YAZI TİPİ: uygulama iOS'ta Menlo kullanıyor. Menlo yalnızca
  Apple'da var, yani sitenin yarısı başka bir yazı tipi görürdü.
  JetBrains Mono aynı türden (terminal/HUD) ve her yerde aynı;
  sistem mono'su yedek olarak duruyor.
*/

:root {
  --bg: #02040a;
  --bg2: #04070f;
  --panel: #070c18;
  --border: #15304a;
  --border-soft: #0e2236;

  --cyan: #6fd8ff;
  --cyan-dim: #2e7fa8;
  --green: #39ff8b;
  --green-dim: #1e8f52;
  --magenta: #ff5ec4;
  --gold: #ffc94a;

  --text: #cfe8f7;
  --dim: #5e7f9e;
  --faint: #32506b;

  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, 'DejaVu Sans Mono', monospace;
  --gutter: clamp(16px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ───────────────────────────────── üst çubuk */
.ust {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px var(--gutter);
  background: linear-gradient(180deg, rgba(2, 4, 10, 0.92), rgba(2, 4, 10, 0));
  backdrop-filter: blur(6px);
}
.ust .marka {
  font-size: 15px;
  letter-spacing: 3.2px;
  color: var(--green);
  text-shadow: 0 0 12px rgba(57, 255, 139, 0.45);
  text-decoration: none;
}
.ust nav { display: flex; align-items: center; gap: 10px; }

.dilsec {
  appearance: none;
  background: rgba(7, 12, 24, 0.9);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 32px 7px 13px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%),
    linear-gradient(135deg, var(--dim) 50%, transparent 50%);
  background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.dilsec:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* ───────────────────────────────── düğme */
.dugme {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid var(--green-dim);
  background: linear-gradient(180deg, #39ff8b, #17c763);
  color: #04120a;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 0 28px rgba(57, 255, 139, 0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.dugme:hover { transform: translateY(-2px); box-shadow: 0 0 44px rgba(57, 255, 139, 0.5); }
/*
  ⚠️ SATIR SONU YOK. Olmadigi icin 375px'te header butonu
  "GET / THE / APP" diye UC SATIRA boluniyordu ve header 101px
  yuksekliğe cikip kurenin tepesini kapatiyordu.
*/
.dugme { white-space: nowrap; }
.dugme.kucuk { padding: 9px 16px; font-size: 10.5px; letter-spacing: 1.6px; }

/* ───────────────────────────────── bölümler */
/*
  ⚠️ ARALIK KISALDI: ustte 160 + altta 160 = 320px bosluk,
  720px'lik bir ekranda neredeyse yarim ekran siyahlik demekti.
  Kaydiran kisi iki bolum arasinda bos bir ekrana dusuyordu.
*/
section { padding: clamp(64px, 9vh, 112px) var(--gutter); position: relative; }
.ic { max-width: 1120px; margin: 0 auto; }

.etiket {
  font-size: 10.5px;
  letter-spacing: 3.4px;
  color: var(--cyan);
  text-transform: uppercase;
  margin: 0 0 18px;
}
h2 {
  font-size: clamp(26px, 4.6vw, 48px);
  line-height: 1.22;
  letter-spacing: -0.5px;
  margin: 0 0 20px;
  font-weight: 700;
}
.govde { color: var(--dim); max-width: 62ch; margin: 0; }
.govde + .govde { margin-top: 14px; }

/* ───────────────────────────────── kahraman */
.kahraman {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: 90px;
  overflow: hidden;
}
#kure {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  pointer-events: none;
}
.kahraman .ic { position: relative; z-index: 1; }
.kahraman h1 {
  margin: 0;
  font-size: clamp(42px, 12vw, 132px);
  line-height: 0.95;
  letter-spacing: clamp(2px, 1.2vw, 14px);
  /* Marka burada SOZCUK ISARETI: sayfanin geri kalani gibi buyuk harf */
  text-transform: uppercase;
  color: var(--green);
  text-shadow: 0 0 30px rgba(57, 255, 139, 0.5), 0 0 90px rgba(57, 255, 139, 0.2);
}
.kahraman .ustbaslik {
  margin: 14px 0 0;
  font-size: clamp(10px, 1.8vw, 14px);
  letter-spacing: clamp(3px, 0.9vw, 9px);
  color: var(--cyan);
}
.kahraman .slogan {
  margin: 26px 0 0;
  font-size: clamp(13px, 2.1vw, 19px);
  letter-spacing: 2px;
  color: var(--text);
}
.kahraman .eylem { margin-top: 38px; display: flex; justify-content: center; }

.canli {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 26px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(7, 12, 24, 0.75);
  font-size: 10px;
  letter-spacing: 2.4px;
  color: var(--dim);
}
.nokta {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: nabiz 2s ease-in-out infinite;
}
@keyframes nabiz { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.kaydir {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  font-size: 9.5px;
  letter-spacing: 3px;
  color: var(--faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.kaydir::after {
  content: '';
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--faint), transparent);
  animation: ink 2.2s ease-in-out infinite;
}
@keyframes ink { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

/* ───────────────────────────────── hikâye (Broadway) */
.hikaye { text-align: center; border-top: 1px solid var(--border-soft); }
.hikaye h2 { max-width: 22ch; margin-inline: auto; }
.hikaye h2 .ikinci { color: var(--green); display: block; }

/*
  Anlati sola hizali, blok olarak ortada. Gerekcesi landing.mjs'te:
  ortalanmis uzun metinde goz her satir basini yeniden arar.
*/
.anlati { max-width: 60ch; margin: 34px auto 0; text-align: left; }
.anlati .govde { max-width: none; }

.vurgu {
  margin: 44px auto 0;
  max-width: 34ch;
  font-size: clamp(14px, 2.2vw, 21px);
  line-height: 1.5;
  letter-spacing: 1.6px;
  color: var(--green);
  text-shadow: 0 0 22px rgba(57, 255, 139, 0.35);
  padding-top: 30px;
  border-top: 1px solid var(--border-soft);
}

/* ───────────────────────────────── adımlar + telefonlar */
.adimlar { border-top: 1px solid var(--border-soft); }
.sahne3d {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
}
@media (min-width: 900px) {
  .sahne3d { grid-template-columns: 1.05fr 0.95fr; }
  .sahne3d.ters > .telefonlar { order: -1; }
}

.telefonlar {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1400px;
  min-height: 420px;
}
.telefon {
  --egim: -17deg;
  /* kaydırmayla JS tarafından güncelleniyor (landing.js) */
  --kaydir: 0deg;
  position: relative;
  width: clamp(190px, 24vw, 268px);
  border-radius: 34px;
  padding: 8px;
  background: linear-gradient(150deg, #2b3340, #0b0f17 55%, #1c2430);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transform: rotateY(var(--egim)) rotateX(calc(5deg + var(--kaydir))) rotateZ(1.5deg);
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.25s ease-out;
}
.telefon img { display: block; width: 100%; border-radius: 27px; }
/* çentik */
.telefon::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 31%;
  height: 17px;
  border-radius: 999px;
  background: #05070c;
  z-index: 2;
}
/* cam parıltısı */
.telefon::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 27px;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}
.telefon.arka {
  --egim: -24deg;
  position: absolute;
  left: 4%;
  top: 46px;
  width: clamp(160px, 20vw, 226px);
  opacity: 0.92;
  filter: brightness(0.82);
  z-index: -1;
}
.telefon.tek { --egim: -13deg; }

/*
  ⚠️ ZEMIN ISIGI KALDIRILDI. Telefon cercevesi varken altindaki
  isik anlamliydi; SVG gorsellere gecince ortada duran bulanik
  bir daireye donustu - neyin isigi oldugu belli degildi.
*/

.adim + .adim { margin-top: clamp(70px, 12vh, 140px); }
.sayi {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--faint);
  margin: 0 0 10px;
}

/* ───────────────────────────────── kurallar */
.kurallar { border-top: 1px solid var(--border-soft); }
.kutu {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--panel), rgba(7, 12, 24, 0.35));
  padding: clamp(22px, 4vw, 40px);
}
.kutu h2 { font-size: clamp(22px, 3.4vw, 34px); }

/* ───────────────────────────────── kapanış */
.kapanis {
  text-align: center;
  border-top: 1px solid var(--border-soft);
  background: radial-gradient(ellipse at 50% 120%, rgba(57, 255, 139, 0.12), transparent 62%);
}
.kapanis .govde { margin-inline: auto; }
.kapanis .eylem { margin-top: 32px; display: flex; justify-content: center; }

/* ───────────────────────────────── alt bilgi */
footer {
  border-top: 1px solid var(--border-soft);
  padding: 40px var(--gutter) 56px;
  color: var(--faint);
  font-size: 11.5px;
  letter-spacing: 0.6px;
}
footer .ic { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; }
footer a { color: var(--dim); text-decoration: none; }
footer a:hover { color: var(--cyan); }
footer .baglar { display: flex; flex-wrap: wrap; gap: 10px 20px; }

/* ───────────────────────────────── belirme */
.belir {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.belir.gorundu { opacity: 1; transform: none; }

/*
  ⚠️ HAREKETİ AZALT: uygulamada da var (ayarlar → reduceMotion).
  Burada sistem ayarı okunuyor; dönen küre duruyor, belirme
  animasyonları kapanıyor, telefonlar düz duruyor.
*/
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .belir { opacity: 1; transform: none; transition: none; }
  .nokta, .kaydir::after { animation: none; }
  #kure { opacity: 0.3; }
}

/* ═══════════════════════════════════ BÖLÜM GÖRSELLERİ
   Hepsi SVG. Gerekçesi gorseller.mjs başında: ekran
   görüntülerinde geliştirici çubuğu ve AUTO TRANSMISSION
   etiketi görünüyordu, üstelik 347 piksel ve tek dildi.

   ⚠️ ANIMASYONLAR ANCAK GÖRÜNÜNCE BAŞLIYOR (`.gorundu`).
   Sayfanın altındaki bir yarış, kimse bakmadan koşup bitmiş
   olurdu — ziyaretçi oraya geldiğinde duran bir resim görürdü. */

/*
  ⚠️ KONTRAST TABANI. Zemin neredeyse siyah (#02040a); orta
  tonlu mavi ince cizgiler ekranda KAYBOLUYOR. Ilk denemede
  seritler ve kosucular goze hic gorunmedi - ancak tuvale
  gecici bir kirmizi zemin verince ciziklerinin dogru oldugu
  anlasildi. Sorun cizim degil, kontrasttI.

  Kural: bu zeminde cizgiler camgobegi/yesil ailesinden ve
  %25'in altinda saydamlikta olmamali.
*/
.gorsel {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  margin: 0 auto;
  overflow: visible;
}
.telefonlar .gorsel { filter: drop-shadow(0 18px 50px rgba(0, 0, 0, 0.6)); }
/* ⚠️ Esnek kutuda SVG dikey olarak geriliyordu (420px). Kendi
   oranini korusun diye hizalama acikca veriliyor. */
.telefonlar { align-items: center; }

/* ── sahne ışığı */
.g-sahne .koni,
.g-sahne .havuz,
.g-sahne .mikrofon { opacity: 0; }
.gorundu .g-sahne .koni { animation: yan 1.1s 0.15s ease-out forwards; }
.gorundu .g-sahne .havuz { animation: yan 1.1s 0.3s ease-out forwards; }
.gorundu .g-sahne .mikrofon { animation: yan 0.8s 0.75s ease-out forwards; }
@keyframes yan { to { opacity: 1; } }

/* ── dolan koltuklar */
.g-koltuk .koltuk { fill: #15304a; }
.gorundu .g-koltuk .koltuk { animation: dol 0.5s var(--d) ease-out forwards; }
@keyframes dol {
  to { fill: #39ff8b; }
}
.gorundu .g-koltuk .sahneIsik { animation: sahneNabiz 3.4s 1.4s ease-in-out infinite; }
@keyframes sahneNabiz { 0%, 100% { opacity: 0.1; } 50% { opacity: 0.3; } }

/* ── yayılan nabız */
.g-nabiz .halka { opacity: 0; transform-origin: 160px 130px; }
.gorundu .g-nabiz .halka { animation: yayil 3.3s var(--d) ease-out infinite; }
@keyframes yayil {
  0% { opacity: 0.85; transform: scale(0.42); }
  85% { opacity: 0; transform: scale(4.2); }
  100% { opacity: 0; transform: scale(4.2); }
}
.g-nabiz .cekirdek { transform-origin: 160px 130px; }
.gorundu .g-nabiz .cekirdek { animation: cekirdekNabiz 3.3s ease-out infinite; }
@keyframes cekirdekNabiz {
  0% { opacity: 0.8; transform: scale(1); }
  40% { opacity: 0; transform: scale(2.6); }
  100% { opacity: 0; transform: scale(2.6); }
}

/* ── yarış */
.g-yaris .kosucu { opacity: 0; }
.gorundu .g-yaris .kosucu {
  animation: kos var(--s) 0.25s cubic-bezier(0.3, 0, 0.5, 1) infinite;
}
/*
  ⚠️ KOSUCULAR DONGUNUN COGUNDA GORUNUR. Once basta ve sonda
  saydamdilar; duran bir ekran goruntusunde cogu zaman HICBIRI
  gorunmuyordu. Artik yalnizca varista kisa bir sonme var.
*/
@keyframes kos {
  0% { transform: translateX(0); opacity: 1; }
  62% { transform: translateX(196px); opacity: 1; }
  86% { transform: translateX(196px); opacity: 1; }
  100% { transform: translateX(196px); opacity: 0.25; }
}
.gorundu .g-yaris .cizgi { animation: cizgiParla 1.15s 1.05s ease-out infinite; }
@keyframes cizgiParla {
  0%, 100% { opacity: 0.35; }
  10% { opacity: 1; }
}

/* ── boşalan sayaç */
/*
  ⚠️ `dasharray` ANIMASYONU, `dashoffset` DEGIL.

  Once dashoffset kaydiriliyordu (uygulamanin halkasi da oyle
  yapiyor). Matematiksel olarak yay kisaliyor ama GOZ BOYLE
  OKUMUYOR: kayan desende buyuyen BOSLUK one cikiyor ve
  kullanici "azalmak yerine doluyor" diye gordu. Iki kez
  bildirdi, isareti cevirmek de ise yaramadi - cunku sorun yon
  degil YONTEMDI.

  Artik cizilen uzunlugun KENDISI 427'den 0'a iniyor. Yay
  basindan sabit, ucu geri cekiliyor; yoruma yer yok.
*/
.g-sayac .halkaBosal {
  stroke-dasharray: 427 427;
  stroke-dashoffset: 0;
}
.gorundu .g-sayac .halkaBosal { animation: bosal 4.5s 0.3s linear infinite; }
@keyframes bosal {
  0% { stroke-dasharray: 427 427; stroke: #39ff8b; }
  66% { stroke: #ffc94a; }
  88% { stroke: #ff6a1f; }
  100% { stroke-dasharray: 0 427; stroke: #ff6a1f; }
}
.gorundu .g-sayac .mesaj { animation: soluk 4.5s 0.3s linear infinite; }
@keyframes soluk {
  0%, 70% { opacity: 1; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .gorsel *,
  .gorsel { animation: none !important; opacity: 1 !important; }
  .g-koltuk .koltuk { fill: #39ff8b; }
}

/* ── eşikten geçen mesajlar ("ne yazabilirsin")
   HTML, SVG değil: etiketler 11 dilde farklı uzunlukta ve
   sabit genişlikli bir kutuya sığmıyorlar. Gerekçesi
   gorseller.mjs başında. */
.akis {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 330px;
  margin: 0 auto;
  overflow: hidden;
}
.esikCizgi {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.55;
}
.esikCizgi::before,
.esikCizgi::after {
  content: '';
  position: absolute;
  top: -5px;
  width: 1px;
  height: 11px;
  background: var(--cyan);
  opacity: 0.85;
}
.esikCizgi::before { left: 4%; }
.esikCizgi::after { right: 4%; }

.pul {
  position: absolute;
  left: var(--x);
  bottom: 0;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 11.5px;
  letter-spacing: 0.6px;
  white-space: nowrap;
  color: var(--cyan-dim);
  opacity: 0;
}

/* ⚠️ Yol uzunlugu kutu yuksekligiyle ayni (330px): gecen pul
   ekrani terk etmeli, duran pul tam ortada (165px) kalmali. */
.gorundu .akis .gecen { animation: pulGec 7.7s var(--d) linear infinite; }
@keyframes pulGec {
  0% { transform: translateY(0); opacity: 0; color: var(--cyan-dim); }
  8% { opacity: 1; }
  /* eşiği geçerken yeşile dönüyor: kural onu durdurmadı */
  50% { transform: translateY(-175px); color: var(--green); opacity: 1; }
  88% { transform: translateY(-310px); color: var(--green); opacity: 1; }
  100% { transform: translateY(-340px); opacity: 0; }
}

.gorundu .akis .duran { animation: pulDur 7.7s var(--d) cubic-bezier(0.25, 0, 0.2, 1) infinite; }
/*
  ⚠️ DURANLAR CIZGIYE DEGMIYOR (kullanici istegi).

  Once -158px idi: pul yaklasik 28px yuksek, yani ust kenari
  cizgiyi geciyordu - durdurulmus degil, SINIRI ASMIS gibi
  goruluyordu. Artik -118px: ust kenar cizginin yaklasik 20px
  altinda kaliyor, arada gorunur bir bosluk var.

  Cizgi 50%'de, kutu 330px: cizgi alttan 165px. Pul yuksekligi
  ~28px. 118 + 28 = 146 < 165.
*/
@keyframes pulDur {
  0% { transform: translateY(0); opacity: 0; color: var(--cyan-dim); }
  10% { opacity: 1; }
  /* eşiğe yaklaşıyor ama değmiyor; turuncuya dönüp siliniyor */
  44% { transform: translateY(-118px); color: var(--cyan-dim); opacity: 1; }
  54% { transform: translateY(-118px); color: #ff6a1f; opacity: 1; }
  72% { transform: translateY(-118px); color: #ff6a1f; opacity: 0.3; }
  84%, 100% { transform: translateY(-118px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pul { opacity: 1; animation: none !important; }
  .pul.gecen { color: var(--green); }
  .pul.duran { color: #ff6a1f; }
}

/* ══════════════════════════════════════════ GİRİŞ ANİMASYONU

   İşaret ortada belirir, sonra küçülerek header'daki logo yerine
   oturur; perde çekilince sayfa (ve dönen küre) ortaya çıkar.

   ⚠️ KAPLAMA HTML'DE YOK, JS ÜRETİYOR. HTML'de dursaydı JS
   çalışmadığı an ekranı kalıcı olarak kapatırdı — bir betik hatası
   tüm siteyi karartırdı. Bu haliyle en kötü ihtimalle animasyon
   olmaz, sayfa normal açılır.
*/
.ust .marka {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.ust .marka { white-space: nowrap; }
.ust .marka-im {
  flex-shrink: 0;
  /*
    ⚠️ ÖLÇÜ HTML ÖZNİTELİĞİNDE DE YAZILI (width="26" height="22").
    Başta yalnızca burada duruyordu ve görselin kendi ölçüsü (700px)
    HTML'e yazılmıştı; CSS önbellekten eski sürümüyle gelince logo
    DOĞAL BOYUTUNDA çizilip sayfanın üstünü kapattı. Bir logonun
    boyutu tek başına stil dosyasına bağlı olmamalı — dosya gecikse,
    eskise ya da engellense sayfa dağılıyor.
  */
  width: 30px;
  height: auto;
  display: block;
  /* ⚠️ Görselin kendi zemini sayfanınkiyle AYNI (#02040a), bu yüzden
     saydamlığa gerek yok ve yansımaları kesilmiyor. */
}
/* Uçan kopya inene kadar header'daki asıl logo saklı durur */
.ust .marka.im-bekliyor .marka-im { visibility: hidden; }

.giris {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  pointer-events: none;
}
/* ⚠️ Perde AYRI katman: sayfayı açarken perde sönerken uçan işaretin
   opak kalması gerekiyor. Tek katman olsaydı işaret de solardı. */
.giris-perde {
  position: absolute;
  inset: 0;
  background: var(--bg);
}
.giris-im {
  position: relative;
  width: min(350px, 62vw);
  height: auto;
  opacity: 0;
  will-change: transform, opacity;
}

/* ══════════════════════════════════════════ DAR EKRAN

   ⚠️ SITEDE HIC KUCUK EKRAN SORGUSU YOKTU — yalnizca
   `min-width: 900px` vardi. Header'in uc ogesi (marka, dil secici,
   dugme) 375px'e sigmiyordu ve dugme uc satira boluyordu.

   Olculen: 375px'te kullanilabilir genislik ~337px, ogelerin
   toplami ~387px.
*/
@media (max-width: 560px) {
  .ust { padding: 10px var(--gutter); gap: 8px; }
  .ust nav { gap: 7px; }
  .ust .marka-im { width: 28px; }
  .ust .marka-ad { font-size: 13px; letter-spacing: 2px; }
  /* ⚠️ `background-size` VERME: ok bir arka plan görseli ve
     boyutunu değiştirmek onu bozuyor (ekranda çarpık bir üçgen
     çıkıyordu). Yalnızca yazı ve iç boşluk küçültülüyor. */
  .dilsec { font-size: 11px; padding: 6px 26px 6px 10px; }
  .dugme.kucuk { padding: 8px 11px; font-size: 9.5px; letter-spacing: 1px; }
}
@media (max-width: 430px) {
  /*
    ⚠️ MARKA YAZISI GIZLENMIYOR.

    Bir ara `display: none` idi: 375px'te uc oge (marka, dil secici,
    dugme) sigmiyordu — 337px yere 387px icerik. Ama o hesap
    ogelerin ESKI boyutlarina gore yapilmisti; ucu birden
    kuculunce yazi da rahatca siğiyor.

    Marka adi header'daki tek sozel kimlik; gizlemek son care
    olmali, ilk care degil.
  */
  .ust { gap: 6px; }
  .ust .marka { gap: 6px; }
  .ust .marka-im { width: 27px; }
  .ust .marka-ad { font-size: 11.5px; letter-spacing: 1.4px; }
  .dilsec { font-size: 10.5px; padding: 5px 23px 5px 8px; }
  .dugme.kucuk { padding: 7px 9px; font-size: 9px; letter-spacing: 0.6px; }
}

@media (max-width: 360px) {
  /*
    ⚠️ EN DAR EKRANDA BÜYÜTME GERİ ALINIYOR.

    320px'te header'ın üç öğesi için yalnızca ~288px yer var.
    Büyütülmüş ölçülerle toplam taşıyordu (ölçülen: büyütme öncesi
    279px). Bu yüzden 360px altında ölçüler küçülüyor ve yan boşluk
    da kısılıyor.

    ⚠️ Marka yazısı yine GİZLENMİYOR — küçülmek ilk çare, gizlemek
    son çare. Daha önce gizlenmişti ve yanlıştı.
  */
  .ust { padding-left: 12px; padding-right: 12px; gap: 5px; }
  .ust .marka { gap: 5px; }
  .ust .marka-im { width: 24px; }
  .ust .marka-ad { font-size: 10px; letter-spacing: 1.1px; }
  .dilsec { font-size: 9.5px; padding: 5px 20px 5px 7px; }
  .dugme.kucuk { padding: 6px 8px; font-size: 8.5px; letter-spacing: 0.5px; }
}
