.hero-media > img {
    animation: none !important;
    transform: scale(1.001);
    filter: contrast(1.1) saturate(1.06) brightness(1.045);
    backface-visibility: hidden;
}

.hero-server-activity {
    position: absolute;
    inset: 0;
    contain: strict;
    pointer-events: none;
    animation: hero-drift 18s ease-in-out infinite alternate;
    will-change: transform;
}

.hero-network-layer {
    position: absolute;
    top: 7%;
    right: 1.5%;
    bottom: 28%;
    left: 52%;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: .78;
}

.hero-network-layer svg { width: 100%; height: 100%; overflow: visible; }
.hero-network-lines path {
    fill: none;
    stroke: rgba(255, 38, 52, .56);
    stroke-width: 1.35;
    stroke-dasharray: 7 11;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 0 4px rgba(255, 38, 52, .42));
    animation: network-flow 9s linear infinite;
}
.hero-network-lines path:nth-child(2) { animation-duration: 12s; animation-direction: reverse; opacity: .66; }
.hero-network-lines path:nth-child(3) { animation-duration: 15s; opacity: .48; }
.hero-network-lines path:nth-child(4) { animation-duration: 11s; animation-direction: reverse; opacity: .58; }
.hero-network-points circle {
    fill: #ff2634;
    stroke: rgba(255, 255, 255, .65);
    stroke-width: 1;
    transform-box: fill-box;
    transform-origin: center;
    filter: drop-shadow(0 0 6px #ff2634);
    animation: network-node 3s ease-in-out infinite;
}
.hero-network-points circle:nth-child(3n) { animation-delay: -1s; }
.hero-network-points circle:nth-child(2n) { animation-delay: -2s; }
.hero-network-packets circle { fill: #fff; filter: drop-shadow(0 0 5px #ff2634); }

.hero-server-activity span {
    position: absolute;
    top: var(--y);
    left: var(--x);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ff2634;
    box-shadow: 0 0 4px #ff2634, 0 0 10px rgba(255, 31, 45, .95), 0 0 20px rgba(255, 31, 45, .45);
    opacity: .25;
    animation: server-led var(--speed) steps(1, end) var(--delay) infinite;
}

.hero-server-activity span:nth-child(5n) {
    width: 3px;
    height: 3px;
    background: #f7fbff;
    box-shadow: 0 0 4px #fff, 0 0 11px rgba(255, 255, 255, .8);
}

.hero-server-activity span:nth-child(3n) {
    animation-name: server-led-alt;
}

@keyframes server-led {
    0%, 18%, 46%, 100% { opacity: .18; transform: scale(.72); }
    20%, 25% { opacity: 1; transform: scale(1.35); }
    48%, 55% { opacity: .72; transform: scale(1); }
}

@keyframes server-led-alt {
    0%, 30%, 67%, 100% { opacity: .2; transform: scale(.7); }
    32%, 39% { opacity: .9; transform: scale(1.2); }
    69%, 75% { opacity: 1; transform: scale(1.45); }
}

@keyframes network-flow { to { stroke-dashoffset: -180; } }
@keyframes network-node {
    0%, 100% { opacity: .42; transform: scale(.72); }
    45% { opacity: 1; transform: scale(1.45); }
}

@media (max-width: 700px) {
    .hero-media img { object-position: 68% center; }
    .hero-server-activity span { width: 3px; height: 3px; }
    .hero-network-layer { top: 8%; right: -18%; bottom: 40%; left: 36%; opacity: .66; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-server-activity { animation: none; }
    .hero-server-activity span { animation: none; opacity: .5; }
    .hero-network-lines path, .hero-network-points circle { animation: none; }
    .hero-network-packets { display: none; }
}
