/* Lapisan gerak gerbang antarmuka (hub): cincin orbit di lambang, urutan masuk bertahap, kisi latar, dan sorot kursor.
   Hanya memakai transform/translate/scale/opacity (jalur GPU). Dimuat setelah hub.css agar tidak mengubah berkas itu.
   Urutan masuk menunggu animasi pembuka selesai (html.ks-aktif). Semua gerak dikurangi bila pengguna memilih "kurangi gerakan". */
:root{--hf-ease:cubic-bezier(.23,1,.32,1)}

/* Kisi latar: garis tipis yang memudar ke tepi, bergeser pelan. Elemen disisipkan hub-futuristik.js. */
.hf-kisi{position:fixed;inset:-48px;z-index:0;pointer-events:none;opacity:.5;
  background-image:linear-gradient(rgba(255,255,255,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.09) 1px,transparent 1px);background-size:48px 48px;
  -webkit-mask-image:radial-gradient(ellipse at 50% 48%,#000 0%,rgba(0,0,0,.55) 45%,transparent 78%);mask-image:radial-gradient(ellipse at 50% 48%,#000 0%,rgba(0,0,0,.55) 45%,transparent 78%);
  animation:hf-geser 30s linear infinite;will-change:transform,translate}
@keyframes hf-geser{to{transform:translate(48px,48px)}}

/* Sorot cahaya yang mengikuti kursor (hanya penunjuk halus). */
.hf-sorot{position:fixed;left:0;top:0;width:560px;height:560px;z-index:0;pointer-events:none;opacity:0;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.2) 0%,rgba(255,255,255,.07) 38%,transparent 68%);transition:opacity .4s var(--hf-ease);will-change:translate,opacity}
.hf-sorot.aktif{opacity:1}

/* Cincin orbit di sekeliling lambang: busur terang berputar searah, cincin putus-putus berputar berlawanan. Gerak konstan = linear. */
.core::before,.core::after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.core::before{inset:-20px;background:conic-gradient(from 0deg,rgba(255,255,255,0) 0 45%,rgba(255,255,255,.95) 100%);
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 2.5px),#000 calc(100% - 1.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 2.5px),#000 calc(100% - 1.5px));
  animation:hf-putar 14s linear infinite}
.core::after{inset:-38px;border:1.5px dashed rgba(255,255,255,.42);animation:hf-putar 32s linear infinite reverse}
@keyframes hf-putar{to{transform:rotate(360deg)}}

/* Urutan masuk setelah animasi pembuka: naik tipis + muncul, jeda 70ms antarunsur. Nilai akhir dibiarkan mengikuti gaya aslinya. */
html:not(.ks-aktif) .hubchip,html:not(.ks-aktif) .hublapor,html:not(.ks-aktif) .hubhead h1,html:not(.ks-aktif) .hubhead p,
html:not(.ks-aktif) .hubnote,html:not(.ks-aktif) .hubfoot{animation:hf-masuk .65s var(--hf-ease) calc(var(--k,0) * 70ms) backwards}
html:not(.ks-aktif) .core{animation:hf-inti .8s var(--hf-ease) 280ms backwards}
.hubchip{--k:0}.hublapor{--k:1}.hubhead h1{--k:2}.hubhead p{--k:3}.hubnote{--k:6}.hubfoot{--k:7}
@keyframes hf-masuk{from{opacity:0;translate:0 12px}}
@keyframes hf-inti{from{opacity:0;scale:.86}}

/* Pegangan kursor di lambang: halus, tanpa pantulan. */
@media (hover:hover) and (pointer:fine){
  .core:hover::before{filter:drop-shadow(0 0 6px rgba(255,255,255,.8))}
}

@media (prefers-reduced-motion:reduce){
  .hf-kisi,.hf-sorot{display:none}
  .core::before,.core::after{animation:none}
  html:not(.ks-aktif) .hubchip,html:not(.ks-aktif) .hublapor,html:not(.ks-aktif) .hubhead h1,html:not(.ks-aktif) .hubhead p,
  html:not(.ks-aktif) .hubnote,html:not(.ks-aktif) .hubfoot,html:not(.ks-aktif) .core{animation:none}
}
