:root {
  --bg: #240046;
  --bg2: #120024;
  --panel: #2e0058;
  --gold: #f5d76e;
  --gold2: #ffe9a0;
  --cyan: #22d3ee;
  --cyan2: #06b6d4;
  --hot: #ff2d55;
  --text: #fff;
  --muted: #d7c8f0;
  --max: 1200px;
  --font: "Montserrat", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(180deg, #2e0858 0%, var(--bg) 28%, #1a0038 70%, var(--bg2) 100%);
  line-height: 1.45;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold2); }
.container { width: min(var(--max), calc(100% - 1.2rem)); margin-inline: auto; }

/* side rails */
.side-rail {
  position: fixed; top: 40%; z-index: 70; writing-mode: vertical-rl;
  transform: translateY(-50%);
  background: linear-gradient(180deg, #38bdf8, #0284c7);
  color: #042f2e; font-weight: 800; font-size: .68rem; letter-spacing: .14em;
  padding: 1.2rem .38rem; border: 1px solid rgba(255,255,255,.4);
  text-decoration: none !important;
}
.side-rail:hover { filter: brightness(1.08); color: #042f2e; }
.side-rail.left { left: 0; border-radius: 0 10px 10px 0; }

/* Download dock ? kiri, tutup/buka */
.download-dock {
  position: fixed; left: 0; top: 42%; z-index: 72;
  transform: translateY(-50%);
  display: flex; align-items: stretch;
  max-width: calc(100vw - 12px);
}
.download-tab {
  width: 34px; min-height: 210px; order: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: .45rem; padding: .7rem .2rem;
  background: linear-gradient(180deg, #38bdf8, #0284c7);
  color: #fff; border: 0; border-radius: 0 10px 10px 0;
  cursor: pointer; font-weight: 800;
}
.download-tab-ico {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.2); font-size: .8rem;
}
.download-tab-text {
  writing-mode: vertical-rl;
  letter-spacing: .12em; font-size: .68rem; line-height: 1;
}
.download-tab-arrow { font-size: .7rem; opacity: .9; }
.download-dock.is-collapsed .download-tab-arrow { transform: scaleX(-1); }
.download-panel {
  order: 1; width: 200px;
  background: rgba(18, 4, 42, .96);
  border: 1px solid rgba(255,255,255,.14);
  border-left: 0;
  border-radius: 0 10px 10px 0;
  padding: .75rem .7rem .8rem;
  box-shadow: 8px 0 24px rgba(0,0,0,.35);
  text-align: center;
}
.download-panel-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.download-dock.is-collapsed .download-panel { display: none; }
.download-qr {
  width: 150px; height: 150px; margin: 0 auto .65rem;
  background: #fff; border-radius: 4px; padding: 4px;
}
.download-meta {
  display: flex; align-items: center; gap: .45rem; text-align: left;
  color: #fff;
}
.download-android { flex: 0 0 28px; width: 28px; height: 28px; }
.download-meta strong { display: block; font-size: .82rem; line-height: 1.15; }
.download-meta span { display: block; font-size: .68rem; color: #d7c8f0; margin-top: .12rem; }

/* Hubungi Kami dock ? mirip joker88.com */
.hubungi-dock {
  position: fixed; right: 0; top: 42%; z-index: 72;
  transform: translateY(-50%);
  display: flex; flex-direction: row-reverse; align-items: stretch;
  max-width: calc(100vw - 12px);
}
.hubungi-tab {
  width: 34px; min-height: 210px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: .45rem; padding: .7rem .2rem;
  background: linear-gradient(180deg, #38bdf8, #0284c7);
  color: #fff; border: 0; border-radius: 10px 0 0 10px;
  cursor: pointer; font-weight: 800;
}
.hubungi-tab-ico {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.2); font-size: .75rem;
}
.hubungi-tab-text {
  writing-mode: vertical-rl; transform: rotate(180deg);
  letter-spacing: .12em; font-size: .68rem; line-height: 1;
}
.hubungi-tab-arrow { font-size: .7rem; opacity: .9; }
.hubungi-dock.is-collapsed .hubungi-tab-arrow { transform: scaleX(-1); }
.hubungi-panel {
  width: 250px;
  background: rgba(18, 4, 42, .96);
  border: 1px solid rgba(255,255,255,.12);
  border-right: 0;
  border-radius: 10px 0 0 10px;
  padding: .75rem .8rem .85rem;
  box-shadow: -8px 0 24px rgba(0,0,0,.35);
}
.hubungi-dock.is-collapsed .hubungi-panel { display: none; }
.hubungi-24 {
  display: flex; align-items: center; gap: .4rem;
  margin-bottom: .55rem; color: #fff;
}
.hubungi-24 strong { font-size: 1.55rem; letter-spacing: .02em; line-height: 1; }
.hubungi-sun { font-size: 1.35rem; filter: drop-shadow(0 0 6px rgba(255,255,255,.4)); }
.hubungi-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: .35rem;
  margin-bottom: .65rem;
}
.hubungi-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 32px; padding: .3rem .4rem; border-radius: 3px;
  font-size: .68rem; font-weight: 800; letter-spacing: .03em;
  text-decoration: none !important;
}
.hubungi-btn--live {
  background: linear-gradient(180deg, #fde68a, #f59e0b 55%, #d97706);
  color: #1a0033;
}
.hubungi-btn--join {
  background: #1e293b; color: #fff;
  border: 1px solid rgba(255,255,255,.2);
}
.hubungi-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .55rem;
}
.hubungi-list li {
  display: flex; align-items: flex-start; gap: .5rem;
  color: #fff; font-size: .74rem; line-height: 1.25;
}
.hubungi-list a { color: #fff; text-decoration: none; }
.hubungi-list a:hover { color: #7dd3fc; }
.hubungi-ico {
  flex: 0 0 18px; width: 18px; text-align: center;
  font-size: .78rem; opacity: .95; margin-top: .05rem;
}

/* header ? logo + tools one row */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
}
/* bar logo + LOGIN/DAFTAR ? ungu tema, tetap beda dari nav */
.head-top {
  width: 100%;
  background: linear-gradient(180deg, #3b0b78 0%, #2a0758 55%, #1f0548 100%);
  border-bottom: 1px solid rgba(246,212,90,.28);
  box-shadow: inset 0 -1px 0 rgba(155, 92, 255, .18);
}
.head-nav {
  width: 100%;
  background: linear-gradient(180deg, #24005a 0%, #180240 100%);
  border-bottom: 1px solid rgba(246,212,90,.2);
}
.head-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .45rem 0 .35rem; flex-wrap: wrap;
}
.brand img {
  height: 72px; width: auto;
  filter: drop-shadow(0 0 10px rgba(246,212,90,.35));
}
.head-tools {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .4rem;
  margin-left: auto;
}
.head-tools-top,
.head-tools-bot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .5rem;
  flex-wrap: wrap;
}
.clock {
  color: #e8e0f5;
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tool-share {
  width: 22px; height: 22px; padding: 0; border: 0;
  background: transparent; cursor: pointer; line-height: 0;
}
.tool-share img { width: 22px; height: 22px; display: block; }
.lang {
  display: inline-flex; align-items: center; gap: .35rem;
  color: #fff; font-weight: 700; font-size: .72rem;
  letter-spacing: .02em;
}
.lang-flag {
  width: 22px; height: 15px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,.35);
  display: block;
}
.lang-dot { display: none; }
.tool-ico {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: transparent;
  color: #fff; font-size: .72rem; font-weight: 800;
  border: 0; text-decoration: none !important;
  cursor: pointer; padding: 0; line-height: 0;
  overflow: hidden;
}
.tool-ico img { width: 28px; height: 28px; display: block; }
.tool-ico:hover { filter: brightness(1.1); color: #fff; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 108px; height: 36px; padding: 0 .85rem; border-radius: 4px;
  font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem;
  border: none; transition: .15s ease; box-shadow: 0 2px 0 rgba(0,0,0,.25);
}
.btn:hover { transform: translateY(-1px); text-decoration: none; filter: brightness(1.06); color: #fff; }
.btn-login {
  background: linear-gradient(180deg, #5eead4, #14b8a6 45%, #0d9488);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 2px 0 #0f766e;
}
.btn-daftar {
  background: linear-gradient(180deg, #fde68a, #f59e0b 45%, #d97706);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 2px 0 #b45309;
}

.cat-nav {
  display: flex;
  width: 100%;
  max-width: 100%;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: .15rem 0 .5rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.cat-nav a {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: .18rem; padding: .4rem .12rem .18rem;
  color: #fff; font-size: clamp(.48rem, .85vw, .58rem); font-weight: 700; text-transform: uppercase;
  letter-spacing: .01em; border-radius: 8px;
  text-align: center; line-height: 1.15;
  white-space: nowrap;
}
.cat-nav a > span:last-child {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-nav a:hover, .cat-nav a.is-active {
  background: rgba(255,255,255,.08); color: var(--gold); text-decoration: none;
}
.cat-nav a.is-gold { color: var(--gold); }
.nav-ico {
  width: clamp(26px, 2.8vw, 36px);
  height: clamp(26px, 2.8vw, 36px);
  display: grid; place-items: center;
}
.nav-ico img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.45));
}
.cat-nav a.is-active .nav-ico img,
.cat-nav a:hover .nav-ico img {
  filter: drop-shadow(0 0 6px rgba(246,212,90,.55)) brightness(1.15);
}
.badge-hot {
  position: absolute; top: 2px; right: 2px;
  background: var(--hot); color: #fff; font-size: .42rem; font-weight: 800;
  padding: .08rem .2rem; border-radius: 3px; line-height: 1;
}

/* hero ? FULL BLEED (edge to edge), bukan container */
.hero-wrap { margin-top: .35rem; width: 100%; }
.hero-carousel {
  position: relative; overflow: hidden;
  width: 100%;
  border-radius: 0;
  border: 0;
  border-top: 1px solid rgba(246,212,90,.22);
  border-bottom: 1px solid rgba(246,212,90,.22);
  aspect-ratio: 1920 / 430;
  background: #140230;
  box-shadow: 0 12px 28px rgba(0,0,0,.4);
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide picture { display: block; width: 100%; height: 100%; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0,0,0,.45); color: #fff; font-size: 1.2rem;
}
.hero-carousel--mobile { display: none; }
.hero-carousel--desktop { display: block; }

/* marquee ? background FULL BLEED, teks tetap di container */
.marquee-bar {
  margin-top: .45rem;
  width: 100%;
  background: linear-gradient(90deg, #0ea5e9, #0369a1);
  overflow: hidden;
  border-radius: 0;
}
.marquee-inner {
  display: flex; align-items: center; gap: .55rem;
  padding: .32rem 0; font-size: .78rem; font-weight: 700; white-space: nowrap;
  overflow: hidden;
}
.megaphone { flex: 0 0 auto; }
.marquee-track {
  display: inline-flex; gap: 3rem;
  animation: marquee 26s linear infinite;
  min-width: 0;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* lobby ? jackpot BESAR */
.lobby-mid { margin-top: .85rem; }
.lobby-grid {
  display: grid; grid-template-columns: minmax(380px, .95fr) 1.15fr; gap: .75rem; align-items: center;
}
.jackpot-frame {
  position: relative;
  transform: none;
  filter: drop-shadow(0 0 18px rgba(246,212,90,.3));
}
.jackpot-bg { width: 100%; height: auto; display: block; }
.jackpot-amount {
  position: absolute; left: 9%; right: 9%; top: 44%;
  margin: 0; text-align: center;
  font-size: clamp(1.05rem, 1.9vw, 1.4rem); font-weight: 800;
  color: #fff; letter-spacing: .02em; white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0,0,0,.85), 0 0 14px rgba(246,212,90,.4);
  pointer-events: none;
}

.section-title {
  margin: 0 0 .28rem; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase;
  display: flex; align-items: center; gap: .35rem; color: #c4b5fd;
}
.fire { font-size: .9rem; }

/* auto-scrolling popular games ? compact, sejajar jackpot */
.popular-panel { min-width: 0; }
.game-viewport {
  overflow: hidden;
  max-height: 148px;
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}
.game-track {
  display: flex; gap: .4rem; width: max-content;
  animation: gameScroll 32s linear infinite;
}
.game-viewport:hover .game-track { animation-play-state: paused; }
@keyframes gameScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.game-card {
  position: relative; flex: 0 0 96px;
  border-radius: 6px; overflow: hidden;
  background: #0a0018; border: 1px solid rgba(255,255,255,.08);
  transition: transform .15s ease, border-color .15s ease;
}
.game-card:hover {
  transform: translateY(-2px); border-color: var(--gold); text-decoration: none; color: #fff;
}
.game-card img {
  width: 100%; height: 96px; aspect-ratio: auto;
  object-fit: cover; border-radius: 6px 6px 0 0;
}
.game-name {
  display: block; padding: .18rem .22rem .22rem; font-size: .52rem; text-align: left;
  color: #fff; font-weight: 600; background: #000;
  line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  min-height: 0;
}
.tag-hot {
  position: absolute; top: 0; left: 0; z-index: 2;
  width: 40px; height: 40px; overflow: hidden; pointer-events: none;
}
.tag-hot::before {
  content: "HOT";
  position: absolute; top: 5px; left: -14px;
  width: 56px; text-align: center;
  background: #f5c542; color: #b91c1c;
  font-size: .48rem; font-weight: 900; letter-spacing: .04em;
  transform: rotate(-45deg);
  box-shadow: 0 1px 4px rgba(0,0,0,.35);
  padding: .08rem 0;
}

.float-new {
  position: fixed; right: 18px; top: 120px; z-index: 68;
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 30% 30%, #fb7185, #be123c);
  color: #fff; font-size: .55rem; font-weight: 900; line-height: 1.15;
  border: 2px solid #ffe08a; text-decoration: none !important;
  box-shadow: 0 0 18px rgba(244,63,94,.55);
  animation: pulseNew 1.8s ease-in-out infinite;
}
@keyframes pulseNew {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* promo 3-col */
.promo-row { margin-top: .9rem; }
.promo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem;
}
.promo-card, .kelebihan-card {
  background: linear-gradient(180deg, #3a0a72, #1f0548);
  border: 1px solid rgba(246,212,90,.32);
  border-radius: 10px; padding: .75rem .85rem .9rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}
.promo-card h3, .kelebihan-card h3 {
  margin: 0 0 .55rem; text-align: center; font-size: .88rem;
  letter-spacing: .06em; color: var(--gold); text-transform: uppercase;
}
.promo-card img {
  width: 100%; border-radius: 6px; margin: 0 auto .45rem;
  border: 1px solid rgba(255,255,255,.08);
}
.promo-sub {
  margin: 0 0 .3rem; text-align: center; font-weight: 800; font-size: .78rem;
  color: var(--gold2);
}
.promo-card p:last-child {
  margin: 0; text-align: center; color: var(--muted); font-size: .76rem;
}
.svc {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: .5rem; margin-top: .55rem;
}
.svc strong { display: block; font-size: .9rem; }
.svc span { color: var(--muted); font-size: .72rem; }
.svc-val {
  font-size: 1.55rem; font-weight: 800; line-height: 1; color: #fff;
}
.svc-val span { font-size: .7rem; color: var(--muted); margin-left: .15rem; }
.progress {
  height: 7px; background: rgba(0,0,0,.4); border-radius: 999px; overflow: hidden; margin: .35rem 0 .2rem;
}
.progress > i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--cyan), #a78bfa, var(--gold));
}
.svc-note { margin: .55rem 0 0; color: #9b88b8; font-size: .62rem; line-height: 1.35; }

/* lobby info 3-col ? mirip joker88.com */
.lobby-info { margin-top: 1.15rem; }
.lobby-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: rgba(18, 4, 42, .92);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px;
  overflow: hidden;
}
.info-col {
  position: relative;
  padding: 1rem 1.15rem 1.35rem;
  min-height: 280px;
}
.info-col + .info-col {
  border-left: 1px solid rgba(255,255,255,.12);
}
.info-col-title {
  margin: 0 0 .85rem;
  color: #7dd3fc;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.info-slides { position: relative; }
.info-slide { display: none; }
.info-slide.is-active { display: block; }
.info-game-item { margin-bottom: .85rem; }
.info-game-item strong {
  display: block; color: #fff; font-size: .88rem; margin-bottom: .2rem;
}
.info-game-item p {
  margin: 0; color: #d7c8f0; font-size: .78rem; line-height: 1.45;
}
.info-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .7rem;
}
.info-list li {
  position: relative;
  padding-left: 1rem;
}
.info-list li::before {
  content: "";
  position: absolute; left: 0; top: .35rem;
  width: 7px; height: 7px;
  background: #38bdf8;
}
.info-list a {
  color: #efe6ff; font-size: .88rem; font-weight: 600;
}
.info-list a:hover { color: #7dd3fc; }
.info-contact {
  display: flex; align-items: center; gap: .7rem;
  margin-bottom: .85rem; color: #fff; text-decoration: none !important;
}
.info-contact strong {
  display: block; font-size: .88rem; font-weight: 700; color: #fff;
}
.info-contact em {
  display: block; font-style: normal; font-size: .76rem; color: #7dd3fc; margin-top: .1rem;
}
.info-ico {
  flex: 0 0 28px; width: 28px; height: 28px;
  display: grid; place-items: center;
  background: no-repeat center / contain;
  opacity: .95;
}
.info-ico--chat {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M21 11.5a8.4 8.4 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.4 8.4 0 0 1-3.8-.9L3 21l1.9-5.7a8.4 8.4 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.4 8.4 0 0 1 3.8-.9h.5a8.5 8.5 0 0 1 8 8v.5z'/%3E%3C/svg%3E");
}
.info-ico--wa {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2325D366'%3E%3Cpath d='M12 2a10 10 0 0 0-8.7 14.9L2 22l5.3-1.4A10 10 0 1 0 12 2zm0 2a8 8 0 0 1 6.8 12.1l-.3.5.8 2.9-3-.8-.5.3A8 8 0 1 1 12 4zm4.4 9.7c-.2-.1-1.3-.6-1.5-.7s-.4-.1-.5.1-.6.7-.7.8-.3.2-.5.1a6.5 6.5 0 0 1-1.9-1.2 7.2 7.2 0 0 1-1.3-1.6c-.1-.3 0-.4.1-.5l.4-.4.1-.3c0-.1 0-.3-.1-.4s-.5-1.2-.7-1.6-.4-.4-.5-.4h-.4c-.1 0-.4.1-.6.3s-.8.8-.8 1.9.8 2.2.9 2.3a8.8 8.8 0 0 0 3.3 2.7c1.3.5 1.7.4 2.3.4s.9-.4 1-.7.4-1 .3-1.1-.2-.2-.4-.3z'/%3E%3C/svg%3E");
}
.info-ico--fb {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231877F2'%3E%3Cpath d='M14 9h3V6h-3c-1.7 0-3 1.3-3 3v2H8v3h3v7h3v-7h3l1-3h-4V9c0-.6.4-1 1-1z'/%3E%3C/svg%3E");
}
.info-ico--tg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2329A9EB'%3E%3Cpath d='M21.5 3.4 2.9 10.5c-1.3.5-1.2 1.2-.2 1.5l4.7 1.5 1.8 5.5c.2.7.4.9 1 .9.6 0 .9-.3 1.2-.6l2.8-2.7 4.6 3.4c.8.5 1.4.2 1.6-.8L23 4.7c.3-1.1-.4-1.6-1.5-1.3z'/%3E%3C/svg%3E");
}
.info-ico--mail {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 7 9-7'/%3E%3C/svg%3E");
}
.info-ico--info {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237dd3fc' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 10v6M12 7h.01'/%3E%3C/svg%3E");
}
.info-dots {
  display: flex; gap: .4rem; justify-content: center;
  position: absolute; left: 0; right: 0; bottom: .55rem;
}
.info-dot {
  width: 8px; height: 8px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 1px solid #7dd3fc; background: transparent;
}
.info-dot.is-active { background: #38bdf8; border-color: #38bdf8; }

/* pusat info + more info toggle (artikel SEO) */
.pusat-info-row { margin-top: 1.15rem; margin-bottom: 8rem; }
.pusat-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; flex-wrap: wrap; margin-bottom: .55rem;
}
.pusat-head .section-title { margin: 0; }
.more-info-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .42rem .85rem; border-radius: 6px; cursor: pointer;
  background: linear-gradient(180deg, #38bdf8, #0284c7);
  color: #042f2e; font-weight: 800; font-size: .72rem;
  letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 2px 0 #0e7490;
}
.more-info-btn[aria-expanded="true"] span { display: inline-block; transform: rotate(180deg); }
.pusat-teaser {
  background: rgba(12,2,32,.75);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: .85rem 1rem;
  color: var(--muted); font-size: .88rem;
}
.pusat-teaser p { margin: 0; }
.pusat-body {
  margin-top: .65rem;
  animation: pusatIn .28s ease;
}
.pusat-body[hidden] { display: none !important; }
@keyframes pusatIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* SEO */
.seo-article {
  margin: 0;
  background: rgba(12,2,32,.92);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: clamp(1rem, 2.5vw, 1.7rem);
}
.seo-article--nested { margin-top: 0; }
.seo-article h1 { margin-top: 0; font-size: clamp(1.3rem, 2.6vw, 1.85rem); line-height: 1.25; }
.seo-article h2 { margin-top: 1.45rem; font-size: 1.15rem; }
.seo-article p, .seo-article li { color: #e8ddf8; }

/* floats */
.float-left {
  position: fixed; left: 10px; bottom: 18px; z-index: 65; display: grid; gap: .35rem;
}
.float-left img {
  width: 52px; height: 52px; border-radius: 50%;
  box-shadow: 0 8px 18px rgba(0,0,0,.45); background: #1a0033;
}

.chat-widget {
  position: fixed; right: 8px; bottom: 4px; z-index: 66;
  display: flex; align-items: flex-end; gap: .2rem;
  width: min(360px, calc(100vw - 16px));
  text-decoration: none !important; color: #fff;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.55));
  animation: chatIn .55s ease both;
}
@keyframes chatIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.chat-girl {
  width: 108px; height: auto; flex: 0 0 auto;
  object-fit: contain; object-position: bottom;
  filter: drop-shadow(0 0 10px rgba(168,85,247,.4));
}
.chat-panel {
  flex: 1; display: grid; gap: .28rem; padding-bottom: .35rem; min-width: 0;
}
.chat-eyebrow {
  display: inline-block; width: fit-content;
  padding: .22rem .5rem; border-radius: 4px;
  background: linear-gradient(90deg, #22d3ee, #0891b2);
  color: #042f2e; font-size: .58rem; font-weight: 900; letter-spacing: .03em;
}
.chat-btn {
  display: flex; align-items: center; justify-content: center;
  padding: .55rem .7rem; border-radius: 8px;
  background: linear-gradient(180deg, #c084fc, #7e22ce 55%, #581c87);
  border: 2px solid rgba(246,212,90,.5);
  font-weight: 900; font-size: 1.05rem; letter-spacing: .05em;
  box-shadow: 0 0 18px rgba(168,85,247,.5);
}
.chat-sub {
  display: block; text-align: center;
  background: rgba(10,0,30,.85); border-radius: 4px;
  padding: .22rem .4rem; font-size: .58rem; font-weight: 700; color: #efe6ff;
}
.chat-meta {
  display: flex; align-items: center; gap: .4rem; flex-wrap: wrap;
}
.chat-meta > img { height: 22px; width: auto; }
.chat-online {
  display: inline-flex; align-items: center; gap: .28rem;
  font-size: .62rem; font-weight: 800; color: #86efac;
}
.chat-online i {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}
.chat-24 {
  margin-left: auto; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; line-height: 1.05;
  background: radial-gradient(circle at 30% 30%, #67e8f9, #0284c7);
  font-size: .85rem; font-weight: 900; color: #042f2e;
  border: 2px solid rgba(255,255,255,.45);
}
.chat-24 small { font-size: .42rem; font-weight: 800; }

.site-footer {
  margin-top: 1.5rem;
  background: #240046;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0 5.5rem;
  position: relative;
  z-index: 2;
}
.site-footer .container {
  width: min(var(--max), calc(100% - 1.2rem));
  margin-inline: auto;
  padding-inline: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.footer-label {
  margin: 0 0 .55rem;
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 1rem 1.5rem; flex-wrap: wrap;
  padding-bottom: 1rem;
}
.footer-pay, .footer-browser {
  min-width: 0;
  max-width: 100%;
}
.pay-row, .browser-row {
  display: flex; align-items: center; gap: .45rem; flex-wrap: wrap;
}
.pay-chip { min-width: 0; }
.pay-chip img {
  height: 38px; width: auto; max-width: 100%;
  border-radius: 6px;
}
.browser-row img {
  width: 36px; height: 36px; border-radius: 50%;
  flex: 0 0 auto;
}

.footer-mid {
  display: flex; justify-content: space-between; align-items: center;
  gap: .75rem; flex-wrap: wrap;
  padding: .75rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-links {
  display: flex; align-items: center; gap: .45rem; flex-wrap: wrap;
  font-size: .78rem; color: #cfc0e8;
  min-width: 0;
}
.footer-links a { color: #efe6ff; }
.footer-links a:hover { color: #7dd3fc; }
.footer-copy {
  margin: 0; color: #a994c4; font-size: .72rem;
}

.footer-info-wrap {
  padding: .85rem 0 .35rem;
}
.footer-info-wrap .footer-more-grid {
  padding: 1rem;
  background: rgba(10, 2, 28, .55);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.footer-more-wrap {
  text-align: center;
  padding: .85rem 0 1rem;
  width: 100%;
  max-width: 100%;
}
.footer-more-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  background: transparent; border: 0; cursor: pointer;
  color: #fff; font-weight: 700; font-size: .82rem;
}
.footer-more-chev {
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: #0284c7; color: #fff; font-size: .65rem;
  transition: transform .2s ease;
}
.footer-more-btn[aria-expanded="true"] .footer-more-chev {
  transform: rotate(180deg);
}
.footer-more-body {
  text-align: left;
  margin-top: .85rem;
  padding: 1rem;
  background: rgba(10, 2, 28, .55);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  animation: pusatIn .28s ease;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  display: none !important;
}
.footer-more-body.is-open,
.footer-more-body:not([hidden]).is-open {
  display: block !important;
}
.footer-more-body[hidden] { display: none !important; }
.footer-more-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.footer-more-grid h4 {
  margin: 0 0 .55rem;
  color: #fff;
  font-size: .8rem;
  letter-spacing: .04em;
}
.footer-more-grid p {
  margin: 0 0 .55rem;
  color: #c9b8e4;
  font-size: .72rem;
  line-height: 1.45;
}
.footer-more-grid strong { color: #efe6ff; }
.seo-article--footer {
  margin-top: 1rem;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.footer-provider-col {
  margin-top: 0;
  padding: .85rem 0 1.25rem;
  width: 100%;
  max-width: 100%;
}
.footer-provider-col-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.seo-article .byline {
  display: flex; align-items: center; gap: .75rem;
  margin: 0 0 1rem; color: var(--muted); font-size: .82rem;
}
.seo-article .byline img {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(246,212,90,.35);
}
.seo-article .callout {
  margin: 1rem 0;
  padding: .85rem 1rem;
  border-left: 3px solid var(--gold);
  background: rgba(246,212,90,.08);
  border-radius: 0 8px 8px 0;
  color: #efe6ff; font-size: .88rem;
}
.seo-article .review-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem;
  margin: .85rem 0 1.2rem;
}
.seo-article .review {
  margin: 0; padding: .75rem;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
}
.seo-article .review span { color: var(--gold); font-size: .78rem; }
.seo-article .review strong { display: block; margin: .25rem 0; font-size: .82rem; }
.seo-article .review p { margin: 0; font-size: .76rem; color: #d7c8f0; }
.seo-article .faq details {
  margin-bottom: .45rem;
  padding: .55rem .7rem;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
}
.seo-article .faq summary { cursor: pointer; font-weight: 700; color: #fff; }
.seo-article .faq p { margin: .45rem 0 0; font-size: .84rem; }
@media (max-width: 900px) {
  .seo-article .review-grid { grid-template-columns: 1fr; }
}

.footer-platform {
  margin-top: 1rem;
  padding: .85rem 0 .95rem;
  border-top: 1px dashed rgba(255,255,255,.35);
  border-bottom: 1px dashed rgba(255,255,255,.35);
  width: 100%;
  max-width: 100%;
}
.footer-platform .footer-label {
  margin-bottom: .65rem;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  padding: 0;
}
.footer-brand-link { display: inline-flex; align-items: center; }
.footer-brand {
  height: 52px; width: auto;
  max-width: min(260px, 58vw);
  filter: drop-shadow(0 0 8px rgba(246,212,90,.25));
}
.footer-social {
  display: flex; gap: .75rem; align-items: center;
}
.footer-social a {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  padding: 0;
}
.footer-social img {
  width: 42px; height: 42px;
  display: block;
  opacity: .98;
  transition: .15s ease;
}
.footer-social a:hover img { opacity: 1; transform: translateY(-1px); filter: drop-shadow(0 0 6px rgba(255,255,255,.35)); }

.ngobrol-btn {
  position: fixed; right: 14px; bottom: 14px; z-index: 75;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem 1rem; border-radius: 999px;
  background: linear-gradient(180deg, #c084fc, #7e22ce 55%, #581c87);
  color: #fff !important; font-weight: 800; font-size: .82rem;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(126, 34, 206, .45);
  border: 1px solid rgba(255,255,255,.25);
}
.ngobrol-btn:hover { filter: brightness(1.06); color: #fff !important; }
.ngobrol-ico { font-size: 1rem; }

@media (max-width: 900px) {
  .footer-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { flex-direction: column; align-items: stretch; }
  .footer-browser { width: 100%; }
  .pay-chip img { height: 34px; }
  .ngobrol-btn { right: 10px; bottom: 10px; font-size: .74rem; padding: .45rem .8rem; }
}
@media (max-width: 640px) {
  .footer-more-grid { grid-template-columns: 1fr; }
  .footer-mid { flex-direction: column; align-items: flex-start; }
  .footer-info-wrap .footer-more-grid,
  .footer-more-body { padding: .85rem .75rem; }
  .pay-chip img { height: 30px; }
}


@media (max-width: 1100px) {
  .lobby-grid { grid-template-columns: 340px 1fr; }
  .jackpot-frame { transform: none; }
  .side-rail, .float-new, .hubungi-dock, .download-dock { display: none; }
}
@media (max-width: 900px) {
  .lobby-grid, .promo-grid, .lobby-info-grid { grid-template-columns: 1fr; }
  .info-col + .info-col { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .chat-widget { display: none; }
  .game-card { flex-basis: 84px; }
  .game-card img { height: 84px; }
  .game-viewport { max-height: 128px; }
  .cat-nav {
    justify-content: flex-start;
    gap: .15rem;
    scroll-snap-type: x proximity;
  }
  .cat-nav a {
    flex: 0 0 auto;
    min-width: 68px;
    scroll-snap-align: start;
  }
  .footer-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ngobrol-btn { display: none; }

  /* Mobile chrome like joker88.com */
  .m-menu-btn, .m-user-btn, .m-appbar, .m-bottom-nav { display: flex; }
  .m-auth-cta { display: grid; }
  .head-tools { display: none !important; }
  .head-row {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    gap: .35rem;
    min-height: 52px;
  }
  .brand { justify-self: center; }
  .brand img { height: 42px !important; width: auto; }
  .m-menu-btn {
    width: 40px; height: 40px;
    flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    background: transparent; border: 0; cursor: pointer; padding: 0;
  }
  .m-menu-btn span {
    display: block; width: 20px; height: 2px;
    background: #fff; border-radius: 2px;
  }
  .m-user-btn {
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    color: #e9ddff; text-decoration: none;
  }
  .m-appbar {
    align-items: center; gap: .55rem;
    padding: .45rem .7rem;
    background: #0a0618;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .m-appbar.is-hidden { display: none !important; }
  .m-appbar-close {
    background: transparent; border: 0; color: #9ca3af;
    font-size: 1.15rem; line-height: 1; cursor: pointer; padding: 0 .2rem;
  }
  .m-appbar-ico { width: 28px; height: 28px; object-fit: contain; }
  .m-appbar-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .m-appbar-txt strong { color: #fff; font-size: .72rem; line-height: 1.2; }
  .m-appbar-txt span { color: #9ca3af; font-size: .62rem; }
  .m-appbar-btn {
    flex: 0 0 auto;
    background: #06b6d4; color: #04101a !important;
    font-weight: 800; font-size: .72rem;
    padding: .4rem .7rem; border-radius: 4px;
    text-decoration: none !important;
  }
  .m-auth-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .m-auth-login, .m-auth-daftar {
    display: flex; align-items: center; justify-content: center;
    min-height: 46px;
    font-weight: 800; font-size: .95rem; letter-spacing: .04em;
    text-decoration: none !important; color: #fff !important;
  }
  .m-auth-login { background: #38bdf8; color: #062033 !important; }
  .m-auth-daftar { background: linear-gradient(180deg, #fbbf24, #f59e0b 55%, #d97706); color: #1a0f00 !important; }
  .head-nav {
    border-top: 0;
    background: #1a0a33;
  }
  .head-nav .container { padding-left: .35rem; padding-right: .35rem; }
  /* Mobile banners 580x320 ? tinggi ikut rasio gambar (responsive) */
  .hero-wrap { width: 100%; max-width: 100%; overflow: hidden; }
  .hero-carousel--desktop { display: none !important; }
  .hero-carousel--mobile {
    display: block !important;
    width: 100%;
    max-width: 100%;
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    border-radius: 0;
    overflow: hidden;
  }
  .hero-carousel--mobile .hero-slide {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    width: 100%;
    height: auto;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
  }
  .hero-carousel--mobile .hero-slide.is-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
  }
  .hero-carousel--mobile .hero-slide img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: unset !important;
  }
  .hero-nav { display: none; }
  .marquee-bar { margin-top: 0; }
  .m-bottom-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: #12082a;
    border-top: 1px solid rgba(255,255,255,.12);
    padding: .55rem 0 calc(.55rem + env(safe-area-inset-bottom));
    min-height: 64px;
  }
  .m-bottom-nav a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .28rem;
    color: #d8c8f2; text-decoration: none; font-size: .78rem; font-weight: 800;
    letter-spacing: .02em; padding: .35rem .2rem;
  }
  .m-bottom-nav a.is-active, .m-bottom-nav a:hover { color: #7dd3fc; }
  .m-bn-ico { font-size: 1.55rem; line-height: 1; display: block; }
  body { padding-bottom: 78px; }
  .m-drawer {
    position: fixed; inset: 0; z-index: 120;
    background: rgba(0,0,0,.55);
  }
  .m-drawer[hidden] { display: none !important; }
  .m-drawer-panel {
    width: min(78vw, 300px); height: 100%;
    background: #160a2e;
    padding: 1rem .9rem;
    display: flex; flex-direction: column; gap: .55rem;
    box-shadow: 8px 0 30px rgba(0,0,0,.45);
  }
  .m-drawer-panel a {
    color: #efe6ff; text-decoration: none;
    padding: .55rem .45rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: .9rem;
  }
  .m-drawer-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: .45rem;
    margin-top: .75rem;
  }
  .m-drawer-cta .btn { text-align: center; justify-content: center; }
}
@media (min-width: 901px) {
  .m-menu-btn, .m-user-btn, .m-appbar, .m-auth-cta, .m-bottom-nav, .m-drawer { display: none !important; }
}
@media (max-width: 640px) {
  .footer-more-grid { grid-template-columns: 1fr; }
  .footer-mid { flex-direction: column; align-items: flex-start; }
  .clock { display: none; }
  .brand img { height: 38px !important; }
  .btn { min-width: 0; padding: .38rem .7rem; font-size: .7rem; }
  .float-left { left: 8px; bottom: 80px; }
  .hero-carousel--mobile { aspect-ratio: auto; height: auto; }
  .hero-carousel--mobile .hero-slide.is-active { position: relative; }
  .hero-carousel--mobile .hero-slide img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: unset;
  }
  .cat-nav a {
    min-width: 60px;
    font-size: .5rem;
    padding: .3rem .1rem .15rem;
  }
  .nav-ico { width: 26px; height: 26px; }
  .lobby-mid { padding-top: .75rem; }
  .jackpot-frame { max-width: 100%; }
}


/* Category lobby pages (/slots /live /sports ...) */
.cat-hero {
  position: relative;
  margin: 0 0 1rem;
  overflow: hidden;
  background: #140028;
}
.cat-hero-img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}
.cat-hero-copy {
  position: absolute; inset: auto 0 0 0;
  padding: 1.25rem 0 1.4rem;
  background: linear-gradient(180deg, transparent, rgba(10,0,28,.88) 35%);
}
.cat-hero-kicker {
  margin: 0 0 .2rem;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cat-hero-copy h1 {
  margin: 0 0 .35rem;
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
}
.cat-hero-copy p {
  margin: 0 0 .75rem;
  max-width: 52rem;
  color: #d7c8f0;
  font-size: .9rem;
}
.cat-hero-cta { display: flex; gap: .55rem; flex-wrap: wrap; }
.cat-lobby-head {
  display: flex; align-items: center; gap: .75rem;
  margin: 0 0 1rem;
}
.cat-lobby-ico { width: 48px; height: 48px; }
.cat-lobby-head h2 { margin: 0; color: #fff; font-size: 1.15rem; }
.cat-lobby-head p { margin: .15rem 0 0; color: #c9b8e4; font-size: .78rem; }
.cat-lobby-head code { color: #f6d45a; }
.cat-game-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: .65rem;
  width: 100%;
  animation: none;
}
.cat-game-row .game-card { flex: none; width: 100%; }
.cat-game-row .game-card img { height: 110px; }
.cat-sibling {
  display: flex; flex-wrap: wrap; gap: .45rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255,255,255,.2);
}
.cat-sibling a {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .4rem .65rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: #efe6ff;
  font-size: .72rem;
  background: rgba(0,0,0,.22);
}
.cat-sibling a:hover { border-color: var(--gold); color: #fff; }
.cat-sibling img { width: 22px; height: 22px; }
@media (max-width: 640px) {
  .cat-hero-copy { position: static; background: rgba(10,0,28,.92); padding: .9rem 0 1rem; }
  .cat-game-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-game-row .game-card img { height: 92px; }
}

/* Promotion page (/promotion) ? mirror joker88.com/promotion */
.promo-page-head { margin-bottom: 1rem; }
.promo-page-head h1 {
  margin: 0 0 .35rem;
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  letter-spacing: .04em;
}
.promo-page-head p { margin: 0; color: #c9b8e4; font-size: .88rem; }
.promo-tabs {
  display: flex; flex-wrap: wrap; gap: .45rem;
  margin: 0 0 1.1rem;
}
.promo-tab {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.28);
  color: #efe6ff;
  border-radius: 999px;
  padding: .42rem .9rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  cursor: pointer;
}
.promo-tab.is-active,
.promo-tab:hover {
  background: linear-gradient(180deg, #38bdf8, #0284c7);
  border-color: transparent;
  color: #041525;
}
.promo-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}
.promo-item {
  background: rgba(18, 4, 42, .72);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  overflow: hidden;
}
.promo-item.is-hidden { display: none; }
.promo-item-img {
  width: 100%;
  height: auto;
  aspect-ratio: 360 / 160;
  object-fit: cover;
  background: #0a0018;
}
.promo-item-body { padding: .85rem .9rem 1rem; }
.promo-item-body h2 {
  margin: 0 0 .35rem;
  color: #fff;
  font-size: .95rem;
  line-height: 1.25;
}
.promo-item-meta {
  margin: 0 0 .7rem;
  color: #b9a6d8;
  font-size: .72rem;
}
.promo-item-meta strong { color: #f6d45a; }
.promo-item-actions {
  display: flex; gap: .45rem; flex-wrap: wrap;
}
.promo-detail-btn,
.promo-claim-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 96px;
  padding: .45rem .85rem;
  border-radius: 6px;
  font-size: .74rem;
  font-weight: 800;
  text-decoration: none !important;
  border: 0;
  cursor: pointer;
}
.promo-detail-btn {
  background: #fff;
  color: #1a0038;
}
.promo-claim-btn {
  background: linear-gradient(180deg, #fbbf24, #f59e0b 55%, #d97706);
  color: #1a0f00 !important;
}
.promo-item-terms {
  margin-top: .85rem;
  padding-top: .75rem;
  border-top: 1px dashed rgba(255,255,255,.18);
}
.promo-item-terms h3 {
  margin: 0 0 .45rem;
  color: #fff;
  font-size: .78rem;
}
.promo-item-terms ul {
  margin: 0;
  padding-left: 1.05rem;
  color: #d7c8f0;
  font-size: .72rem;
  line-height: 1.45;
}
.promo-item-terms li { margin-bottom: .28rem; }
@media (max-width: 800px) {
  .promo-list { grid-template-columns: 1fr; }
}

/* Referral page (/referral) */
.ref-page-head { margin-bottom: 1.1rem; }
.ref-page-head h1 {
  margin: 0 0 .35rem;
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  letter-spacing: .04em;
}
.ref-page-head p { margin: 0 0 .75rem; color: #c9b8e4; font-size: .88rem; }
.ref-page-cta { display: flex; gap: .55rem; flex-wrap: wrap; }
.ref-table-wrap {
  overflow-x: auto;
  margin: 0 0 1.25rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(10, 2, 28, .55);
}
.ref-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: .78rem;
}
.ref-table th,
.ref-table td {
  padding: .7rem .75rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  text-align: left;
  color: #d7c8f0;
  vertical-align: top;
}
.ref-table th {
  background: rgba(56, 189, 248, .12);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.ref-table tr:last-child td { border-bottom: 0; }
.ref-table strong { color: #fff; }
.ref-article {
  margin: 0 0 1.25rem;
  padding: 1rem;
  background: rgba(10, 2, 28, .45);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
}
.ref-article h2 {
  margin: 1rem 0 .45rem;
  color: #fff;
  font-size: 1.05rem;
}
.ref-article p,
.ref-article li {
  color: #d7c8f0;
  font-size: .88rem;
  line-height: 1.55;
}
.ref-terms {
  padding: 1rem;
  background: rgba(18, 4, 42, .55);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
}
.ref-terms h2 {
  margin: 0 0 .55rem;
  color: #fff;
  font-size: 1rem;
}
.ref-terms h2 + ol,
.ref-terms h2 + ul { margin-top: 0; }
.ref-terms ul,
.ref-terms ol {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: #d7c8f0;
  font-size: .82rem;
  line-height: 1.5;
}
.ref-terms li { margin-bottom: .35rem; }
@media (max-width: 700px) {
  .ref-table { font-size: .7rem; }
  .ref-table th, .ref-table td { padding: .55rem .5rem; }
}

/* Blog page (/blog) */
.blog-page-head { margin-bottom: 1.1rem; }
.blog-page-head h1 {
  margin: 0 0 .35rem;
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  letter-spacing: .04em;
}
.blog-page-head p { margin: 0; color: #c9b8e4; font-size: .88rem; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}
.blog-card {
  padding: 1rem;
  background: rgba(18, 4, 42, .7);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
}
.blog-card-label {
  display: inline-block;
  margin-bottom: .45rem;
  padding: .18rem .5rem;
  border-radius: 999px;
  background: rgba(246,212,90,.15);
  color: #f6d45a;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.blog-card h2 {
  margin: 0 0 .4rem;
  font-size: .98rem;
  line-height: 1.3;
}
.blog-card h2 a { color: #fff; text-decoration: none; }
.blog-card h2 a:hover { color: var(--gold); }
.blog-card p {
  margin: 0 0 .7rem;
  color: #c9b8e4;
  font-size: .8rem;
  line-height: 1.45;
}
.blog-card-more {
  color: #7dd3fc !important;
  font-size: .78rem;
  font-weight: 700;
}
.blog-more-title {
  margin: 1.4rem 0 .75rem;
  color: #fff;
  font-size: 1.05rem;
}
@media (max-width: 700px) {
  .blog-grid { grid-template-columns: 1fr; }
}
