/* ==========================================================================
   AURELUNE — The Art of Play
   Celestial art-deco · obsidian · champagne gold · aurora
   ========================================================================== */

:root {
  --bg: #07060b;
  --bg-2: #0c0a14;
  --bg-3: #13101f;
  --panel: rgba(22, 17, 35, 0.72);
  --panel-2: rgba(32, 25, 50, 0.55);
  --line: rgba(230, 194, 122, 0.16);
  --line-2: rgba(230, 194, 122, 0.34);
  --gold: #e6c27a;
  --gold-hi: #f6e3b4;
  --gold-lo: #b8862f;
  --ink: #f4eee4;
  --ink-2: #cdc4b6;
  --muted: #968d80;
  --aurora: #7fe0d2;
  --rose: #e7a59a;
  --violet: #a993ff;
  --accent: var(--gold);
  --grad-gold: linear-gradient(135deg, #fff1cf 0%, #f0cf86 26%, #c3913f 56%, #f7dc9c 82%, #d9ac5c 100%);
  --grad-line: linear-gradient(90deg, transparent, rgba(230, 194, 122, 0.55), transparent);
  --f-display: "Cinzel", "Times New Roman", serif;
  --f-serif: "Cormorant Garamond", Georgia, serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --header-h: 84px;
  --shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line);
  --notch: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
  color-scheme: dark;
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 600px at 12% -10%, rgba(169, 147, 255, 0.10), transparent 60%),
    radial-gradient(800px 600px at 100% 10%, rgba(230, 194, 122, 0.08), transparent 60%),
    radial-gradient(900px 700px at 50% 110%, rgba(127, 224, 210, 0.06), transparent 60%),
    var(--bg);
}
img, svg, video, canvas { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--aurora); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
::selection { background: rgba(230, 194, 122, 0.35); color: #fff; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.12; margin: 0 0 0.5em; color: var(--ink); letter-spacing: 0.01em; }
p { margin: 0 0 1.1em; }
h1 em, h2 em, h3 em, .hero__title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 10001; padding: 10px 18px; background: var(--gold); color: #120d05; border-radius: 6px; font-weight: 700; }
.skip-link:focus { top: 16px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.site-main { position: relative; z-index: 1; outline: none; }

/* ---------- Ornamen eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow i { position: relative; display: block; width: 38px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.eyebrow i:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.eyebrow i::after { content: ""; position: absolute; top: -3px; right: -3px; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.eyebrow i:last-child::after { right: auto; left: -3px; }
.eyebrow .icon { width: 18px; height: 18px; }
.eyebrow--left i { display: none; }

/* ---------- Tombol ---------- */
.btn {
  --h: 48px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: var(--h);
  padding: 0 1.7em;
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  border: 0;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  clip-path: var(--notch);
  transition: transform 0.35s var(--ease), filter 0.35s var(--ease), color 0.3s;
  white-space: nowrap;
}
.btn .icon { width: 16px; height: 16px; flex: none; }
.btn--gold { background: var(--grad-gold); background-size: 160% 160%; color: #1b1206; box-shadow: 0 10px 30px -10px rgba(230, 194, 122, 0.6); }
.btn--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.75) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
}
.btn--gold:hover { color: #1b1206; transform: translateY(-2px); filter: brightness(1.06); }
.btn--gold:hover::after { transform: translateX(120%); }
.btn--ghost { color: var(--gold-hi); background: transparent; }
.btn--ghost::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--grad-gold); clip-path: var(--notch); }
.btn--ghost::after { content: ""; position: absolute; inset: 1px; z-index: -1; background: rgba(12, 10, 19, 0.94); clip-path: var(--notch); transition: background 0.35s var(--ease); }
.btn--ghost:hover { color: #fff; transform: translateY(-2px); }
.btn--ghost:hover::after { background: rgba(38, 29, 58, 0.94); }
.btn--sm { --h: 38px; padding: 0 1.2em; font-size: 0.68rem; letter-spacing: 0.16em; }
.btn--lg { --h: 56px; padding: 0 2.1em; font-size: 0.82rem; }
.btn.is-armed::after { background: rgba(120, 30, 30, 0.9); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-hi);
  background: rgba(230, 194, 122, 0.06);
}
.chip .icon { width: 14px; height: 14px; }
.icon { display: inline-block; vertical-align: middle; }

/* ---------- Preloader ---------- */
.preloader { display: none; position: fixed; inset: 0; z-index: 10000; background: var(--bg); align-items: center; justify-content: center; transition: opacity 0.7s var(--ease), visibility 0.7s; }
.preload .preloader { display: flex; animation: plAuto 0.6s 3.2s forwards; }
.loaded .preloader { opacity: 0; visibility: hidden; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.preloader__inner img { width: min(300px, 70vw); }
.preloader__bar { position: relative; display: block; width: 160px; height: 1px; background: var(--line); overflow: hidden; }
.preloader__bar i { position: absolute; inset: 0; background: var(--grad-gold); transform-origin: left; animation: plBar 1.4s var(--ease) infinite; }
@keyframes plBar { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes plAuto { to { opacity: 0; visibility: hidden; } }

.cursor-glow { position: fixed; left: 0; top: 0; width: 400px; height: 400px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(230, 194, 122, 0.10), transparent 65%); opacity: 0; transition: opacity 0.6s; }
.cursor-glow.is-on { opacity: 1; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.4s var(--ease), height 0.4s var(--ease), backdrop-filter 0.4s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--grad-line); opacity: 0; transition: opacity 0.4s; }
.site-header.is-scrolled { --header-h: 70px; background: rgba(8, 7, 13, 0.78); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
.site-header.is-scrolled::after { opacity: 1; }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; transition: height 0.4s var(--ease); }
.site-header.is-scrolled .brand img { height: 40px; }
.main-nav { margin-left: auto; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav .menu > li { position: relative; display: flex; align-items: center; }
.main-nav .menu > li > a {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.main-nav .menu > li > a::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; background: var(--gold); transform: translateX(-50%) rotate(45deg) scale(0); transition: transform 0.3s var(--ease); }
.main-nav .menu > li > a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a, .main-nav .current_page_parent > a { color: var(--gold-hi); }
.main-nav .current-menu-item > a::after, .main-nav .current-menu-ancestor > a::after { transform: translateX(-50%) rotate(45deg) scale(1); }
.submenu-toggle { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: -10px; padding: 0; border: 0; background: none; color: var(--ink-2); cursor: pointer; }
.submenu-toggle svg { width: 14px; height: 14px; transition: transform 0.3s; }
.main-nav .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  min-width: 230px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: rgba(14, 11, 24, 0.96);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.main-nav .sub-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu, .main-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.main-nav li.is-open .submenu-toggle svg, .main-nav li:hover .submenu-toggle svg { transform: rotate(180deg); }
.main-nav .sub-menu a { display: block; white-space: nowrap; padding: 10px 14px; border-radius: 8px; font-size: 0.86rem; color: var(--ink-2); font-family: var(--f-display); letter-spacing: 0.04em; }
.main-nav .sub-menu a:hover, .main-nav .sub-menu .current-menu-item > a { background: rgba(230, 194, 122, 0.08); color: var(--gold-hi); }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; position: relative; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(12, 10, 19, 0.7); cursor: pointer; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--gold-hi); transition: transform 0.35s var(--ease), opacity 0.3s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; right: 18px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background:
    radial-gradient(600px 400px at 80% 0%, rgba(230, 194, 122, 0.12), transparent 60%),
    rgba(6, 5, 10, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 20px) 24px 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
  overflow-y: auto;
}
.nav-open { overflow: hidden; }
.nav-open .mobile-nav { opacity: 1; visibility: visible; }
.mobile-nav__inner { width: 100%; max-width: 420px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.mobile-menu { list-style: none; margin: 0 0 28px; padding: 0; width: 100%; }
.mobile-menu > li { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); border-bottom: 1px solid var(--line); }
.nav-open .mobile-menu > li { opacity: 1; transform: none; }
.nav-open .mobile-menu > li:nth-child(2) { transition-delay: 0.05s; }
.nav-open .mobile-menu > li:nth-child(3) { transition-delay: 0.1s; }
.nav-open .mobile-menu > li:nth-child(4) { transition-delay: 0.15s; }
.nav-open .mobile-menu > li:nth-child(5) { transition-delay: 0.2s; }
.nav-open .mobile-menu > li:nth-child(6) { transition-delay: 0.25s; }
.mobile-menu a { display: block; padding: 14px 0; font-family: var(--f-display); font-size: 1.5rem; color: var(--ink); }
.mobile-menu a:hover, .mobile-menu .current-menu-item > a { color: var(--gold-hi); }
.mobile-menu .sub-menu { list-style: none; margin: -6px 0 12px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; }
.mobile-menu .sub-menu a { font-size: 0.9rem; padding: 4px 0; color: var(--ink-2); font-family: var(--f-body); }
.mobile-menu .submenu-toggle { display: none; }

/* ---------- Hero beranda ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 90px; overflow: hidden; }
.sky { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__aurora { position: absolute; inset: -20%; pointer-events: none; filter: blur(70px); opacity: 0.7; background:
  radial-gradient(30% 25% at 70% 35%, rgba(230, 194, 122, 0.20), transparent 70%),
  radial-gradient(25% 30% at 20% 70%, rgba(169, 147, 255, 0.16), transparent 70%),
  radial-gradient(25% 20% at 85% 80%, rgba(127, 224, 210, 0.12), transparent 70%);
  animation: aurora 22s ease-in-out infinite alternate; }
@keyframes aurora { to { transform: translate3d(3%, -4%, 0) rotate(6deg) scale(1.08); } }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(30px, 5vw, 80px); }
.hero__title { font-size: clamp(2.6rem, 6.2vw, 5.6rem); font-weight: 600; line-height: 1.02; letter-spacing: 0.005em; margin-bottom: 26px; }
.hero__title em { display: inline-block; font-size: 1.08em; line-height: 1; }
.hero__lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-2); max-width: 560px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts { display: flex; gap: 0; margin: 48px 0 0; padding: 0; max-width: 560px; border-top: 1px solid var(--line); }
.hero__facts div { flex: 1; padding: 20px 18px 0 0; }
.hero__facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.hero__facts dt { font-family: var(--f-display); font-size: 2rem; font-weight: 600; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.hero__facts dd { margin: 4px 0 0; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 1px; height: 54px; background: var(--line-2); transform: translateX(-50%); overflow: hidden; }
.hero__scroll span { position: absolute; left: -1px; top: 0; width: 3px; height: 16px; background: var(--gold); animation: scrollDot 2.2s var(--ease) infinite; }
@keyframes scrollDot { 0% { transform: translateY(-18px); } 100% { transform: translateY(58px); } }

/* Orrery */
.hero__orrery { display: flex; justify-content: center; }
.orrery { --s: min(540px, 42vw); position: relative; width: var(--s); height: var(--s); }
.orrery__glow { position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(246, 214, 140, 0.30), rgba(230, 180, 90, 0.06) 55%, transparent 70%); filter: blur(10px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: 0.8; } }
.orrery__ring { position: absolute; border-radius: 50%; border: 1px solid var(--line-2); }
.orrery__ring--1 { inset: 20%; border-style: dashed; border-color: rgba(230, 194, 122, 0.22); animation: spin 90s linear infinite; }
.orrery__ring--2 { inset: 9%; --r: calc(var(--s) * 0.41); animation: spin 60s linear infinite; }
.orrery__ring--3 { inset: 0; --r: calc(var(--s) * 0.5); border-color: rgba(230, 194, 122, 0.2); animation: spin 110s linear infinite reverse; }
.orrery__ring--3::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px dotted rgba(230, 194, 122, 0.18); }
.orrery__tick { position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 14px var(--gold); }
.orrery__planet {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold-hi);
  background: radial-gradient(circle at 35% 30%, #2d2348, #0f0c1a 70%);
  border: 1px solid var(--line-2);
  box-shadow: 0 0 24px rgba(230, 194, 122, 0.18), inset 0 0 12px rgba(230, 194, 122, 0.1);
  transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1));
}
.orrery__planet svg { width: 24px; height: 24px; animation: spin 60s linear infinite reverse; }
.orrery__ring--3 .orrery__planet svg { animation: spin 110s linear infinite; }
.orrery__planet:hover { color: #fff; border-color: var(--gold); }
.orrery__emblem { position: absolute; inset: 22%; width: 56%; height: 56%; object-fit: contain; filter: drop-shadow(0 0 40px rgba(230, 194, 122, 0.35)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Marquee */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(230, 194, 122, 0.04), rgba(230, 194, 122, 0.08), rgba(230, 194, 122, 0.04)); padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 34px; animation: marquee 48s linear infinite; }
.marquee span { font-family: var(--f-display); font-size: 1.05rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-hi); opacity: 0.85; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--gold); font-size: 0.8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bagian ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 140px) 0; overflow-x: clip; }
.section--tight { padding: clamp(48px, 7vw, 90px) 0; }
.section--panel { background: linear-gradient(180deg, rgba(20, 16, 33, 0.65), rgba(12, 10, 20, 0.4)); border-block: 1px solid var(--line); overflow: hidden; }
.section--panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='44' viewBox='0 0 88 44'%3E%3Cg fill='none' stroke='%23e6c27a' stroke-opacity='.07'%3E%3Cpath d='M0 44a44 44 0 0 1 88 0M11 44a33 33 0 0 1 66 0M22 44a22 22 0 0 1 44 0M33 44a11 11 0 0 1 22 0'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(70% 60% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(70% 60% at 50% 50%, #000, transparent);
}
.section > .container { position: relative; }
.section-head { max-width: 780px; margin: 0 auto clamp(40px, 6vw, 70px); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head--left .eyebrow i:first-child { display: none; }
.section-title { font-size: clamp(2rem, 4.4vw, 3.5rem); font-weight: 600; margin-bottom: 18px; }
.section-lead { font-size: 1.06rem; color: var(--ink-2); max-width: 620px; margin: 0 auto; }
.section-head--left .section-lead { margin: 0; }
.center-cta { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- Kartu game ---------- */
.game-grid { display: grid; gap: 26px; }
.game-grid--4 { grid-template-columns: repeat(4, 1fr); }
.game-grid--full { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 30px; }
.feature-row { margin-bottom: 26px; }
.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(30, 24, 48, 0.78), rgba(13, 11, 21, 0.95));
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.35s var(--ease), box-shadow 0.4s var(--ease);
}
.game-card::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%); opacity: 0; transition: opacity 0.4s; }
.game-card::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; border: 1px solid transparent; background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 70%, transparent), transparent 35%, transparent 65%, rgba(230, 194, 122, 0.5)) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.55; transition: opacity 0.4s; }
.game-card:hover { box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.95), 0 0 60px -30px var(--accent); }
.game-card:hover::before { opacity: 1; }
.game-card:hover::after { opacity: 1; }
.game-card__art { position: relative; display: block; aspect-ratio: 400 / 260; overflow: hidden; background: #0a0812; }
.game-art { display: block; width: 100%; height: 100%; transition: transform 0.9s var(--ease); }
.game-card:hover .game-art { transform: scale(1.05); }
.game-art .art-stars circle { animation: twinkle 3.6s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: 0.15; } }
.game-card__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; border-radius: 50%; background: var(--grad-gold); color: #1b1206; box-shadow: 0 0 0 8px rgba(230, 194, 122, 0.16), 0 20px 40px -10px rgba(0, 0, 0, 0.6); opacity: 0; transform: scale(0.7); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.game-card__play .icon { width: 24px; height: 24px; margin-left: 3px; }
.game-card:hover .game-card__play { opacity: 1; transform: scale(1); }
.game-card__body { position: relative; z-index: 4; display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.game-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.difficulty { display: inline-flex; gap: 4px; }
.difficulty i { width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid var(--line-2); }
.difficulty i.on { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 8px rgba(230, 194, 122, 0.5); }
.game-card__title { font-size: 1.4rem; margin-bottom: 6px; }
.game-card__title a { color: var(--ink); }
.game-card__title a:hover { color: var(--gold-hi); }
.game-card__tagline { font-family: var(--f-serif); font-style: italic; font-size: 1.16rem; line-height: 1.4; color: var(--ink-2); margin-bottom: 14px; }
.game-card__desc { font-size: 0.94rem; color: var(--muted); }
.game-card__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.game-card__time { display: inline-flex; align-items: center; gap: 6px; font-size: 0.76rem; color: var(--muted); letter-spacing: 0.04em; }
.game-card__time .icon { width: 15px; height: 15px; }
.game-card__best { font-size: 0.76rem; color: var(--gold-hi); }
.game-card__foot .btn { margin-left: auto; }

.game-card--feature { display: grid; grid-template-columns: 1.3fr 1fr; }
.game-card--feature .game-card__art { aspect-ratio: auto; min-height: 380px; }
.game-card--feature .game-art { position: absolute; inset: 0; }
.game-card--feature .game-card__body { padding: clamp(26px, 4vw, 48px); justify-content: center; }
.game-card--feature .game-card__title { font-size: clamp(2rem, 3.4vw, 3rem); }
.game-card--feature .game-card__tagline { font-size: 1.4rem; }
.game-card--feature .game-card__desc { font-size: 1rem; margin-bottom: 22px; }
.game-card--feature .game-card__art::after { content: "✦ Featured"; position: absolute; top: 20px; left: 20px; z-index: 2; padding: 7px 14px; border-radius: 999px; background: rgba(8, 7, 13, 0.72); border: 1px solid var(--line-2); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-hi); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

.game-mini { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); color: var(--ink); transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s; }
.game-mini:hover { border-color: var(--accent); transform: translateY(-3px); color: var(--ink); background: var(--panel-2); }
.game-mini__art { flex: none; width: 96px; aspect-ratio: 400 / 260; border-radius: 9px; overflow: hidden; }
.game-mini__body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.game-mini__body b { font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; }
.game-mini__body small { color: var(--muted); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; }
.game-mini > .icon { width: 18px; height: 18px; color: var(--gold); flex: none; transition: transform 0.3s var(--ease); }
.game-mini:hover > .icon { transform: translateX(4px); }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }

/* ---------- Kategori game ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.cat-card { position: relative; display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); color: var(--ink); overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s; }
.cat-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at 0% 50%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); opacity: 0.7; pointer-events: none; }
.cat-card:hover { color: var(--ink); transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 65%, transparent); background: var(--panel-2); }
.cat-card__mono { position: relative; flex: none; display: grid; place-items: center; width: 54px; height: 54px; }
.cat-card__mono::before { content: ""; position: absolute; inset: 7px; transform: rotate(45deg); border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.cat-card__mono b { position: relative; font-family: var(--f-display); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.04em; color: var(--accent); }
.cat-card__body { position: relative; display: flex; flex-direction: column; min-width: 0; flex: 1; }
.cat-card__name { font-family: var(--f-display); font-weight: 600; font-size: 1rem; line-height: 1.3; }
.cat-card__body small { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.cat-card > .icon { position: relative; width: 18px; height: 18px; color: var(--accent); flex: none; transition: transform 0.3s var(--ease); }
.cat-card:hover > .icon { transform: translateX(4px); }
.journal-cats .filter { text-transform: none; letter-spacing: 0.06em; font-size: 0.78rem; }

/* ---------- Pilar ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pillar { position: relative; padding: 34px 28px 30px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: transform 0.4s var(--ease), border-color 0.4s; }
.pillar:hover { transform: translateY(-6px); border-color: var(--line-2); }
.pillar::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 1px; background: var(--grad-line); }
.pillar__icon { position: relative; display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 24px; color: var(--gold-hi); flex: none; }
.pillar__icon::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--line-2); transform: rotate(45deg); background: rgba(230, 194, 122, 0.05); }
.pillar__icon .icon { position: relative; width: 24px; height: 24px; }
.pillar h3 { font-size: 1.2rem; margin-bottom: 10px; }
.pillar p { font-size: 0.94rem; color: var(--muted); margin: 0; }

/* ---------- Ritual ---------- */
.ritual { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.ritual__intro p { color: var(--ink-2); font-size: 1.04rem; margin-bottom: 28px; }
.ritual__intro .section-head { margin-bottom: 24px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: s; }
.step { display: flex; gap: 22px; align-items: flex-start; padding: 26px 28px; border-radius: var(--radius); background: linear-gradient(90deg, rgba(30, 24, 48, 0.7), rgba(14, 11, 22, 0.4)); border: 1px solid var(--line); }
.step__num { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; font-family: var(--f-display); font-size: 1.1rem; font-weight: 700; color: #1b1206; background: var(--grad-gold); box-shadow: 0 0 0 6px rgba(230, 194, 122, 0.1); }
.step h3 { font-size: 1.18rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Hall strip (beranda) ---------- */
.hall-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.hall-chip { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 28px 16px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); color: var(--ink); transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.35s var(--ease), border-color 0.3s; }
.hall-chip:hover { color: var(--ink); border-color: var(--accent); }
.hall-chip__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 6px; border-radius: 50%; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.hall-chip__icon .icon { width: 22px; height: 22px; }
.hall-chip__name { font-family: var(--f-display); font-size: 0.98rem; }
.hall-chip__score { font-family: var(--f-display); font-size: 1.9rem; font-weight: 600; line-height: 1.2; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hall-chip__rank { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.hall-chip.is-played .hall-chip__rank { color: var(--gold-hi); }

/* ---------- Jurnal ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, rgba(28, 22, 44, 0.75), rgba(13, 11, 21, 0.92)); border: 1px solid var(--line); transition: transform 0.4s var(--ease), border-color 0.4s; }
.post-card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0a0812; }
.post-card__media img, .post-card__placeholder, .post-card__placeholder svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.post-card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 0.76rem; color: var(--muted); }
.post-card__title { font-size: 1.24rem; line-height: 1.3; margin-bottom: 10px; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--gold-hi); }
.post-card__excerpt { color: var(--muted); font-size: 0.94rem; }
.post-card .link-arrow { margin-top: auto; }
.journal-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 40px; }
.journal-cats, .filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filters { justify-content: center; margin-bottom: 44px; }
.filter { display: inline-flex; align-items: center; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(12, 10, 19, 0.6); color: var(--ink-2); font-family: var(--f-body); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; transition: all 0.3s var(--ease); }
.filter:hover { color: var(--gold-hi); border-color: var(--gold); }
.filter.is-active { background: var(--grad-gold); color: #1b1206; border-color: transparent; }
.filter-empty { text-align: center; color: var(--muted); }
.search-form { position: relative; display: flex; }
.search-form label { display: block; }
.search-field { width: 260px; height: 44px; padding: 0 46px 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(12, 10, 19, 0.7); color: var(--ink); font: inherit; font-size: 0.92rem; }
.search-field:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230, 194, 122, 0.15); }
.search-submit { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--grad-gold); color: #1b1206; display: grid; place-items: center; cursor: pointer; }
.search-submit svg { width: 18px; height: 18px; }
.pagination { margin-top: 50px; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); font-weight: 600; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--grad-gold); color: #1b1206; border-color: transparent; }
.empty-state { text-align: center; padding: 60px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.empty-state .icon { width: 48px; height: 48px; color: var(--gold); margin-bottom: 16px; }
.empty-state p { color: var(--muted); }

/* ---------- CTA akhir ---------- */
.final-cta { position: relative; overflow: hidden; padding: clamp(90px, 12vw, 170px) 0; text-align: center; border-top: 1px solid var(--line); background: radial-gradient(60% 70% at 50% 100%, rgba(230, 194, 122, 0.14), transparent 70%); }
.final-cta--compact { padding: clamp(70px, 9vw, 120px) 0; }
.final-cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final-cta__emblem { width: 140px; margin-bottom: 26px; filter: drop-shadow(0 0 30px rgba(230, 194, 122, 0.4)); animation: float 7s ease-in-out infinite; }
.final-cta h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); margin-bottom: 18px; }
.final-cta p { color: var(--ink-2); font-size: 1.08rem; margin-bottom: 32px; }
.final-cta .hero__actions { justify-content: center; }

/* ---------- Hero halaman ---------- */
.page-hero, .play-hero, .article-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(50px, 8vw, 100px)) 0 clamp(50px, 7vw, 90px); border-bottom: 1px solid var(--line); background: radial-gradient(70% 90% at 50% 0%, rgba(169, 147, 255, 0.10), transparent 70%), radial-gradient(50% 70% at 50% 100%, rgba(230, 194, 122, 0.10), transparent 70%); }
.page-hero__inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.page-hero__deco { position: absolute; left: 50%; bottom: -60%; width: 900px; height: 900px; transform: translateX(-50%); pointer-events: none; }
.page-hero__deco span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(230, 194, 122, 0.12); }
.page-hero__deco span:nth-child(2) { inset: 90px; border-style: dashed; }
.page-hero__deco span:nth-child(3) { inset: 180px; border-color: rgba(230, 194, 122, 0.08); }
.page-title { font-size: clamp(2.4rem, 5.6vw, 4.6rem); margin-bottom: 16px; }
.page-lead { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.45; color: var(--ink-2); max-width: 720px; margin: 0 auto; }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-bottom: 26px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--gold-hi); }
.crumbs > span[aria-hidden] { color: var(--gold); font-size: 0.6rem; }
.crumbs [aria-current] { color: var(--gold-hi); }

/* ---------- Ruang main ---------- */
.play-hero { padding-bottom: 40px; }
.play-hero .crumbs { justify-content: flex-start; }
.play-hero__inner { position: relative; }
.play-hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.play-hero .page-lead { margin: 0; }
.page-title--play { font-size: clamp(2.4rem, 5vw, 4.2rem); margin-bottom: 8px; }
.play-hero__diff { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.play-hero__diff .difficulty i { width: 10px; height: 10px; }
.play { padding: 40px 0 clamp(60px, 8vw, 100px); }
.play__grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.play__desc { margin: 22px 4px 0; color: var(--ink-2); font-size: 1rem; max-width: 820px; }
.play__side { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 16px); }
.cabinet { position: relative; padding: clamp(10px, 1.6vw, 20px); border-radius: 22px; background: linear-gradient(180deg, rgba(30, 24, 48, 0.9), rgba(10, 8, 16, 0.95)); box-shadow: 0 0 0 1px var(--line-2), 0 50px 120px -50px rgba(0, 0, 0, 0.95), 0 0 120px -60px var(--accent); }
.cabinet--inline { margin: 2em 0; }
.cabinet__corner { position: absolute; width: 26px; height: 26px; border: 2px solid var(--gold); pointer-events: none; z-index: 2; }
.cabinet__corner--tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: 22px; }
.cabinet__corner--tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; border-top-right-radius: 22px; }
.cabinet__corner--bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; border-bottom-left-radius: 22px; }
.cabinet__corner--br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: 22px; }

.panel { position: relative; padding: 22px 22px 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.panel--lg { padding: clamp(24px, 4vw, 44px); }
.panel__title { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 16px; }
.panel__title .icon { width: 18px; height: 18px; color: var(--gold); }
.stat-row { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }
.stat-row b { font-family: var(--f-display); font-size: 1.2rem; color: var(--gold-hi); font-weight: 600; }
.rank-progress { position: relative; height: 4px; margin: 16px 0 8px; background: rgba(230, 194, 122, 0.12); border-radius: 4px; overflow: hidden; }
.rank-progress i { position: absolute; inset: 0; background: var(--grad-gold); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease); }
.rank-next { color: var(--muted); font-size: 0.78rem; }
.rank-badge { font-family: var(--f-display); }
.rank-badge[data-level="1"] { color: #e0a679 !important; }
.rank-badge[data-level="2"] { color: #dfe3ec !important; }
.rank-badge[data-level="3"] { color: var(--gold) !important; }
.rank-badge[data-level="4"] { background: linear-gradient(90deg, var(--gold-hi), var(--aurora), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.how-list { list-style: none; counter-reset: h; margin: 0; padding: 0; display: grid; gap: 10px; }
.how-list li { position: relative; padding-left: 30px; font-size: 0.9rem; color: var(--ink-2); line-height: 1.55; counter-increment: h; }
.how-list li::before { content: counter(h); position: absolute; left: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center; font-family: var(--f-display); font-size: 0.7rem; font-weight: 700; color: #1b1206; background: var(--grad-gold); border-radius: 50%; }
.controls { margin: 0; display: grid; gap: 10px; }
.controls div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.controls dt { margin: 0; }
.controls dd { margin: 0; font-size: 0.86rem; color: var(--muted); text-align: right; }
kbd { display: inline-block; padding: 5px 10px; border-radius: 7px; border: 1px solid var(--line-2); border-bottom-width: 3px; background: rgba(230, 194, 122, 0.06); font-family: var(--f-body); font-size: 0.74rem; font-weight: 700; color: var(--gold-hi); white-space: nowrap; }
.rank-ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rank-ladder li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--ink-2); }
.rank-ladder b { margin-left: auto; font-family: var(--f-display); color: var(--gold-hi); font-weight: 600; }
.rank-dot { width: 10px; height: 10px; transform: rotate(45deg); background: #4a4256; flex: none; }
.rank-dot--1 { background: #c98a5c; }
.rank-dot--2 { background: #cfd4de; }
.rank-dot--3 { background: var(--gold); box-shadow: 0 0 10px rgba(230, 194, 122, 0.6); }
.rank-dot--4 { background: linear-gradient(135deg, var(--gold-hi), var(--aurora), var(--violet)); box-shadow: 0 0 12px rgba(127, 224, 210, 0.6); }
.section--lore .entry-content { text-align: center; }
.section--lore .entry-content p { font-family: var(--f-serif); font-size: 1.4rem; line-height: 1.6; color: var(--ink-2); }

/* ==========================================================================
   Mesin game (AG)
   ========================================================================== */
.ag-root { --ag-maxh: 70vh; position: relative; }
.ag-shell { --ag-ar: 1.4; width: 100%; max-width: calc(var(--ag-maxh) * var(--ag-ar) + 0px); margin: 0 auto; }
.ag-hud { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 16px; padding: 4px 4px 14px; }
.ag-stat { display: flex; flex-direction: column; line-height: 1.1; min-width: 70px; }
.ag-stat span { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.ag-stat b { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; color: var(--gold-hi); display: inline-block; }
.ag-stat--best { text-align: right; align-items: flex-end; }
.ag-stat--best b { color: var(--gold); }
.ag-score.is-bump { animation: bump 0.35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.25); color: #fff; } }
.ag-name { display: flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--f-display); font-size: 0.82rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); text-align: center; white-space: nowrap; overflow: hidden; }
.ag-name i { flex: 0 1 50px; height: 1px; background: var(--grad-line); }
.ag-tools { display: flex; gap: 6px; }
.ag-icon { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(12, 10, 19, 0.7); color: var(--gold-hi); cursor: pointer; transition: background 0.25s, border-color 0.25s; }
.ag-icon:hover { background: rgba(230, 194, 122, 0.12); border-color: var(--gold); }
.ag-icon svg { width: 17px; height: 17px; }
.ag-view { position: relative; width: 100%; aspect-ratio: var(--ag-ar); border-radius: 12px; overflow: hidden; background: #07060c; box-shadow: inset 0 0 0 1px var(--line); outline: none; touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; container-type: size; }
.ag-view.is-playing { touch-action: none; }
.ag-view:focus-visible { box-shadow: inset 0 0 0 2px var(--aurora); }
.ag-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ag-dom { position: absolute; inset: 0; }
.ag-overlay { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 16px; text-align: center; background: radial-gradient(circle at 50% 45%, rgba(12, 9, 20, 0.42), rgba(5, 4, 9, 0.84)); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0.45s; }
.ag-overlay.is-on { opacity: 1; visibility: visible; }
.ag-ov { display: flex; flex-direction: column; align-items: center; gap: clamp(6px, 2.2cqh, 14px); max-width: 480px; animation: ovIn 0.6s var(--ease); }
@keyframes ovIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
.ag-ov h3 { margin: 0; font-size: clamp(1.3rem, 9cqh, 2.8rem); background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ag-ov p { margin: 0; font-size: clamp(0.76rem, 3.4cqh, 1rem); color: var(--ink-2); line-height: 1.55; }
.ag-ov p b { color: var(--gold-hi); }
.ag-ov small { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.ag-eyebrow { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.ag-play { display: inline-flex; align-items: center; gap: 10px; height: clamp(42px, 12cqh, 54px); padding: 0 1.8em; margin-top: 4px; border: 0; cursor: pointer; clip-path: var(--notch); background: var(--grad-gold); color: #1b1206; font-family: var(--f-body); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; box-shadow: 0 12px 30px -10px rgba(230, 194, 122, 0.7); transition: transform 0.3s var(--ease), filter 0.3s; }
.ag-play:hover { transform: translateY(-2px) scale(1.02); filter: brightness(1.08); }
.ag-play svg { width: 18px; height: 18px; }
.ag-ghost { border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); padding: 8px 16px; border-radius: 999px; font-family: var(--f-body); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; }
.ag-ghost:hover { color: var(--gold-hi); border-color: var(--gold); }
.ag-final { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.6rem, 22cqh, 5.6rem); line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 30px rgba(230, 194, 122, 0.3)); }
.ag-badge { padding: 6px 16px; border-radius: 999px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; color: #1b1206; background: linear-gradient(90deg, var(--gold-hi), var(--aurora), var(--gold-hi)); background-size: 200% 100%; animation: shine 2.4s linear infinite; }
@keyframes shine { to { background-position: 200% 0; } }
.ag-msg { font-family: var(--f-serif); font-style: italic; font-size: clamp(0.95rem, 4cqh, 1.2rem) !important; }
.ag-link { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.ag-missing { padding: 40px; text-align: center; color: var(--muted); }
@container (max-height: 330px) {
  .ag-ov > p:not(.ag-msg) { display: none; }
  .ag-ov small { display: none; }
}
@container (max-height: 240px) {
  .ag-eyebrow, .ag-link { display: none; }
}
.ag-pad { display: none; grid-template-columns: repeat(3, 62px); grid-template-rows: repeat(2, 56px); gap: 8px; justify-content: center; margin-top: 14px; }
.ag-pad button { border-radius: 14px; border: 1px solid var(--line-2); background: rgba(22, 17, 35, 0.9); color: var(--gold-hi); font-size: 1.1rem; cursor: pointer; touch-action: none; -webkit-tap-highlight-color: transparent; }
.ag-pad button:active { background: rgba(230, 194, 122, 0.2); }
.ag-pad [data-k="ArrowUp"] { grid-column: 2; grid-row: 1; }
.ag-pad [data-k="ArrowLeft"] { grid-column: 1; grid-row: 2; }
.ag-pad [data-k="ArrowDown"] { grid-column: 2; grid-row: 2; }
.ag-pad [data-k="ArrowRight"] { grid-column: 3; grid-row: 2; }
@media (pointer: coarse), (max-width: 900px) { .ag-pad { display: grid; } }
.ag-shell:fullscreen, .ag-shell.is-pseudo-full { --ag-maxh: calc(100vh - 100px); max-width: none; width: 100%; height: 100%; padding: 16px; background: #050409; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.ag-shell.is-pseudo-full { position: fixed; inset: 0; z-index: 9999; }
.ag-shell:fullscreen > .ag-hud, .ag-shell:fullscreen > .ag-view, .ag-shell.is-pseudo-full > .ag-hud, .ag-shell.is-pseudo-full > .ag-view { width: min(100%, calc(var(--ag-maxh) * var(--ag-ar))); }
.ag-shell:-webkit-full-screen { --ag-maxh: calc(100vh - 100px); max-width: none; width: 100%; height: 100%; padding: 16px; background: #050409; display: flex; flex-direction: column; justify-content: center; align-items: center; }

/* Rasi Memori */
.mm { position: absolute; inset: 0; display: flex; flex-direction: column; gap: clamp(6px, 1.6cqh, 14px); padding: clamp(8px, 2.4cqh, 20px); background: radial-gradient(80% 70% at 50% 40%, #1d1734, #08070e); }
.mm-bar { display: flex; align-items: center; gap: 14px; flex: none; }
.mm-lvl, .mm-moves { font-family: var(--f-display); font-size: clamp(0.66rem, 2.6cqh, 0.86rem); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-hi); white-space: nowrap; }
.mm-moves { color: var(--muted); }
.mm-time { position: relative; flex: 1; height: 6px; border-radius: 6px; background: rgba(230, 194, 122, 0.12); overflow: hidden; }
.mm-time i { position: absolute; inset: 0; background: var(--grad-gold); transform-origin: left; }
.mm-time.is-low i { background: linear-gradient(90deg, #ff8a6b, var(--rose)); animation: lowPulse 0.8s ease-in-out infinite; }
@keyframes lowPulse { 50% { opacity: 0.5; } }
.mm-grid { flex: 1; min-height: 0; display: grid; gap: clamp(5px, 1.4cqh, 12px); }
.mm-card { position: relative; min-height: 0; padding: 0; border: 0; background: none; cursor: pointer; perspective: 900px; -webkit-tap-highlight-color: transparent; }
.mm-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.55s cubic-bezier(0.3, 0.75, 0.3, 1); }
.mm-card.is-open .mm-inner { transform: rotateY(180deg); }
.mm-face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4%; border-radius: clamp(6px, 1.6cqh, 12px); overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.mm-back { color: var(--gold); background: linear-gradient(160deg, #1c1532, #0c0916); border: 1px solid rgba(230, 194, 122, 0.4); transition: border-color 0.3s, box-shadow 0.3s; }
.mm-back svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.8; }
.mm-card:hover .mm-back { border-color: var(--gold); box-shadow: inset 0 0 30px rgba(230, 194, 122, 0.15); }
.mm-front { transform: rotateY(180deg); background: radial-gradient(circle at 50% 35%, #2c2350, #120e21); border: 1px solid rgba(246, 227, 180, 0.6); }
.mm-front svg { width: 58%; height: 62%; overflow: visible; }
.mm-lines line { stroke: rgba(246, 227, 180, 0.65); stroke-width: 1.4; }
.mm-dots circle { fill: #fffaf0; filter: drop-shadow(0 0 3px rgba(255, 230, 170, 0.9)); }
.mm-front em { font-family: var(--f-display); font-style: normal; font-size: var(--mm-fs, 12px); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.mm-card.is-matched .mm-front { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 26px rgba(230, 194, 122, 0.45); animation: mmPop 0.5s var(--ease); }
@keyframes mmPop { 40% { transform: rotateY(180deg) scale(1.06); } }
.mm-card:focus-visible { outline: none; }
.mm-card:focus-visible .mm-face { outline: 2px solid var(--aurora); outline-offset: -2px; }
.mm-toast { position: absolute; left: 50%; top: 50%; z-index: 3; padding: 10px 22px; border-radius: 999px; border: 1px solid var(--gold); background: rgba(10, 8, 16, 0.92); font-family: var(--f-display); font-size: clamp(0.8rem, 3.4cqh, 1.05rem); letter-spacing: 0.08em; color: var(--gold-hi); white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
.mm-toast.is-on { animation: toast 1.5s var(--ease) forwards; }
@keyframes toast { 15% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -60%) scale(1); } }

/* ---------- Hall of Fame ---------- */
.medallion { display: flex; align-items: center; gap: clamp(24px, 5vw, 60px); padding: clamp(26px, 4vw, 50px); margin-bottom: 40px; border-radius: 24px; background: linear-gradient(120deg, rgba(36, 28, 58, 0.85), rgba(14, 11, 22, 0.9)); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.medallion__seal { flex: none; width: clamp(130px, 18vw, 200px); filter: drop-shadow(0 0 30px rgba(230, 194, 122, 0.25)); }
.medallion__arc { transition: stroke-dasharray 1.4s var(--ease); }
.medallion__title { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 8px; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.medallion[data-level="4"] .medallion__title { background: linear-gradient(90deg, var(--gold-hi), var(--aurora), var(--violet)); -webkit-background-clip: text; background-clip: text; }
.medallion__body p { color: var(--ink-2); max-width: 560px; }
.medallion__stats { display: flex; gap: 34px; margin: 18px 0 0; }
.medallion__stats dt { font-family: var(--f-display); font-size: 1.8rem; color: var(--gold-hi); line-height: 1.1; }
.medallion__stats dd { margin: 0; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.hall-list { display: grid; gap: 16px; }
.hall-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto auto; align-items: center; gap: 26px; padding: 14px 24px 14px 14px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); transition: border-color 0.3s; }
.hall-row:hover { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.hall-row__art { display: block; aspect-ratio: 400 / 260; border-radius: 12px; overflow: hidden; }
.hall-row__info h3 { font-size: 1.3rem; margin-bottom: 6px; }
.hall-row__info h3 a { color: var(--ink); }
.hall-row__info small { color: var(--muted); font-size: 0.8rem; }
.hall-row__info .rank-progress { max-width: 340px; margin: 12px 0 6px; }
.hall-row__nums { display: flex; gap: 26px; }
.hall-row__nums div { display: flex; flex-direction: column; align-items: flex-end; min-width: 70px; }
.hall-row__nums span { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.hall-row__nums b { font-family: var(--f-display); font-size: 1.4rem; font-weight: 600; color: var(--gold-hi); }
.hall-legend { margin-top: 40px; padding: 28px; border-radius: 18px; border: 1px dashed var(--line-2); display: grid; gap: 18px; }
.hall-legend h3 { font-size: 1.1rem; letter-spacing: 0.1em; margin: 0; }
.hall-legend ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.hall-legend li { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 12px; background: rgba(230, 194, 122, 0.04); }
.hall-legend li b { font-family: var(--f-display); color: var(--ink); }
.hall-legend li small { color: var(--muted); font-size: 0.8rem; }
.hall-legend .btn { justify-self: start; }

/* ---------- Tentang ---------- */
.manifesto { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.manifesto__emblem { position: relative; display: grid; place-items: center; max-width: 100%; }
.manifesto__emblem::before { content: ""; position: absolute; inset: -6%; border-radius: 50%; border: 1px dashed var(--line-2); animation: spin 80s linear infinite; }
.manifesto__emblem img { width: 100%; max-width: 380px; filter: drop-shadow(0 0 50px rgba(230, 194, 122, 0.3)); animation: float 8s ease-in-out infinite; }
.manifesto__quote { margin: 0 0 28px; font-family: var(--f-serif); font-style: italic; font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.3; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.manifesto__copy p { color: var(--ink-2); font-size: 1.04rem; }
.behind .section-head { margin-bottom: 40px; }
.behind__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.behind__item { padding: 30px 26px; background: var(--bg-2); }
.behind__item b { display: block; font-family: var(--f-display); font-size: 1.08rem; font-weight: 600; color: var(--gold-hi); margin-bottom: 10px; }
.behind__item p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 14px; border: 1px solid var(--line); background: var(--panel); transition: border-color 0.3s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-family: var(--f-display); font-size: 1.04rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); transition: transform 0.35s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--ink-2); }

/* ---------- Kontak ---------- */
.contact { display: grid; grid-template-columns: 1.35fr 0.9fr; gap: 28px; align-items: start; }
.form { display: grid; gap: 18px; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field span { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.field input, .field select, .field textarea, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(8, 7, 13, 0.7);
  color: var(--ink);
  font: inherit;
  font-size: 0.98rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: #0c0a14; }
.field input:focus, .field select:focus, .field textarea:focus, .comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230, 194, 122, 0.15); }
.field ::placeholder { color: #6e665c; }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form__note { color: var(--muted); font-size: 0.8rem; }
.notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: 0.94rem; }
.notice--success { background: rgba(127, 224, 210, 0.1); border: 1px solid rgba(127, 224, 210, 0.5); color: #c9fff6; }
.notice--error { background: rgba(231, 165, 154, 0.1); border: 1px solid rgba(231, 165, 154, 0.5); color: #ffd9d2; }
.contact__side { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 18px; padding: 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.contact-card .pillar__icon { margin: 0; width: 50px; height: 50px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-card p { margin: 0; font-size: 0.9rem; color: var(--muted); }

/* ---------- Konten (editor) ---------- */
.entry-content { font-size: 1.06rem; line-height: 1.85; color: var(--ink-2); }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content p { margin: 0; }
.entry-content > p + p { margin-top: 1.1em; }
.entry-content h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); color: var(--gold-hi); margin: 2em 0 0.6em; }
.entry-content h2::before { content: "✦"; display: block; font-size: 0.7rem; color: var(--gold); margin-bottom: 10px; letter-spacing: 0; }
.section--lore .entry-content h2::before, .entry-content--page h2:first-child::before { display: none; }
.entry-content h3 { font-size: 1.35rem; color: var(--ink); margin: 1.6em 0 0.5em; }
.entry-content > :first-child { margin-top: 0 !important; }
.entry-content a { color: var(--gold); border-bottom: 1px solid rgba(230, 194, 122, 0.4); }
.entry-content a:hover { color: var(--gold-hi); border-color: var(--gold-hi); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul li::marker { color: var(--gold); }
.entry-content li + li { margin-top: 0.4em; }
.entry-content strong { color: var(--ink); }
.entry-content blockquote, .entry-content .wp-block-quote { margin: 2em 0; padding: 10px 0 10px 28px; border-left: 2px solid var(--gold); font-family: var(--f-serif); font-style: italic; font-size: 1.6rem; line-height: 1.45; color: var(--gold-hi); }
.entry-content blockquote p { margin: 0; }
.entry-content img { border-radius: 14px; }
.entry-content figure { margin: 2em 0; }
.entry-content figcaption { text-align: center; font-size: 0.84rem; color: var(--muted); margin-top: 10px; }
.entry-content hr { border: 0; height: 1px; background: var(--grad-line); margin: 3em 0; }
.entry-content code { padding: 2px 7px; border-radius: 6px; background: rgba(230, 194, 122, 0.1); color: var(--gold-hi); font-size: 0.9em; }
.entry-content pre { padding: 20px; border-radius: 14px; background: #0c0a14; border: 1px solid var(--line); overflow: auto; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content .wp-block-button__link { background: var(--grad-gold); color: #1b1206; border: 0; border-radius: 4px; padding: 14px 26px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.78rem; }
.entry-content .alignwide { margin-left: -8vw; margin-right: -8vw; }
.alignleft { float: left; margin: 0.4em 1.6em 1em 0; }
.alignright { float: right; margin: 0.4em 0 1em 1.6em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, .gallery-caption { color: var(--muted); font-size: 0.84rem; }
.sticky, .bypostauthor { position: relative; }

/* Artikel */
.article-hero__inner { position: relative; text-align: center; }
.page-title--article { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.15; }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; color: var(--muted); font-size: 0.84rem; }
.article-meta > span:not([class]) { color: var(--gold); font-size: 0.6rem; align-self: center; }
.article-cover { margin: 0 0 40px; border-radius: 18px; overflow: hidden; }
.article-foot { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tags a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.78rem; color: var(--ink-2); }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.article-nav__item { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); }
.article-nav__item:hover { border-color: var(--gold); color: var(--ink); }
.article-nav__item small { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.article-nav__item b { font-family: var(--f-display); font-weight: 600; line-height: 1.35; }
.article-nav__item--next { text-align: right; grid-column: 2; }

/* Komentar */
.comments { margin-top: 60px; }
.comments__title, .comment-reply-title { font-size: 1.5rem; }
.comment-list { list-style: none; margin: 0 0 40px; padding: 0; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-body { padding: 22px; margin-bottom: 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.comment-author { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { font-size: 0.78rem; margin: 4px 0 10px; }
.comment-metadata a { color: var(--muted); }
.comment-content { color: var(--ink-2); }
.reply a { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.comment-form { display: grid; gap: 16px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.comment-form .comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); font-size: 0.86rem; }
.comment-notes, .logged-in-as { color: var(--muted); font-size: 0.88rem; }

/* 404 */
.lost { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) 0 80px; overflow: hidden; }
.lost__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.lost__code { display: flex; align-items: center; gap: 0.12em; font-family: var(--f-display); font-size: clamp(6rem, 20vw, 13rem); font-weight: 700; line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 20px; }
.lost__moon { display: inline-block; width: 0.72em; height: 0.72em; border-radius: 50%; box-shadow: inset -0.2em 0.08em 0 0 var(--gold); transform: rotate(-20deg); animation: float 6s ease-in-out infinite; filter: drop-shadow(0 0 30px rgba(230, 194, 122, 0.4)); }
.lost .page-lead { margin-bottom: 34px; }
.lost .hero__actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 1; overflow: hidden; padding: 90px 0 30px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(14, 11, 22, 0.6), rgba(5, 4, 8, 1)); }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--grad-line); }
.site-footer__glow { position: absolute; left: 50%; top: -260px; width: 700px; height: 400px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(230, 194, 122, 0.12), transparent); pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr 1.2fr; gap: 36px; }
.footer-brand .brand img { height: 52px; margin-bottom: 22px; }
.footer-brand p { color: var(--muted); max-width: 360px; font-size: 0.94rem; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer-badges span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--ink-2); }
.footer-badges .icon { width: 15px; height: 15px; color: var(--gold); }
.footer-col h4 { font-size: 0.82rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--ink-2); font-size: 0.94rem; }
.footer-col a:hover { color: var(--gold-hi); }
.footer-col--note p { color: var(--muted); font-size: 0.92rem; }
.footer-col--note em { color: var(--gold-hi); font-style: normal; }
.footer-col--note .link-arrow { color: var(--gold); }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 70px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
.footer-domain { letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.68rem; }
.to-top { color: var(--ink-2); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; }

/* ---------- Animasi muncul ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .game-card.reveal.is-in { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: opacity 0.9s var(--ease), transform 0.35s var(--ease), box-shadow 0.4s var(--ease); }
.js .hall-chip.reveal.is-in { transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: opacity 0.9s var(--ease), transform 0.35s var(--ease), border-color 0.3s; }

/* ---------- Responsif ---------- */
@media (max-width: 1180px) {
  .game-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .hall-strip { grid-template-columns: repeat(3, 1fr); }
  .behind__grid { grid-template-columns: repeat(2, 1fr); }
  .hall-legend ul { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1320px) {
  .header-cta { display: none; }
  .main-nav .menu > li > a { padding: 10px 11px; letter-spacing: 0.14em; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .footer-col--note { grid-column: 1 / -1; }
}
@media (max-width: 1080px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__facts { margin-left: auto; margin-right: auto; width: 100%; }
  .hero__orrery { order: -1; }
  .orrery { --s: min(420px, 78vw); }
  .hero { padding-top: calc(var(--header-h) + 20px); }
  .play__grid { grid-template-columns: 1fr; }
  .play__side { position: static; grid-template-columns: repeat(2, 1fr); }
  .ritual { grid-template-columns: 1fr; }
  .manifesto { grid-template-columns: 1fr; text-align: center; }
  .manifesto__emblem img { max-width: 260px; }
  .manifesto__emblem { justify-self: center; width: min(300px, 80vw); }
  .manifesto__emblem::before { inset: -4%; }
  .contact { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .game-card--feature { grid-template-columns: 1fr; }
  .game-card--feature .game-card__art { min-height: 0; aspect-ratio: 400 / 260; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .hall-row { grid-template-columns: 130px minmax(0, 1fr); }
  .hall-row__nums { grid-column: 1 / -1; justify-content: space-between; }
  .hall-row__nums div { align-items: flex-start; }
  .hall-row > .btn { grid-column: 1 / -1; justify-self: stretch; }
  .medallion { flex-direction: column; text-align: center; }
  .medallion__stats { justify-content: center; }
  .medallion .eyebrow { justify-content: center; }
  .ag-root { --ag-maxh: 64vh; }
}
@media (max-width: 680px) {
  :root { --header-h: 70px; }
  body { font-size: 15.5px; }
  .brand img { height: 36px; }
  .site-header.is-scrolled { --header-h: 62px; }
  .site-header.is-scrolled .brand img { height: 32px; }
  .game-grid--4, .game-grid--full, .post-grid, .pillars { grid-template-columns: 1fr; }
  .hall-strip { grid-template-columns: repeat(2, 1fr); }
  .hall-strip .hall-chip:last-child { grid-column: 1 / -1; }
  .hero__title { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .hero__facts dt { font-size: 1.5rem; }
  .hero__facts div { padding-right: 8px; }
  .hero__facts div + div { padding-left: 12px; }
  .hero__facts dd { font-size: 0.62rem; letter-spacing: 0.08em; }
  .hero__actions .btn { flex: 1 1 100%; }
  .btn--lg { --h: 52px; }
  .orrery__planet { width: 42px; height: 42px; margin: -21px 0 0 -21px; }
  .orrery__planet svg { width: 19px; height: 19px; }
  .play__side { grid-template-columns: 1fr; }
  .form__row--2 { grid-template-columns: 1fr; }
  .behind__grid { grid-template-columns: 1fr; }
  .hall-legend ul { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .journal-bar { flex-direction: column; align-items: stretch; }
  .search-field { width: 100%; }
  .search-form label { flex: 1; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav__item--next { grid-column: auto; }
  .ag-hud { grid-template-columns: auto 1fr auto; gap: 10px; }
  .ag-name { display: none; }
  .ag-tools { grid-column: 2; grid-row: 1; justify-content: center; }
  .ag-stat b { font-size: 1.25rem; }
  .ag-root { --ag-maxh: 74vh; }
  .cabinet { padding: 8px; border-radius: 16px; }
  .step { padding: 20px; gap: 16px; }
  .step__num { width: 44px; height: 44px; font-size: 0.95rem; }
  .hall-row { grid-template-columns: 1fr; padding: 14px; }
  .hall-row__art { max-width: none; }
  .play-hero__diff { align-items: flex-start; }
  .medallion__stats { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
