/* style.css | सट्टा मटका
 *
 * Midnight chart redesign. The markup in index.html is unchanged apart from
 * the theme-color meta; this file restyles it from scratch.
 *
 * Palette
 *   --night    #0c1330  page canvas (Bombay dusk)
 *   --deep     #080d22  header, footer, article band
 *   --surface  #121b3d  tiles, table body
 *   --raised   #1a2650  table heads
 *   --gold     #f3b23a  accent, matches the logo
 *   --paper    #f5efe2  headings, chart-paper callout
 *   --mist     #b4bbd4  secondary text
 *
 * Layout map
 *   header   logo left | page links | actions   (phones: link strip below)
 *   hero     framed banner, CTA plate overlapping its lower edge
 *   games    side rail with heading + provider list, grid beside it
 *   article  title band, then contents rail on the left + reading column
 *   footer   brand + payments, link columns, licence bar
 */

/* ================================================================ Fonts */

@font-face {
  font-family: 'Martel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/martel-devanagari-700-normal.woff2') format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0,
    U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: 'Martel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/martel-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Martel';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/martel-devanagari-800-normal.woff2') format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0,
    U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: 'Martel';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/martel-latin-800-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/mukta-devanagari-400-normal.woff2') format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0,
    U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/mukta-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/mukta-devanagari-500-normal.woff2') format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0,
    U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/mukta-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/mukta-devanagari-600-normal.woff2') format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0,
    U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/mukta-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/mukta-devanagari-700-normal.woff2') format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0,
    U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/mukta-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =============================================================== Tokens */

:root {
  --night: #0c1330;
  --deep: #080d22;
  --surface: #121b3d;
  --raised: #1a2650;
  --gold: #f3b23a;
  --gold-hi: #ffc95c;
  --gold-deep: #c8861a;
  --paper: #f5efe2;
  --text: #dde0ec;
  --mist: #b4bbd4;
  --faint: #8890ad;
  --line: rgba(180, 190, 225, 0.14);
  --line-2: rgba(180, 190, 225, 0.26);
  --grid: rgba(150, 170, 230, 0.055);
  --gold-wash: rgba(243, 178, 58, 0.12);

  --font-display: 'Mukta', 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-num: 'Martel', 'Noto Serif Devanagari', Georgia, serif;
  --font-body: 'Mukta', 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --w: 1240px;
  --gutter: 24px;
  --header-h: 68px;

  --r-btn: 10px;
  --r-tile: 14px;
  --r-surface: 20px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 180ms;
}

/* ================================================================= Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: var(--raised) var(--deep);
}
body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  /* chart paper: the ruled grid of a result sheet, under a warm lamp glow */
  background:
    radial-gradient(70% 520px at 50% -120px, rgba(243, 178, 58, 0.16), rgba(243, 178, 58, 0) 70%),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--night);
  background-attachment: scroll, fixed, fixed, scroll;
}
h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}
ul,
ol {
  padding: 0;
}
img {
  max-width: 100%;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* game-tabs.js hides filtered cards with the hidden attribute */
[hidden] {
  display: none !important;
}
::selection {
  background: var(--gold);
  color: var(--night);
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.wrap {
  width: 100%;
  max-width: var(--w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* =============================================================== Header */

.quick-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 13, 34, 0.86);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.main-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: 'logo nav actions';
  align-items: center;
  column-gap: 36px;
  max-width: var(--w);
  height: var(--header-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.logo {
  grid-area: logo;
  display: block;
  width: 168px;
  height: 40px;
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
}
.site-nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--r-btn);
  color: var(--mist);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.site-nav a:hover {
  color: var(--paper);
  background: rgba(180, 190, 225, 0.08);
}
.header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.btn-ghost {
  color: var(--paper);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--paper);
}
.btn-solid {
  color: var(--night);
  background: var(--gold);
}
.btn-solid:hover {
  background: var(--gold-hi);
}
.btn:active {
  transform: translateY(1px);
}

/* ================================================================= Hero */

/* The banner is framed like a lit sign; the two calls to action sit on a
   dark plate that overlaps its lower edge. */
.hero {
  padding-top: 28px;
}
.ticket {
  display: grid;
}
.hero-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-surface);
  background: var(--deep);
  box-shadow: 0 0 0 1px rgba(243, 178, 58, 0.28), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.hero-banner a {
  display: block;
}
.hero-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2097 / 750;
  object-fit: cover;
}
.hero-cta {
  position: relative;
  z-index: 1;
  justify-self: center;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(560px, calc(100% - 48px));
  margin-top: -38px;
  padding: 10px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: rgba(8, 13, 34, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.85);
}
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 11px;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.cta-main {
  color: var(--night);
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.cta-main:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 0 3px rgba(243, 178, 58, 0.3);
}
.cta-line {
  color: var(--gold);
  border: 1.5px solid rgba(243, 178, 58, 0.6);
}
.cta-line:hover {
  color: var(--gold-hi);
  border-color: var(--gold);
  background: var(--gold-wash);
}
.cta:active {
  transform: translateY(1px);
}

/* ---- CTA animation: the plate breathes a gold glow, the buttons beat
   (scale + glow) one after the other, and a light sweep crosses the main
   button. Glow lives on ::after layers and only opacity animates there,
   so the effect stays smooth on phones. */
.hero-cta {
  isolation: isolate;
  animation: plate-glow 2.4s ease-in-out infinite;
}
@keyframes plate-glow {
  0%, 100% {
    border-color: rgba(243, 178, 58, 0.25);
    box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.85), 0 0 0 0 rgba(243, 178, 58, 0);
  }
  50% {
    border-color: rgba(255, 201, 92, 0.75);
    box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.85), 0 0 34px 2px rgba(243, 178, 58, 0.35);
  }
}
.cta {
  position: relative;
  overflow: visible;
  will-change: transform;
  animation: cta-beat 1.2s cubic-bezier(0.45, 0, 0.55, 1) 0.6s infinite;
}
.cta-line {
  animation-delay: 0.9s;
}
@keyframes cta-beat {
  0%, 100% { transform: scale(1); }
  30% { transform: scale(1.08); }
  60% { transform: scale(0.99); }
}
.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.25;
  animation: cta-glow 1.2s cubic-bezier(0.45, 0, 0.55, 1) 0.6s infinite;
}
.cta-main::after {
  box-shadow: 0 0 0 2px rgba(255, 220, 140, 0.9), 0 0 26px 8px rgba(255, 196, 70, 0.85),
    0 0 60px 18px rgba(243, 178, 58, 0.5);
}
.cta-line::after {
  animation-delay: 0.9s;
  box-shadow: 0 0 0 1px rgba(255, 201, 92, 0.85), 0 0 24px 5px rgba(243, 178, 58, 0.65),
    inset 0 0 16px rgba(243, 178, 58, 0.3);
}
@keyframes cta-glow {
  0%, 100% { opacity: 0.25; }
  30% { opacity: 1; }
}
.cta-line {
  text-shadow: 0 0 12px rgba(255, 201, 92, 0.55);
}
/* light sweep across the main button */
.cta-main {
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 60%) -150% 0 / 250% 100% no-repeat,
    linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  animation: cta-beat 1.2s cubic-bezier(0.45, 0, 0.55, 1) 0.6s infinite,
    cta-shine 2.4s ease-in-out 1s infinite;
}
@keyframes cta-shine {
  0% { background-position: 150% 0, 0 0; }
  45%, 100% { background-position: -150% 0, 0 0; }
}
/* Hover/focus holds the button big and fully lit. */
.cta:hover,
.cta:focus-visible {
  animation: none;
  transform: scale(1.07);
}
.cta:hover::after,
.cta:focus-visible::after {
  animation: none;
  opacity: 1;
}
.cta:active {
  animation: none;
  transform: scale(0.97);
}

/* ================================================================ Games */

/* Desktop: a side rail with the heading and provider list, the grid beside it. */
.section-games {
  padding-top: 72px;
}
.section-games > .wrap {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 36px;
}
.lobby-bar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.games-head h2 {
  margin-bottom: 18px;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
}
.gametype-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 12px;
  border-left: 1px solid var(--line-2);
}
.gametype-item {
  position: relative;
  padding: 9px 14px;
  border-radius: var(--r-btn);
  color: var(--mist);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  user-select: none;
  transition: color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.gametype-item:hover {
  color: var(--paper);
  background: rgba(180, 190, 225, 0.07);
}
.gametype-item.active,
.gametype-item.active:hover {
  color: var(--gold);
  background: var(--gold-wash);
}
.gametype-item.active::before {
  content: '';
  position: absolute;
  left: -13.5px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 3px;
  background: var(--gold);
}
.section-games .main-wrap {
  min-width: 0;
}
.lottery-game-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px 16px;
  list-style: none;
}
.lottery-game-list li > a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.lottery-game-list .cover {
  overflow: hidden;
  border-radius: var(--r-tile);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow var(--dur) var(--ease-out);
}
.lottery-game-list .cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 320ms var(--ease-out);
}
.lottery-game-list .cont h2 {
  margin-top: 9px;
  overflow: hidden;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color var(--dur) var(--ease-out);
}
.lottery-game-list li > a:hover .cover,
.lottery-game-list li > a:focus-visible .cover {
  box-shadow: 0 0 0 2px var(--gold);
}
.lottery-game-list li > a:hover .cover img {
  transform: scale(1.05);
}
.lottery-game-list li > a:hover .cont h2 {
  color: var(--gold);
}

/* ============================================================== Article */

.post {
  margin-top: 96px;
  padding-block: 64px 80px;
  background: rgba(8, 13, 34, 0.55);
  border-block: 1px solid var(--line);
}
.post-inner {
  max-width: var(--w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.post-head {
  max-width: 980px;
  padding-bottom: 40px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line-2);
}
.post-title {
  max-width: 30em;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(30px, 2.2vw + 18px, 46px);
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}
.post .lead {
  max-width: 68ch;
  margin-top: 20px;
  color: var(--mist);
  font-size: 19px;
  line-height: 1.75;
}
.post a.kw {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(243, 178, 58, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color var(--dur) var(--ease-out);
}
.post a.kw:hover {
  text-decoration-color: var(--gold);
}

/* Table of contents on the left, reading column on the right. */
.post-grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: start;
  gap: 64px;
}
.toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.toc .toc-head {
  margin-bottom: 14px;
  color: var(--paper);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}
.toc-list {
  list-style: none;
  counter-reset: toc;
  border-left: 1px solid var(--line-2);
}
.toc-list li {
  counter-increment: toc;
}
.toc-list a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: baseline;
  margin-left: -1px;
  padding: 7px 0 7px 14px;
  border-left: 2px solid transparent;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.45;
  text-decoration: none;
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.toc-list a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--faint);
  font-family: var(--font-num);
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.toc-list a:hover {
  color: var(--paper);
  border-left-color: var(--gold);
}
.toc-list a:hover::before {
  color: var(--gold);
}

.post-body {
  max-width: 740px;
  counter-reset: sec;
}
.post-body > p {
  margin-bottom: 1.15em;
  font-size: 17.5px;
  line-height: 1.85;
}
.post-body > h2 {
  margin: 2.4em 0 0.75em;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(23px, 0.8vw + 17px, 28px);
  font-weight: 700;
  line-height: 1.35;
}
/* Section numbers match the numbers in the table of contents. */
.post-body > h2[id] {
  counter-increment: sec;
}
.post-body > h2[id]::before {
  content: counter(sec, decimal-leading-zero);
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* The warning is printed on a slip of chart paper. */
.callout {
  margin: 1.8em 0;
  padding: 22px 26px;
  border-radius: var(--r-tile);
  color: #2a2f45;
  background:
    linear-gradient(rgba(12, 19, 48, 0.07) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(12, 19, 48, 0.07) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--paper);
  box-shadow: 0 18px 36px -24px rgba(0, 0, 0, 0.9);
}
.callout .callout-head {
  margin-bottom: 6px;
  color: #8a5300;
  font-size: 16px;
  font-weight: 700;
}
.callout p {
  font-size: 16.5px;
  line-height: 1.75;
}

.table-scroll {
  margin: 1.8em 0;
  overflow-x: auto;
  border: 1px solid var(--line-2);
  border-radius: var(--r-tile);
  background: rgba(18, 27, 61, 0.7);
}
.table-scroll table {
  width: 100%;
  min-width: 460px;
  font-size: 15.5px;
  line-height: 1.55;
}
.table-scroll thead th {
  padding: 13px 18px;
  color: var(--gold);
  background: var(--raised);
  font-size: 15px;
  font-weight: 700;
  text-align: left;
}
.table-scroll tbody tr {
  border-top: 1px solid var(--line);
}
.table-scroll tbody tr:nth-child(even) {
  background: rgba(180, 190, 225, 0.035);
}
.table-scroll tbody th {
  width: 36%;
  padding: 12px 18px;
  color: var(--paper);
  font-weight: 600;
  text-align: left;
  vertical-align: top;
  font-variant-numeric: tabular-nums;
}
.table-scroll tbody td {
  padding: 12px 18px;
  color: var(--mist);
  vertical-align: top;
}

.post .care-list {
  display: grid;
  gap: 10px;
  margin: 1.2em 0 1.5em;
  list-style: none;
}
.care-list li {
  position: relative;
  padding-left: 32px;
  font-size: 17px;
  line-height: 1.7;
}
.care-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 15px;
  height: 15px;
  border: 1.5px solid var(--gold);
  border-radius: 4px;
}

.faq {
  margin-top: 1em;
  border-top: 1px solid var(--line-2);
}
.faq details {
  border-bottom: 1px solid var(--line-2);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 2px;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary h3 {
  color: var(--paper);
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1.5;
  transition: color var(--dur) var(--ease-out);
}
.faq summary::after {
  content: '';
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(var(--gold), var(--gold)) center / 11px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 1.5px 11px no-repeat;
  transition: transform 240ms var(--ease-out), background-color var(--dur) var(--ease-out);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--gold-wash);
}
.faq summary:hover h3 {
  color: var(--gold);
}
.faq-body {
  padding: 0 52px 20px 2px;
}
.faq-body p {
  color: var(--mist);
  font-size: 16px;
  line-height: 1.8;
}

/* =============================================================== Footer */

footer {
  background: var(--deep);
}
.footer-top-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 64px;
  padding-block: 48px 40px;
  border-bottom: 1px solid var(--line);
}
.footer-brand {
  flex: 1 1 280px;
  max-width: 380px;
}
.footer-logo {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
  margin-bottom: 14px;
}
.footer-brand p {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 16px;
}
.brand-marks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.age-badge {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}
.age-note {
  color: var(--mist);
  font-size: 14px;
  font-weight: 500;
}
.footer-provider {
  flex: 1 1 520px;
  max-width: 660px;
}
.footer-provider .footer-head {
  margin-bottom: 12px;
  color: var(--mist);
  font-size: 14.5px;
  font-weight: 600;
}
.payment-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.payment-list img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  border-radius: 8px;
}
.footer-ref {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 36px 56px;
  padding-block: 44px;
}
.footer-ref .footer-head {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}
.footer-links a,
.footer-nav a {
  display: block;
  padding: 5px 0;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;
  transition: color var(--dur) var(--ease-out);
}
.footer-links a:hover,
.footer-nav a[href]:hover {
  color: var(--paper);
}
.footer-nav .nav {
  columns: 2;
  column-gap: 32px;
  list-style: none;
}
.footer-nav .nav > li {
  break-inside: avoid;
}
.footer-nav h3 {
  margin: 0;
  color: inherit;
  font: inherit;
}
/* provider fly-outs were hidden before and stay hidden */
.footer-nav .submenu {
  display: none;
}
.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px 48px;
  padding-block: 26px 34px;
  border-top: 1px solid var(--line);
}
.footer-license p {
  max-width: 74ch;
  color: var(--faint);
  font-size: 13.5px;
  line-height: 1.7;
}
.licence-en {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
}
.copy {
  flex: 0 0 auto;
  color: var(--faint);
  font-size: 13.5px;
  line-height: 1.7;
}

/* =========================================================== Responsive */

@media (max-width: 1100px) {
  .lottery-game-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .post-grid {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 44px;
  }
}

/* Tablet: the side rail folds into a heading and a scrolling row of tabs. */
@media (max-width: 900px) {
  .section-games > .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .lobby-bar {
    position: static;
  }
  .games-head h2 {
    margin-bottom: 12px;
  }
  .gametype-tag {
    margin-inline: calc(var(--gutter) * -1);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .gametype-tag::-webkit-scrollbar {
    display: none;
  }
  .gametype-inner {
    flex-direction: row;
    gap: 8px;
    width: max-content;
    padding: 2px var(--gutter);
    border-left: 0;
  }
  .gametype-item {
    padding: 8px 16px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    white-space: nowrap;
  }
  .gametype-item.active,
  .gametype-item.active:hover {
    border-color: var(--gold);
  }
  .gametype-item.active::before {
    display: none;
  }

  .post-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .toc {
    position: static;
    padding: 20px 22px;
    border: 1px solid var(--line-2);
    border-radius: var(--r-tile);
    background: rgba(18, 27, 61, 0.6);
  }
  .toc-list {
    columns: 2;
    column-gap: 28px;
    border-left: 0;
  }
  .toc-list li {
    break-inside: avoid;
  }
  .toc-list a {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }
  .post-body {
    max-width: none;
  }

  .footer-ref {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-nav {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .footer-nav .nav {
    columns: 3;
  }
}

/* Phones: logo and actions on one row, page links in a strip below. */
@media (max-width: 760px) {
  :root {
    --gutter: 16px;
    --header-h: 104px;
  }
  .main-header {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      'logo actions'
      'nav nav';
    height: auto;
    row-gap: 0;
  }
  .logo {
    width: 128px;
    height: 56px;
  }
  .header-actions {
    justify-self: end;
    gap: 8px;
  }
  .btn {
    height: 36px;
    padding: 0 14px;
    font-size: 14px;
  }
  .site-nav {
    justify-content: space-between;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px calc(var(--gutter) - 8px);
    border-top: 1px solid var(--line);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar {
    display: none;
  }
  .site-nav a {
    padding: 8px;
    font-size: 15px;
  }

  .hero {
    padding-top: 16px;
  }
  .hero-banner {
    border-radius: var(--r-tile);
  }
  .hero-cta {
    width: 100%;
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;    animation: none;
  }
  .cta {
    min-height: 50px;
    font-size: 16.5px;
  }

  .section-games {
    padding-top: 44px;
  }
  .games-head h2 {
    font-size: 24px;
  }
  .lottery-game-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 12px;
  }
  .lottery-game-list .cont h2 {
    font-size: 13.5px;
  }

  .post {
    margin-top: 64px;
    padding-block: 44px 56px;
  }
  .post-head {
    padding-bottom: 28px;
    margin-bottom: 32px;
  }
  .post .lead {
    font-size: 17.5px;
  }
  .toc-list {
    columns: 1;
  }
  .post-body > p {
    font-size: 17px;
    line-height: 1.8;
  }
  .callout {
    padding: 18px 20px;
  }
  .faq-body {
    padding-right: 2px;
  }

  .footer-top-inner {
    padding-block: 40px 32px;
  }
  .footer-ref {
    padding-block: 36px;
    gap: 32px 24px;
  }
  .footer-nav .nav {
    columns: 2;
  }
  .footer-base {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 359px) {
  .lottery-game-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .header-actions .btn-ghost {
    padding: 0 12px;
  }
  .payment-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
  .hero-cta,
  .cta,
  .cta::after {
    animation: none !important;
  }
  .cta::after {
    opacity: 0.6;
  }
}
