/* Animirane ilustracije (parts/anim.php).
   Pravilo: element ulazi i ostaje vidljiv do kraja kruga; cela scena (.an-stage) se pretopi na kraju i krene ispočetka.
   Pauziraju se van ekrana (JS dodaje .is-in), a uz prefers-reduced-motion prikazuju završni kadar. */
.anim { --t: 10s; position: relative; display: grid; place-items: center; min-height: 320px; padding: 26px; border-radius: 16px; background: radial-gradient(120% 90% at 85% 0%, rgba(225, 252, 131, .16), transparent 60%), linear-gradient(135deg, #2a2c23, #131313 70%); color: #fff; overflow: hidden; font-family: var(--sans); text-align: left; }
.anim * { animation-play-state: paused; }
.anim.is-in * { animation-play-state: running; }
.an-stage { width: 100%; max-width: 480px; animation: an-stage var(--t) linear infinite; }
@keyframes an-stage { 0% { opacity: 0; } 3%, 94% { opacity: 1; } 100% { opacity: 0; } }
.an-dots { display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.an-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.an-dots b { margin-left: 8px; font: 600 12px/1 var(--sans); color: rgba(255, 255, 255, .5); }

/* SEO: ukucava se pretraga, pa se vaš sajt penje sa 4. na 1. mesto */
.anim--seo { --t: 11s; }
.an-bar { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-radius: 99px; background: #fff; color: #131313; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.an-bar svg { flex: none; }
.an-q { position: relative; font-size: 16px; font-weight: 600; white-space: nowrap; }
.an-q__t { display: inline-block; clip-path: inset(0 100% 0 0); animation: an-typing var(--t) steps(20, end) infinite; }
.an-q::after { content: ''; position: absolute; top: 2px; bottom: 2px; width: 2px; background: #131313; left: 0; animation: an-caret var(--t) steps(20, end) infinite, an-blink .9s steps(1) infinite; }
@keyframes an-typing { 0%, 3% { clip-path: inset(0 100% 0 0); } 24%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes an-caret { 0%, 3% { left: 0; } 24%, 100% { left: 100%; } }
@keyframes an-blink { 50% { opacity: 0; } }
.an-meta { margin: 12px 4px 10px; font-size: 12px; color: rgba(255, 255, 255, .55); opacity: 0; }
.an-serp { position: relative; height: 252px; }
.an-r { position: absolute; left: 0; right: 0; display: grid; align-content: center; gap: 2px; height: 58px; padding: 0 14px; border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); opacity: 0; }
.an-r small { font-size: 12px; line-height: 1.3; color: rgba(255, 255, 255, .6); }
.an-r b { overflow: hidden; font-size: 14px; line-height: 1.35; padding-bottom: 1px; font-weight: 600; color: rgba(255, 255, 255, .92); white-space: nowrap; text-overflow: ellipsis; }
.an-r--a { top: 0; animation: an-ra var(--t) ease-in-out infinite; }
.an-r--b { top: 64px; animation: an-rb var(--t) ease-in-out infinite; }
.an-r--c { top: 128px; animation: an-rc var(--t) ease-in-out infinite; }
.an-r--you { top: 192px; z-index: 2; padding-right: 54px; background: #fff; border-color: #e1fc83; box-shadow: 0 0 0 3px rgba(225, 252, 131, .35), 0 14px 30px rgba(0, 0, 0, .35); animation: an-you var(--t) cubic-bezier(.65, 0, .25, 1) infinite; }
.an-r--you small { color: #5f6a1c; font-weight: 600; }
.an-r--you b { color: #131313; font-weight: 700; }
@keyframes an-ra { 0%, 26% { opacity: 0; transform: translateY(8px); top: 0; } 30%, 66% { opacity: 1; transform: none; top: 0; } 72%, 100% { opacity: 1; top: 64px; } }
@keyframes an-rb { 0%, 27% { opacity: 0; transform: translateY(8px); top: 64px; } 31%, 54% { opacity: 1; transform: none; top: 64px; } 60%, 100% { opacity: 1; top: 128px; } }
@keyframes an-rc { 0%, 28% { opacity: 0; transform: translateY(8px); top: 128px; } 32%, 42% { opacity: 1; transform: none; top: 128px; } 48%, 100% { opacity: 1; top: 192px; } }
@keyframes an-you { 0%, 29% { opacity: 0; transform: translateY(8px); top: 192px; } 33%, 42% { opacity: 1; transform: none; top: 192px; } 48%, 54% { top: 128px; } 60%, 66% { top: 64px; } 72%, 100% { opacity: 1; top: 0; } }
.an-rank { position: absolute; right: 10px; top: 50%; display: grid; place-items: center; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: #131313; font-style: normal; }
.an-rank i { grid-area: 1 / 1; font-style: normal; font-weight: 800; font-size: 15px; color: #e1fc83; opacity: 0; }
.an-rank i:nth-child(1) { animation: an-r4 var(--t) steps(1) infinite; }
.an-rank i:nth-child(2) { animation: an-r3 var(--t) steps(1) infinite; }
.an-rank i:nth-child(3) { animation: an-r2 var(--t) steps(1) infinite; }
.an-rank i:nth-child(4) { animation: an-r1 var(--t) steps(1) infinite; }
@keyframes an-r4 { 0%, 44% { opacity: 1; } 45%, 100% { opacity: 0; } }
@keyframes an-r3 { 0%, 44% { opacity: 0; } 45%, 56% { opacity: 1; } 57%, 100% { opacity: 0; } }
@keyframes an-r2 { 0%, 56% { opacity: 0; } 57%, 68% { opacity: 1; } 69%, 100% { opacity: 0; } }
@keyframes an-r1 { 0%, 68% { opacity: 0; } 69%, 100% { opacity: 1; } }
.an-r--you .an-rank { animation: an-pulse var(--t) ease-out infinite; }
@keyframes an-pulse { 0%, 69% { box-shadow: 0 0 0 0 rgba(225, 252, 131, 0); background: #131313; } 72% { box-shadow: 0 0 0 10px rgba(225, 252, 131, .35); background: #131313; } 80%, 100% { box-shadow: 0 0 0 0 rgba(225, 252, 131, 0); background: #131313; } }
.an-meta { animation: an-meta var(--t) infinite; }
@keyframes an-meta { 0%, 25% { opacity: 0; } 29%, 100% { opacity: 1; } }

/* Dizajn: žičani okvir se popunjava redom, pa se dizajn odobrava */
.anim--dizajn { --t: 9s; }
.an-frame { position: relative; padding: 14px; border-radius: 12px; background: #fff; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.an-frame .an-dots i { background: #d8dbd0; }
.an-wf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.w { position: relative; display: flex; align-items: center; gap: 8px; border-radius: 7px; background: #f1f3ea; border: 1.5px dashed #c3c9ad; animation: an-wf var(--t) infinite; }
.w--nav { grid-column: 1 / -1; height: 26px; padding: 0 10px; }
.w--nav .w-logo { width: 34px; height: 8px; margin-right: auto; border-radius: 4px; background: #c3c9ad; }
.w--nav .w-l { width: 24px; height: 6px; border-radius: 3px; background: #d6dbc4; }
.w--hero { grid-column: 1 / -1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; height: 110px; padding: 0 18px; }
.w-h1 { width: 70%; height: 12px; border-radius: 5px; background: #d6dbc4; } .w-h2 { width: 48%; height: 8px; border-radius: 4px; background: #d6dbc4; }
.w-btn { width: 84px; height: 22px; border-radius: 5px; background: #c3c9ad; }
.w--c { height: 74px; }
.w--nav { animation-name: an-wf-nav; } .w--hero { animation-name: an-wf-hero; }
.w--c1 { animation-name: an-wf-c1; } .w--c2 { animation-name: an-wf-c2; } .w--c3 { animation-name: an-wf-c3; }
.w--hero .w-btn { animation: an-btn var(--t) infinite; }
.w--hero .w-h1, .w--hero .w-h2 { animation: an-txt var(--t) infinite; }
@keyframes an-wf-nav { 0%, 10% { background: #f1f3ea; border-style: dashed; border-color: #c3c9ad; } 14%, 100% { background: #e8edd4; border-style: solid; border-color: #e8edd4; } }
@keyframes an-wf-hero { 0%, 20% { background: #f1f3ea; border-style: dashed; border-color: #c3c9ad; } 25%, 100% { background: #131313; border-style: solid; border-color: #131313; } }
@keyframes an-txt { 0%, 20% { background: #d6dbc4; } 25%, 100% { background: rgba(255, 255, 255, .85); } }
@keyframes an-btn { 0%, 30% { background: #c3c9ad; } 35%, 100% { background: #e1fc83; } }
@keyframes an-wf-c1 { 0%, 38% { background: #f1f3ea; border-style: dashed; border-color: #c3c9ad; } 42%, 100% { background: #e8edd4; border-style: solid; border-color: #e8edd4; } }
@keyframes an-wf-c2 { 0%, 44% { background: #f1f3ea; border-style: dashed; border-color: #c3c9ad; } 48%, 100% { background: #e1fc83; border-style: solid; border-color: #e1fc83; } }
@keyframes an-wf-c3 { 0%, 50% { background: #f1f3ea; border-style: dashed; border-color: #c3c9ad; } 54%, 100% { background: #e8edd4; border-style: solid; border-color: #e8edd4; } }
.an-cursor { position: absolute; left: 18%; top: 30%; animation: an-cur var(--t) ease-in-out infinite; }
@keyframes an-cur { 0% { left: 14%; top: 26%; } 12% { left: 20%; top: 18%; } 24% { left: 40%; top: 48%; } 34% { left: 20%; top: 62%; } 44% { left: 24%; top: 82%; } 50% { left: 52%; top: 82%; } 56% { left: 82%; top: 82%; } 70%, 100% { left: 76%; top: 58%; } }
.an-tag { display: flex; gap: 8px; margin-top: 14px; }
.an-tag span { padding: 7px 12px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .5); }
.an-tag span:nth-child(1) { animation: an-step1 var(--t) infinite; }
.an-tag span:nth-child(2) { animation: an-step2 var(--t) infinite; }
.an-tag span.ok { animation: an-step3 var(--t) infinite; }
@keyframes an-step1 { 0%, 22% { color: #131313; background: #fff; } 25%, 100% { color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .08); } }
@keyframes an-step2 { 0%, 24% { color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .08); } 25%, 58% { color: #131313; background: #fff; } 60%, 100% { color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .08); } }
@keyframes an-step3 { 0%, 58% { color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .08); } 62%, 100% { color: #131313; background: #e1fc83; border-color: #e1fc83; } }

/* Analitika: grafikon se iscrtava i ostaje */
.anim--analitika { --t: 9s; }
.an-card { padding: 20px 20px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.an-k { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.an-k span { font-size: 15px; font-weight: 700; }
.an-k strong { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .55); }
.an-chart { display: block; width: 100%; height: 120px; }
.an-line { stroke-dasharray: 100; stroke-dashoffset: 100; animation: an-draw var(--t) ease-out infinite; }
.an-area { opacity: 0; animation: an-area var(--t) ease-out infinite; }
@keyframes an-draw { 0%, 4% { stroke-dashoffset: 100; } 42%, 100% { stroke-dashoffset: 0; } }
@keyframes an-area { 0%, 36% { opacity: 0; } 48%, 100% { opacity: 1; } }
.an-bars { display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: 7px; height: 64px; margin-top: 10px; }
.an-bars i { height: var(--h); border-radius: 4px 4px 0 0; background: rgba(225, 252, 131, .32); transform: scaleY(0); transform-origin: bottom; animation: an-grow var(--t) cubic-bezier(.2, .7, .2, 1) infinite; }
.an-bars i:last-child { background: #e1fc83; }
@keyframes an-grow { 0%, 6% { transform: scaleY(0); } 30%, 100% { transform: scaleY(1); } }
.an-bars i:nth-child(2) { animation-delay: .15s; } .an-bars i:nth-child(3) { animation-delay: .3s; } .an-bars i:nth-child(4) { animation-delay: .45s; } .an-bars i:nth-child(5) { animation-delay: .6s; } .an-bars i:nth-child(6) { animation-delay: .75s; } .an-bars i:nth-child(7) { animation-delay: .9s; }
.an-months { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; margin-top: 6px; font-size: 11px; text-align: center; color: rgba(255, 255, 255, .5); }

/* Kod: svaki red se ukuca i ostaje */
.anim--kod { --t: 10s; }
.an-code { padding: 16px 20px 18px; border-radius: 12px; background: #0c0d0a; border: 1px solid rgba(255, 255, 255, .12); font: 14px/2 ui-monospace, SFMono-Regular, Menlo, monospace; }
.an-code p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.an-code p span { display: inline-block; clip-path: inset(0 100% 0 0); }
.an-code p.in { padding-left: 2ch; }
.an-code i { font-style: normal; } .c1 { color: #9ba4ff; } .c2 { color: #e1fc83; } .c3 { color: #f7c66b; }
.an-code .ok { margin-top: 6px; color: #e1fc83; }
.an-code .l1 span { animation: an-l1 var(--t) steps(24, end) infinite; }
.an-code .l2 span { animation: an-l2 var(--t) steps(30, end) infinite; }
.an-code .l3 span { animation: an-l3 var(--t) steps(30, end) infinite; }
.an-code .l4 span { animation: an-l4 var(--t) steps(10, end) infinite; }
.an-code .l5 span { animation: an-l5 var(--t) ease-out infinite; }
@keyframes an-l1 { 0%, 3% { clip-path: inset(0 100% 0 0); } 13%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes an-l2 { 0%, 14% { clip-path: inset(0 100% 0 0); } 26%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes an-l3 { 0%, 27% { clip-path: inset(0 100% 0 0); } 40%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes an-l4 { 0%, 41% { clip-path: inset(0 100% 0 0); } 46%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes an-l5 { 0%, 52% { clip-path: inset(0 100% 0 0); } 58%, 100% { clip-path: inset(0 0 0 0); } }

/* Prodavnica: dva proizvoda u korpu */
.anim--prodavnica { --t: 9s; }
.an-shop { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.an-prod { display: grid; gap: 6px; padding: 10px; border-radius: 10px; background: #fff; color: #131313; }
.an-img { display: block; aspect-ratio: 4 / 3; border-radius: 6px; background: linear-gradient(135deg, #e8edd4, #c9d3a8); }
.an-img--2 { background: linear-gradient(135deg, #2b2b2b, #565656); }
.an-prod b { font-size: 14px; font-weight: 700; }
.an-price { font-size: 13px; color: #565656; }
.an-add { display: grid; padding: 8px; border-radius: 6px; background: #131313; color: #fff; font-size: 12px; font-weight: 700; text-align: center; }
.an-add span { grid-area: 1 / 1; }
.an-add span:last-child { opacity: 0; }
.an-prod--1 .an-add { animation: an-btn1 var(--t) infinite; } .an-prod--1 .an-add span:first-child { animation: an-off1 var(--t) steps(1) infinite; } .an-prod--1 .an-add span:last-child { animation: an-on1 var(--t) steps(1) infinite; }
.an-prod--2 .an-add { animation: an-btn2 var(--t) infinite; } .an-prod--2 .an-add span:first-child { animation: an-off2 var(--t) steps(1) infinite; } .an-prod--2 .an-add span:last-child { animation: an-on2 var(--t) steps(1) infinite; }
@keyframes an-btn1 { 0%, 22% { background: #131313; color: #fff; transform: none; } 24% { transform: scale(.94); } 26%, 100% { background: #e1fc83; color: #131313; transform: none; } }
@keyframes an-btn2 { 0%, 50% { background: #131313; color: #fff; transform: none; } 52% { transform: scale(.94); } 54%, 100% { background: #e1fc83; color: #131313; transform: none; } }
@keyframes an-off1 { 0%, 24% { opacity: 1; } 25%, 100% { opacity: 0; } } @keyframes an-on1 { 0%, 24% { opacity: 0; } 25%, 100% { opacity: 1; } }
@keyframes an-off2 { 0%, 52% { opacity: 1; } 53%, 100% { opacity: 0; } } @keyframes an-on2 { 0%, 52% { opacity: 0; } 53%, 100% { opacity: 1; } }
.an-cart { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 14px; font-size: 15px; font-weight: 700; }
.an-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e1fc83; color: #131313; animation: an-bump var(--t) infinite; }
.an-n i { grid-area: 1 / 1; font-style: normal; opacity: 0; }
.an-n i:nth-child(1) { animation: an-c0 var(--t) steps(1) infinite; } .an-n i:nth-child(2) { animation: an-c1 var(--t) steps(1) infinite; } .an-n i:nth-child(3) { animation: an-c2 var(--t) steps(1) infinite; }
@keyframes an-c0 { 0%, 25% { opacity: 1; } 26%, 100% { opacity: 0; } } @keyframes an-c1 { 0%, 25% { opacity: 0; } 26%, 53% { opacity: 1; } 54%, 100% { opacity: 0; } } @keyframes an-c2 { 0%, 53% { opacity: 0; } 54%, 100% { opacity: 1; } }
@keyframes an-bump { 0%, 25%, 31%, 53%, 59%, 100% { transform: none; } 28%, 56% { transform: scale(1.25); } }

/* AI: razgovor sa asistentom */
.anim--ai { --t: 11s; }
.an-chat { display: grid; gap: 10px; }
.an-chat .m { position: relative; max-width: 84%; padding: 12px 16px; border-radius: 14px; font-size: 15px; line-height: 1.45; opacity: 0; }
.m--u { justify-self: end; background: #fff; color: #131313; border-bottom-right-radius: 4px; }
.m--a { justify-self: start; background: rgba(225, 252, 131, .14); border: 1px solid rgba(225, 252, 131, .4); border-bottom-left-radius: 4px; }
.m1 { animation: an-m1 var(--t) infinite; } .m2 { animation: an-m2 var(--t) infinite; } .m3 { animation: an-m3 var(--t) infinite; }
@keyframes an-m1 { 0%, 4% { opacity: 0; transform: translateY(10px); } 9%, 100% { opacity: 1; transform: none; } }
@keyframes an-m2 { 0%, 16% { opacity: 0; transform: translateY(10px); } 20%, 100% { opacity: 1; transform: none; } }
@keyframes an-m3 { 0%, 56% { opacity: 0; transform: translateY(10px); } 61%, 100% { opacity: 1; transform: none; } }
.an-txt { opacity: 0; animation: an-txt-in var(--t) infinite; }
@keyframes an-txt-in { 0%, 34% { opacity: 0; } 38%, 100% { opacity: 1; } }
.an-dots3 { position: absolute; left: 16px; top: 50%; display: flex; gap: 5px; margin-top: -3px; animation: an-dots-out var(--t) infinite; }
.an-dots3 i { width: 7px; height: 7px; border-radius: 50%; background: #e1fc83; animation: an-blink 1s infinite; }
.an-dots3 i:nth-child(2) { animation-delay: .2s; } .an-dots3 i:nth-child(3) { animation-delay: .4s; }
@keyframes an-dots-out { 0%, 34% { opacity: 1; } 36%, 100% { opacity: 0; } }
.an-ai { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.an-ai span { color: #e1fc83; font-weight: 700; }

/* Telefon: aplikacija sa obaveštenjem i biometrijskom prijavom */
.anim--telefon { --t: 10s; }
.anim--telefon .an-stage { display: grid; justify-items: center; gap: 14px; }
.an-phone { width: 210px; padding: 9px; border-radius: 34px; background: #0c0d0a; border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.an-ph__screen { position: relative; display: grid; grid-template-rows: auto 1fr auto; height: 380px; padding: 10px 12px; border-radius: 26px; background: linear-gradient(180deg, #23261e, #131313); overflow: hidden; }
.an-ph__bar { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: #fff; }
.an-ph__notif { position: absolute; left: 8px; right: 8px; top: 30px; z-index: 2; display: flex; gap: 8px; align-items: center; padding: 9px 10px; border-radius: 14px; background: rgba(255, 255, 255, .95); color: #131313; font-size: 11px; line-height: 1.3; transform: translateY(-140%); animation: an-notif var(--t) cubic-bezier(.2, .8, .2, 1) infinite; }
.an-ph__notif i { flex: none; width: 26px; height: 26px; border-radius: 7px; background: #e1fc83; }
.an-ph__notif b { display: block; font-size: 11px; }
@keyframes an-notif { 0%, 8% { transform: translateY(-140%); } 13%, 34% { transform: none; } 40%, 100% { transform: translateY(-140%); } }
.an-ph__app { display: grid; align-content: start; gap: 14px; padding-top: 70px; }
.an-ph__h { font-size: 15px; font-weight: 800; color: #fff; }
.an-ph__bio { display: grid; justify-items: center; gap: 8px; padding: 14px 0; border-radius: 14px; background: rgba(255, 255, 255, .05); }
.an-ph__bio svg { animation: an-scan var(--t) infinite; }
@keyframes an-scan { 0%, 40% { opacity: .45; } 46%, 100% { opacity: 1; filter: drop-shadow(0 0 8px rgba(225, 252, 131, .7)); } }
.an-ph__ok { font-size: 12px; font-weight: 700; color: #e1fc83; opacity: 0; animation: an-okin var(--t) infinite; }
@keyframes an-okin { 0%, 46% { opacity: 0; } 50%, 100% { opacity: 1; } }
.an-ph__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.an-ph__cards i { height: 44px; border-radius: 10px; background: rgba(255, 255, 255, .08); opacity: 0; animation: an-cardin var(--t) infinite; }
.an-ph__cards i:nth-child(2) { animation-delay: .15s; } .an-ph__cards i:nth-child(3) { animation-delay: .3s; } .an-ph__cards i:nth-child(4) { animation-delay: .45s; background: rgba(225, 252, 131, .25); }
@keyframes an-cardin { 0%, 52% { opacity: 0; transform: translateY(8px); } 58%, 100% { opacity: 1; transform: none; } }
.an-ph__tabs { display: flex; justify-content: space-around; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .1); }
.an-ph__tabs i { width: 18px; height: 18px; border-radius: 5px; background: rgba(255, 255, 255, .2); }
.an-ph__tabs i.on { background: #e1fc83; }
.an-feat { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.an-feat li { padding: 6px 11px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); font-size: 12px; font-weight: 600; opacity: 0; animation: an-featin var(--t) infinite; }
.an-feat li:nth-child(1) { animation-delay: .2s; } .an-feat li:nth-child(2) { animation-delay: 1.6s; } .an-feat li:nth-child(3) { animation-delay: 3s; } .an-feat li:nth-child(4) { animation-delay: 4.4s; }
@keyframes an-featin { 0%, 8% { opacity: 0; transform: translateY(6px); } 12%, 100% { opacity: 1; transform: none; } }

/* Brzina: merač i Core Web Vitals */
.anim--brzina { --t: 8s; }
.an-speed { display: grid; justify-items: center; gap: 10px; }
.an-gauge { width: min(300px, 100%); }
.an-gauge__v { stroke-dasharray: 100 200; stroke-dashoffset: 100; animation: an-gauge var(--t) cubic-bezier(.2, .7, .2, 1) infinite; }
@keyframes an-gauge { 0%, 4% { stroke-dashoffset: 100; opacity: 0; } 6% { opacity: 1; } 40%, 100% { stroke-dashoffset: 8; opacity: 1; } }
.an-speed__lbl { display: grid; justify-items: center; margin-top: -54px; }
.an-speed__lbl b { font-size: 28px; font-weight: 800; color: #e1fc83; opacity: 0; animation: an-okin var(--t) infinite; }
.an-speed__lbl small { font-size: 12px; color: rgba(255, 255, 255, .6); opacity: 0; animation: an-okin var(--t) infinite; }
.an-vitals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; margin-top: 12px; }
.an-vitals li { display: grid; justify-items: center; gap: 2px; padding: 12px 6px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); opacity: 0; animation: an-vit var(--t) infinite; }
.an-vitals li:nth-child(2) { animation-name: an-vit2; } .an-vitals li:nth-child(3) { animation-name: an-vit3; }
.an-vitals span { font-size: 16px; font-weight: 800; }
.an-vitals em { font-style: normal; font-size: 11px; color: rgba(255, 255, 255, .6); }
.an-vitals i { font-style: normal; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 4px; border-radius: 50%; background: #e1fc83; color: #131313; font-size: 12px; font-weight: 800; }
@keyframes an-vit2 { 0%, 47% { opacity: 0; transform: translateY(8px); } 53%, 100% { opacity: 1; transform: none; } }
@keyframes an-vit3 { 0%, 52% { opacity: 0; transform: translateY(8px); } 58%, 100% { opacity: 1; transform: none; } }
@keyframes an-vit { 0%, 42% { opacity: 0; transform: translateY(8px); } 48%, 100% { opacity: 1; transform: none; } }

/* Mreže: objava sa reakcijama */
.anim--mreze { --t: 9s; }
.an-post { width: min(300px, 100%); margin: 0 auto; padding: 12px; border-radius: 16px; background: #fff; color: #131313; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.an-post__top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.an-post__top i { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #e1fc83, #bcc64e); }
.an-post__top b { display: block; font-size: 13px; } .an-post__top small { font-size: 11px; color: #777; }
.an-post__img { position: relative; display: grid; place-items: end start; height: 160px; padding: 12px; border-radius: 10px; background: linear-gradient(135deg, #2c2e24, #131313 60%), #131313; color: #e1fc83; overflow: hidden; }
.an-post__img::before { content: ''; position: absolute; right: -30px; top: -30px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(closest-side, #e1fc83, transparent); opacity: .5; }
.an-post__img b { position: relative; font-size: 20px; font-weight: 800; }
.an-heart { position: absolute; left: 50%; top: 45%; font-size: 64px; color: #fff; transform: translate(-50%, -50%) scale(0); opacity: 0; animation: an-heart var(--t) infinite; }
@keyframes an-heart { 0%, 18% { transform: translate(-50%, -50%) scale(0); opacity: 0; } 22% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; } 30% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 36%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
.an-post__acts { display: flex; gap: 12px; margin: 10px 2px 4px; font-size: 18px; }
.an-like { color: #c9c9c9; animation: an-like var(--t) steps(1) infinite; }
@keyframes an-like { 0%, 21% { color: #c9c9c9; } 22%, 100% { color: #e5484d; } }
.an-post__likes { font-size: 12px; }
.an-cnt3 { display: inline-grid; } .an-cnt3 i { grid-area: 1 / 1; font-style: normal; opacity: 0; }
.an-cnt3 i:nth-child(1) { animation: an-k1 var(--t) steps(1) infinite; } .an-cnt3 i:nth-child(2) { animation: an-k2 var(--t) steps(1) infinite; } .an-cnt3 i:nth-child(3) { animation: an-k3 var(--t) steps(1) infinite; }
@keyframes an-k1 { 0%, 21% { opacity: 1; } 22%, 100% { opacity: 0; } } @keyframes an-k2 { 0%, 21% { opacity: 0; } 22%, 44% { opacity: 1; } 45%, 100% { opacity: 0; } } @keyframes an-k3 { 0%, 44% { opacity: 0; } 45%, 100% { opacity: 1; } }
.an-post__c { margin-top: 6px; font-size: 12px; color: #131313; opacity: 0; } .an-post__c b { margin-right: 4px; }
.an-post__c.an-cm1 { animation: an-cm1 var(--t) infinite; } .an-post__c.an-cm2 { animation: an-cm2 var(--t) infinite; }
@keyframes an-cm1 { 0%, 48% { opacity: 0; transform: translateY(6px); } 53%, 100% { opacity: 1; transform: none; } }
@keyframes an-cm2 { 0%, 64% { opacity: 0; transform: translateY(6px); } 69%, 100% { opacity: 1; transform: none; } }

/* Mapa: lokalni SEO */
.anim--mapa { --t: 9s; }
.an-map { position: relative; height: 300px; border-radius: 14px; background: #1b1c18; overflow: hidden; }
.an-map__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.an-pin { position: absolute; width: 16px; height: 16px; border-radius: 50% 50% 50% 0; background: rgba(255, 255, 255, .35); transform: rotate(-45deg); }
.an-pin--o1 { left: 22%; top: 30%; } .an-pin--o2 { left: 72%; top: 62%; }
.an-pin--you { left: 48%; top: 34%; width: 30px; height: 30px; background: #e1fc83; transform: rotate(-45deg) translate(0, -120px); opacity: 0; animation: an-drop var(--t) cubic-bezier(.3, 1.4, .5, 1) infinite; box-shadow: 0 6px 14px rgba(0, 0, 0, .4); }
.an-pin--you i { position: absolute; left: 9px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: #131313; }
@keyframes an-drop { 0%, 8% { opacity: 0; transform: rotate(-45deg) translate(70px, -70px); } 18%, 100% { opacity: 1; transform: rotate(-45deg); } }
.an-map::after { content: ''; position: absolute; left: calc(48% - 14px); top: calc(34% + 26px); width: 58px; height: 14px; border-radius: 50%; border: 2px solid rgba(225, 252, 131, .6); opacity: 0; animation: an-ring var(--t) infinite; }
@keyframes an-ring { 0%, 18% { opacity: 0; transform: scale(.4); } 22% { opacity: 1; } 34%, 100% { opacity: 0; transform: scale(1.8); } }
.an-biz { position: absolute; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 3px; padding: 14px 16px; border-radius: 12px; background: #fff; color: #131313; opacity: 0; animation: an-biz var(--t) infinite; box-shadow: 0 14px 30px rgba(0, 0, 0, .4); }
@keyframes an-biz { 0%, 30% { opacity: 0; transform: translateY(16px); } 36%, 100% { opacity: 1; transform: none; } }
.an-biz b { font-size: 16px; } .an-stars { color: #e5a400; letter-spacing: 2px; font-size: 14px; } .an-biz small { font-size: 12px; color: #1a7f37; font-weight: 600; }
.an-biz p { display: flex; gap: 6px; margin-top: 6px; } .an-biz p span { padding: 5px 10px; border-radius: 99px; background: #e8edd4; font-size: 11px; font-weight: 700; }
.an-biz p span:first-child { background: #131313; color: #e1fc83; }
@media (max-width: 480px) {
	.anim { padding: 18px; min-height: 0; }
	.an-r b { font-size: 13px; }
	.an-code { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.anim * { animation: none !important; }
	.an-q__t, .an-code p span { clip-path: none; } .an-q::after { display: none; }
	.an-meta, .an-r, .an-chat .m, .an-txt, .an-area, .an-rank i:nth-child(4), .an-add span:last-child, .an-n i:nth-child(3) { opacity: 1; }
	.an-add span:first-child, .an-n i:nth-child(1), .an-dots3 { opacity: 0; }
	.an-r--you { top: 0; } .an-r--a { top: 64px; } .an-r--b { top: 128px; } .an-r--c { top: 192px; }
	.an-line { stroke-dashoffset: 0; } .an-bars i { transform: none; }
	.an-ph__ok, .an-ph__cards i, .an-feat li, .an-speed__lbl b, .an-speed__lbl small, .an-vitals li, .an-post__c, .an-cnt3 i:nth-child(3), .an-pin--you, .an-biz { opacity: 1; transform: none; }
	.an-pin--you { transform: rotate(-45deg); } .an-gauge__v { stroke-dashoffset: 8; } .an-ph__notif { transform: none; } .an-like { color: #e5484d; } .an-cnt3 i:nth-child(1) { opacity: 0; }
}
