/* v24 (G): giriş animasyonu (intro) — statik/intro.js perdeyi kurar; yalnız Panel › Bakım modu ve intro'da açıkken
   taban.html yükler. Sayfa perdenin ALTINDA normal çizilir (LCP beklemez); perde position:fixed (yerleşim kaymaz, CLS
   yok), yalnız transform/opacity ile oynar. Akış (≈2,4 sn): kesim işaretleri → kayıt hedefleri → CMYK mürekkep
   noktaları dört köşeden gelip üst üste "kayda" oturur → yıldız logosunun beş rengi çizilir → ad → kâğıt yukarı
   kalkar. Hareket azaltmada hiç gösterilmez (JS de göstermez). */
.yd-intro { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center;
  pointer-events: auto; cursor: pointer; contain: strict; will-change: transform; animation: yd-intro-kalk .5s cubic-bezier(.7, 0, .84, 0) 1.95s forwards; }
.yd-intro-kagit { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(900px 520px at 50% 42%, #FFFFFF 0%, #FAFAFC 60%, #F2F1F8 100%);
  box-shadow: 0 26px 60px rgba(12, 21, 56, .28); }
/* kâğıdın alt kenarı: kalkarken hafif gölge çizgisi */
.yd-intro-kagit::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, #20C0F0 0 25%, #E01070 25% 50%, #FFD000 50% 75%, #0C1538 75% 100%); }
.yd-intro-kose { position: absolute; width: 26px; height: 26px; opacity: 0; animation: yd-intro-belir .35s ease-out .05s forwards; }
.yd-intro-kose::before, .yd-intro-kose::after { content: ""; position: absolute; background: #0C1538; }
.yd-intro-kose::before { width: 26px; height: 1.5px; } .yd-intro-kose::after { width: 1.5px; height: 26px; }
.yd-intro-k1 { top: 22px; left: 22px; } .yd-intro-k1::before { top: 0; } .yd-intro-k1::after { left: 0; }
.yd-intro-k2 { top: 22px; right: 22px; } .yd-intro-k2::before { top: 0; } .yd-intro-k2::after { right: 0; }
.yd-intro-k3 { bottom: 22px; left: 22px; } .yd-intro-k3::before { bottom: 0; } .yd-intro-k3::after { left: 0; }
.yd-intro-k4 { bottom: 22px; right: 22px; } .yd-intro-k4::before { bottom: 0; } .yd-intro-k4::after { right: 0; }

.yd-intro-svg { width: min(54vw, 46vh, 260px); height: auto; overflow: visible; }
.yd-intro-svg * { transform-box: fill-box; transform-origin: center; }
.yd-intro-svg .yd-intro-yildiz { transform-box: view-box; transform-origin: 0 0; }   /* transform niteliği (konum + ölçek) aynen */
.yd-intro-hedef { opacity: 0; fill: none; stroke: #0C1538; stroke-width: 1.4; animation: yd-intro-hedef .5s cubic-bezier(.2, .8, .2, 1) .12s forwards; }
.yd-intro-nokta { opacity: 0; will-change: transform, opacity; }
.yd-intro-nc { animation: yd-intro-nc 1.05s cubic-bezier(.2, .7, .2, 1) .15s forwards; }
.yd-intro-nm { animation: yd-intro-nm 1.05s cubic-bezier(.2, .7, .2, 1) .21s forwards; }
.yd-intro-ny { animation: yd-intro-ny 1.05s cubic-bezier(.2, .7, .2, 1) .27s forwards; }
.yd-intro-nk { animation: yd-intro-nk 1.05s cubic-bezier(.2, .7, .2, 1) .33s forwards; }
.yd-intro-yildiz polyline { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: yd-intro-ciz .42s cubic-bezier(.5, 0, .2, 1) forwards; }
.yd-intro-yildiz polyline:nth-child(1) { animation-delay: .95s; } .yd-intro-yildiz polyline:nth-child(2) { animation-delay: 1.02s; }
.yd-intro-yildiz polyline:nth-child(3) { animation-delay: 1.09s; } .yd-intro-yildiz polyline:nth-child(4) { animation-delay: 1.16s; }
.yd-intro-yildiz polyline:nth-child(5) { animation-delay: 1.23s; }
.yd-intro-ad { margin-top: 14px; opacity: 0; color: #0C1538; font: 700 28px/1.1 'Bricolage Grotesque', system-ui, sans-serif;
  letter-spacing: -.01em; animation: yd-intro-ad .45s cubic-bezier(.2, .8, .2, 1) 1.35s forwards; }
.yd-intro-alt { margin-top: 8px; opacity: 0; color: #4B5275; font: 500 12px/1.4 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: .14em; text-transform: uppercase; animation: yd-intro-ad .45s cubic-bezier(.2, .8, .2, 1) 1.5s forwards; }
.yd-intro-gec { position: absolute; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1px solid #CFC8FF; border-radius: 999px;
  background: rgba(255, 255, 255, .9); color: #4636C4; font: 600 14px/1 'Plus Jakarta Sans', system-ui, sans-serif; cursor: pointer; }
.yd-intro-gec:hover { background: #F5F3FF; border-color: #5B4BE8; }
.yd-intro-gec:focus-visible { outline: 2px solid #0C1538; outline-offset: 2px; }
.yd-intro.yd-intro-cik { animation: yd-intro-kalk .32s cubic-bezier(.7, 0, .84, 0) forwards; }

@keyframes yd-intro-belir { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes yd-intro-hedef { from { opacity: 0; transform: rotate(-90deg) scale(.4); } to { opacity: .85; transform: none; } }
@keyframes yd-intro-nc { 0% { opacity: 0; transform: translate(-150%, -120%) scale(1.3); } 25% { opacity: .95; }
  70% { transform: translate(-9%, -6%) scale(1); } 100% { opacity: 0; transform: translate(0, 0) scale(.16); } }
@keyframes yd-intro-nm { 0% { opacity: 0; transform: translate(150%, -120%) scale(1.3); } 25% { opacity: .95; }
  70% { transform: translate(8%, -7%) scale(1); } 100% { opacity: 0; transform: translate(0, 0) scale(.16); } }
@keyframes yd-intro-ny { 0% { opacity: 0; transform: translate(-150%, 120%) scale(1.3); } 25% { opacity: .95; }
  70% { transform: translate(-7%, 8%) scale(1); } 100% { opacity: 0; transform: translate(0, 0) scale(.16); } }
@keyframes yd-intro-nk { 0% { opacity: 0; transform: translate(150%, 120%) scale(1.3); } 25% { opacity: .9; }
  70% { transform: translate(6%, 7%) scale(1); } 100% { opacity: 0; transform: translate(0, 0) scale(.16); } }
@keyframes yd-intro-ciz { to { stroke-dashoffset: 0; } }
@keyframes yd-intro-ad { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes yd-intro-kalk { 0% { transform: none; opacity: 1; } 100% { transform: translateY(-104%) rotate(-1.2deg); opacity: .96; visibility: hidden; } }

@media (max-width: 480px) { .yd-intro-ad { font-size: 24px; } .yd-intro-kose { width: 18px; height: 18px; } }
@media (prefers-reduced-motion: reduce) { .yd-intro { display: none; } }
