/* =====================================================================
   SLABGODS — tampilan: hitam pekat (AMOLED) + krom perak + aksen foil holo.
   Aksen holo dipakai hemat (garis tipis, stiker, tepi tombol), bukan blok besar.
   ===================================================================== */
:root {
  --bg: #050506;
  --bg-2: #0b0c0e;
  --panel: #0e0f12;
  --ink: #f3f4f6;
  --ink-2: #c9ccd3;
  --mute: #8a8f99;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --chrome: linear-gradient(180deg, #ffffff 0%, #d6d9df 38%, #8d929c 52%, #e9ebef 70%, #b9bdc5 100%);
  --holo: linear-gradient(100deg, #ff9ad5, #ffd28a 18%, #b8ff9e 36%, #8ee9ff 54%, #a99bff 72%, #ff9ad5 90%);
  --ok: #9ef0c0;
  --shu: #a78bfa; /* amethyst kaca patri — aksen merek, dipakai hemat */
  --glass: linear-gradient(100deg, #7c5cff, #c084fc 30%, #60a5fa 55%, #f472b6 80%, #7c5cff);
  --warn: #ffd28a;
  --radius: 14px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --goth: "Grenze Gotisch", "UnifrakturCook", Georgia, serif; /* huruf blackletter gotik untuk judul */
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.mono { font-family: var(--mono); letter-spacing: 0.02em; }
.xs { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.mute { color: var(--mute); }
.center { text-align: center; }
.dim { color: #6f747e; }
.chrome {
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
}
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #c9ccd3; outline-offset: 3px; border-radius: 6px; }

/* ---------- tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, opacity .2s;
}
.btn:active { transform: scale(.98); }
.btn-light { background: linear-gradient(180deg, #ffffff, #d9dce2); color: #0a0a0c; box-shadow: inset 0 -1px 0 rgba(0,0,0,.15), 0 8px 30px rgba(255,255,255,.08); position: relative; }
.btn-light:hover { background: linear-gradient(180deg, #ffffff, #eceef2); }
.btn-light::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: var(--holo); opacity: 0; transition: opacity .3s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.btn-light:hover::after { opacity: .9; }
.btn-ghost { border-color: var(--line-2); color: var(--ink-2); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: rgba(255,255,255,.3); color: var(--ink); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }

/* ---------- gerbang 18+ ---------- */
.gate {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px;
  background: radial-gradient(60% 60% at 50% 40%, rgba(40,42,48,.55), rgba(0,0,0,.92)), rgba(5,5,6,.75);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.gate-slab {
  width: min(460px, 100%); border-radius: 22px; padding: 12px;
  background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.04) 40%, rgba(255,255,255,.1));
  border: 1px solid rgba(255,255,255,.25); box-shadow: 0 40px 120px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.35);
}
.gate-label {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: linear-gradient(180deg, #f6f7f9, #dcdfe4); color: #0a0a0c; border-radius: 12px; padding: 16px 18px;
  border-top: 6px solid var(--shu);
}
.gate-label .mute { color: #50545c; }
.gate-label h2 { margin: 4px 0; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.gate-grade { text-align: right; line-height: 1; }
.gate-grade b { font-size: 54px; font-weight: 800; letter-spacing: -0.04em; display: block; }
.gate-grade span { font: 600 10px var(--mono); letter-spacing: .14em; }
.gate-body { padding: 16px 8px 6px; display: grid; gap: 2px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.check input { appearance: none; width: 20px; height: 20px; margin: 1px 0 0; border-radius: 6px; border: 1.5px solid #6c717b; display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: #f3f4f6; border-color: #f3f4f6; }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid #0a0a0c; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px,-1px); }
.gate .btn { margin-top: 16px; }
.gate p { margin: 12px 0 4px; line-height: 1.7; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 28px;
  background: linear-gradient(180deg, rgba(5,5,6,.85), rgba(5,5,6,.55)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-holo { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--holo); opacity: .35; }
.brand { display: flex; align-items: center; gap: 10px; }
.wordmark { font-weight: 700; letter-spacing: 0.22em; font-size: 15px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--ink-2); }
.icon-btn:hover { color: var(--ink); border-color: rgba(255,255,255,.3); }
.ca-chip {
  height: 36px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.03); font: 500 12.5px var(--mono); color: var(--ink-2);
}
.ca-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--holo); box-shadow: 0 0 10px rgba(180,220,255,.6); }

/* ---------- hero: cerita gulir ---------- */
.story { position: relative; height: 380vh; }
.story-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.story-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 70% at 70% 50%, rgba(5,5,6,.2), rgba(5,5,6,.92) 75%),
    linear-gradient(90deg, rgba(5,5,6,.96) 0%, rgba(5,5,6,.6) 45%, rgba(5,5,6,.35) 100%),
    url("../media/cathedral-hd.webp") center/cover no-repeat;
  filter: saturate(.6) brightness(.8);
  transform: scale(1.06);
}
#slab { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
/* bayangan di atas kanvas supaya teks kiri tetap terbaca (latar kini digambar di WebGL) */
.story-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(5,5,6,.96) 0%, rgba(5,5,6,.86) 30%, rgba(5,5,6,.35) 50%, rgba(5,5,6,0) 64%),
              linear-gradient(180deg, rgba(5,5,6,.35) 0%, rgba(5,5,6,0) 18%, rgba(5,5,6,0) 82%, var(--bg) 100%); }
#slab:active { cursor: grabbing; }
.story-copy { position: absolute; left: 0; top: 0; bottom: 0; width: min(620px, 52vw); padding: 0 0 0 clamp(20px, 6vw, 96px); display: grid; align-items: center; pointer-events: none; }
.beat { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.beat.is-on { opacity: 1; transform: none; pointer-events: auto; }
.nowrap { white-space: nowrap; }
.beat h1 { margin: 22px 0 18px; font-size: clamp(40px, 5.4vw, 82px); line-height: .98; font-weight: 700; letter-spacing: -0.045em; }
.beat h2 { margin: 12px 0 14px; font-size: clamp(44px, 6vw, 88px); line-height: 1; font-weight: 700; letter-spacing: -0.045em; }
.beat p { max-width: 460px; color: var(--ink-2); font-size: 18px; margin: 0 0 26px; }
.beat .lede { font-size: 18.5px; }
.beat-num { font-size: 12px; letter-spacing: .2em; color: var(--mute); }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.live-pill {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.04); font: 500 12.5px var(--mono); letter-spacing: .04em; color: var(--ink-2);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(158,240,192,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(158,240,192,0); } 100% { box-shadow: 0 0 0 0 rgba(158,240,192,0); } }
.rail { position: absolute; right: 28px; top: 50%; height: 180px; width: 2px; transform: translateY(-50%); background: var(--line-2); }
.rail-fill { position: absolute; left: 0; top: 0; width: 2px; height: 0; background: var(--ink); transition: height .2s linear; }
.rail i { position: absolute; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--bg); border: 1.5px solid #6c717b; transition: background .3s, border-color .3s; }
.rail i[data-tick="0"] { top: -4px; } .rail i[data-tick="1"] { top: calc(33.3% - 4px); } .rail i[data-tick="2"] { top: calc(66.6% - 4px); } .rail i[data-tick="3"] { top: calc(100% - 4px); }
.rail i.on { background: var(--ink); border-color: var(--ink); }
.hint { position: absolute; right: 64px; bottom: 34px; color: var(--mute); display: flex; gap: 8px; align-items: center; transition: opacity .4s; }
.hint-ico { font-size: 14px; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); color: var(--mute); transition: opacity .4s; }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 26px; margin: 8px auto 0; background: linear-gradient(var(--mute), transparent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- pita angka ---------- */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stat { padding: 26px 28px; border-left: 1px solid var(--line); display: grid; gap: 6px; }
.stat:first-child { border-left: 0; }
.stat .k { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.stat b { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

/* ---------- bagian umum ---------- */
.sec { position: relative; padding: 120px clamp(16px, 6vw, 96px); max-width: 1440px; margin: 0 auto; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-head h2, .split h2 { margin: 12px 0 0; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; font-weight: 700; letter-spacing: -0.04em; }
.sec-side { max-width: 400px; color: var(--ink-2); margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--shu); }
.body { color: var(--ink-2); font-size: 17px; max-width: 520px; }
.fine { color: var(--mute); font-size: 13.5px; max-width: 520px; }

/* ---------- pantheon (galeri kartu) ---------- */
.pantheon { padding-bottom: 40px; }
.p-nav { display: flex; gap: 8px; }
.p-nav .icon-btn { display: grid; width: 42px; height: 42px; font-size: 16px; background: transparent; }
.p-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 232px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.p-rail::-webkit-scrollbar { display: none; }
.god { scroll-snap-align: start; display: grid; gap: 12px; }
.god .art { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #08080a; transform: perspective(700px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .2s ease-out, border-color .25s; }
.god .art img { width: 100%; height: 100%; object-fit: cover; }
.god .art::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: color-dodge; opacity: 0; transition: opacity .3s;
  background: linear-gradient(115deg, transparent 20%, rgba(255,154,213,.5) 35%, rgba(142,233,255,.5) 50%, rgba(184,255,158,.45) 62%, transparent 78%);
  background-size: 250% 250%; background-position: var(--hx, 50%) var(--hy, 50%); }
.god:hover .art { border-color: rgba(255,255,255,.3); }
.god:hover .art::after { opacity: .5; }
.god .no { position: absolute; top: 10px; left: 10px; font: 600 10.5px var(--mono); letter-spacing: .1em; padding: 4px 8px; border-radius: 999px; background: rgba(5,5,6,.75); border: 1px solid var(--line-2); }
.god h4 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.god span.k { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.p-note { margin: 6px 0 0; }

/* ---------- tab ---------- */
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); }
.tab { height: 34px; padding: 0 16px; border-radius: 999px; border: 0; background: transparent; color: var(--mute); font-size: 13.5px; font-weight: 500; }
.tab.is-on { background: #f3f4f6; color: #0a0a0c; }
.mode-note { margin: -18px 0 28px; padding: 12px 16px; border: 1px dashed rgba(255,210,138,.35); border-radius: 12px; color: #e9d2a8; font-size: 14px; background: rgba(255,210,138,.04); }

/* ---------- kartu undian ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.rcard {
  position: relative; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, #0f1013, #0a0a0c);
  padding: 18px; display: grid; gap: 14px; cursor: pointer; transition: border-color .25s, transform .25s;
  text-align: left; color: inherit;
}
.rcard:hover { border-color: var(--line-2); transform: translateY(-3px); }
.rcard .state { position: absolute; top: 14px; right: 14px; z-index: 2; }
.slabmini { position: relative; aspect-ratio: 0.62; border-radius: 12px; padding: 7px; perspective: 900px;
  background: linear-gradient(160deg, rgba(255,255,255,.2), rgba(255,255,255,.05) 40%, rgba(255,255,255,.12));
  border: 1px solid rgba(255,255,255,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
}
.slabmini .lab { height: 17%; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #f5f6f8, #d9dce1); color: #0a0a0c; display: flex; justify-content: space-between; align-items: center; padding: 0 9px; border-top: 3px solid var(--shu); }
.slabmini .lab small { font: 600 8.5px var(--mono); letter-spacing: .08em; display: block; line-height: 1.3; max-width: 120px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.slabmini .lab b { font-size: 22px; font-weight: 800; letter-spacing: -0.04em; }
.slabmini .win { position: relative; margin-top: 7px; height: calc(83% - 7px); border-radius: 5px; background: #08080a; padding: 6px; overflow: hidden; }
.slabmini .win img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.slabmini .win::after { /* kilau foil yang ikut kursor */
  content: ""; position: absolute; inset: 6px; border-radius: 4px; pointer-events: none; mix-blend-mode: color-dodge; opacity: .0;
  background: linear-gradient(115deg, transparent 20%, rgba(255,154,213,.5) 35%, rgba(142,233,255,.5) 50%, rgba(184,255,158,.45) 62%, transparent 78%);
  background-size: 250% 250%; background-position: var(--hx, 50%) var(--hy, 50%); transition: opacity .3s;
}
.rcard:hover .slabmini .win::after { opacity: .55; }
.rcard h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.rcard .meta { font: 500 11.5px var(--mono); color: var(--mute); letter-spacing: .04em; text-transform: uppercase; }
.rcard .nums { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); }
.rcard .nums b { color: var(--ink); font-weight: 600; }
.bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8d929c, #f3f4f6); }
.bar.full > i { background: var(--holo); }
.rcard .foot { display: flex; justify-content: space-between; align-items: center; font: 500 12px var(--mono); color: var(--mute); }
.rcard .foot b { color: var(--ink); font-weight: 500; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font: 600 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; background: rgba(10,10,12,.85); border: 1px solid var(--line-2); color: var(--ink-2); }
.badge.live { color: var(--ok); border-color: rgba(158,240,192,.35); }
.badge.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.badge.drawing { color: var(--warn); border-color: rgba(255,210,138,.35); }
.badge.holo { color: #0a0a0c; border: 0; background: var(--holo); }
.badge.demo { color: #e9d2a8; border-color: rgba(255,210,138,.3); }
.empty { padding: 48px; border: 1px dashed var(--line-2); border-radius: 18px; color: var(--mute); text-align: center; }

/* ---------- brankas ---------- */
.vault { overflow: hidden; max-width: none; }
.vault > * { max-width: 1248px; margin-left: auto; margin-right: auto; position: relative; }
.vault-bg { position: absolute !important; inset: 0; max-width: none !important; background: linear-gradient(180deg, var(--bg), rgba(5,5,6,.78) 30%, rgba(5,5,6,.78) 70%, var(--bg)), url("../media/crypt.webp") center/cover; filter: saturate(.8) brightness(.6); }
.vault-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.vslot { border-radius: 16px; border: 1px solid var(--line); background: rgba(10,10,12,.7); padding: 14px; display: grid; gap: 10px; backdrop-filter: blur(6px); }
.vslot .slabmini { aspect-ratio: 0.64; }
.vslot.ghost .slabmini { background: rgba(255,255,255,.03); border-style: dashed; box-shadow: none; }
.vslot.ghost .win { display: grid; place-items: center; color: #4b4f57; font: 500 11px var(--mono); letter-spacing: .14em; background: repeating-linear-gradient(135deg, #0a0a0c 0 10px, #0d0e11 10px 20px); }
.vslot h4 { margin: 0; font-size: 15px; font-weight: 600; }
.vslot .meta { font: 500 11px var(--mono); color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- verifikasi ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 0; max-width: 520px; }
.steps li { display: flex; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--ink-2); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .mono { color: var(--mute); font-size: 13px; padding-top: 2px; }
code { font-family: var(--mono); font-size: .92em; background: rgba(255,255,255,.06); padding: 1px 6px; border-radius: 5px; }
.verifier { border: 1px solid var(--line-2); border-radius: 22px; padding: 22px; background: linear-gradient(180deg, #101114, #0a0a0c); display: grid; gap: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.v-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--mute); }
select, input[type="text"], .field input:not([type="range"]) {
  background: #08080a; border: 1px solid var(--line-2); border-radius: 10px; color: var(--ink); height: 42px; padding: 0 12px; font: 500 14px var(--sans); width: 100%; min-width: 0;
}
select { width: auto; max-width: 60%; font-size: 13px; height: 34px; }
.field { display: grid; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.field input.mono { font-family: var(--mono); font-size: 13px; }
.v-out { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 4px; }
.v-out b { font-size: 56px; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
#v-owner { color: var(--ink-2); word-break: break-all; font-size: 12.5px; }

/* ---------- pilihan pemenang ---------- */
.exits { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.exit { position: relative; border: 1px solid var(--line); border-radius: 22px; padding: 34px; background: linear-gradient(180deg, #0f1013, #0a0a0c); display: grid; gap: 10px; align-content: start; }
.exit h3 { margin: 6px 0 4px; font-size: clamp(40px, 4.5vw, 64px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.exit p { margin: 0; color: var(--ink-2); max-width: 440px; }
.exit-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--mute); }
.exit-hot { border-color: rgba(255,255,255,.22); box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 30px 90px rgba(0,0,0,.45); }
.tag { position: absolute; top: 22px; right: 22px; font: 600 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--holo); color: #0a0a0c; }

/* ---------- pemegang token ---------- */
.holders { background: linear-gradient(180deg, var(--bg), #0b0c0f 18%, #0b0c0f 82%, var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.h-grid { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 18px; }
.h-tile { border: 1px solid var(--line); border-radius: 22px; padding: 28px; background: #0a0a0c; display: grid; gap: 8px; align-content: start; }
.h-tile .big { font-size: 76px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-tile h3 { margin: 6px 0 0; font-size: 20px; font-weight: 600; }
.h-tile p { margin: 0; color: var(--ink-2); font-size: 15px; }
.h-num { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.h-num b { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.calc { gap: 16px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 99px; background: rgba(255,255,255,.12); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #f3f4f6; border: 0; box-shadow: 0 2px 10px rgba(0,0,0,.5); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #f3f4f6; border: 0; }
.token-row { margin-top: 18px; border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: #0a0a0c; }
.token-row > div { display: grid; gap: 4px; min-width: 0; }
.token-row b { font: 500 14px var(--mono); word-break: break-all; }

/* ---------- catatan kecil & footer ---------- */
.fp-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.fp-grid p { margin: 0; color: var(--mute); font-size: 14px; border-top: 1px solid var(--line); padding-top: 16px; }
.fp-grid b { color: var(--ink-2); font-weight: 600; }
.foot { padding: 56px clamp(16px, 6vw, 96px) 40px; border-top: 1px solid var(--line); display: grid; gap: 18px; max-width: 1440px; margin: 0 auto; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 24px; font-size: 14px; color: var(--ink-2); }
.foot-addr { color: var(--mute); display: grid; gap: 6px; word-break: break-all; }
.foot-addr a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.2); }

/* ---------- panel undian (drawer) ---------- */
.drawer {
  width: min(980px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--line-2); border-radius: 26px;
  background: linear-gradient(180deg, #111216, #0a0a0c); color: var(--ink); box-shadow: 0 60px 160px rgba(0,0,0,.8); overflow: auto;
}
.drawer::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.d-close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(0,0,0,.4); font-size: 22px; line-height: 1; z-index: 3; }
.d-body { display: grid; grid-template-columns: 380px 1fr; gap: 0; }
.d-art { padding: 28px; border-right: 1px solid var(--line); background: radial-gradient(80% 60% at 50% 40%, rgba(255,255,255,.06), transparent); display: grid; gap: 16px; align-content: start; }
.d-art .slabmini { max-width: 320px; margin: 0 auto; width: 100%; transform-style: preserve-3d; transition: transform .15s ease-out; }
.d-info { padding: 34px 32px 30px; display: grid; gap: 18px; align-content: start; }
.d-info h3 { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.kv div { padding: 12px 14px; border-left: 1px solid var(--line); display: grid; gap: 2px; }
.kv div:nth-child(3n+1) { border-left: 0; }
.kv div:nth-child(n+4) { border-top: 1px solid var(--line); }
.kv span { font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.kv b { font-weight: 600; font-variant-numeric: tabular-nums; font-size: 17px; }
.buybox { border: 1px solid var(--line-2); border-radius: 16px; padding: 16px; display: grid; gap: 14px; background: rgba(255,255,255,.02); }
.qty { display: flex; align-items: center; gap: 10px; }
.qty button { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: #08080a; font-size: 20px; }
.qty input { width: 90px !important; text-align: center; font: 600 18px var(--sans) !important; }
.qty .quick { margin-left: auto; display: flex; gap: 6px; }
.qty .quick button { width: auto; padding: 0 10px; height: 32px; font: 500 12px var(--mono); border-radius: 999px; }
.buyline { display: flex; justify-content: space-between; color: var(--ink-2); font-size: 14px; }
.buyline b { color: var(--ink); }
.stepper { display: flex; gap: 8px; font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.stepper span { flex: 1; padding-top: 8px; border-top: 2px solid var(--line-2); }
.stepper span.on { color: var(--ink); border-color: var(--ink); }
.stepper span.done { color: var(--ok); border-color: var(--ok); }
.reveal { border: 1px solid var(--line-2); border-radius: 16px; padding: 18px; display: grid; gap: 8px; text-align: center; background: rgba(255,255,255,.02); }
.reveal .roll { font: 700 64px var(--sans); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.reveal .who { font: 500 13px var(--mono); color: var(--ink-2); word-break: break-all; }
.reveal.won { border-color: transparent; background: linear-gradient(#0f1013, #0f1013) padding-box, var(--holo) border-box; border: 1px solid transparent; }
.proof { font: 500 12px var(--mono); color: var(--mute); word-break: break-all; display: grid; gap: 4px; }
.proof a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.holders-list { max-height: 180px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; font: 500 12px var(--mono); }
.holders-list div { display: flex; justify-content: space-between; padding: 8px 12px; border-top: 1px solid var(--line); color: var(--ink-2); }
.holders-list div:first-child { border-top: 0; }
.holders-list .me { color: var(--ink); background: rgba(255,255,255,.04); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 200; padding: 12px 18px; border-radius: 12px; background: #f3f4f6; color: #0a0a0c; font-size: 14px; font-weight: 500; transition: opacity .25s, transform .25s; pointer-events: none; max-width: calc(100vw - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: #ffb4b4; }

/* ---------- reveal saat gulir (opacity/transform, BUKAN clip-path) ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }

/* ---------- layar sedang ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
  .h-grid { grid-template-columns: 1fr 1fr; }
  .calc { grid-column: 1 / -1; }
  .fp-grid { grid-template-columns: 1fr 1fr; }
  .d-body { grid-template-columns: 1fr; }
  .d-art { border-right: 0; border-bottom: 1px solid var(--line); }
  .d-art .slabmini { max-width: 230px; }
}

/* ---------- HP ---------- */
@media (max-width: 760px) {
  .nav { padding: 0 16px; height: 60px; }
  .wordmark { font-size: 13px; letter-spacing: .18em; }
  .icon-btn { display: none; }
  .ca-chip { padding: 0 10px; font-size: 11px; }
  .story { height: 340vh; }
  .story-copy { width: 100%; padding: 0 16px 92px; align-items: end; }
  .beat h1 { font-size: 42px; margin: 14px 0 12px; }
  .beat h2 { font-size: 44px; }
  .beat p { font-size: 16px; margin-bottom: 18px; }
  .story-bg { background:
    linear-gradient(180deg, rgba(5,5,6,.35) 0%, rgba(5,5,6,.6) 34%, rgba(5,5,6,.98) 52%),
    url("../media/cathedral-hd.webp") center/cover no-repeat; }
  .rail { right: 12px; height: 120px; top: 30%; }
  .story-shade { background: linear-gradient(180deg, rgba(5,5,6,.2) 0%, rgba(5,5,6,.35) 36%, rgba(5,5,6,.96) 54%, var(--bg) 100%); }
  .hint { display: none; }
  .scroll-cue { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 16px; border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .stat:first-child, .stat:nth-child(2) { border-top: 0; }
  .stat:last-child { grid-column: 1 / -1; }
  .stat b { font-size: 24px; }
  .sec { padding: 80px 16px; }
  .sec-head { margin-bottom: 28px; }
  .split, .exits, .h-grid, .fp-grid { grid-template-columns: 1fr; gap: 16px; }
  .exit { padding: 24px; }
  .kv { grid-template-columns: 1fr 1fr; }
  .kv div { border-left: 1px solid var(--line) !important; border-top: 1px solid var(--line) !important; }
  .kv div:nth-child(odd) { border-left: 0 !important; }
  .kv div:nth-child(-n+2) { border-top: 0 !important; }
  .d-info { padding: 22px 18px; }
  .d-info h3 { font-size: 26px; }
  .qty .quick { display: none; }
  .vault-row { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .beat { transition: none; }
}


/* =====================================================================
   LAPISAN GOTIK — katedral relikui: judul blackletter, aksen amethyst,
   bingkai lengkung runcing (jendela katedral), cahaya kaca patri.
   ===================================================================== */
.beat h1, .beat h2, .sec-head h2, .split h2, .exit h3, .h-tile .big, .gate-label h2, .d-info h3 {
  font-family: var(--goth); font-weight: 700; letter-spacing: 0;
}
.beat h1 { font-size: clamp(48px, 6.4vw, 100px); line-height: .92; }
.beat h2 { font-size: clamp(52px, 6.6vw, 104px); line-height: .95; }
.sec-head h2, .split h2 { font-size: clamp(42px, 5.2vw, 76px); line-height: .98; }
.exit h3 { font-size: clamp(48px, 5vw, 76px); }
.h-tile .big { font-size: 88px; }
.gate-label h2 { font-size: 38px; }
.d-info h3 { font-size: 40px; line-height: 1; }
.wordmark { font-family: var(--goth); font-weight: 700; font-size: 25px; letter-spacing: .02em; text-transform: none; }
.nav-holo { background: var(--glass); opacity: .55; }
.eyebrow::before { content: "✦"; width: auto; height: auto; background: none; color: var(--shu); font-size: 10px; }
.eyebrow::after { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, var(--shu), transparent); }
.dim { color: #767088; }
.chrome { background: linear-gradient(180deg, #ffffff 0%, #e4dcff 34%, #8f86a8 52%, #f2eeff 70%, #b8b0cc 100%); -webkit-background-clip: text; background-clip: text; }
.gate-label { border-top-color: var(--shu); }
.slabmini .lab { border-top-color: #7c5cff; }
.btn-light::after { background: var(--glass); }
.badge.live { color: #c4b5fd; border-color: rgba(167,139,250,.4); }
.badge.live::before { background: #c4b5fd; }
.pulse { background: #c4b5fd; animation-name: pulseV; }
@keyframes pulseV { 70% { box-shadow: 0 0 0 9px rgba(196,181,253,0); } 100% { box-shadow: 0 0 0 0 rgba(196,181,253,0); } }

/* sudut ornamen tipis di kartu undian & panel (braket gotik) */
.rcard::before, .exit::before, .h-tile::before, .verifier::before {
  content: ""; position: absolute; inset: 8px; pointer-events: none; border-radius: 12px;
  background:
    linear-gradient(var(--shu), var(--shu)) top left / 14px 1px no-repeat,
    linear-gradient(var(--shu), var(--shu)) top left / 1px 14px no-repeat,
    linear-gradient(var(--shu), var(--shu)) top right / 14px 1px no-repeat,
    linear-gradient(var(--shu), var(--shu)) top right / 1px 14px no-repeat,
    linear-gradient(var(--shu), var(--shu)) bottom left / 14px 1px no-repeat,
    linear-gradient(var(--shu), var(--shu)) bottom left / 1px 14px no-repeat,
    linear-gradient(var(--shu), var(--shu)) bottom right / 14px 1px no-repeat,
    linear-gradient(var(--shu), var(--shu)) bottom right / 1px 14px no-repeat;
  opacity: .55;
}
.h-tile, .verifier { position: relative; }

/* Pantheon: tiap kartu dibingkai lengkung runcing seperti jendela kaca patri */
.p-rail { grid-auto-columns: 232px; }
.god .art { border: 0; border-radius: 0; background: #0b0a10;
  clip-path: path("M0,309 L0,164 A174,174 0 0 1 116,0 A174,174 0 0 1 232,164 L232,309 Z"); }
.god .frame { position: absolute; inset: 0; pointer-events: none; }
.god .no { top: auto; bottom: 12px; left: 12px; }
.god:hover .art { filter: brightness(1.08); }

/* cahaya kaca patri berwarna di bagian holder */
.holders { background:
  radial-gradient(40% 50% at 12% 20%, rgba(124,92,255,.14), transparent 70%),
  radial-gradient(35% 45% at 88% 70%, rgba(244,114,182,.10), transparent 70%),
  radial-gradient(30% 40% at 60% 10%, rgba(96,165,250,.08), transparent 70%),
  linear-gradient(180deg, var(--bg), #0b0a0f 18%, #0b0a0f 82%, var(--bg)); }

/* footer: wordmark blackletter besar yang memudar */
.foot-mark { font-family: var(--goth); font-weight: 700; font-size: clamp(72px, 16vw, 230px); line-height: .9; text-align: center;
  background: linear-gradient(180deg, rgba(228,220,255,.22), rgba(228,220,255,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 10px 0 -8px; user-select: none; }
@media (max-width: 760px) {
  .beat h1 { font-size: 46px; }
  .beat h2 { font-size: 52px; }
  .wordmark { font-size: 21px; }
}

/* ---------- kartu CA di hero ---------- */
.ca-card { margin-top: 24px; max-width: 540px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 12px 12px 16px; border-radius: 16px; border: 1px solid rgba(167,139,250,.38);
  background: linear-gradient(180deg, rgba(20,16,32,.85), rgba(10,9,14,.85)); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ca-l { display: grid; gap: 3px; min-width: 0; }
.ca-l b { font-size: 13.5px; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-r { display: flex; gap: 8px; flex: none; }
.ca-card.live { border-color: rgba(158,240,192,.45); }
@media (max-width: 760px) {
  .cta-row .btn-ghost { display: none; }
  .ca-card { margin-top: 16px; padding: 10px 10px 10px 14px; }
  .ca-r .btn { padding: 0 12px; }
}

/* ---------- Pantheon: kartu koleksi berjalan (marquee) ---------- */
.p-marquee { position: relative; overflow: hidden; margin: 0 calc(-1 * clamp(16px, 6vw, 96px)); padding: 18px 0 26px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.p-track { display: flex; gap: 22px; width: max-content; animation: pmove 70s linear infinite; }
.p-marquee:hover .p-track { animation-play-state: paused; }
@keyframes pmove { to { transform: translateX(calc(-50% - 11px)); } }
.p-track .god { width: 236px; flex: none; perspective: 900px; }
.tcard { position: relative; aspect-ratio: 63 / 88; border-radius: 14px; padding: 9px; display: flex; flex-direction: column; gap: 7px;
  background: linear-gradient(150deg, #e9e6f2, #9c97ad 30%, #d9d4e6 52%, #7d7891 74%, #e4e0ee);
  box-shadow: 0 24px 50px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.4);
  transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .25s ease-out; }
.tcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; mix-blend-mode: color-dodge; opacity: .18;
  background: linear-gradient(115deg, transparent 20%, rgba(255,154,213,.55) 35%, rgba(142,233,255,.55) 50%, rgba(184,255,158,.5) 62%, transparent 78%);
  background-size: 250% 250%; background-position: var(--hx, 30%) var(--hy, 30%); transition: opacity .3s; }
.god:hover .tcard::after { opacity: .6; }
.tc-top, .tc-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 9px; border-radius: 7px;
  background: linear-gradient(180deg, #17151f, #0b0a10); color: #f3f1fa; }
.tc-name { font-family: var(--goth); font-weight: 700; font-size: 19px; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-no { font: 600 10px var(--mono); letter-spacing: .08em; color: #cbbcff; flex: none; }
.tc-art { flex: 1; min-height: 0; border-radius: 6px; overflow: hidden; background: #08080a; box-shadow: inset 0 0 0 2px rgba(10,10,14,.9); }
.tc-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-foot { font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; }
.tc-foot span:first-child { color: #c9c5d6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-set { color: #8f88a8; flex: none; }
@media (max-width: 760px) { .p-track .god { width: 190px; } .p-track { animation-duration: 55s; } .tc-name { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .p-track { animation-duration: 240s; } }

.pantheon { overflow-x: clip; }
@media (max-width: 760px) { .p-marquee { margin: 0 -16px; } }

/* kartu dewa yang belum terungkap */
.tcard.locked { background: linear-gradient(150deg, #3a3646, #1c1a24 40%, #2d2a38 70%, #403b4f); }
.tcard.locked .tc-art { display: grid; place-items: center;
  background: radial-gradient(60% 50% at 50% 45%, rgba(167,139,250,.28), rgba(10,9,14,0) 70%),
              repeating-linear-gradient(135deg, #0c0b11 0 12px, #100f16 12px 24px); }
.tc-q { font-family: var(--goth); font-size: 120px; line-height: 1; color: rgba(214,204,255,.85);
  text-shadow: 0 0 40px rgba(167,139,250,.7); animation: qpulse 3.2s ease-in-out infinite; }
@keyframes qpulse { 50% { opacity: .55; text-shadow: 0 0 18px rgba(167,139,250,.4); } }
.tcard.locked .tc-name { color: #b9b2cc; }

/* =====================================================================
   GERBANG v2 — pintu katedral (bukan panel centang)
   ===================================================================== */
.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; overflow: hidden;
  background: #050506; backdrop-filter: none; -webkit-backdrop-filter: none; }
.gate-door { position: absolute; top: 0; bottom: 0; width: 50.5%; z-index: 0;
  background:
    linear-gradient(90deg, rgba(5,5,6,.2), rgba(5,5,6,.55)),
    url("../media/cathedral-hd.webp") center/cover no-repeat;
  filter: brightness(.55) saturate(.9);
  transition: transform 1.25s cubic-bezier(.7,0,.2,1), filter 1.25s ease; }
.gate-door.left { left: 0; background-position: 0% 50%, right center; box-shadow: inset -2px 0 0 rgba(203,188,255,.35); }
.gate-door.right { right: 0; background-position: 0% 50%, left center; box-shadow: inset 2px 0 0 rgba(203,188,255,.35); }
.gate-door::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 55% at 50% 50%, rgba(5,5,6,.1), rgba(5,5,6,.85)); }
.gate.opening .gate-door.left { transform: translateX(-101%); filter: brightness(.8); }
.gate.opening .gate-door.right { transform: translateX(101%); filter: brightness(.8); }
.gate-core { position: relative; z-index: 2; max-width: 520px; display: grid; justify-items: center; text-align: center; gap: 14px;
  transition: opacity .6s ease, transform .6s ease; }
.gate.opening .gate-core { opacity: 0; transform: scale(.96); }
.gate-kick { color: #cbbcff; letter-spacing: .3em; }
.gate-core h2 { margin: 0; font-family: var(--goth); font-weight: 700; font-size: clamp(54px, 9vw, 92px); line-height: .95; color: #fff;
  text-shadow: 0 8px 50px rgba(0,0,0,.8); }
.gate-oath { margin: 4px 0 10px; color: #d6d2e2; font-size: 15.5px; line-height: 1.6; max-width: 440px; text-shadow: 0 2px 20px rgba(0,0,0,.9); }
.gate-oath b { color: #fff; font-weight: 600; }
.gate-oath a { color: #e4dcff; text-decoration: underline; text-underline-offset: 3px; }
.seal { position: relative; width: 132px; height: 132px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center;
  background: radial-gradient(circle, rgba(124,92,255,.32), rgba(10,9,14,.85) 66%); box-shadow: 0 0 0 1px rgba(203,188,255,.25), 0 20px 60px rgba(0,0,0,.6);
  touch-action: none; user-select: none; -webkit-user-select: none; transition: transform .2s ease; }
.seal img { position: relative; z-index: 1; filter: drop-shadow(0 0 14px rgba(203,188,255,.6)); }
.seal.holding { transform: scale(.95); }
.seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.seal-ring circle { fill: none; stroke-width: 3; }
.seal-ring .track { stroke: rgba(203,188,255,.18); }
.seal-ring .fill { stroke: #e4dcff; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; filter: drop-shadow(0 0 6px rgba(203,188,255,.9)); }
.seal::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(203,188,255,.22); animation: sealpulse 2.6s ease-out infinite; }
@keyframes sealpulse { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.25); opacity: 0; } }
.gate-hint { color: #a9a3bf; letter-spacing: .22em; }
.gate-foot { margin: 18px 0 0; color: #7e7891; letter-spacing: .14em; line-height: 1.8; }
@media (max-width: 760px) { .gate-oath { font-size: 14.5px; } .seal { width: 116px; height: 116px; } }
@media (prefers-reduced-motion: reduce) { .gate-door { transition-duration: .4s; } .seal::before { animation: none; } }

/* gerbang v2b: tiap daun pintu membawa separuh gambar jendela mawar (gambar selebar layar di dalamnya) */
.gate-door { background: none !important; filter: none !important; overflow: hidden; }
.gate-door::after { display: none; }
.gate-door i { position: absolute; top: 0; bottom: 0; width: 100vw; background: url("../media/cathedral-hd.webp") center 40%/cover no-repeat; filter: brightness(.82) saturate(1.05); }
.gate-door.left i { left: 0; }
.gate-door.right i { right: 0; }
.gate-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; transition: opacity .9s ease;
  background: radial-gradient(42% 52% at 50% 52%, rgba(5,5,6,.82), rgba(5,5,6,.55) 60%, rgba(5,5,6,.2) 100%),
              linear-gradient(180deg, rgba(5,5,6,.5), rgba(5,5,6,0) 25%, rgba(5,5,6,0) 70%, rgba(5,5,6,.7)); }
.gate.opening .gate-veil { opacity: 0; }
.gate.opening .gate-door.left, .gate.opening .gate-door.right { filter: none; }

@media (max-width: 760px) { .gate-veil { background: radial-gradient(75% 40% at 50% 50%, rgba(5,5,6,.86), rgba(5,5,6,.6) 70%, rgba(5,5,6,.3) 100%), linear-gradient(180deg, rgba(5,5,6,.45), rgba(5,5,6,0) 22%, rgba(5,5,6,0) 72%, rgba(5,5,6,.75)); } }

.ca-chip { white-space: nowrap; }
@media (max-width: 760px) { .ca-chip { padding: 0 10px; } .ca-chip #ca-text { max-width: 112px; overflow: hidden; text-overflow: ellipsis; } }
