/* Netezis theme: homepage hero 3D centrepiece (nzh3d). Lives inside .nzh-scene, replaces .nzh-glow / .nzh-stack / .nzh-orbit.
   The object itself is drawn by hero3d.js on the canvas; this file only places it and adds the soft aura behind it. */
.nzh3d {
    position: absolute; left: 50%; top: 50%;
    /* Slightly wider than the glass panel and nudged left, so the object overhangs the panel's left edge a little */
    width: min(118%, 720px); height: min(100%, 800px);
    transform: translate(-59.5%, -50%);
    -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; touch-action: pan-y;
}
.nzh3d::before {
    content: ""; position: absolute; left: 50%; top: 52%; width: 64%; aspect-ratio: 1; margin: -32% 0 0 -32%;
    border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(55, 130, 241, .34), rgba(123, 215, 255, .20) 45%, rgba(123, 215, 255, 0) 70%);
    filter: blur(36px); animation: nzh3d-aura 5s ease-in-out infinite;
}
@keyframes nzh3d-aura { 50% { opacity: .6; } }
.nzh3d-canvas {
    position: absolute; inset: 0; display: block; width: 100%; height: 100%;
    opacity: 0; transition: opacity .6s ease;
}
.nzh3d-on .nzh3d-canvas { opacity: 1; }
.nzh3d-hot { cursor: pointer; }

/* No WebGL (or only software WebGL): a pre-rendered still of the same object */
.nzh3d-nogl { background: url(../img/hero3d-poster.webp) 50% 50% / contain no-repeat; }
.nzh3d-nogl .nzh3d-canvas { display: none; }

@media (max-width: 991.98px) {
    /* Static rounded box (380px / 340px tall): centred, never wider than the box */
    .nzh3d { width: min(100%, 560px); height: 100%; transform: translate(-50%, -50%); }
}
@media (prefers-reduced-motion: reduce) {
    .nzh3d::before { animation: none; }
    .nzh3d-canvas { transition: none; }
}
