/* ==================================================================
   Arka plan — katmanlı atmosfer
   1) ince ızgara dokusu   2) iki aurora lekesi   3) yüzen BGL rozeti
   Tamamı dekoratif: pointer-events kapalı, içeriğin altında.
   ================================================================== */

/* 1 — İnce ızgara, yukarı doğru sönümlenir */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(150, 140, 230, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 140, 230, .05) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 110% 75% at 50% 0%, #000 25%, transparent 78%);
          mask-image: radial-gradient(ellipse 110% 75% at 50% 0%, #000 25%, transparent 78%);
}

.bgl-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* 2 — Aurora lekeleri: sol üstte mor, sağ altta camgöbeği */
.bgl-backdrop::before,
.bgl-backdrop::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
}

.bgl-backdrop::before {
  width: 720px;
  height: 720px;
  top: -280px;
  left: -200px;
  background: radial-gradient(circle, rgba(109, 93, 246, .26), transparent 66%);
  animation: drift-a 28s ease-in-out infinite alternate;
}

.bgl-backdrop::after {
  width: 620px;
  height: 620px;
  bottom: -260px;
  right: -160px;
  background: radial-gradient(circle, rgba(62, 216, 240, .13), transparent 66%);
  animation: drift-b 34s ease-in-out infinite alternate;
}

/* 3 — Yüzen BGL rozeti (küçük ve çok soluk — dekoratif, baskın olmamalı) */
.bgl-backdrop-img {
  position: absolute;
  top: 50%;
  right: 3%;
  width: clamp(96px, 11vw, 150px);
  height: auto;
  transform: translateY(-50%) rotate(-8deg);
  opacity: .05;
  filter: blur(1px) saturate(1.1);
  user-select: none;
  animation: float-badge 13s ease-in-out infinite alternate;
}

/* İçerik dekorasyonun üstünde kalsın */
body > *:not(.bgl-backdrop) {
  position: relative;
  z-index: 1;
}

@keyframes drift-a {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(90px, 60px) scale(1.14); }
}

@keyframes drift-b {
  from { transform: translate(0, 0) scale(1.06); }
  to   { transform: translate(-70px, -50px) scale(1); }
}

@keyframes float-badge {
  from { transform: translateY(-50%) rotate(-10deg); }
  to   { transform: translateY(calc(-50% - 18px)) rotate(-7deg); }
}

/* Hareket duyarlılığı — animasyonları kapat */
@media (prefers-reduced-motion: reduce) {
  .bgl-backdrop::before,
  .bgl-backdrop::after,
  .bgl-backdrop-img {
    animation: none;
  }
}

@media (max-width: 760px) {
  .bgl-backdrop-img {
    width: clamp(80px, 20vw, 120px);
    right: -2%;
    opacity: .045;
  }
}

/* ==================================================================
   Bulutlar — yumuşak, yavaş sürüklenen lekesler
   ================================================================== */

.bgl-clouds {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bgl-cloud {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(160, 172, 225, .13), rgba(160, 172, 225, 0));
  filter: blur(34px);
  will-change: transform;
}

/* Konum ve sürüklenme süresi çeşitlendirilir — tekrar hissi olmasın */
.c1 { width: 460px; height: 200px; top: 4%;  left: -18%; animation: cloud-x 74s linear infinite; }
.c2 { width: 340px; height: 160px; top: 22%; left: -30%; animation: cloud-x 96s linear infinite; animation-delay: -22s; }
.c3 { width: 560px; height: 230px; top: 46%; left: -40%; animation: cloud-x 118s linear infinite; animation-delay: -50s; }
.c4 { width: 300px; height: 140px; top: 66%; left: -25%; animation: cloud-x 88s linear infinite; animation-delay: -70s; }
.c5 { width: 420px; height: 180px; top: 84%; left: -35%; animation: cloud-x 104s linear infinite; animation-delay: -35s; }

@keyframes cloud-x {
  from { transform: translateX(0); }
  to   { transform: translateX(160vw); }
}

/* ==================================================================
   Yağmur — ince çizgiler, rüzgârla eğik, sonsuz döngü
   background-position döngüsü dikişsiz: 216px periyot
   ================================================================== */

.bgl-rain {
  position: fixed;
  inset: -70% 0;
  z-index: 0;
  pointer-events: none;
  transform: skewX(-11deg);
  opacity: .5;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(200, 215, 255, 0)   0px,
    rgba(200, 215, 255, 0)   14px,
    rgba(200, 215, 255, .12) 14px,
    rgba(200, 215, 255, .12) 15px,
    rgba(200, 215, 255, 0)   15px,
    rgba(200, 215, 255, 0)   34px
  );
  background-size: 100% 216px;
  animation: rainfall 1.05s linear infinite;
}

@keyframes rainfall {
  to { background-position-y: 216px; }
}

/* ==================================================================
   Yüzen logolar — marka rozetleri, çok düşük opaklıkta
   ================================================================== */

.bgl-deco-logos {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bgl-deco-logo {
  position: absolute;
  opacity: .16;
  filter: blur(.2px) saturate(1.25) drop-shadow(0 0 24px rgba(109, 93, 246, .35));
  user-select: none;
  will-change: transform;
  /* En-boy oranı korunur — görsel hiçbir zaman uzayıp bozulmaz */
  height: auto;
  max-width: 18vw;
  object-fit: contain;
}

/* Konumlar hero bölgesinin boş sağ alanına göre seçildi (metnin arkasına girmesin). */
.l1 { width: 96px;  top: 14%; left: 74%; animation: drift-logo 34s ease-in-out infinite alternate; }
.l2 { width: 80px;  top: 30%; left: 86%; animation: drift-logo 41s ease-in-out infinite alternate; animation-delay: -8s; }
.l3 { width: 88px;  top: 24%; left: 63%; animation: drift-logo 38s ease-in-out infinite alternate; animation-delay: -17s; }
.l4 { width: 72px;  top: 39%; left: 78%; animation: drift-logo 45s ease-in-out infinite alternate; animation-delay: -26s; }

/* 123.webp — 700×588 kaynak; en-boy korunur */
.l5 { width: 150px; top: 8%; left: 55%; opacity: .12; animation: drift-logo 54s ease-in-out infinite alternate; animation-delay: -14s; }

@media (max-width: 900px) {
  /* Dar ekranda logoları kenara yığıp metnin üstüne binmelerini önle */
  .l1 { left: 82%; top: 10%; width: 70px; }
  .l2 { left: 90%; top: 26%; width: 58px; }
  .l3 { left: 76%; top: 20%; width: 64px; }
  .l4 { left: 88%; top: 34%; width: 54px; }
  .l5 { left: 50%; top: 6%;  width: 110px; opacity: .1; }
}

@keyframes drift-logo {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to   { transform: translate3d(28px, -34px, 0) rotate(7deg); }
}

/* Hareket duyarlılığı — tüm dekoratif animasyonları durdur */
@media (prefers-reduced-motion: reduce) {
  .bgl-backdrop::before,
  .bgl-backdrop::after,
  .bgl-backdrop-img,
  .bgl-cloud,
  .bgl-deco-logo,
  .bgl-rain {
    animation: none;
  }
}

/* ==================================================================
   Alan altı ipucu
   ================================================================== */

.field-hint {
  display: block;
  margin-top: 7px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-mute);
}

/* ==================================================================
   Yazı netliği — koyu zeminde ince piksel kenarlarını yumuşatır
   Metin rengi ve boyutu değiştirmez; yalnızca rasterizasyonu iyileştirir.
   ================================================================== */

/* Başlık ve rakamlarda hafif bir "kalınlık" ipucu verir */
.display,
.hero-title,
.hero-stats strong,
.stat-value {
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

/* Vurgu renkli metinlerde (gradient) kenarları düzleştirir */
.grad-text {
  -webkit-background-clip: text;
  background-clip: text;
  paint-order: stroke fill;
}

/* Vücut metni: çok hafif, neredeyse görünmez bir ayrım */
.hero-sub,
.field > label,
.mute,
.shop-note {
  text-rendering: optimizeLegibility;
}

/* ==================================================================
   Tipografi — başlıklar, etiketler, ölçü
   ================================================================== */

.hero-title {
  line-height: 1.06;
  letter-spacing: -.035em;
  text-shadow: 0 2px 40px rgba(109, 93, 246, .28);
}

.hero-title .line2 {
  margin-top: .1em;
  font-weight: 600;
}

/* Küçük büyük harfli etiketler */
.eyebrow {
  letter-spacing: .18em;
  font-weight: 600;
}

.field > label {
  letter-spacing: .04em;
  font-weight: 500;
}

/* Alt başlık: biraz daha ferah satır aralığı */
.hero-sub {
  line-height: 1.65;
  letter-spacing: .005em;
}

/* İstatistik rakamları hafif parlar */
.hero-stats strong {
  text-shadow: 0 0 34px rgba(109, 93, 246, .38);
}
