/* Home · desktop 3D corridor ("Lorong Pintu"). Only active when <html> has .d3 */
.corridor { display: none; }
html.d3 .corridor { display: block; position: relative; height: 720vh; }
html.d3 .hero, html.d3 .marquee, html.d3 #games, html.d3 #archive { display: none; }

.c-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #050505; }
#c3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.c-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(110% 90% at 50% 50%, transparent 45%, rgba(0,0,0,.75) 100%); }

.c-intro { position: absolute; left: 0; right: 0; bottom: 10vh; z-index: 3; pointer-events: none; }
.c-intro .kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.c-intro .title { font-family: var(--font-display); text-transform: uppercase; line-height: .86; font-size: clamp(96px, 13vw, 220px); margin: 14px 0 0; text-shadow: 0 10px 60px rgba(0,0,0,.6); }
.c-intro .title em { font-family: var(--font-serif); text-transform: none; color: var(--accent); font-size: .38em; vertical-align: .6em; margin-left: .2em; }
.c-intro p { font-family: var(--font-serif); font-size: clamp(22px, 2.2vw, 32px); margin: 18px 0 0; max-width: 26ch; }

.c-labels { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.c-tag { position: absolute; left: 0; top: 0; display: block; min-width: 220px; padding: 14px 16px; text-decoration: none; color: var(--fg); background: rgba(8,8,8,.55); border: 1px solid rgba(236,233,225,.18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: border-color .3s, background .3s; will-change: transform, opacity; }
.c-tag.vis { pointer-events: auto; }
.c-tag .n { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: block; }
.c-tag b { display: block; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 40px; line-height: 1; margin: 6px 0 6px; }
.c-tag small { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.c-tag .go { display: block; margin-top: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.c-tag.hot { border-color: var(--glow, var(--accent)); background: rgba(8,8,8,.75); }
.c-tag.hot b { color: var(--glow, var(--accent)); }
.c-tag.soon b { color: transparent; -webkit-text-stroke: 1px var(--muted); }

.c-hud { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 0 max(16px, calc((100% - 1240px) / 2)); font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.c-hud .track { width: 180px; height: 1px; background: rgba(236,233,225,.2); margin: 0 16px; position: relative; }
.c-hud .track i { position: absolute; left: 0; top: -1px; height: 3px; width: 0; background: var(--accent); }
.c-hud .left { display: flex; align-items: center; }
.c-sound { border: 1px solid currentColor; border-radius: 99px; padding: 8px 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg); pointer-events: auto; }
.c-sound[aria-pressed="true"] { color: var(--accent); }
.c-fade { position: absolute; inset: 0; z-index: 6; background: #000; opacity: 0; pointer-events: none; transition: opacity .9s ease; }
.c-fade.on { opacity: 1; }
.c-wait { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
html.d3-live .c-wait { display: none; }
