/* assets/css/lab-fx.css — sanal cihaz laboratuvarlarının ortak görsel efektleri (lab-fx.js) (kurumsal 180)
   Başlık kartı, vinyet, konfeti tuvali, sayı vurgusu, cam cihaz çerçeveleri. Her iki laboratuvar da yükler. */

.lfx-title { position: absolute; inset: 0; z-index: 24; display: grid; place-items: center; pointer-events: none; background: radial-gradient(60% 60% at 50% 50%, rgba(8, 18, 28, .55), rgba(8, 18, 28, 0)); opacity: 0; transition: opacity .5s ease; }
.lfx-title.on { opacity: 1; }
.lfx-title.out { opacity: 0; transition: opacity .6s ease; }
.lfx-title-in { text-align: center; color: #fff; padding: 20px 34px; transform: translateY(14px) scale(.96); transition: transform .7s cubic-bezier(.2, .8, .2, 1); text-shadow: 0 6px 30px rgba(0, 0, 0, .55); }
.lfx-title.on .lfx-title-in { transform: none; }
.lfx-title-in small { display: block; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; opacity: .8; margin-bottom: 8px; }
.lfx-title-in b { display: block; font-size: clamp(1.5rem, 3.6vw, 2.6rem); letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
.lfx-title-in span { display: block; margin-top: 10px; font-size: .95rem; opacity: .85; }

.lfx-vignette { position: absolute; inset: 0; pointer-events: none; z-index: 23; opacity: 0; transition: opacity .35s; border-radius: inherit; }
.lfx-vignette.on { opacity: var(--lv, 0); animation: lfx-vig 1.3s ease-in-out infinite; }
.lfx-vignette[data-tone="red"] { box-shadow: inset 0 0 90px 24px rgba(224, 50, 50, .55); }
.lfx-vignette[data-tone="amber"] { box-shadow: inset 0 0 90px 24px rgba(240, 160, 32, .5); }
.lfx-vignette[data-tone="blue"] { box-shadow: inset 0 0 90px 24px rgba(59, 143, 212, .5); }
@keyframes lfx-vig { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.35); } }

.lfx-confetti { position: absolute; inset: 0; pointer-events: none; z-index: 26; }

.lfx-tick { animation: lfx-tick .55s ease-out; }
@keyframes lfx-tick { 0% { color: #FFD166; transform: scale(1.12); } 100% { color: inherit; transform: none; } }

/* cam cihaz çerçevesi: telefon yansıması ve parıltı */
.lfx-glass::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, .05) 28%, rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .06) 100%); mix-blend-mode: screen; }

@media (prefers-reduced-motion: reduce) { .lfx-vignette.on { animation: none; } .lfx-tick { animation: none; } .lfx-title, .lfx-title-in { transition: none; } }
