@media screen {
  #naslovnica #hero-title {
    color: #f8fafc;
    text-shadow: none;
  }

  #naslovnica #hero-title .cyan {
    position: relative;
    display: inline-block;
    color: #00e5ff;
    background-image: linear-gradient(115deg, transparent 40%, rgba(245, 255, 255, .85) 50%, transparent 60%), linear-gradient(120deg, #00f5ff 0%, #38bdf8 45%, #00e5ff 100%);
    background-size: 240% 100%, 100% 100%;
    background-position: 100% 0, center;
    background-repeat: no-repeat;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 245, 255, .38);
  }

  #naslovnica #hero-title .cyan::after {
    content: "";
    position: absolute;
    inset: auto 0 -.06em;
    height: 1px;
    background: linear-gradient(90deg, transparent, #64faff 45%, #00e5ff 60%, transparent);
    box-shadow: 0 2px 8px -2px #00e5ff;
    pointer-events: none;
  }

  #naslovnica #hero-title:active .cyan {
    text-shadow: 0 0 32px rgba(0, 245, 255, .65);
  }
}

@media (hover: hover) {
  #naslovnica #hero-title:hover .cyan {
    text-shadow: 0 0 32px rgba(0, 245, 255, .65);
  }
}

@media (prefers-reduced-motion: no-preference) {
  #naslovnica .hero-inner > .eyebrow { animation: hero-status-in .4s ease-out both; }
  #naslovnica #hero-title { animation: hero-title-in .6s .18s ease-out both; }
  #naslovnica #hero-title .cyan {
    animation: hero-now-in .75s .48s ease-out both, hero-light-sweep 5s 1.3s ease-in-out infinite;
    transition: text-shadow .2s;
  }
}

@media (prefers-reduced-motion: reduce) {
  #naslovnica .eyebrow .live-dot { animation: none; }
}

@keyframes hero-status-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes hero-title-in { from { opacity: 0; transform: translateY(.14em); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-now-in { from { opacity: 0; } 62% { filter: brightness(1.18); } to { opacity: 1; filter: none; } }
@keyframes hero-light-sweep { 0%, 65% { background-position: 100% 0, center; } 95%, 100% { background-position: 0% 0, center; } }

@media (prefers-reduced-motion: no-preference) {
  #naslovnica .robot-ziv {
    animation: robot-float 4s ease-in-out infinite;
    transform: perspective(800px) rotateY(var(--robot-y, 0deg)) rotateX(var(--robot-x, 0deg));
    transition: transform .3s ease-out;
  }
  .manje-pokreta #naslovnica .robot-ziv,
  body:has(.living-robot-reduce:checked) #naslovnica .robot-ziv {
    animation: none;
    transform: none;
    transition: none;
  }
}
@keyframes robot-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
