/**
 * JOKER88 Lobby — main.css v1.1.0
 * Palette: gold #2b075a → #2b075a on #210703 / #0a0a0a
 */

:root {
  --gold-light: #f5d0fe;
  --gold-mid: #e879f9;
  --gold-dark: #a855f7;
  --gold-sheen: #f5d0fe;
  --navy: #1a0538;
  --navy-mid: #220650;
  --navy-soft: #2b075a;
  --charcoal: #0e0220;
  --text: #f8f0ff;
  --text-muted: #c9bddc;
  --border-gold: rgba(232, 121, 249, 0.55);
  --border-gold-strong: rgba(217, 70, 239, 0.85);
  --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 4px 24px rgba(232, 121, 249, 0.28);
  --shadow-elevated: 0 8px 32px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(232, 121, 249, 0.18);
  --font-display: "Rajdhani", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --header-h: 56px;
  --dock-h: 68px;
  --sidebar-w: 92px;
  --radius: 12px;
  --radius-pill: 999px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.45, 0.64, 1);
  --transition: 0.26s var(--ease-out);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.lobby-skin {
  margin: 0;
  min-height: 100vh;
  background-color: #14022c;
  background-image: url("../img/lobby-bg-dewi-api-2.webp?v=166");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

body.lobby-skin.has-dock { padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0)); }

h1, h2, h3, h4,
.lobby-hero__title,
.lobby-grid-head__title,
.lobby-btn,
.lobby-cats__item,
.lobby-card__badge,
.lobby-footer__col h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
}

h1, h2, h3 { line-height: 1.2; }

p, li, .lobby-hero__sub, .lobby-grid-head__hint {
  font-family: var(--font-body);
  font-weight: 400;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--gold-mid);
  color: #000;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ── Header ── */
.lobby-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #1a0538;
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.45), inset 0 -1px 0 rgba(217, 70, 239, 0.08);
}

.lobby-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 16px;
  min-height: var(--header-h);
}

.lobby-logo img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(217, 70, 239, 0.4));
  transition: filter var(--transition);
}
.lobby-logo:hover img { filter: drop-shadow(0 0 14px rgba(217, 70, 239, 0.55)); }

.lobby-auth { display: flex; gap: 8px; }

.lobby-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.lobby-btn--ghost {
  background: rgba(33, 7, 3, 0.4);
  border-color: var(--gold-mid);
  color: var(--gold-light);
}
.lobby-btn--ghost:hover {
  background: rgba(232, 121, 249, 0.14);
  border-color: var(--gold-light);
  transform: translateY(-1px);
}

.lobby-btn--gold {
  background: linear-gradient(135deg, var(--gold-sheen) 0%, var(--gold-light) 18%, var(--gold-mid) 58%, var(--gold-dark) 100%);
  color: #1a1200;
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.lobby-btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232, 121, 249, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ── Marquee ── */
.lobby-marquee {
  overflow: hidden;
  background: linear-gradient(90deg, var(--charcoal) 0%, var(--navy-soft) 35%, var(--navy-mid) 65%, var(--charcoal) 100%);
  border-bottom: 1px solid var(--border-gold);
  padding: 9px 0;
}

.lobby-marquee__track {
  display: flex;
  width: max-content;
  animation: lobby-marquee 38s linear infinite;
  gap: 0;
}

.lobby-marquee__item {
  white-space: nowrap;
  padding: 0 20px;
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.lobby-marquee__sep {
  color: var(--gold-mid);
  opacity: 0.65;
  align-self: center;
}

@keyframes lobby-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Hero carousel ── */
.lobby-hero {
  position: relative;
  max-width: 1280px;
  margin: 18px auto;
  padding: 0 16px;
  min-height: 220px;
}

.lobby-hero__track {
  position: relative;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.lobby-hero__slide {
  display: none;
  min-height: 220px;
  padding: 40px 32px;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--border-gold-strong);
  position: relative;
  overflow: hidden;
}
.lobby-hero__slide.is-active { display: block; animation: hero-fade 0.55s var(--ease-out); }

.lobby-hero__slide.slide-a {
  background:
    radial-gradient(ellipse 70% 80% at 85% 15%, rgba(217, 70, 239, 0.28), transparent 55%),
    linear-gradient(135deg, #2a0d05 0%, #4d1a0a 22%, #210703 58%, #0a0a0a 100%);
}
.lobby-hero__slide.slide-b {
  background:
    radial-gradient(circle at 20% 80%, rgba(232, 121, 249, 0.18), transparent 45%),
    linear-gradient(118deg, #210703 0%, #2a0d05 30%, #3b1408 50%, #38100a 78%, #0a0a0a 100%);
}
.lobby-hero__slide.slide-c {
  background:
    radial-gradient(ellipse 60% 70% at 70% 30%, rgba(217, 70, 239, 0.2), transparent 50%),
    linear-gradient(158deg, #0a0a0a 0%, #38100a 30%, #5c200c 55%, #210703 82%, #0a0a0a 100%);
}

.lobby-hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(217, 70, 239, 0.24), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 35%);
  pointer-events: none;
  z-index: 0;
}

.lobby-hero__sheen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.lobby-hero__sheen::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -60%;
  width: 42%;
  height: 140%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 240, 190, 0.04) 30%,
    rgba(217, 70, 239, 0.28) 48%,
    rgba(255, 240, 190, 0.06) 62%,
    transparent 100%
  );
  transform: skewX(-14deg);
  animation: hero-sheen 7s ease-in-out infinite;
}

@keyframes hero-sheen {
  0%, 100% { transform: translateX(0) skewX(-14deg); opacity: 0; }
  8% { opacity: 1; }
  45% { transform: translateX(320%) skewX(-14deg); opacity: 1; }
  55%, 100% { opacity: 0; }
}

.lobby-hero__inner { position: relative; z-index: 2; max-width: 540px; }

.lobby-hero__tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(217, 70, 239, 0.12);
  border: 1px solid var(--gold-mid);
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.lobby-hero__title {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 4.2vw, 2.35rem);
  color: var(--gold-light);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55), 0 0 40px rgba(232, 121, 249, 0.15);
}

.lobby-hero__sub {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

.lobby-hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-gold-strong);
  background: rgba(33, 7, 3, 0.88);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-soft);
}
.lobby-hero__nav:hover {
  background: rgba(232, 121, 249, 0.28);
  transform: translateY(-50%) scale(1.06);
  box-shadow: var(--shadow-gold);
}
.lobby-hero__nav.prev { left: 26px; }
.lobby-hero__nav.next { right: 26px; }

.lobby-hero__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.lobby-hero__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(217, 70, 239, 0.35);
  background: rgba(217, 70, 239, 0.2);
  cursor: pointer;
  padding: 0;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}
.lobby-hero__dot:hover { transform: scale(1.15); }
.lobby-hero__dot.is-active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-mid));
  border-color: var(--gold-light);
  box-shadow: 0 0 12px rgba(232, 121, 249, 0.55);
  transform: scale(1.2);
}

@keyframes hero-fade {
  from { opacity: 0.35; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Promo strip ── */
.lobby-promo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 1280px;
  margin: 0 auto 18px;
  padding: 0 16px;
}

.lobby-promo-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border-gold);
  background: linear-gradient(145deg, rgba(10, 10, 10, 0.75), rgba(33, 7, 3, 0.55));
  box-shadow: var(--shadow-soft);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.lobby-promo-card:hover {
  border-color: var(--gold-mid);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}
.lobby-promo-card strong {
  color: var(--gold-light);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.lobby-promo-card span {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ── Two-column lobby ── */
.lobby-shell {
  display: flex;
  gap: 0;
  max-width: 1280px;
  margin: 0 auto 28px;
  padding: 0 16px;
  min-height: 420px;
}

.lobby-sidebar {
  flex: 0 0 var(--sidebar-w);
  position: sticky;
  top: calc(var(--header-h) + 52px);
  align-self: flex-start;
  z-index: 10;
}

.lobby-cats {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: linear-gradient(180deg, rgba(33, 7, 3, 0.95), rgba(26, 5, 2, 0.92));
  border: 1px solid var(--border-gold);
  border-radius: calc(var(--radius) + 2px);
  padding: 8px 6px;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(217, 70, 239, 0.06);
}

.lobby-cats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 11px 6px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.lobby-cats__item img {
  width: 24px;
  height: 24px;
  opacity: 0.72;
  filter: brightness(1.15);
  transition: opacity var(--transition), transform var(--transition);
}
.lobby-cats__item:hover {
  background: linear-gradient(180deg, rgba(217, 70, 239, 0.12), rgba(232, 121, 249, 0.05));
  color: var(--gold-light);
  border-color: rgba(217, 70, 239, 0.2);
}
.lobby-cats__item:hover img { opacity: 0.95; transform: scale(1.05); }

.lobby-cats__item.is-active {
  background: linear-gradient(180deg, rgba(217, 70, 239, 0.22), rgba(232, 121, 249, 0.1));
  color: var(--gold-light);
  border-color: var(--border-gold-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 16px rgba(232, 121, 249, 0.15);
  animation: cat-bounce 0.38s var(--ease-spring);
}
.lobby-cats__item.is-active::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--gold-sheen), var(--gold-mid));
  box-shadow: 0 0 8px rgba(232, 121, 249, 0.5);
}
.lobby-cats__item.is-active img { opacity: 1; transform: scale(1.08); }

@keyframes cat-bounce {
  0% { transform: scale(1); }
  40% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.lobby-cats__glyph {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  opacity: 0.85;
  box-shadow: 0 2px 8px rgba(232, 121, 249, 0.25);
}
.lobby-cats__glyph--togel { clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); }
.lobby-cats__glyph--fish { border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }

.lobby-grid-wrap {
  flex: 1;
  min-width: 0;
  padding-left: 14px;
}

.lobby-grid-head { margin-bottom: 14px; }
.lobby-grid-head__title {
  margin: 0;
  font-size: 1.4rem;
  color: var(--gold-light);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}
.lobby-grid-head__hint {
  margin: 5px 0 0;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.lobby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(142px, 1fr));
  gap: 12px;
}

.lobby-card { border-radius: var(--radius); overflow: visible; }
.lobby-card[hidden] { display: none !important; }

.lobby-card__link {
  display: block;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(10, 10, 10, 0.85), rgba(33, 7, 3, 0.65));
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color var(--transition);
  will-change: transform;
}
.lobby-card__link:hover {
  transform: translateY(-5px) scale(1.035);
  border-color: var(--gold-mid);
  box-shadow: var(--shadow-elevated);
}

.lobby-card__art {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.lobby-card__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

.lobby-card--v1 .lobby-card__art { background: linear-gradient(145deg, #3b1408, #210703); }
.lobby-card--v2 .lobby-card__art { background: linear-gradient(145deg, #38100a, #4d1a0a); }
.lobby-card--v3 .lobby-card__art { background: linear-gradient(145deg, #0a0a0a, #5c200c); }
.lobby-card--v4 .lobby-card__art { background: linear-gradient(145deg, #2a0d05, #38100a); }
.lobby-card--v5 .lobby-card__art { background: linear-gradient(145deg, #210703, #3b1408); }
.lobby-card--v6 .lobby-card__art { background: linear-gradient(145deg, #4d1a0a, #0a0a0a); }

.lobby-card__initial {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(217, 70, 239, 0.42);
  text-shadow: 0 0 24px rgba(232, 121, 249, 0.35);
  transition: transform 0.3s var(--ease-out), color var(--transition);
}
.lobby-card__link:hover .lobby-card__initial {
  transform: scale(1.08);
  color: rgba(217, 70, 239, 0.58);
}

.lobby-card__body { padding: 9px 11px 11px; position: relative; }
.lobby-card__badge {
  position: absolute;
  top: -30px;
  right: 8px;
  padding: 3px 9px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--gold-sheen), var(--gold-light) 40%, var(--gold-mid));
  color: #1a1200;
  font-size: 10px;
  box-shadow: 0 2px 10px rgba(232, 121, 249, 0.4);
}
.lobby-card__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── SEO article ── */
.lobby-seo {
  max-width: 860px;
  margin: 0 auto 52px;
  padding: 0 16px;
}

.lobby-seo__inner {
  padding: 30px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border-gold);
  background: linear-gradient(160deg, rgba(33, 7, 3, 0.6), rgba(10, 10, 10, 0.5));
  box-shadow: var(--shadow-soft);
}

.lobby-seo__inner h1 {
  font-size: clamp(1.35rem, 3.5vw, 1.8rem);
  color: var(--gold-light);
  margin: 0 0 16px;
}

.lobby-seo__inner h2 {
  font-size: 1.15rem;
  color: var(--gold-mid);
  margin: 24px 0 10px;
}

.lobby-seo__inner p,
.lobby-seo__inner li {
  color: var(--text-muted);
  font-size: 14px;
}

.lobby-seo__inner a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 2px; }
.lobby-seo__inner code {
  background: rgba(217, 70, 239, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--gold-light);
  font-size: 13px;
}

.lobby-checklist { padding-left: 20px; }
.lobby-checklist li { margin-bottom: 10px; }

.lobby-faq { margin-top: 16px; }
.lobby-faq__item {
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  margin-bottom: 8px;
  background: rgba(10, 10, 10, 0.45);
  transition: border-color var(--transition);
}
.lobby-faq__item[open] { border-color: var(--border-gold-strong); }
.lobby-faq__item summary {
  padding: 12px 14px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text);
  list-style: none;
}
.lobby-faq__item summary::-webkit-details-marker { display: none; }
.lobby-faq__item p { padding: 0 14px 12px; margin: 0; }

/* ── Footer ── */
.lobby-footer {
  position: relative;
  background: linear-gradient(180deg, var(--charcoal) 0%, #070707 100%);
  border-top: 1px solid var(--border-gold);
  padding: 36px 16px 22px;
  margin-bottom: 0;
}
.lobby-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(480px, 60%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-mid), transparent);
  opacity: 0.7;
}

.lobby-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
}

.lobby-footer__brand img {
  height: 38px;
  width: auto;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 8px rgba(217, 70, 239, 0.25));
}
.lobby-footer__brand p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
  max-width: 34ch;
}

.lobby-footer__col h3 {
  font-size: 13px;
  color: var(--gold-light);
  margin: 0 0 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lobby-footer__col ul { list-style: none; margin: 0; padding: 0; }
.lobby-footer__col li { margin-bottom: 9px; }
.lobby-footer__col a {
  font-family: var(--font-body);
  color: var(--text-muted);
  font-size: 13px;
  transition: color var(--transition), padding-left var(--transition);
}
.lobby-footer__col a:hover {
  color: var(--gold-light);
  padding-left: 3px;
}

.lobby-footer__partner-list {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
}

.lobby-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.lobby-footer__social a {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-gold);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  background: rgba(33, 7, 3, 0.5);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.lobby-footer__social a:hover {
  background: rgba(232, 121, 249, 0.14);
  border-color: var(--gold-mid);
  transform: translateY(-1px);
  padding-left: 14px;
}

.lobby-footer__bottom {
  max-width: 1280px;
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(232, 121, 249, 0.12);
  text-align: center;
}
.lobby-footer__bottom p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ── Mobile bottom dock ── */
.lobby-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  height: var(--dock-h);
  padding-bottom: env(safe-area-inset-bottom, 0);
  background: rgba(33, 7, 3, 0.97);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-top: 1px solid var(--border-gold-strong);
  box-shadow: 0 -6px 28px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(217, 70, 239, 0.06);
  align-items: flex-end;
  justify-content: space-around;
}

.lobby-dock__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  padding: 6px 4px 10px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  min-width: 0;
  transition: color var(--transition);
}
.lobby-dock__item:hover,
.lobby-dock__item:focus { color: var(--gold-light); }

.lobby-dock__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  transition: transform var(--transition);
}
.lobby-dock__item:hover .lobby-dock__icon { transform: translateY(-1px); }

.lobby-dock__item--fab {
  position: relative;
  padding-bottom: 6px;
}
.lobby-dock__fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-top: -26px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-sheen) 0%, var(--gold-light) 20%, var(--gold-mid) 60%, var(--gold-dark) 100%);
  color: #1a1200;
  border: 3px solid var(--navy);
  box-shadow:
    0 0 0 2px rgba(217, 70, 239, 0.45),
    0 6px 22px rgba(232, 121, 249, 0.55),
    0 2px 8px rgba(0, 0, 0, 0.45),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.28s var(--ease-spring), box-shadow var(--transition);
}
.lobby-dock__item--fab:hover .lobby-dock__fab {
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 0 0 3px rgba(217, 70, 239, 0.55),
    0 10px 32px rgba(232, 121, 249, 0.6),
    0 4px 12px rgba(0, 0, 0, 0.5),
    inset 0 2px 0 rgba(255, 255, 255, 0.35);
}
.lobby-dock__item--fab .lobby-dock__label {
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ── Circular float contact ── */
.lobby-float {
  position: fixed;
  bottom: calc(84px + env(safe-area-inset-bottom, 0));
  right: 18px;
  z-index: 250;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.lobby-float__menu {
  display: flex;
  flex-direction: column;
  gap: 9px;
  animation: float-in 0.3s var(--ease-out);
}
.lobby-float__menu[hidden] { display: none; }

.lobby-float__link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 11px;
  border-radius: var(--radius-pill);
  background: rgba(33, 7, 3, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.lobby-float__link:hover {
  transform: translateX(-5px);
  border-color: var(--gold-mid);
  box-shadow: var(--shadow-gold);
}
.lobby-float__link--wa svg { color: #25d366; }
.lobby-float__link--tg svg { color: #29b6f6; }
.lobby-float__link--lc svg { color: var(--gold-light); }

.lobby-float__toggle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--gold-mid);
  background: linear-gradient(145deg, var(--navy-mid), var(--charcoal));
  color: var(--gold-light);
  cursor: pointer;
  box-shadow: var(--shadow-gold), 0 0 0 4px rgba(33, 7, 3, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s var(--ease-spring), background var(--transition), box-shadow var(--transition), color var(--transition);
}
.lobby-float__toggle:hover {
  transform: scale(1.07);
  box-shadow: 0 6px 28px rgba(232, 121, 249, 0.4), 0 0 0 4px rgba(33, 7, 3, 0.6);
}
.lobby-float__toggle[aria-expanded="true"] {
  background: linear-gradient(145deg, var(--gold-sheen), var(--gold-light) 30%, var(--gold-mid));
  color: #1a1200;
  border-color: var(--gold-light);
  box-shadow: 0 6px 24px rgba(232, 121, 249, 0.45), 0 0 0 4px rgba(33, 7, 3, 0.5);
}

@keyframes float-in {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Login toast ── */
.lobby-toast {
  position: fixed;
  bottom: calc(94px + env(safe-area-inset-bottom, 0));
  left: 50%;
  transform: translateX(-50%);
  z-index: 400;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: var(--radius);
  background: rgba(33, 7, 3, 0.98);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold-mid);
  box-shadow: var(--shadow-elevated);
  max-width: calc(100% - 32px);
}
.lobby-toast[hidden] { display: none; }
.lobby-toast p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text);
}
.lobby-toast a {
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-mid));
  color: #1a1200;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ── Page templates ── */
.lobby-page { max-width: 860px; margin: 24px auto 48px; padding: 0 16px; }
.lobby-page--404 { text-align: center; }
.lobby-article time {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ── Responsive ── */
@media (min-width: 901px) {
  .lobby-footer__col + .lobby-footer__col {
    border-left: 1px solid rgba(217, 70, 239, 0.1);
    padding-left: 24px;
  }
  .lobby-footer__brand { padding-right: 8px; }
}

@media (max-width: 900px) {
  .lobby-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .lobby-footer__col + .lobby-footer__col { border-left: none; padding-left: 0; }
  .lobby-promo-strip { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body.lobby-skin.has-dock { padding-bottom: calc(var(--dock-h) + 12px + env(safe-area-inset-bottom, 0)); }

  .lobby-dock { display: flex; }
  .lobby-footer { padding-bottom: calc(var(--dock-h) + 18px); }
  .lobby-float { bottom: calc(var(--dock-h) + 14px + env(safe-area-inset-bottom, 0)); }

  .lobby-shell { flex-direction: column; }
  .lobby-sidebar {
    position: static;
    flex: none;
    width: 100%;
  }
  .lobby-cats {
    flex-direction: row;
    overflow-x: auto;
    padding: 8px;
    scrollbar-width: none;
    gap: 8px;
  }
  .lobby-cats::-webkit-scrollbar { display: none; }
  .lobby-cats__item {
    flex: 0 0 auto;
    min-width: 68px;
    padding: 9px 12px;
  }
  .lobby-cats__item.is-active::before {
    left: 50%;
    top: auto;
    bottom: -2px;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    border-radius: 3px 3px 0 0;
  }
  .lobby-grid-wrap { padding-left: 0; padding-top: 14px; }
  .lobby-grid { grid-template-columns: repeat(auto-fill, minmax(122px, 1fr)); gap: 10px; }

  .lobby-hero__nav { display: none; }
  .lobby-hero__slide { padding: 32px 22px; min-height: 200px; }
  .lobby-footer__grid { grid-template-columns: 1fr; }
  .lobby-footer__brand p { max-width: none; }
}

@media (min-width: 769px) {
  .lobby-float { bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .lobby-marquee__track { animation: none; }
  .lobby-hero__slide.is-active { animation: none; }
  .lobby-hero__sheen::after { animation: none; opacity: 0; }
  .lobby-cats__item.is-active { animation: none; }
  .lobby-card__link:hover { transform: translateY(-3px); }
  .lobby-dock__item--fab:hover .lobby-dock__fab { transform: translateY(-2px); }
}


/* ===== Image hero banners — cropped art, natural height, full-bleed ===== */
.lobby-hero--images {
  min-height: 0 !important;
  background: #14022c !important;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  border: 1px solid rgba(232, 121, 249,.28);
  aspect-ratio: auto;
  position: relative;
  height: auto !important;
  max-width: min(1400px, calc(100% - 28px));
  margin: 12px auto 0;
  padding: 0 !important;
}
.lobby-hero--images .lobby-hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  margin: 0;
  z-index: 6;
}
.lobby-hero--images .lobby-hero__nav.prev { left: 10px; }
.lobby-hero--images .lobby-hero__nav.next { right: 10px; }
.lobby-hero--images .lobby-hero__track {
  min-height: 0;
  position: relative;
  inset: auto;
  height: auto;
  line-height: 0;
}
.lobby-hero--images .lobby-hero__slide {
  background: #14022c !important;
  min-height: 0 !important;
  padding: 0 !important;
  position: absolute;
  left: 0; top: 0; right: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s var(--ease-out);
  line-height: 0;
}
.lobby-hero--images .lobby-hero__slide.is-active {
  position: relative;
  inset: auto;
  height: auto;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
  animation: none;
}
.lobby-hero--images .lobby-hero__slide::before,
.lobby-hero--images .lobby-hero__sheen { display: none !important; }
.lobby-banner { display: block; width: 100%; height: auto; line-height: 0; background: #14022c; }
.lobby-banner__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: unset;
  object-position: center center;
}

/* ═══════ Reference-matched layout (measured: 1400px col, 80/50px header,
   banner 4:1 + 42px marquee, sidebar 140px squares, 4-col grid gap 28,
   square art + 42px red title bar) ═══════ */

.lobby-header { position: static; background: transparent; padding: 0; border: 0; box-shadow: none; }

.lobby-header__top {
  max-width: 1400px;
  margin: 0 auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  background: #1a0538;
}
.lobby-logo img { width: 152px; height: 56px; object-fit: contain; }
.lobby-header__utils { display: flex; align-items: center; gap: 18px; }
.lobby-util {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lobby-util:hover { color: var(--gold-light); }
.lobby-btn--sm { padding: 8px 18px; font-size: 13px; }

.lobby-header__bar {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px 8px;
  background: #1a0538;
  border-bottom: 2px solid rgba(217, 70, 239, 0.3);
  flex-wrap: nowrap;
}
.lobby-nav { display: flex; gap: 0; flex-wrap: nowrap; }
.lobby-nav__item {
  width: 176px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 5px;
  color: #ead9c2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: none;
  border: 0;
  background: transparent;
}
.lobby-nav__item svg { flex: 0 0 auto; }
.lobby-nav__item:hover,
.lobby-nav__item.is-active {
  color: #210703;
  background: linear-gradient(180deg, var(--gold-sheen), var(--gold-mid));
}

.lobby-login { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.lobby-login__input {
  width: 175px;
  max-width: none;
  height: 35px;
  padding: 0 14px;
  border: 0;
  border-radius: 15px 2px 15px 5px;
  background: #fff;
  color: #2e1a0a;
  font-size: 13px;
}
.lobby-login__input::placeholder { color: #9d7f6c; }
.lobby-btn--masuk {
  height: 35px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, #e0662b, #8f2a0d 60%, #6e1c0a);
  box-shadow: 0 3px 10px rgba(180, 80, 20, 0.4);
}
.lobby-btn--masuk:hover { filter: brightness(1.1); }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Hero banner: 1372 wide, 4:1-ish, marquee glued underneath */
.lobby-hero,
.lobby-hero--images {
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}
.lobby-banner__img { width: 100%; height: auto; object-fit: contain; }

.lobby-marquee {
  max-width: 1400px;
  margin: 0 auto 16px;
  height: 42px;
  display: flex;
  align-items: center;
  background: rgba(33, 7, 3, 0.6);
  border: 0;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
}

/* Promo strip within column */
.lobby-promo-strip { max-width: 1400px; margin-left: auto; margin-right: auto; }

/* Shell: 140px sidebar squares + 4-col grid gap 28 */
.lobby-shell {
  max-width: 1400px;
  margin: 0 auto 28px;
  padding: 0 14px;
  gap: 28px;
}
.lobby-sidebar { flex: 0 0 140px; }
.lobby-cats {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  align-items: stretch;
}
.lobby-cats__item {
  width: 140px;
  height: 140px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 6px;
  border-radius: 12px;
  border: 2px solid rgba(255, 130, 60, 0.45);
  background: radial-gradient(circle at 50% 28%, rgba(220, 90, 30, 0.5), rgba(40, 10, 4, 0.95) 72%);
  color: #ffeeda;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: inset 0 0 22px rgba(217, 70, 239, 0.3);
  text-align: center;
}
.lobby-cats__item img { width: 56px; height: 56px; margin: 0; opacity: 0.95; }
.lobby-cats__item:hover {
  border-color: rgba(255, 160, 80, 0.8);
  color: #fff;
  background: radial-gradient(circle at 50% 28%, rgba(245, 110, 40, 0.6), rgba(52, 14, 5, 0.95) 72%);
}
.lobby-cats__item.is-active {
  border-color: var(--gold-mid);
  color: var(--gold-light);
  box-shadow: 0 0 18px rgba(232, 121, 249, 0.4), inset 0 0 24px rgba(232, 121, 249, 0.18);
  background: radial-gradient(circle at 50% 28%, rgba(180, 110, 35, 0.5), rgba(42, 15, 6, 0.95) 72%);
  animation: none;
}
.lobby-cats__item.is-active::before { display: none; }
.lobby-cats__item.is-active img { transform: none; }

.lobby-grid-wrap { padding-left: 0; }
.lobby-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* Card: square art + 42px title bar with red gradient (reference style) */
.lobby-card { border-radius: 14px; }
.lobby-card__link {
  position: relative;
  border: 0;
  border-radius: 14px;
  background: rgba(232, 121, 249, 0.1);
  overflow: hidden;
}
.lobby-card__link:hover { transform: translateY(-4px); border: 0; }
.lobby-card__art {
  aspect-ratio: 1 / 1;
  display: block;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}
.lobby-card__art::after { display: none; }
.lobby-card__initial { display: none; }
.lobby-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lobby-card__body {
  position: static;
  height: 42px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: linear-gradient(165deg, #e02020, rgba(0, 0, 0, 0));
}
.lobby-card__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  text-transform: uppercase;
  text-align: left;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.lobby-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

/* ── Responsive overrides ── */
@media (max-width: 1240px) {
  .lobby-nav__item { width: auto; padding: 0 18px; }
  .lobby-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
@media (max-width: 1024px) {
  .lobby-header__bar { flex-wrap: wrap; height: auto; padding-bottom: 10px; }
  .lobby-login { width: 100%; justify-content: center; }
  .lobby-login__input { width: 34%; min-width: 120px; }
}
@media (max-width: 860px) {
  .lobby-shell { flex-direction: column; gap: 14px; }
  .lobby-sidebar { flex: none; width: 100%; position: static; }
  .lobby-cats { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 4px; }
  .lobby-cats::-webkit-scrollbar { display: none; }
  .lobby-cats__item { width: 92px; height: 92px; min-height: 92px; min-width: 92px; font-size: 11px; gap: 6px; }
  .lobby-cats__item img { width: 36px; height: 36px; }
  .lobby-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .lobby-card__body { height: 36px; padding: 0 10px; }
  .lobby-card__title { font-size: 11px; }
  .lobby-nav__item { font-size: 13px; height: 42px; padding: 0 12px; gap: 5px; }
  .lobby-header__top { height: 64px; }
  .lobby-logo img { width: 118px; height: 44px; }
  .lobby-header__utils { gap: 10px; }
  .lobby-util { font-size: 11px; }
}
@media (max-width: 560px) {
  .lobby-grid { grid-template-columns: repeat(2, 1fr); }
  .lobby-login__input { width: 36%; min-width: 100px; height: 32px; }
  .lobby-btn--masuk { height: 32px; padding: 0 14px; font-size: 12px; }
  .lobby-header__utils .lobby-util:first-child { display: none; }
}

/* ── Final polish: hero follows cropped banner height ── */
.lobby-hero.lobby-hero--images,
.lobby-hero--images {
  height: auto !important;
  aspect-ratio: auto !important;
  max-width: min(1400px, calc(100% - 28px));
  margin: 12px auto 0;
  padding: 0 !important;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  background: #1a0538;
}
.lobby-hero--images .lobby-hero__track { height: auto !important; position: relative !important; inset: auto !important; }
.lobby-hero--images .lobby-hero__slide.is-active { height: auto !important; position: relative !important; }
.lobby-banner { height: auto !important; }
.lobby-banner__img {
  width: 100% !important;
  height: auto !important;
  object-fit: unset !important;
  object-position: center center;
}
.lobby-marquee {
  background: rgba(33, 7, 3, 0.72) !important;
  border: 0 !important;
  margin-bottom: 18px !important;
}
.lobby-marquee__item { color: #f0abfc !important; }
.lobby-promo-strip--hidden,
.lobby-grid-head--hidden { display: none !important; }

/* Category = full 140px art tile (like reference GIF buttons) */
.lobby-cats__item {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  position: relative;
  overflow: hidden;
}
.lobby-cats__item img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  opacity: 1 !important;
  margin: 0 !important;
}
.lobby-cats__item span { display: none; }
.lobby-cats__item.is-active {
  outline: 2px solid var(--gold-mid);
  outline-offset: 0;
  box-shadow: 0 0 16px rgba(232, 121, 249,.45) !important;
}

/* ── Responsive (after polish so overrides win) ── */
@media (max-width: 1420px) {
  .lobby-hero,
  .lobby-hero--images { margin-left: 12px; margin-right: 12px; }
  .lobby-marquee { margin-left: 12px !important; margin-right: 12px !important; max-width: none; }
}
@media (max-width: 1024px) {
  .lobby-hero,
  .lobby-hero--images { aspect-ratio: auto; border-radius: 12px 12px 0 0; }
  .lobby-marquee { height: 36px; }
  .lobby-marquee__item { font-size: 12px; }
  .lobby-nav { width: auto; }
}
@media (max-width: 860px) {
  body.lobby-skin { background-attachment: scroll; background-size: auto 100vh; }
  .lobby-hero,
  .lobby-hero--images { margin: 8px 8px 0; }
  .lobby-marquee { margin: 0 8px 12px !important; }
  .lobby-shell { padding: 0 8px; }
  .lobby-hero__nav { width: 30px; height: 30px; font-size: 18px; }
  .lobby-cats__item { border-radius: 10px; }
  .lobby-cats__item.is-active { outline-width: 2px; }
}
@media (max-width: 560px) {
  .lobby-header__top { height: 56px; padding: 0 10px; }
  .lobby-logo img { width: 104px; height: 38px; }
  .lobby-btn--sm { padding: 6px 12px; font-size: 12px; }
  .lobby-util { font-size: 10px; }
  .lobby-header__bar { padding: 0 8px 8px; gap: 6px; }
  .lobby-nav { gap: 2px; width: 100%; justify-content: space-between; }
  .lobby-nav__item { flex: 1 1 auto; font-size: 11px; height: 38px; padding: 0 6px; gap: 4px; justify-content: center; }
  .lobby-nav__item svg { width: 14px; height: 14px; }
  .lobby-login { gap: 6px; }
  .lobby-login__input { width: 32%; min-width: 88px; height: 32px; padding: 0 10px; font-size: 12px; }
  .lobby-btn--masuk { flex: 0 0 auto; }
  .lobby-cats__item { width: 76px; height: 76px; min-height: 76px; min-width: 76px; }
  .lobby-grid { gap: 8px; }
  .lobby-card__body { height: 32px; padding: 0 8px; }
  .lobby-card__title { font-size: 10px; }
  .lobby-card__badge { top: 6px; right: 6px; font-size: 9px; padding: 2px 6px; }
  .lobby-hero__dots { bottom: 6px; }
  .lobby-marquee { height: 32px; }
}
@media (max-width: 400px) {
  .lobby-login__input { min-width: 76px; }
  .lobby-cats__item { width: 66px; height: 66px; min-height: 66px; min-width: 66px; }
}

/* ── Kera Sakti theme: gold category tiles (no filter needed) ── */
.lobby-cats__item img { filter: none; }

/* == Fire FX: living goddess (embers + glow, transform/opacity only) == */
.fire-fx {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: calc((100vw - 1400px) / 2);
  min-width: 120px;
  max-width: 340px;
  pointer-events: none;
  z-index: 90;
  overflow: hidden;
  display: none;
}
.fire-fx--right { left: auto; right: 0; }
@media (min-width: 1560px) {
  .fire-fx { display: block; }
}
.fire-fx__glow {
  position: absolute;
  left: -30%;
  bottom: -12%;
  width: 160%;
  height: 85%;
  background: radial-gradient(ellipse at 40% 62%,
    rgba(255, 122, 30, 0.30) 0%,
    rgba(255, 70, 10, 0.14) 42%,
    rgba(255, 40, 0, 0) 70%);
  filter: blur(14px);
  mix-blend-mode: screen;
  transform-origin: 40% 70%;
  animation: fireGlowPulse 3.6s ease-in-out infinite;
}
.fire-fx--right .fire-fx__glow { animation-duration: 4.4s; animation-delay: 1.1s; }
.fire-fx__flicker {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 70%;
  background: radial-gradient(ellipse at 35% 75%,
    rgba(255, 170, 60, 0.16) 0%,
    rgba(255, 100, 20, 0.07) 45%,
    rgba(192, 38, 255, 0) 72%);
  mix-blend-mode: screen;
  animation: fireFlicker 1.7s steps(1, end) infinite;
}
.fire-fx__ember {
  position: absolute;
  bottom: -14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle,
    #ffe3a0 0%, #ffb04a 38%, #ff6a12 62%, rgba(255, 70, 10, 0) 78%);
  opacity: 0;
  will-change: transform, opacity;
  animation: emberRiseA 8s linear infinite;
}
.fire-fx__ember--1  { left: 18%; animation-duration: 7.5s;  animation-delay: 0s;    width: 5px; height: 5px; }
.fire-fx__ember--2  { left: 34%; animation-duration: 9.5s;  animation-delay: 1.6s;  width: 7px; height: 7px; animation-name: emberRiseB; }
.fire-fx__ember--3  { left: 52%; animation-duration: 6.8s;  animation-delay: 3.1s;  width: 4px; height: 4px; }
.fire-fx__ember--4  { left: 64%; animation-duration: 10.5s; animation-delay: 0.9s;  width: 8px; height: 8px; animation-name: emberRiseB; }
.fire-fx__ember--5  { left: 26%; animation-duration: 8.4s;  animation-delay: 4.7s;  width: 5px; height: 5px; }
.fire-fx__ember--6  { left: 72%; animation-duration: 7.2s;  animation-delay: 2.3s;  width: 4px; height: 4px; animation-name: emberRiseB; }
.fire-fx__ember--7  { left: 44%; animation-duration: 11s;   animation-delay: 5.4s;  width: 6px; height: 6px; }
.fire-fx__ember--8  { left: 10%; animation-duration: 9s;    animation-delay: 6.2s;  width: 5px; height: 5px; animation-name: emberRiseB; }
.fire-fx__ember--9  { left: 58%; animation-duration: 7.8s;  animation-delay: 7.1s;  width: 3px; height: 3px; }
.fire-fx__ember--10 { left: 84%; animation-duration: 10s;   animation-delay: 3.9s;  width: 6px; height: 6px; animation-name: emberRiseB; }
@keyframes emberRiseA {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0; }
  6%   { opacity: 0.95; }
  45%  { transform: translate3d(16px, -42vh, 0) scale(0.85); opacity: 0.75; }
  75%  { transform: translate3d(-8px, -68vh, 0) scale(0.6); opacity: 0.45; }
  100% { transform: translate3d(10px, -92vh, 0) scale(0.3); opacity: 0; }
}
@keyframes emberRiseB {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0; }
  8%   { opacity: 0.9; }
  40%  { transform: translate3d(-18px, -38vh, 0) scale(0.9); opacity: 0.8; }
  70%  { transform: translate3d(12px, -64vh, 0) scale(0.55); opacity: 0.4; }
  100% { transform: translate3d(-6px, -90vh, 0) scale(0.25); opacity: 0; }
}
@keyframes fireGlowPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.07); }
}
@keyframes fireFlicker {
  0%   { opacity: 0.55; }
  18%  { opacity: 0.9; }
  33%  { opacity: 0.65; }
  47%  { opacity: 1; }
  62%  { opacity: 0.7; }
  78%  { opacity: 0.95; }
  100% { opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
  .fire-fx { display: none !important; }
}

/* == Fire theme glow == */
.lobby-header__top,
.lobby-header__bar { box-shadow: 0 2px 18px rgba(124, 58, 237, 0.25); }
.lobby-header__bar { border-bottom: 2px solid rgba(232, 121, 249, 0.35); }
.lobby-hero,
.lobby-hero--images { border: 1px solid rgba(232, 121, 249, 0.35) !important; box-shadow: 0 8px 32px rgba(88, 28, 135, 0.45); }
.lobby-card__link { box-shadow: 0 4px 18px rgba(76, 29, 149, 0.5); }
.lobby-card__link:hover { box-shadow: 0 8px 26px rgba(217, 70, 239, 0.35); }
.lobby-cats__item.is-active { outline-color: #e879f9; box-shadow: 0 0 18px rgba(232, 121, 249, 0.55) !important; }
.lobby-marquee__item { color: #f0abfc !important; text-shadow: 0 0 8px rgba(255, 110, 30, 0.35); }

/* == Fire borders: thin bright-red glowing outline on every box == */
.lobby-header__top,
.lobby-header__bar {
  border: 0 !important;
  box-shadow: none !important;
}
.lobby-nav__item {
  border: 1px solid rgba(217, 70, 239, 0.75);
  box-shadow: 0 0 5px rgba(192, 38, 255, 0.4);
  margin-right: 6px;
}
.lobby-nav__item:last-child { margin-right: 0; }
.lobby-login__input {
  border: 1px solid rgba(217, 70, 239, 0.85);
  box-shadow: 0 0 5px rgba(192, 38, 255, 0.45);
}
.lobby-btn--masuk,
.lobby-btn--sm,
.lobby-btn {
  border: 1px solid rgba(255, 90, 20, 0.9) !important;
  box-shadow: 0 0 7px rgba(192, 38, 255, 0.55) !important;
}
.lobby-hero,
.lobby-hero--images {
  border: 1px solid rgba(217, 70, 239, 0.9) !important;
  box-shadow: 0 0 10px rgba(192, 38, 255, 0.55), 0 8px 32px rgba(88, 28, 135, 0.45) !important;
}
.lobby-marquee {
  border: 1px solid rgba(217, 70, 239, 0.8) !important;
  border-top-width: 0 !important;
  box-shadow: 0 0 8px rgba(192, 38, 255, 0.4);
}
.lobby-cats__item {
  border: 1px solid rgba(217, 70, 239, 0.85) !important;
  box-shadow: 0 0 7px rgba(192, 38, 255, 0.5) !important;
}
.lobby-card__link {
  border: 1px solid rgba(217, 70, 239, 0.85) !important;
  box-shadow: 0 0 7px rgba(192, 38, 255, 0.5), 0 4px 18px rgba(76, 29, 149, 0.5) !important;
}
.lobby-card__link:hover {
  border-color: #ff6a1a !important;
  box-shadow: 0 0 14px rgba(255, 90, 20, 0.75), 0 8px 26px rgba(217, 70, 239, 0.35) !important;
}
.lobby-faq details,
.lobby-footer__social a,
.lobby-dock,
.lobby-fab {
  border: 1px solid rgba(217, 70, 239, 0.8) !important;
  box-shadow: 0 0 6px rgba(192, 38, 255, 0.45);
}

/* == Drawer menu (garis 3) == */
.lobby-nav__item--menu {
  background: none;
  cursor: pointer;
  font: inherit;
}
.lobby-drawer {
  position: fixed;
  inset: 0;
  z-index: 320;
}
.lobby-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 1, 0, 0.72);
}
.lobby-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 84vw);
  background: linear-gradient(180deg, #1a0703 0%, #120302 60%, #0c0201 100%);
  border-right: 1px solid rgba(217, 70, 239, 0.85);
  box-shadow: 6px 0 26px rgba(192, 38, 255, 0.28), 12px 0 44px rgba(0, 0, 0, 0.6);
  padding: 60px 14px 20px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.28s ease;
}
.lobby-drawer.is-open .lobby-drawer__panel { transform: translateX(0); }
.lobby-drawer__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(217, 70, 239, 0.12);
  border: 1px solid rgba(217, 70, 239, 0.7);
  border-radius: 8px;
  color: #ffd9a0;
  cursor: pointer;
}
.lobby-drawer__close:hover { color: #fff; border-color: #ff6a1a; }
.lobby-drawer__nav { display: grid; gap: 8px; }
.lobby-drawer__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #ffe8c8;
  background: rgba(255, 90, 20, 0.07);
  border: 1px solid rgba(217, 70, 239, 0.55);
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(192, 38, 255, 0.25);
}
.lobby-drawer__link svg { flex: 0 0 auto; color: #e879f9; }
.lobby-drawer__link:hover {
  color: #fff;
  border-color: #ff6a1a;
  background: rgba(255, 90, 20, 0.16);
  box-shadow: 0 0 10px rgba(255, 90, 20, 0.5);
}
.lobby-drawer__link--caps { text-transform: uppercase; letter-spacing: 0.06em; }
body.drawer-open { overflow: hidden; }

/* == Mobile layout ala reference: compact 2-row header, left cat rail, 2-col grid, 5-item dock == */
.lobby-dock__item--btn {
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}
@media (max-width: 768px) {
  /* Header: row 1 = logo | lupa password | DAFTAR */
  .lobby-header__top {
    height: 46px !important;
    padding: 0 8px !important;
  }
  .lobby-logo img { width: 92px !important; height: 34px !important; }
  .lobby-header__utils { gap: 10px !important; }
  .lobby-header__utils .lobby-util[data-bookmark] { display: none; }
  .lobby-util { font-size: 12px; }
  .lobby-btn--sm { padding: 7px 16px !important; font-size: 12px !important; border-radius: 18px; }

  /* Row 2 = Username | Password | MASUK (nav pindah ke dock + drawer) */
  .lobby-nav { display: none !important; }
  .lobby-header__bar {
    padding: 2px 8px 10px !important;
    gap: 8px;
  }
  .lobby-login { display: flex; width: 100%; gap: 8px; }
  .lobby-login__input {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 34px !important;
    border-radius: 17px;
    font-size: 13px !important;
  }
  .lobby-btn--masuk {
    flex: 0 0 auto;
    height: 34px !important;
    padding: 0 18px !important;
    font-size: 13px !important;
    border-radius: 17px;
  }

  /* Kategori tetap rail vertikal kiri + grid 2 kolom (seperti referensi) */
  .lobby-shell {
    flex-direction: row !important;
    gap: 10px !important;
    padding: 0 8px !important;
  }
  .lobby-sidebar {
    flex: 0 0 76px !important;
    width: 76px !important;
    position: static;
  }
  .lobby-cats {
    flex-direction: column !important;
    overflow: visible !important;
    gap: 8px !important;
    padding: 0 !important;
  }
  .lobby-cats__item {
    width: 76px !important;
    height: 76px !important;
    min-width: 76px !important;
    min-height: 76px !important;
  }
  .lobby-grid-wrap { flex: 1 1 auto; min-width: 0; }
  .lobby-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
}
@media (max-width: 400px) {
  .lobby-sidebar { flex: 0 0 68px !important; width: 68px !important; }
  .lobby-cats__item {
    width: 68px !important;
    height: 68px !important;
    min-width: 68px !important;
    min-height: 68px !important;
  }
  .lobby-btn--sm { padding: 6px 12px !important; }
  .lobby-util { font-size: 11px; }
}

/* == Ikon api animasi pada tombol float kontak == */
.lobby-flame {
  position: relative;
  width: 30px;
  height: 30px;
  display: block;
  filter: drop-shadow(0 0 6px rgba(255, 100, 20, 0.75));
}
.lobby-flame svg {
  position: absolute;
  inset: 0;
  transform-origin: 50% 92%;
  will-change: transform;
}
.lobby-flame__outer { animation: flame-outer 1.15s ease-in-out infinite; }
.lobby-flame__mid   { animation: flame-mid 0.85s ease-in-out infinite; }
.lobby-flame__core  { animation: flame-core 0.6s ease-in-out infinite; }

@keyframes flame-outer {
  0%, 100% { transform: scaleY(1) scaleX(1) rotate(0deg); }
  25%      { transform: scaleY(1.08) scaleX(0.96) rotate(-2deg); }
  50%      { transform: scaleY(0.94) scaleX(1.04) rotate(1.5deg); }
  75%      { transform: scaleY(1.05) scaleX(0.97) rotate(-1deg); }
}
@keyframes flame-mid {
  0%, 100% { transform: scaleY(1) rotate(0deg); }
  30%      { transform: scaleY(1.12) rotate(2deg); }
  60%      { transform: scaleY(0.9) rotate(-2.5deg); }
  80%      { transform: scaleY(1.06) rotate(1deg); }
}
@keyframes flame-core {
  0%, 100% { transform: scaleY(1) translateY(0); opacity: 1; }
  40%      { transform: scaleY(1.18) translateY(-1px); opacity: 0.92; }
  70%      { transform: scaleY(0.88) translateY(0.5px); opacity: 1; }
}

.lobby-float__toggle { animation: flame-btn-glow 1.8s ease-in-out infinite; }
@keyframes flame-btn-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 80, 10, 0.5), 0 0 0 4px rgba(33, 7, 3, 0.6); }
  50%      { box-shadow: 0 0 22px rgba(255, 110, 25, 0.85), 0 0 0 4px rgba(33, 7, 3, 0.6); }
}
.lobby-float__toggle[aria-expanded="true"] .lobby-flame { filter: drop-shadow(0 0 5px rgba(120, 40, 5, 0.6)); }

@media (prefers-reduced-motion: reduce) {
  .lobby-flame svg,
  .lobby-float__toggle { animation: none !important; }
}

/* == Hero AI per halaman menu == */
.lobby-article__hero {
  margin: 0 0 26px;
}
.lobby-article__hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(217, 70, 239, 0.85);
  box-shadow: 0 0 10px rgba(192, 38, 255, 0.45), 0 10px 34px rgba(0, 0, 0, 0.55);
}

/* == Header war animation v2: duel epik 2D (dash, jump attack, fireball, big clash) == */
.lobby-war {
  flex: 1 1 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 56px;
  min-width: 0;
  margin: 0 12px;
  pointer-events: none;
}
.lobby-war__stage {
  position: relative;
  width: 280px;
  max-width: 100%;
  height: 56px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
  animation: war-shake 5.6s linear infinite;
}
.lobby-war__fighter {
  position: absolute;
  bottom: 0;
  will-change: transform;
}
.lobby-war__fighter--left  { left: 8px;  animation: war-hero-l 5.6s ease-in-out infinite; }
.lobby-war__fighter--right { right: 8px; animation: war-hero-r 5.6s ease-in-out infinite; }
.lobby-war__fighter svg { display: block; animation: war-bob 1.4s ease-in-out infinite; }

.war-sword--l { transform-origin: 43px 28px; animation: war-swing2-l 5.6s ease-in-out infinite; }
.war-sword--r { transform-origin: 21px 28px; animation: war-swing2-r 5.6s ease-in-out infinite; }

.lobby-war__fx {
  position: absolute;
  opacity: 0;
  will-change: transform, opacity;
}
.lobby-war__arc--l   { left: 108px; top: 2px; animation: war-arc-l 5.6s linear infinite; }
.lobby-war__arc--r   { left: 132px; top: 0;   animation: war-arc-r 5.6s linear infinite; }
.lobby-war__fireball { left: 62px;  top: 18px; animation: war-fireball 5.6s linear infinite; }
.lobby-war__burst    { right: 38px; top: 10px; animation: war-hitburst 5.6s linear infinite; }
.lobby-war__star     { left: 50%; top: 50%; margin: -21px 0 0 -21px; animation: war-bigstar 5.6s ease-out infinite; }
.lobby-war__ring {
  left: 50%; top: 50%;
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border: 3px solid #ffb42e;
  border-radius: 50%;
  animation: war-ring 5.6s ease-out infinite;
}
.lobby-war__spark {
  left: 50%; top: 50%;
  width: 5px; height: 5px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: #f0abfc;
  box-shadow: 0 0 6px #ff7a1e;
}
.lobby-war__spark--1 { animation: war-spark1 5.6s ease-out infinite; }
.lobby-war__spark--2 { animation: war-spark2 5.6s ease-out infinite; }
.lobby-war__spark--3 { animation: war-spark3 5.6s ease-out infinite; }
.lobby-war__spark--4 { animation: war-spark4 5.6s ease-out infinite; }

@keyframes war-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2px); }
}
/* Babak: 1) dash kiri 8-18%  2) jump attack kanan 24-38%  3) fireball 44-55%  4) clash besar 57-72% */
@keyframes war-hero-l {
  0%, 6%   { transform: translateX(0); }
  10%      { transform: translateX(48px) rotate(8deg); }
  13%      { transform: translateX(60px) rotate(10deg); }
  18%      { transform: translateX(6px); }
  24%, 26% { transform: translateX(0); }
  30%      { transform: translateX(-10px) rotate(-7deg); }
  36%      { transform: translateX(0); }
  45%      { transform: translateX(-6px); }
  47%      { transform: translateX(5px); }
  52%      { transform: translateX(0); }
  57%      { transform: translateX(24px); }
  61%      { transform: translateX(66px) rotate(10deg); }
  65%      { transform: translateX(54px); }
  72%, 100%{ transform: translateX(0); }
}
@keyframes war-hero-r {
  0%, 8%   { transform: translate(0, 0); }
  11%      { transform: translate(12px, 0) rotate(7deg); }
  16%      { transform: translate(0, 0); }
  24%      { transform: translate(-30px, -26px) rotate(-16deg); }
  28%      { transform: translate(-58px, -2px) rotate(-6deg); }
  32%      { transform: translate(-64px, 0); }
  38%, 48% { transform: translate(0, 0); }
  51%      { transform: translate(10px, 0) rotate(6deg); }
  55%      { transform: translate(0, 0); }
  57%      { transform: translate(-24px, 0); }
  61%      { transform: translate(-66px, 0) rotate(-10deg); }
  65%      { transform: translate(-54px, 0); }
  72%, 100%{ transform: translate(0, 0); }
}
@keyframes war-swing2-l {
  0%, 8%   { transform: rotate(0deg); }
  11%      { transform: rotate(-60deg); }
  14%      { transform: rotate(28deg); }
  20%, 44% { transform: rotate(0deg); }
  46%      { transform: rotate(-40deg); }
  50%      { transform: rotate(12deg); }
  54%      { transform: rotate(0deg); }
  58%      { transform: rotate(-52deg); }
  62%      { transform: rotate(30deg); }
  68%, 100%{ transform: rotate(0deg); }
}
@keyframes war-swing2-r {
  0%, 22%  { transform: rotate(0deg); }
  26%      { transform: rotate(70deg); }
  29%      { transform: rotate(-42deg); }
  34%      { transform: rotate(-10deg); }
  40%, 48% { transform: rotate(0deg); }
  50%      { transform: rotate(32deg); }
  54%      { transform: rotate(0deg); }
  58%      { transform: rotate(52deg); }
  62%      { transform: rotate(-30deg); }
  68%, 100%{ transform: rotate(0deg); }
}
@keyframes war-arc-l {
  0%, 10%  { opacity: 0; transform: scale(0.4) rotate(-20deg); }
  12%      { opacity: 0.95; transform: scale(1.1) rotate(0deg); }
  15%      { opacity: 0; transform: scale(1.3) rotate(24deg); }
  100%     { opacity: 0; transform: scale(0.4); }
}
@keyframes war-arc-r {
  0%, 26%  { opacity: 0; transform: scale(0.4) rotate(20deg); }
  29%      { opacity: 0.95; transform: scale(1.15) rotate(0deg); }
  33%      { opacity: 0; transform: scale(1.35) rotate(-24deg); }
  100%     { opacity: 0; transform: scale(0.4); }
}
@keyframes war-fireball {
  0%, 44%  { opacity: 0; transform: translateX(0) scale(0.4); }
  46%      { opacity: 1; transform: translateX(14px) scale(1); }
  50%      { opacity: 1; transform: translateX(120px) scale(1.05); }
  51%      { opacity: 0; transform: translateX(140px) scale(0.6); }
  100%     { opacity: 0; transform: translateX(0) scale(0.4); }
}
@keyframes war-hitburst {
  0%, 49%  { opacity: 0; transform: scale(0.3) rotate(0deg); }
  51%      { opacity: 1; transform: scale(1.25) rotate(20deg); }
  55%      { opacity: 0; transform: scale(0.5) rotate(40deg); }
  100%     { opacity: 0; transform: scale(0.3); }
}
@keyframes war-bigstar {
  0%, 59%  { opacity: 0; transform: scale(0.3) rotate(0deg); }
  62%      { opacity: 1; transform: scale(1.7) rotate(20deg); }
  66%      { opacity: 0.85; transform: scale(1.2) rotate(40deg); }
  71%      { opacity: 0; transform: scale(0.4) rotate(55deg); }
  100%     { opacity: 0; transform: scale(0.3); }
}
@keyframes war-ring {
  0%, 60%  { opacity: 0; transform: scale(0.2); }
  62%      { opacity: 0.9; transform: scale(0.6); }
  68%      { opacity: 0; transform: scale(2.6); }
  100%     { opacity: 0; transform: scale(0.2); }
}
@keyframes war-spark1 {
  0%, 61%  { opacity: 0; transform: translate(0, 0); }
  62%      { opacity: 1; transform: translate(0, 0); }
  69%      { opacity: 0; transform: translate(38px, -20px); }
  100%     { opacity: 0; transform: translate(0, 0); }
}
@keyframes war-spark2 {
  0%, 61%  { opacity: 0; transform: translate(0, 0); }
  62%      { opacity: 1; transform: translate(0, 0); }
  69%      { opacity: 0; transform: translate(-38px, -22px); }
  100%     { opacity: 0; transform: translate(0, 0); }
}
@keyframes war-spark3 {
  0%, 61%  { opacity: 0; transform: translate(0, 0); }
  62%      { opacity: 1; transform: translate(0, 0); }
  69%      { opacity: 0; transform: translate(30px, 18px); }
  100%     { opacity: 0; transform: translate(0, 0); }
}
@keyframes war-spark4 {
  0%, 61%  { opacity: 0; transform: translate(0, 0); }
  62%      { opacity: 1; transform: translate(0, 0); }
  69%      { opacity: 0; transform: translate(-30px, 16px); }
  100%     { opacity: 0; transform: translate(0, 0); }
}
@keyframes war-shake {
  0%, 61%  { transform: translate(0, 0); }
  62%      { transform: translate(2px, -1px); }
  63.5%    { transform: translate(-2px, 1px); }
  65%      { transform: translate(1px, -1px); }
  66.5%    { transform: translate(-1px, 0); }
  68%, 100%{ transform: translate(0, 0); }
}

@media (max-width: 980px) {
  .lobby-war { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lobby-war__stage,
  .lobby-war__fighter,
  .lobby-war__fighter svg,
  .lobby-war__fx,
  .war-sword--l,
  .war-sword--r { animation: none !important; }
  .lobby-war__fx { opacity: 0; }
}

/* == Byline, breadcrumb, reviews (E-E-A-T) == */
.lobby-byline {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-left: 3px solid rgba(255, 120, 30, 0.85);
  background: rgba(33, 7, 3, 0.45);
  border-radius: 0 10px 10px 0;
}
.lobby-byline__line { margin: 0 0 6px; font-size: 14px; color: var(--text-muted); }
.lobby-byline__line a { color: var(--gold-light); font-weight: 600; }
.lobby-byline__role { opacity: 0.85; }
.lobby-byline__note { margin: 8px 0 0; font-size: 12px; color: var(--text-muted); line-height: 1.5; }

.lobby-breadcrumb { margin: 0 0 14px; font-size: 13px; }
.lobby-breadcrumb ol {
  display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; color: var(--text-muted);
}
.lobby-breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 6px; opacity: 0.6; }
.lobby-breadcrumb a { color: var(--gold-light); }

.lobby-reviews { display: grid; gap: 12px; margin: 12px 0 8px; }
.lobby-review,
.lobby-reviews__item {
  margin: 0; padding: 14px 16px; border-radius: 10px;
  border: 1px solid rgba(217, 70, 239, 0.55);
  background: rgba(20, 4, 2, 0.55);
}
.lobby-review p,
.lobby-reviews__item p { margin: 0 0 8px; color: #f4e3d0; font-size: 14px; line-height: 1.6; }
.lobby-review footer,
.lobby-reviews__item footer { font-size: 12px; color: var(--text-muted); }
.lobby-reviews__note { font-size: 12px; color: var(--text-muted); }
.lobby-age-note {
  margin: 20px 0 8px; padding: 10px 14px; font-size: 13px; color: var(--text-muted);
  border: 1px dashed rgba(232, 121, 249, 0.45); border-radius: 8px;
}

.lobby-author__role { color: var(--gold-mid); margin-top: -8px; }

/* == Artikel diperlebar: sejajar lebar konten lobby == */
.lobby-seo,
.lobby-page {
  max-width: 1400px;
  padding: 0 14px;
}
.lobby-seo__inner { padding: 36px 40px; }
.lobby-seo__inner p,
.lobby-seo__inner li { font-size: 15px; line-height: 1.75; }
.lobby-seo__inner h2 { font-size: 1.3rem; }
@media (max-width: 768px) {
  .lobby-seo__inner { padding: 22px 16px; }
}

/* Front promo popup — Scan QRIS Super Cepat */
.lobby-welcome[hidden]{display:none!important}
.lobby-welcome{position:fixed;inset:0;z-index:13000;display:grid;place-items:center;padding:1rem}
.lobby-welcome__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.76);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.lobby-welcome__box{position:relative;z-index:1;width:min(96vw,720px);padding:0;overflow:visible;border-radius:0;background:transparent;box-shadow:none;animation:lobby-welcome-in .45s cubic-bezier(.22,1,.36,1)}
.lobby-welcome__x{position:absolute;top:-12px;right:-12px;z-index:3;width:36px;height:36px;padding:0;border:2px solid #f5d76e;border-radius:50%;background:#14022c;color:#f5d76e;font-size:26px;font-weight:800;line-height:28px;cursor:pointer}
.lobby-welcome__x:hover{filter:brightness(1.12)}
.lobby-welcome__promo-link{display:block;line-height:0}
.lobby-welcome__promo{display:block;width:100%;height:auto;max-height:min(86vh,640px);object-fit:contain;background:transparent;filter:drop-shadow(0 6px 10px rgba(0,0,0,.35))}
@keyframes lobby-welcome-in{from{opacity:0;transform:scale(.9) translateY(18px)}to{opacity:1;transform:none}}
@media (max-width:640px){.lobby-welcome{padding:.45rem}.lobby-welcome__box{width:min(100%,420px)}}
