/* ezcyeat — bagian yang dipakai semua halaman: scrollbar, navbar ngambang, crosshair. */

html { scrollbar-color: var(--red-mid) var(--ink); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--red-mid); border: 2px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: var(--red-hot); }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- navbar ngambang ---------- */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%;
  width: min(1120px, calc(100% - 2 * var(--gutter)));
  transform: translate(-50%, 0);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 16px;
  background: var(--ink); color: var(--bone);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45); /* taste-skill-ignore: navbar ngambang = overlay */
  transition: transform 320ms cubic-bezier(.2,.8,.2,1), background-color 200ms ease;
}
.nav.is-up { transform: translate(-50%, calc(-100% - 24px)); }
.nav.is-top { background: transparent; box-shadow: none; } /* taste-skill-ignore */
.nav__mark { display: flex; align-items: center; gap: 10px; color: var(--bone); text-decoration: none; font-family: var(--font-display); font-size: 1.35rem; text-transform: uppercase; }
.nav__mark img { width: 36px; height: 36px; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { position: relative; padding: 10px 14px; color: var(--bone); text-decoration: none; font-weight: 700; transition: color 140ms ease; }
.nav__links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; background: var(--red-hot); transform: scaleX(0); transform-origin: left; transition: transform 220ms cubic-bezier(.2,.8,.2,1); }
.nav__links a:hover::after, .nav__links a.is-here::after { transform: scaleX(1); }
.nav .btn { min-height: 44px; padding: 0.4em 1.1em; font-size: 1.05rem; border-width: 0; }
.nav__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red-hot); transform: scaleX(0); transform-origin: left; }
.nav.is-top .nav__bar { opacity: 0; }
@media (max-width: 760px) { .nav__links { display: none; } }

/* ---------- crosshair ---------- */
.xh { position: fixed; z-index: 100; left: 0; top: 0; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity 160ms ease; }
.has-xh .xh.is-on { opacity: 1; }
.xh__rot { position: absolute; --g: 7px; transition: transform 220ms cubic-bezier(.2,.8,.2,1); }
.xh__rot i { position: absolute; background: var(--red-hot); outline: 1px solid rgba(0,0,0,.65); transition: transform 180ms cubic-bezier(.2,.8,.2,1), background-color 160ms ease; }
.xh__rot i:nth-child(1), .xh__rot i:nth-child(2) { width: 2px; height: 9px; left: -1px; }
.xh__rot i:nth-child(3), .xh__rot i:nth-child(4) { width: 9px; height: 2px; top: -1px; }
.xh__rot i:nth-child(1) { top: calc(-9px - var(--g)); }
.xh__rot i:nth-child(2) { top: var(--g); }
.xh__rot i:nth-child(3) { left: calc(-9px - var(--g)); }
.xh__rot i:nth-child(4) { left: var(--g); }
.xh__dot { position: absolute; width: 4px; height: 4px; margin: -2px; background: var(--bone); outline: 1px solid rgba(0,0,0,.65); transition: transform 160ms ease; }
.xh.is-hot .xh__rot { --g: 12px; transform: rotate(45deg); }
.xh.is-hot .xh__rot i { background: var(--bone); }
.xh.is-down .xh__rot { --g: 3px; }
.xh.is-down .xh__dot { transform: scale(1.6); }
.hit { position: fixed; z-index: 99; left: 0; top: 0; width: 0; height: 0; pointer-events: none; }
.hit i { position: absolute; width: 2px; height: 8px; margin: -4px -1px; background: var(--bone); outline: 1px solid rgba(0,0,0,.6); }
.hit i:nth-child(1) { transform: rotate(45deg) translateY(-12px); }
.hit i:nth-child(2) { transform: rotate(135deg) translateY(-12px); }
.hit i:nth-child(3) { transform: rotate(225deg) translateY(-12px); }
.hit i:nth-child(4) { transform: rotate(315deg) translateY(-12px); }
.hit b { position: absolute; width: 36px; height: 36px; margin: -18px; border: 2px solid var(--red-hot); border-radius: 50%; }
@media (hover: hover) and (pointer: fine) {
  .has-xh, .has-xh * { cursor: none !important; }
  .has-xh input[type="text"] { cursor: text !important; }
}

/* ---------- masuk per bagian ---------- */
.js [data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity 520ms ease, transform 560ms cubic-bezier(.2,.7,.2,1); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }

/* ---------- halaman pendek (getkey, 404): tembok penuh di belakang ---------- */
.solo { position: relative; min-height: 100svh; overflow: hidden; background: #070404; display: grid; place-items: center; padding: 112px var(--gutter) 84px; }
.solo__wall { position: absolute; top: -4%; left: -4%; width: 108%; max-width: none; height: 108%; object-fit: cover; opacity: .7; }
.solo__foot { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; padding-inline: var(--gutter); font-size: var(--t-small); color: var(--bone-2); }
.solo__foot a { color: var(--bone); }

@media (prefers-reduced-motion: reduce) {
  .js [data-stagger] > * { opacity: 1; transform: none; transition: none; }
  .nav, .xh__rot, .xh__rot i { transition: none; }
}

[hidden] { display: none !important; }
