/* Family A: classic Indonesian landing page (from WE88 159.223.73.115, spindanmenang.com, 22bet.online/id; approved v2 mockup .sa).
   Mobile first. One theme (dark), one loud accent (--gold), radius 6px for buttons/panels, pills only for chips/tags. */
:root {
  --deep: #070B19;
  --base: #0B1022;
  --panel: #10172E;
  --surface: #161E3A;
  --cell: #0D1328;
  --line: #2A355C;
  --gold: #F6B92B;
  --gold-hi: #FFD66E;
  --gold-lo: #D6960F;
  --blue: #2A50D2;
  --light: #EDF1FB;
  --text: #DCE2F2;
  --muted: #AAB4D0;
  --ink: #0B1022;
  --hot: #C8102E;
  --wrap: 1120px;
  --read: 860px;
  --r: 6px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --f-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-disp: "Roboto Condensed", "Roboto", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--base); color: var(--light); font: 400 16px/1.65 var(--f-body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.ic { width: 20px; height: 20px; flex: none; }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 8px; z-index: 30; background: var(--gold); color: var(--ink); padding: 10px 14px; border-radius: var(--r); font-weight: 700; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: var(--r);
  font: 700 14px/1 var(--f-body); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-line { border: 1.5px solid var(--gold); color: var(--gold); }
.btn-line:hover { background: rgba(246, 185, 43, .12); }
.btn-dark { background: var(--surface); color: var(--light); border: 1px solid var(--line); }
.btn-dark:hover { background: #1d2749; }

/* ---------- top bar ---------- */
.top { background: var(--deep); }
.top .wrap { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.brand b { display: block; font: 800 26px/1 var(--f-disp); letter-spacing: .01em; color: #fff; }
.brand b span { color: var(--gold); }
.brand small { display: block; margin-top: 4px; font: 500 10px/1 var(--f-body); letter-spacing: .24em; color: var(--muted); text-transform: uppercase; }
.clock, .top .auth { display: none; }

/* ---------- gold menu ---------- */
.menu { background: var(--gold); color: var(--ink); }
.menu ul { display: flex; gap: 2px; margin: 0 auto; padding: 0 6px; max-width: var(--wrap); list-style: none; overflow-x: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.menu ul::-webkit-scrollbar { display: none; }
.menu a { position: relative; display: flex; align-items: center; gap: 6px; height: 48px; padding: 0 12px; font: 500 15px/1 var(--f-body);
  text-decoration: none; white-space: nowrap; border-radius: var(--r); transition: background-color .3s var(--ease); }
.menu a:hover { background: rgba(11, 16, 34, .09); }
.menu .ic { width: 22px; height: 22px; }
.menu .hot::after { content: "HOT"; position: absolute; top: 3px; right: 0; font: 700 9px/1 var(--f-body); letter-spacing: .04em;
  background: var(--hot); color: #fff; padding: 2px 4px; border-radius: 4px; }

/* ---------- ticker (the page's one marquee) ---------- */
.tick { background: var(--surface); border-bottom: 1px solid var(--line); }
.tick .wrap { display: flex; align-items: center; gap: 10px; height: 38px; font-size: 13px; color: #D5DCEF; }
.tick .ic { color: var(--gold); width: 18px; height: 18px; }
.tick .run { flex: 1; overflow: hidden; white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.tick .loop { display: inline-flex; animation: run 36s linear infinite; }
.tick .loop > span { padding-right: 72px; }
.tick .wrap:hover .loop { animation-play-state: paused; }
@keyframes run { to { transform: translateX(-50%); } }

/* ---------- hero carousel ---------- */
.hero { position: relative; background: var(--base); }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; }
/* mobile: one compact banner, copy on the art's dark left side, subject right (WE88 mobile) */
.slide img { width: 100%; aspect-ratio: 1584 / 672; object-fit: cover; object-position: 72% 50%; }
.slide::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 16, 34, .9) 0%, rgba(11, 16, 34, .78) 40%, rgba(11, 16, 34, 0) 62%); }
.copy { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 8px 16px 22px; }
.copy > * { max-width: 46%; }
.copy > .kick { max-width: 66%; }
.copy > .sub { max-width: 50%; }
.kick { margin: 0; font: 700 clamp(10.5px, 2.7vw, 16px)/1.2 var(--f-disp); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.ttl { margin: 4px 0 0; font: 800 clamp(17px, 5.2vw, 40px)/.95 var(--f-disp); text-transform: uppercase; color: var(--gold); text-shadow: 0 2px 10px rgba(0, 0, 0, .55); }
.ttl span { display: block; color: #fff; }
.sub { margin: 6px 0 0; font: 500 clamp(11.5px, 3vw, 16px)/1.35 var(--f-body); color: #D5DCEF;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-wrap: pretty; }
.copy .btn { display: none; }
.dots { display: none; }
.js .dots { display: flex; justify-content: center; gap: 4px; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0; }
.dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #4A5578; transition: background-color .3s var(--ease), transform .3s var(--ease); }
.dots button[aria-current="true"]::before { background: var(--gold); transform: scale(1.15); }

/* mobile Masuk / Daftar pair under the banner (WE88 mobile) */
.auth-m { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px 16px 18px; }
.auth-m .btn { min-height: 48px; }

/* ---------- 1-2-3 strip ---------- */
.steps { background: var(--deep); border-top: 1px solid var(--line); }
.steps ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 auto; padding: 14px 8px; max-width: var(--wrap); list-style: none; }
.steps li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.steps .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--ink); font: 800 18px/1 var(--f-disp); }
.steps b { display: block; font: 800 15px/1 var(--f-disp); letter-spacing: .05em; text-transform: uppercase; color: var(--gold); }
.steps small { display: none; font-size: 13px; color: #C9D1E6; }

/* ---------- article ---------- */
main { background: var(--panel); padding: 34px 0 56px; }
.lp-content { max-width: var(--read); margin: 0 auto; padding: 0 16px; }
.lp-content h1 { margin: 0 0 18px; text-align: center; font: 700 25px/1.25 var(--f-body); text-transform: uppercase; letter-spacing: .01em; color: #fff; }
.lp-content p { margin: 0 0 14px; color: var(--text); }
.lp-content h1 + p { font-size: 16.5px; color: #E6EBF8; }
.lp-content h1 + p strong { color: var(--gold); }
.lp-content strong { color: #fff; }
.lp-content h2 { margin: 52px 0 16px; text-align: center; font: 700 21px/1.3 var(--f-body); text-transform: uppercase; letter-spacing: .02em; color: #fff; scroll-margin-top: 12px; }
.lp-content h2::after { content: ""; display: block; width: 56px; height: 3px; margin: 12px auto 0; border-radius: 2px; background: var(--gold); }
.lp-content h3 { margin: 26px 0 8px; font: 700 18px/1.35 var(--f-body); color: var(--gold); }

/* tables: bordered, like the WE88 info table */
.tbl { margin: 16px 0 18px; overflow-x: auto; border: 1.5px solid rgba(237, 241, 251, .75); border-radius: var(--r); }
.tbl table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl.wide th, .tbl.wide td { padding: 9px 6px; font-size: 13.5px; }
.tbl th, .tbl td { padding: 11px 12px; border: 1px solid var(--line); text-align: center; vertical-align: middle; }
.tbl tr > *:first-child { border-left: 0; }
.tbl tr > *:last-child { border-right: 0; }
.tbl tr:first-child > * { border-top: 0; }
.tbl tr:last-child > td, .tbl tr:last-child > th[scope="row"] { border-bottom: 0; }
.tbl thead tr:first-child > * { border-top: 0; }
.tbl thead th { background: var(--surface); color: var(--gold); font: 700 13.5px/1.3 var(--f-body); letter-spacing: .01em; }
.tbl tbody td { background: var(--cell); color: var(--text); }
.tbl th[scope="row"] { width: 40%; background: var(--surface); color: #C9D1E6; font-weight: 500; }
.sum td:first-child { width: 34%; background: var(--surface); color: #C9D1E6; }
.sum .g { color: var(--gold); font-weight: 700; }

/* lists */
.lp-content ul { display: grid; gap: 10px; margin: 12px 0 18px; padding: 0; list-style: none; }
.lp-content ul li { position: relative; padding-left: 28px; color: var(--text); }
.lp-content ul li::before { content: ""; position: absolute; left: 5px; top: .62em; width: 9px; height: 9px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.lp-content ol { display: grid; gap: 12px; margin: 12px 0 18px; padding: 0; list-style: none; counter-reset: s; }
.lp-content ol li { position: relative; min-height: 28px; padding-left: 42px; counter-increment: s; color: var(--text); }
.lp-content ol li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font: 700 14px/28px var(--f-body); text-align: center; }

/* glossary as tiles, win example as a panel */
.lp-content ul.gloss { gap: 10px; }
.lp-content ul.gloss li { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.lp-content ul.gloss li::before { display: none; }
.lp-content ul.gloss strong { display: block; margin-bottom: 2px; color: var(--gold); }
.calc { margin: 22px 0; padding: 16px 18px 4px; background: linear-gradient(135deg, #1A2550, var(--surface)); border-left: 4px solid var(--gold); border-radius: var(--r); }
.calc h3 { margin-top: 0; }
.calc strong { color: var(--gold); }

/* provider chips (in place of game thumbnails) */
.lp-content ul.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 0 6px; }
.lp-content ul.chips li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font: 600 14px/1.2 var(--f-body); color: #fff; }
.lp-content ul.chips li::before { display: none; }

/* top-of-article info table + CTAs */
.cta { margin: 20px 0 6px; }
.btn-xl { width: 100%; min-height: 54px; font-size: 16px; }
.alt { display: block; margin-top: 12px; height: 76px; border-radius: var(--r); text-align: center; text-decoration: none;
  font: italic 800 34px/76px var(--f-disp); letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .16) 0 22px, transparent 22px 60px), linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18); transition: transform .3s var(--ease), filter .3s var(--ease); }
.alt:hover { filter: brightness(1.06); }
.alt:active { transform: scale(.99); }

/* FAQ cards */
.qa { margin: 12px 0; padding: 16px 18px 2px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.qa h3 { margin: 0 0 6px; font-size: 17px; color: #fff; }
.qa p { color: #CDD4E8; }

/* tags + date */
.lp-content h4 { margin: 44px 0 10px; text-align: center; font: 700 13px/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lp-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lp-tags span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); }
.lp-updated { margin-top: 26px !important; text-align: center; color: var(--muted) !important; }

/* ---------- footer ---------- */
footer { background: var(--deep); border-top: 3px solid var(--gold); padding: 28px 0 34px; text-align: center; color: var(--muted); font-size: 14px; }
footer .brand { justify-content: center; }
footer p { max-width: 60ch; margin: 14px auto 0; }

/* ---------- desktop ---------- */
@media (min-width: 900px) {
  .top .wrap { justify-content: flex-start; min-height: 84px; }
  .brand img { width: 50px; height: 50px; }
  .brand b { font-size: 30px; }
  .clock { display: block; margin-left: auto; font-size: 13px; color: #C9D1E6; font-variant-numeric: tabular-nums; }
  .top .auth { display: flex; gap: 10px; }
  .menu ul { justify-content: center; gap: 6px; -webkit-mask-image: none; mask-image: none; }
  .menu a { height: 56px; font-size: 16px; padding: 0 14px; }
  .slide img { max-height: 560px; }
  .slide::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(11, 16, 34, .88) 0%, rgba(11, 16, 34, .55) 34%, rgba(11, 16, 34, 0) 58%); }
  .copy { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center;
    max-width: var(--wrap); margin: 0 auto; padding: 0 32px 24px; }
  .copy > *, .copy > .kick { max-width: 560px; }
  .copy > .ttl { max-width: 760px; }
  .copy > .sub { max-width: 34ch; }
  .kick { font-size: 22px; color: #fff; }
  .ttl { font-size: clamp(52px, 5.2vw, 76px); text-shadow: 0 4px 18px rgba(0, 0, 0, .5); }
  .ttl { margin-top: 6px; }
  .sub { margin-top: 10px; font-size: 18px; line-height: 1.5; display: block; -webkit-line-clamp: unset; overflow: visible; }
  .copy .btn { display: inline-flex; align-self: flex-start; margin-top: 16px; min-height: 50px; padding: 0 28px; font-size: 15px; }
  .js .dots { bottom: 14px; }
  .auth-m { display: none; }
  .steps ol { height: 96px; padding: 0 32px; align-items: center; }
  .steps li { flex-direction: row; justify-content: center; gap: 14px; text-align: left; }
  .steps .n { width: 44px; height: 44px; font-size: 22px; }
  .steps b { font-size: 20px; }
  .steps small { display: block; }
  main { padding: 56px 0 72px; }
  .lp-content h1 { font-size: 32px; }
  .lp-content h2 { font-size: 24px; }
  .lp-content ul.gloss { grid-template-columns: 1fr 1fr; }
  .tbl.wide th, .tbl.wide td { padding: 11px 12px; font-size: 14.5px; }
  .cta { display: grid; gap: 14px; }
  .alt { height: 92px; font-size: 46px; line-height: 92px; margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .tick .wrap { height: auto; padding-top: 8px; padding-bottom: 8px; }
  .tick .run { white-space: normal; -webkit-mask-image: none; mask-image: none; }
  .tick .loop { display: inline; animation: none; }
  .tick .loop > span[aria-hidden] { display: none; }
}
