/* =========================================================
   Warnet Alkhirid98.net — stylesheet
   ========================================================= */

:root {
  --bg: #070a08;
  --panel: #0f1512;
  --panel-2: #131b17;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef3ec;
  --muted: #93a199;
  --lime: #c6f94a;
  --lime-deep: #9fd424;
  --ok: #4bd486;
  --busy: #f0a93f;
  --off: #647268;

  --t-reguler: #4da3ff;
  --t-premium: #ff8a3d;
  --t-vip: #b06bff;
  --t-stream: #3ee08a;

  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 9px;
  --max: 1180px;
  --font-display: "Space Grotesk", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(198, 249, 74, 0.13), transparent 62%),
    radial-gradient(700px 480px at 2% 10%, rgba(77, 163, 255, 0.09), transparent 60%),
    radial-gradient(900px 700px at 50% 108%, rgba(198, 249, 74, 0.06), transparent 62%);
}

main, header, footer { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  font-weight: 700;
}
ul { margin: 0; padding: 0; list-style: none; }
svg {
  width: 1.15em; height: 1.15em; fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--lime); color: #0a0f08;
  padding: 10px 16px; border-radius: 8px; font-weight: 600; z-index: 100;
}
.skip-link:focus { left: 12px; }

:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lime {
  background: var(--lime); color: #0a0f08;
  box-shadow: 0 10px 30px -12px rgba(198, 249, 74, 0.7);
}
.btn-lime:hover { background: #d3ff63; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong); color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(198, 249, 74, 0.45); }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ---------------- Banner promo ---------------- */

.promo-bar {
  background:
    linear-gradient(90deg, rgba(198, 249, 74, 0.16), rgba(77, 163, 255, 0.1) 55%, rgba(198, 249, 74, 0.16)),
    #0a0f0b;
  border-bottom: 1px solid rgba(198, 249, 74, 0.3);
}
.promo-inner {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px;
  padding-top: 9px; padding-bottom: 9px;
}
.promo-text {
  display: flex; align-items: center; flex-wrap: wrap; gap: 7px;
  margin: 0; font-size: 0.86rem; color: #cfd8d1;
}
.promo-text strong { font-family: var(--font-display); font-size: 0.9rem; color: #fff; }
.promo-sub { font-size: 0.78rem; color: var(--muted); }
.promo-tag {
  background: var(--lime); color: #0a0f08;
  font-family: var(--font-display); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
}
.promo-link {
  margin-left: auto; padding-bottom: 1px;
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
  color: var(--lime); white-space: nowrap;
  border-bottom: 1px solid rgba(198, 249, 74, 0.45);
}
.promo-link:hover { color: #d3ff63; }
.promo-close {
  flex: none; width: 32px; height: 32px;
  display: grid; place-items: center;
  padding: 0; border-radius: 9px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-strong);
  color: var(--muted); font-size: 1.1rem; line-height: 1; cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.promo-close:hover { color: var(--text); border-color: rgba(198, 249, 74, 0.45); }
.promo-bar.is-hidden { display: none; }

/* ---------------- Header ---------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 10, 8, 0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); background: rgba(7, 10, 8, 0.92); }

.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 11px; background: linear-gradient(150deg, var(--lime), var(--lime-deep));
  color: #0a0f08; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  box-shadow: 0 8px 22px -10px rgba(198, 249, 74, 0.8);
}
/* Logo asli (persegi 1254x1254): hanya bagian kepala kucing yang ditampilkan */
.brand-mark--img {
  position: relative; overflow: hidden; background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 22px -12px rgba(198, 249, 74, 0.7);
}
.brand-mark--img img {
  position: absolute; display: block; width: 179%; height: 179%;
  left: -32%; top: -8.6%;
}
.footer-brand .brand-mark--img { width: 44px; height: 44px; border-radius: 12px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-size: 1.02rem; }
.brand-dot { color: var(--lime); }
.brand-text small { color: var(--muted); font-size: 0.73rem; }

.main-nav {
  display: flex; align-items: center; gap: 24px; margin-left: auto;
  font-size: 0.92rem; font-weight: 500;
}
.main-nav a:not(.btn) { color: var(--muted); transition: color 0.18s ease; }
.main-nav a:not(.btn):hover { color: var(--text); }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  padding: 12px 10px; background: transparent;
  border: 1px solid var(--line-strong); border-radius: 11px;
  cursor: pointer; flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.22s ease, opacity 0.22s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */

.hero { padding: 62px 0 26px; }

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 50px; align-items: center;
}

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(255, 255, 255, 0.03); font-size: 0.8rem; color: #cfd8d1; margin-bottom: 22px;
}

.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none;
  box-shadow: 0 0 0 0 rgba(75, 212, 134, 0.6); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(75, 212, 134, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(75, 212, 134, 0); }
  100% { box-shadow: 0 0 0 0 rgba(75, 212, 134, 0); }
}

.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); margin-bottom: 18px; }
.hl { color: var(--lime); }
.hero .lead { color: #b8c4bb; font-size: 1.02rem; max-width: 33em; margin-bottom: 26px; }
.hero .lead strong { color: var(--text); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-size: 0.85rem; color: var(--muted);
  border-top: 1px solid var(--line); padding-top: 20px;
}
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { color: var(--lime); flex: none; }

.hero-media { position: relative; }
.hero-media > img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 24px; border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.95);
}
/* Hero memakai poster promo (potret 3:4), bukan foto ruangan */
.hero-media.hero-media--poster > img {
  height: auto; aspect-ratio: 1086 / 1448; object-fit: contain;
  background: linear-gradient(180deg, #0b110d, #070a08);
}
.hero-live {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 12px; padding: 12px 16px;
  border: 1px solid var(--line-strong); border-radius: 15px;
  background: rgba(10, 14, 11, 0.9);
}
.hero-live-stat { display: flex; flex-direction: column; line-height: 1.25; }
.hero-live-stat strong {
  font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; color: var(--lime);
}
.hero-live-rating {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-family: var(--font-display); font-size: 0.88rem; font-weight: 600;
}
.hero-live-rating .star { color: var(--lime); }
.hero-live-rating small { color: var(--muted); font-weight: 400; font-family: var(--font-body); }

.float-card {
  position: absolute; left: 18px; bottom: 18px; padding: 13px 17px;
  border-radius: 15px; background: rgba(10, 14, 11, 0.9);
  backdrop-filter: blur(10px); border: 1px solid var(--line-strong);
  box-shadow: 0 20px 40px -22px #000; min-width: 186px;
}
.float-label { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); }
.float-card strong { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; color: var(--lime); }
.float-sub { font-size: 0.75rem; color: var(--muted); }

.float-badge {
  position: absolute; top: 16px; right: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(10, 14, 11, 0.9); border: 1px solid var(--line-strong);
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
}
.float-badge .star { color: var(--lime); }
.float-badge small { color: var(--muted); font-weight: 400; font-family: var(--font-body); }

/* ---------------- Tier strip ---------------- */

.tier-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  margin-top: 26px;
}
.tier-chip {
  padding: 8px 15px; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
  font-family: var(--font-display);
  border: 1px solid color-mix(in srgb, var(--tier) 45%, transparent);
  background: color-mix(in srgb, var(--tier) 12%, transparent);
  color: var(--tier);
}
.tier-reguler { --tier: var(--t-reguler); }
.tier-premium { --tier: var(--t-premium); }
.tier-vip { --tier: var(--t-vip); }
.tier-stream { --tier: var(--t-stream); }
.tier-note { font-size: 0.78rem; color: var(--muted); }

/* ---------------- Ticker ---------------- */

.ticker {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(198, 249, 74, 0.08), rgba(77, 163, 255, 0.06), rgba(198, 249, 74, 0.08));
  padding: 13px 0; margin-top: 18px;
}
.ticker-track { display: flex; width: max-content; animation: ticker 42s linear infinite; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 12px; padding-right: 22px;
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: #cfdcd2; white-space: nowrap;
}
.ticker-item i { color: var(--lime); font-style: normal; font-size: 0.55rem; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- Sections ---------------- */

.section { padding: 82px 0; }
.section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}

.section-head { max-width: 660px; margin-bottom: 34px; }
.section-head.split {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; max-width: none;
}
.section-head.split > div { max-width: 660px; }

.eyebrow {
  font-family: var(--font-display); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); margin-bottom: 10px;
}
.section h2 { font-size: clamp(1.6rem, 3.1vw, 2.3rem); }
.section-lead { color: var(--muted); font-size: 0.97rem; margin: 0; }
.section-lead strong { color: var(--text); }
.subhead { font-size: 1.12rem; margin: 44px 0 20px; }
.subhead span { color: var(--muted); font-family: var(--font-body); font-weight: 400; font-size: 0.88rem; }
.fineprint { color: #7d8a82; font-size: 0.8rem; margin: 22px 0 0; }
.center { text-align: center; margin-top: 28px; }

/* ---------------- Live status ---------------- */

.live-panel {
  display: flex; align-items: center; gap: 11px; padding: 12px 18px;
  border: 1px solid rgba(75, 212, 134, 0.3); background: rgba(75, 212, 134, 0.07);
  border-radius: 14px; flex: none;
}
.live-panel strong { display: block; font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.12em; color: var(--ok); }
.live-panel small { color: var(--muted); font-size: 0.75rem; }

.status-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 22px;
}
.filter-group { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--muted);
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: all 0.18s ease;
}
.chip span {
  font-size: 0.72rem; padding: 1px 7px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); color: var(--muted);
}
.chip:hover { color: var(--text); border-color: rgba(198, 249, 74, 0.4); }
.chip.is-active { background: var(--lime); border-color: var(--lime); color: #0a0f08; }
.chip.is-active span { background: rgba(0, 0, 0, 0.16); color: #0a0f08; }

.status-summary { margin: 0; font-size: 0.88rem; color: var(--muted); }
.status-summary strong { color: var(--lime); }

.pc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 14px; }
.status-loading {
  grid-column: 1 / -1; padding: 34px; text-align: center; color: var(--muted);
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
}

.pc {
  position: relative; display: flex; flex-direction: column; gap: 9px;
  padding: 14px 15px 15px; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(115% 95% at 100% 0%, color-mix(in srgb, var(--tier) 20%, transparent), transparent 62%),
    linear-gradient(165deg, var(--panel-2), var(--panel));
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.pc::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--tier, var(--off)), transparent 88%);
}
.pc::after {
  content: ""; position: absolute; right: -46px; bottom: -62px; width: 148px; height: 148px;
  border-radius: 50%; pointer-events: none; opacity: 0.55;
  background: radial-gradient(circle, color-mix(in srgb, var(--tier) 34%, transparent), transparent 68%);
}
.pc > * { position: relative; z-index: 1; }
.pc:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--tier) 55%, transparent);
  box-shadow: 0 20px 42px -26px color-mix(in srgb, var(--tier) 85%, transparent);
}
.pc--on { border-color: color-mix(in srgb, var(--ok) 30%, var(--line)); }
.pc--in_use { border-color: color-mix(in srgb, var(--busy) 34%, var(--line)); }
.pc--off { opacity: 0.62; }
.pc--off:hover { opacity: 0.8; }

.pc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pc-badge {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; color: #08110a;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(150deg, color-mix(in srgb, var(--tier) 92%, #fff 8%), color-mix(in srgb, var(--tier) 72%, #000 12%));
  box-shadow: 0 8px 18px -12px color-mix(in srgb, var(--tier) 95%, transparent);
}
.pc--off .pc-badge { background: linear-gradient(150deg, #58635a, #39423c); color: #dfe7e0; }
.pc-state {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04);
  font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); white-space: nowrap;
}
.pc-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pc--on .pc-state {
  color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent);
  background: color-mix(in srgb, var(--ok) 14%, transparent);
}
.pc--on .pc-state::before { animation: pc-pulse 2.4s ease-out infinite; }
.pc--in_use .pc-state {
  color: var(--busy); border-color: color-mix(in srgb, var(--busy) 45%, transparent);
  background: color-mix(in srgb, var(--busy) 14%, transparent);
}
.pc--off .pc-state { color: var(--off); border-color: color-mix(in srgb, var(--off) 45%, transparent); }

.pc-name {
  margin: 2px 0 0; font-family: var(--font-display); font-size: 1rem;
  font-weight: 600; letter-spacing: 0.01em; line-height: 1.2;
}
.pc-tier {
  margin: 0; font-size: 0.63rem; font-weight: 700; letter-spacing: 0.11em;
  text-transform: uppercase; color: var(--tier);
}

.pc-body { display: flex; flex-direction: column; gap: 7px; margin-top: 4px; }
.pc-user {
  margin: 0; font-weight: 600; font-size: 0.88rem; line-height: 1.25;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pc-game {
  margin: 0; align-self: flex-start; max-width: 100%;
  padding: 5px 9px; border-radius: 9px;
  border: 1px solid color-mix(in srgb, var(--tier) 30%, var(--line));
  background: color-mix(in srgb, var(--tier) 12%, transparent);
  font-size: 0.73rem; color: var(--muted); line-height: 1.3;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; overflow-wrap: anywhere;
}
.pc-game strong { font-weight: 700; color: var(--text); }
.pc-time {
  margin: 0; font-size: 0.75rem; color: var(--muted);
  font-variant-numeric: tabular-nums; line-height: 1.35;
}
.pc-time span { font-weight: 700; color: var(--text); }
.pc-bar { height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.09); overflow: hidden; }
.pc-bar span {
  display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--busy), color-mix(in srgb, var(--busy) 45%, var(--lime)));
  transition: width 0.4s ease;
}
.pc-left { margin: 0; font-size: 0.76rem; color: var(--muted); }
.pc-free {
  display: inline-flex; align-items: center; gap: 7px; margin: 0;
  font-size: 0.8rem; font-weight: 500; color: color-mix(in srgb, var(--ok) 88%, #fff);
}
.pc-free::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%; flex: none;
  background: color-mix(in srgb, var(--ok) 22%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ok) 60%, transparent);
  background-image: radial-gradient(circle, var(--ok) 34%, transparent 36%);
}

@keyframes pc-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 65%, transparent); }
  70% { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

@media (max-width: 520px) {
  .pc-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  .pc { padding: 12px 12px 13px; border-radius: 14px; }
  .pc-badge { width: 32px; height: 32px; font-size: 0.9rem; border-radius: 10px; }
  .pc-name { font-size: 0.92rem; }
}

.status-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line);
}
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.8rem; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-on { background: var(--ok); }
.dot-busy { background: var(--busy); }
.dot-off { background: var(--off); }

/* ---------------- Peringkat member: podium + tabel ---------------- */

.podium {
  display: grid; grid-template-columns: 1fr 1.18fr 1fr;
  align-items: end; gap: 10px; margin: 34px 0 26px;
}
.podium-place {
  position: relative; display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 3px;
}
.podium-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.07); color: var(--text);
}
.podium-name { font-weight: 600; font-size: 0.92rem; line-height: 1.25; }
.podium-hours {
  font-size: 0.8rem; color: var(--lime); font-weight: 600; font-variant-numeric: tabular-nums;
}
.podium-bar {
  width: 100%; margin-top: 8px;
  border-radius: 14px 14px 0 0;
  display: flex; align-items: flex-start; justify-content: center; padding-top: 10px;
  font-family: var(--font-display); font-weight: 700; color: rgba(10, 15, 8, 0.85);
  transform-origin: bottom;
  animation: podium-rise 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.podium-rank { font-size: 1.7rem; line-height: 1; }

.podium-place--1 .podium-avatar {
  width: 58px; height: 58px; font-size: 1.2rem;
  background: linear-gradient(160deg, #d8ff6b, #9fd424); color: #0a0f08;
  box-shadow: 0 0 0 5px rgba(198, 249, 74, 0.13);
}
.podium-place--1 .podium-bar {
  height: 152px; animation-delay: 0.15s;
  background: linear-gradient(180deg, #e2ff85, #9fd424);
  box-shadow: 0 -14px 46px -20px rgba(198, 249, 74, 0.95);
}
.podium-place--2 .podium-bar {
  height: 110px; animation-delay: 0.3s;
  background: linear-gradient(180deg, #f1f6f8, #a9bac4);
}
.podium-place--3 .podium-bar {
  height: 88px; animation-delay: 0.45s;
  background: linear-gradient(180deg, #ffd0a1, #d98b3f);
}
.podium-place--2 .podium-avatar { color: #e9f1f6; border-color: rgba(233, 241, 246, 0.4); }
.podium-place--3 .podium-avatar { color: #ffd0a1; border-color: rgba(255, 208, 161, 0.45); }

.podium-crown {
  position: absolute; top: -24px; font-size: 1.25rem;
  animation: crown-bob 2.8s ease-in-out infinite;
}

@keyframes podium-rise {
  from { transform: scaleY(0.04); opacity: 0.3; }
  to { transform: scaleY(1); opacity: 1; }
}
@keyframes crown-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.rank-table-wrap {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(16, 21, 28, 0.86), rgba(9, 13, 18, 0.78));
  padding: 14px 6px 4px; overflow: hidden;
}
.rank-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.rank-table th {
  text-align: left; padding: 0 12px 9px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--muted);
}
.rank-table th:first-child, .rank-table td:first-child { width: 90px; }
.rank-table th:last-child, .rank-table td:last-child { text-align: right; }
.rank-table tbody tr { border-top: 1px solid var(--line); transition: background 0.18s ease; }
.rank-table tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
.rank-table td { padding: 11px 12px; }
.rank-table .rank-cell {
  font-family: var(--font-display); font-weight: 700; color: var(--muted);
}
.rank-table .hours-cell {
  color: var(--lime); font-weight: 600; font-variant-numeric: tabular-nums;
}

.rank-updated { margin: 0; font-size: 0.84rem; color: var(--muted); }
.rank-note { margin: 16px 0 0; font-size: 0.8rem; color: #7d8a82; }

@media (max-width: 560px) {
  .podium-place--1 .podium-bar { height: 116px; }
  .podium-place--2 .podium-bar { height: 88px; }
  .podium-place--3 .podium-bar { height: 72px; }
  .podium-name { font-size: 0.84rem; }
  .podium-avatar { width: 40px; height: 40px; }
  .podium-place--1 .podium-avatar { width: 50px; height: 50px; }
  .rank-table th:first-child, .rank-table td:first-child { width: 72px; }
  .rank-table { font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .podium-bar, .podium-crown { animation: none !important; }
}

/* ---------------- Fasilitas ---------------- */

.facility-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 18px;
}
.facility {
  display: flex; flex-direction: column; gap: 2px;
  padding: 16px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: rgba(15, 21, 18, 0.7);
}
.facility-icon { font-size: 1.15rem; margin-bottom: 4px; }
.facility strong { font-size: 0.86rem; font-family: var(--font-display); }
.facility span { font-size: 0.74rem; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature {
  position: relative; padding: 22px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(15, 21, 18, 0.72);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.feature:hover { border-color: rgba(198, 249, 74, 0.32); background: rgba(19, 27, 23, 0.9); }
.feature-num {
  display: block; font-family: var(--font-display); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.12em; color: var(--lime); margin-bottom: 12px;
}
.feature h3 { font-size: 1rem; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 0.88rem; }

/* ---------------- Harga ---------------- */

.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.price-card {
  position: relative; display: flex; flex-direction: column;
  padding: 24px 20px 20px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(19, 27, 23, 0.95), rgba(13, 18, 15, 0.9));
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.price-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--tier), transparent 85%);
}
.price-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--tier) 45%, transparent); }

.tier-tag {
  display: inline-block; padding: 4px 11px; border-radius: 999px;
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--tier); background: color-mix(in srgb, var(--tier) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--tier) 40%, transparent);
}
.price-head { margin-bottom: 18px; }
.tier-desc { margin: 9px 0 12px; font-size: 0.8rem; color: var(--muted); }
.tier-rate {
  margin: 0; font-family: var(--font-display); font-size: 1.95rem; font-weight: 700;
  line-height: 1.1; color: var(--text);
}
.tier-rate span { font-size: 0.85rem; font-weight: 500; color: var(--muted); margin-left: 3px; }
.tier-sub { margin: 2px 0 0; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

.member-block {
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 14px; margin-bottom: 18px;
}
.member-label {
  margin: 0 0 8px; font-size: 0.68rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--tier); font-weight: 700;
}
.member-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 6px 0; font-size: 0.86rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.member-list li:last-child { border-bottom: 0; }
.member-list span { color: var(--muted); }
.member-list strong { font-family: var(--font-display); font-size: 0.92rem; }
.price-card .btn { margin-top: auto; }

.member-note {
  display: flex; align-items: center; gap: 14px;
  margin: 18px 0 0; padding: 16px 18px;
  border: 1px solid rgba(198, 249, 74, 0.28);
  background: rgba(198, 249, 74, 0.06);
  border-radius: var(--radius-sm);
}
.member-note .star { color: var(--lime); font-size: 1.1rem; }
.member-note p { margin: 0; font-size: 0.9rem; color: #d6e0d8; }
.member-note strong { color: var(--text); }

/* ---------------- Paket malam ---------------- */

.night { margin-top: 56px; }
.night .section-head { margin-bottom: 24px; }
.night-block { margin-bottom: 22px; }
.night-title {
  font-size: 1rem; margin: 0 0 10px; letter-spacing: 0.02em;
}
.night-title span {
  font-family: var(--font-body); font-weight: 400; font-size: 0.8rem;
  color: var(--muted); margin-left: 6px;
}
.night-title--weekend { color: var(--t-premium); }

.table-scroll {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow-x: auto; background: rgba(15, 21, 18, 0.6);
}
.rate-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.rate-table th, .rate-table td { padding: 14px 16px; text-align: left; font-size: 0.9rem; }
.rate-table thead th {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
.rate-table thead .col-reguler { color: var(--t-reguler); }
.rate-table thead .col-premium { color: var(--t-premium); }
.rate-table thead .col-vip { color: var(--t-vip); }
.rate-table thead .col-stream { color: var(--t-stream); }
.rate-table tbody tr + tr { border-top: 1px solid var(--line); }
.rate-table tbody th {
  display: flex; flex-direction: column; gap: 2px; font-weight: 600;
  font-family: var(--font-display);
}
.rate-table tbody th span { font-family: var(--font-body); font-size: 0.74rem; color: var(--muted); font-weight: 400; }
.rate-table tbody td { font-family: var(--font-display); font-weight: 600; white-space: nowrap; }
.rate-table tbody tr:hover { background: rgba(255, 255, 255, 0.025); }

/* ---------------- Spesifikasi ---------------- */

.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.spec-grid--four { grid-template-columns: repeat(4, 1fr); }

.spec-card {
  position: relative; display: flex; flex-direction: column;
  padding: 24px 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(15, 21, 18, 0.75); overflow: hidden;
}
.spec-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--tier), transparent 85%);
}
.spec-head h3 { font-size: 1.02rem; margin: 12px 0 4px; line-height: 1.3; }
.spec-sub { margin: 0 0 14px; font-size: 0.78rem; color: var(--muted); }
.spec-list { margin-bottom: 16px; }
.spec-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
  font-size: 0.82rem;
}
.spec-list li:last-child { border-bottom: 0; }
.spec-list span { color: var(--muted); flex: none; }
.spec-list strong { font-weight: 500; text-align: right; }
.spec-price {
  margin: auto 0 14px; font-family: var(--font-display); font-weight: 600;
  font-size: 0.9rem; color: var(--tier);
}
.spec-price span { font-family: var(--font-body); font-weight: 400; font-size: 0.76rem; color: var(--muted); }

/* ---------------- Games ---------------- */

.game-group + .game-group { margin-top: 26px; }
.game-group-title {
  display: flex; align-items: baseline; gap: 8px; margin: 0 0 12px;
  font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.05em; text-transform: uppercase;
}
.game-count { font-family: var(--font-body); font-weight: 400; font-size: 0.75rem; letter-spacing: 0; text-transform: none; color: var(--muted); }
/* Kartu game: cover potret 2:3 (240x360) + nama di bawah, seperti katalog game */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: 12px; }
.game-grid--preview { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.game-tile {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(15, 21, 18, 0.75);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.game-tile img {
  display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover;
  /* Placeholder selama cover belum selesai di-decode (layout tetap 2:3). */
  background: linear-gradient(150deg, #141d17 0%, #0b100d 55%, #101812 100%);
  opacity: 0; transition: opacity 0.3s ease;
}
.game-tile img.is-loaded { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .game-tile img { transition: none; }
}
.game-tile-name {
  padding: 9px 10px 10px; font-size: 0.82rem; font-weight: 500; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; overflow-wrap: anywhere; min-height: 3.05em;
}
.game-tile:hover {
  border-color: rgba(198, 249, 74, 0.4); transform: translateY(-3px);
  box-shadow: 0 20px 34px -26px rgba(0, 0, 0, 0.95);
}
/* Cadangan bila sebuah game tidak punya cover potret */
.game-tile--icon img { object-fit: contain; padding: 26px; }
.game-more { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* Halaman game terpisah */
.page-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.subpage-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; font-size: 0.9rem; font-weight: 500; }
.subpage-nav a:not(.btn) { color: var(--muted); }
.subpage-nav a:not(.btn):hover { color: var(--text); }

/* ---------------- Galeri ---------------- */

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 0.5s ease; }
.gallery-item--wide { grid-column: span 2; }
.gallery-item--wide img { aspect-ratio: 2 / 1; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 16px 13px;
  font-size: 0.8rem; color: #dfe7e1;
  background: linear-gradient(180deg, transparent, rgba(4, 7, 5, 0.9));
}

/* ---------------- Reviews ---------------- */

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review {
  margin: 0; padding: 24px; border: 1px solid var(--line);
  border-radius: var(--radius); background: rgba(15, 21, 18, 0.72);
}
.stars { color: var(--lime); letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 12px; }
.review blockquote { margin: 0 0 18px; font-size: 0.94rem; color: #d6e0d8; line-height: 1.65; }
.review figcaption { display: flex; align-items: center; gap: 11px; }
.avatar {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(198, 249, 74, 0.14); border: 1px solid rgba(198, 249, 74, 0.3);
  color: var(--lime); font-family: var(--font-display); font-weight: 600; flex: none;
}
.review figcaption strong { display: block; font-size: 0.88rem; }
.review figcaption small { color: var(--muted); font-size: 0.76rem; }

/* ---------------- FAQ ---------------- */

.faq-wrap { max-width: 880px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 19px 4px; cursor: pointer;
  font-family: var(--font-display); font-size: 1rem; font-weight: 500;
  list-style: none; transition: color 0.18s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-size: 1.35rem; color: var(--lime); line-height: 1;
  flex: none; transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--lime); }
.faq-list details p { margin: 0; padding: 0 4px 20px; color: var(--muted); font-size: 0.92rem; max-width: 64ch; }

/* ---------------- Lokasi ---------------- */

.location-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 18px; }
.location-card {
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(15, 21, 18, 0.75);
}
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.07); }
.contact-list li:first-child { padding-top: 0; }
.contact-list li:last-child { border-bottom: 0; }
.contact-icon {
  display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  border-radius: 11px; background: rgba(198, 249, 74, 0.1);
  border: 1px solid rgba(198, 249, 74, 0.2); color: var(--lime);
}
.contact-list strong { display: block; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.contact-list p { margin: 0; font-size: 0.93rem; }
.contact-list a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(198, 249, 74, 0.5); }
.location-actions { display: grid; gap: 9px; margin-top: 22px; }

.map-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  min-height: 340px; background: var(--panel-2);
}
.map-card iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; filter: grayscale(0.35) contrast(1.05); }

/* ---------------- Footer ---------------- */

.site-footer { border-top: 1px solid var(--line); background: #060907; padding: 56px 0 26px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 34px; align-items: start; }

/* Logo lengkap (1254x1254) di footer — ukuran 220–260px agar tulisan terbaca */
.footer-logo {
  display: block; width: 240px; max-width: 100%;
  border-radius: 18px; overflow: hidden;
  background: #fff; border: 1px solid var(--line-strong);
  box-shadow: 0 24px 50px -30px rgba(198, 249, 74, 0.5);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.footer-logo:hover { transform: translateY(-2px); border-color: rgba(198, 249, 74, 0.55); }
.footer-logo img { display: block; width: 100%; height: auto; }
.footer-tagline {
  font-family: var(--font-display); font-size: 0.76rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: #c6d1c9; margin: 16px 0 0;
}
.footer-brand p:not(.footer-tagline) { color: var(--muted); font-size: 0.87rem; max-width: 30em; margin: 10px 0 18px; }
.socials { display: flex; gap: 8px; }
.socials a {
  display: grid; place-items: center; width: 44px; height: 36px;
  border-radius: 10px; border: 1px solid var(--line-strong);
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 600;
  color: var(--muted); transition: all 0.18s ease;
}
.socials a:hover { color: #0a0f08; background: var(--lime); border-color: var(--lime); }

.footer-col h3 {
  font-family: var(--font-display); font-size: 0.76rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: #c6d1c9; margin-bottom: 14px;
}
.footer-col a, .footer-col p {
  display: block; color: var(--muted); font-size: 0.86rem; margin: 0 0 9px;
  transition: color 0.18s ease;
}
.footer-col a:hover { color: var(--lime); }
.area-list { line-height: 1.8; }

.footer-bottom {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--line);
  color: #6f7d75; font-size: 0.78rem;
}
.footer-bottom p { margin: 0; }

/* ---------------- CTA mobile ---------------- */

.mobile-cta { display: none; }

/* ---------------- Responsive ---------------- */

@media (max-width: 1080px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-grid--four { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .facility-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-media > img { aspect-ratio: 16 / 10; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .section-head.split { flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 24px 22px;
    background: rgba(8, 12, 9, 0.98); border-bottom: 1px solid var(--line);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a:not(.btn) { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .main-nav .btn { margin-top: 14px; justify-content: center; }

  .promo-inner { position: relative; gap: 6px 14px; padding-top: 10px; padding-bottom: 10px; }
  .promo-bar .promo-inner { padding-right: 46px; }
  .promo-link { margin-left: 0; order: 5; }
  .promo-close { position: absolute; top: 10px; right: 0; margin-left: 0; }
  .hero { padding: 40px 0 22px; }
  .section { padding: 60px 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery-item--wide { grid-column: span 2; }
  .gallery-item--wide img { aspect-ratio: 16 / 9; }

  .mobile-cta {
    display: flex; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(7, 10, 8, 0.94);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .mobile-cta .btn { flex: 1; padding: 12px 16px; font-size: 0.9rem; }
  body { padding-bottom: 70px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .promo-text { font-size: 0.8rem; }
  .promo-text strong { font-size: 0.84rem; }
  .promo-sub { font-size: 0.74rem; }
  .hero h1 { font-size: 1.95rem; }
  .btn { padding: 13px 20px; font-size: 0.92rem; }
  .cta-row .btn { flex: 1 1 auto; }
  .feature-grid, .review-grid, .footer-grid, .price-grid, .spec-grid--four { grid-template-columns: 1fr; }
  .footer-logo { width: 220px; }
  .game-grid--preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subpage-nav { gap: 12px; font-size: 0.82rem; }
  .subpage-nav a:not(.btn) { display: none; }
  .facility-grid { grid-template-columns: 1fr 1fr; }
  .game-grid { grid-template-columns: 1fr 1fr; }
  .game-grid--preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .pc { padding: 12px; }
  .pc-id { font-size: 0.86rem; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-item--wide { grid-column: auto; }
  .gallery-item--wide img { aspect-ratio: 16 / 10; }
  .float-card { left: 12px; bottom: 12px; padding: 10px 13px; min-width: 160px; }
  .float-card strong { font-size: 1.25rem; }
  .float-badge { top: 12px; right: 12px; font-size: 0.76rem; padding: 6px 11px; }
  .location-card { padding: 22px; }
  .tier-strip { gap: 6px; }
  .tier-chip { font-size: 0.74rem; padding: 6px 11px; }
  .tier-note { width: 100%; }
  .hero-meta { font-size: 0.8rem; gap: 8px 16px; }
}

@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;
  }
}

/* =========================================================
   Refresh tampilan: nuansa gaming lounge gelap & sinematik
   ========================================================= */

:root {
  --bg: #05070a;
  --panel: #0a0e14;
  --panel-2: #0d1219;
  --text: #f3f6f9;
  --muted: #8d99a8;
  --lime: #ccff4d;
  --accent: #a99bff;
  --cyan: #5ee6d0;
}

body { background: var(--bg); }
body::before {
  background:
    radial-gradient(1100px 640px at 82% -12%, rgba(204, 255, 77, 0.1), transparent 62%),
    radial-gradient(900px 560px at -8% 4%, rgba(169, 155, 255, 0.12), transparent 60%),
    radial-gradient(1100px 700px at 50% 112%, rgba(94, 230, 208, 0.06), transparent 62%);
}

.site-header { background: rgba(5, 7, 10, 0.55); }
.site-header.is-stuck { background: rgba(5, 7, 10, 0.9); }
.header-inner { height: 68px; }

/* ---------------- Hero panggung ---------------- */

.hero { position: relative; padding: 78px 0 34px; isolation: isolate; overflow-x: clip; }
.hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 980px; height: 980px; right: 0; top: -300px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 110px rgba(255, 255, 255, 0.022), 0 0 0 280px rgba(255, 255, 255, 0.014);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(circle at 62% 32%, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 62% 32%, #000 0%, transparent 72%);
}
.hero-grid { gap: 56px; align-items: start; }

.hero-title {
  font-size: clamp(2.5rem, 6.2vw, 4.3rem);
  line-height: 0.96; letter-spacing: -0.035em; text-transform: uppercase;
  margin: 4px 0 20px;
}
.hero-accent { color: var(--accent); }
.hero-dot { color: var(--lime); }
.hero .lead { font-size: 1.05rem; color: #aab4bf; max-width: 34em; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 26px 38px;
  margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--line);
}
.hero-stats div { display: flex; flex-direction: column; gap: 3px; }
.hero-stats strong {
  font-family: var(--font-display); font-size: 2rem; line-height: 1;
  letter-spacing: -0.03em;
}
.hero-stats div:first-child strong { color: var(--lime); }
.hero-stats div:nth-child(3) strong { color: var(--accent); }
.hero-stats span {
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}

.hero-media--poster::before {
  content: ""; position: absolute; inset: -34px; z-index: -1; border-radius: 40px;
  background: radial-gradient(60% 60% at 50% 40%, rgba(169, 155, 255, 0.22), transparent 70%);
  filter: blur(18px); pointer-events: none;
}
.hero-media--poster > img { border-radius: 20px; }
.hero-live { background: rgba(10, 14, 19, 0.82); backdrop-filter: blur(8px); }

/* ---------------- Info harga mengambang di hero ---------------- */

.hero-copy { position: relative; }

.hero-ad {
  position: absolute; left: 0; top: calc(100% + 12px); z-index: 3;
  width: min(100%, 356px); padding: 14px 16px 13px;
  border-radius: 18px; border: 1px solid rgba(198, 249, 74, 0.3);
  background: linear-gradient(155deg, rgba(23, 31, 24, 0.95), rgba(10, 15, 12, 0.97));
  backdrop-filter: blur(12px);
  box-shadow: 0 26px 60px -30px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: hero-ad-float 6.5s ease-in-out infinite;
}
.hero-ad.is-hidden { display: none; }

.hero-ad-eyebrow {
  margin: 0; font-size: 0.62rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
}
.hero-ad-price {
  margin: 3px 0 0; font-family: var(--font-display); font-weight: 700;
  font-size: 1.8rem; line-height: 1; letter-spacing: -0.02em; color: var(--lime);
}
.hero-ad-price small {
  margin-left: 3px; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0; color: var(--muted);
}
.hero-ad-sub { margin: 5px 0 0; font-size: 0.73rem; color: var(--muted); }

.hero-ad-night { margin-top: 9px; padding-top: 9px; border-top: 1px dashed rgba(255, 255, 255, 0.14); }
.hero-ad-tag {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #0a0f08; background: linear-gradient(150deg, #e2ff85, #9fd424);
}
.hero-ad-line { margin: 8px 0 0; font-size: 0.9rem; color: var(--text); }
.hero-ad-line strong { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: -0.01em; }
.hero-ad-save { margin-left: 4px; font-size: 0.72rem; font-weight: 600; color: var(--ok); }
.hero-ad-per { margin: 3px 0 0; font-size: 0.74rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.hero-ad-per strong { color: var(--lime); }
.hero-ad-link {
  display: inline-block; margin-top: 8px; font-size: 0.72rem; color: var(--muted);
  text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.2); padding-bottom: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.hero-ad-link:hover { color: var(--lime); border-color: var(--lime); }

.hero-ad-close {
  position: absolute; top: 9px; right: 9px; width: 26px; height: 26px;
  display: grid; place-items: center; padding: 0;
  border-radius: 50%; border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.35); color: var(--muted);
  font-size: 1rem; line-height: 1; cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.hero-ad-close:hover {
  color: #0a0f08; background: var(--lime); border-color: var(--lime); transform: rotate(90deg);
}

@keyframes hero-ad-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ad { animation: none; }
}

@media (max-width: 920px) {
  .hero-ad { position: static; width: 100%; margin-top: 20px; animation: none; }
}

/* ---------------- Label section bernomor ---------------- */

main { counter-reset: sec; }
.section { counter-increment: sec; padding: 84px 0; }
.section > .wrap > .section-head .eyebrow::before,
.section > .wrap > .section-head.split .eyebrow::before {
  content: counter(sec, decimal-leading-zero) " · ";
  color: var(--lime); letter-spacing: 0.12em;
}
.eyebrow { color: var(--accent); letter-spacing: 0.2em; }
.section h2 { font-size: clamp(1.8rem, 3.5vw, 2.55rem); letter-spacing: -0.03em; }

/* ---------------- Panel & kartu ---------------- */

.facility, .feature, .price-card, .spec-card, .review, .location-card {
  background: linear-gradient(180deg, rgba(16, 21, 28, 0.86), rgba(9, 13, 18, 0.78));
  border-color: var(--line);
}
.feature:hover, .price-card:hover, .spec-card:hover, .review:hover {
  border-color: rgba(204, 255, 77, 0.35);
  box-shadow: 0 30px 60px -42px rgba(204, 255, 77, 0.45);
}
.site-footer { background: #05070a; }

/* Kartu status: nama unit jangan terpotong dua baris */
.pc-top { gap: 6px; }
.pc-id { white-space: nowrap; font-size: 0.88rem; letter-spacing: -0.01em; }
.pc-state { flex: none; }

/* ---------------- Pita CTA penutup ---------------- */

.cta-band {
  position: relative; overflow: hidden; text-align: center;
  padding: 92px 0; border-top: 1px solid var(--line);
  background:
    radial-gradient(760px 380px at 18% -10%, rgba(169, 155, 255, 0.16), transparent 62%),
    radial-gradient(720px 360px at 88% 110%, rgba(204, 255, 77, 0.12), transparent 62%),
    #06090d;
}
.cta-band::before {
  content: ""; position: absolute; left: 50%; top: -160px; width: 620px; height: 620px;
  transform: translateX(-50%); border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 80px rgba(255, 255, 255, 0.012);
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: clamp(2rem, 5vw, 3.3rem); text-transform: uppercase;
  letter-spacing: -0.035em; margin-bottom: 14px;
}
.cta-band .eyebrow { margin-bottom: 14px; }
.cta-lead { color: var(--muted); max-width: 44em; margin: 0 auto 26px; }
.cta-band .cta-row { justify-content: center; margin-bottom: 0; }

@media (max-width: 1000px) {
  .hero::before { right: 0; top: -220px; width: 720px; height: 720px; opacity: 0.6; }
  .hero-grid { gap: 34px; }
}

@media (max-width: 560px) {
  .hero { padding: 46px 0 26px; }
  .hero-title { font-size: 2.35rem; }
  .hero-stats { gap: 18px 26px; }
  .hero-stats strong { font-size: 1.6rem; }
  .cta-band { padding: 64px 0; }
}

/* ---------------- Tombol WhatsApp mengambang ---------------- */

.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 55;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(150deg, #4ce07a, #25d366 46%, #128c4a);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 38px -14px rgba(37, 211, 102, 0.7), 0 2px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.wa-fab svg { width: 30px; height: 30px; display: block; }
.wa-fab::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid rgba(37, 211, 102, 0.45);
  animation: waPulse 2.8s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  70%, 100% { transform: scale(1.24); opacity: 0; }
}
.wa-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -14px rgba(37, 211, 102, 0.85), 0 2px 10px rgba(0, 0, 0, 0.35);
}
.wa-fab:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.wa-fab-tip {
  position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 7px 12px; border-radius: 9px; white-space: nowrap;
  background: rgba(9, 14, 10, 0.96); border: 1px solid var(--line-strong);
  color: var(--text); font-family: var(--font-display); font-size: 0.8rem; font-weight: 600;
  opacity: 0; pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.wa-fab:hover .wa-fab-tip,
.wa-fab:focus-visible .wa-fab-tip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* Jangan menutupi teks kaki halaman di desktop */
@media (min-width: 821px) {
  .footer-bottom { padding-right: 84px; }
}

/* Di HP: naik ke atas bilah CTA (WhatsApp + Cek PC Kosong) supaya tidak menutupinya */
@media (max-width: 820px) {
  .wa-fab {
    right: 14px; width: 52px; height: 52px;
    bottom: calc(84px + env(safe-area-inset-bottom));
  }
  .wa-fab svg { width: 28px; height: 28px; }
  .wa-fab-tip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-fab, .wa-fab::after, .wa-fab-tip { animation: none; transition: none; }
}

/* ---------------- Tombol musik latar ---------------- */

.music-fab {
  position: fixed; left: 20px; bottom: 20px; z-index: 55;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--text);
  background: rgba(12, 17, 13, 0.92);
  border: 1px solid rgba(198, 249, 74, 0.32);
  box-shadow: 0 16px 34px -16px rgba(0, 0, 0, 0.9);
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.music-fab:hover { transform: translateY(-2px); border-color: var(--lime); }
.music-fab:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.music-fab.is-on { color: var(--lime); border-color: rgba(198, 249, 74, 0.75); }
.music-icon { width: 24px; height: 24px; display: none; }
.music-fab.is-on .music-icon--on { display: block; }
.music-fab:not(.is-on) .music-icon--off { display: block; }
.music-fab-tip {
  position: absolute; left: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(-6px);
  padding: 7px 12px; border-radius: 9px; white-space: nowrap;
  background: rgba(9, 14, 10, 0.96); border: 1px solid var(--line-strong);
  color: var(--text); font-family: var(--font-display); font-size: 0.8rem; font-weight: 600;
  opacity: 0; pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.music-fab:hover .music-fab-tip,
.music-fab:focus-visible .music-fab-tip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* Pemutar YouTube kecil di atas tombol musik */
.music-player {
  position: fixed; left: 20px; bottom: 84px; z-index: 56;
  width: 208px; border-radius: 14px; overflow: hidden;
  background: #000;
  border: 1px solid rgba(198, 249, 74, 0.32);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.95);
}
.music-player[hidden] { display: none; }
.music-player-frame { width: 100%; aspect-ratio: 16 / 9; }
/* YT.Player mengganti div #ytPlayer dengan iframe, jadi ukurannya dipaksa di sini. */
.music-player iframe {
  width: 100% !important; height: auto !important; aspect-ratio: 16 / 9;
  display: block; border: 0;
}
.music-player-label {
  margin: 0; padding: 6px 10px 7px;
  background: rgba(9, 14, 10, 0.96);
  color: var(--muted); font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

@media (max-width: 820px) {
  .music-fab {
    left: 14px; width: 48px; height: 48px;
    bottom: calc(84px + env(safe-area-inset-bottom));
  }
  .music-fab-tip { display: none; }
  .music-player {
    left: 14px; width: 172px;
    bottom: calc(140px + env(safe-area-inset-bottom));
  }
  .music-player-label { font-size: 0.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  .music-fab { transition: none; }
}
