:root {
  --ink: #f8fbff;
  --muted: #aeb8c9;
  --dim: #738097;
  --night: #050814;
  --storm: #101725;
  --panel: #121b2b;
  --panel-strong: #172238;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  --violet: #8a5cff;
  --coral: #ff6f91;
  --cyan: #58ffe1;
  --gold: #ffd166;
  --green: #6af29a;
  --danger: #ff5c70;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --max: 1180px;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 111, 145, 0.12), transparent 26%),
    linear-gradient(210deg, rgba(88, 255, 225, 0.12), transparent 24%),
    linear-gradient(180deg, #070b16 0%, #0a0f1d 48%, #050814 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

body::before {
  inset: -18%;
  background:
    radial-gradient(ellipse at 18% 18%, rgba(88, 255, 225, 0.16), transparent 34%),
    radial-gradient(ellipse at 80% 8%, rgba(138, 92, 255, 0.22), transparent 32%),
    radial-gradient(ellipse at 64% 72%, rgba(255, 111, 145, 0.11), transparent 34%),
    linear-gradient(115deg, transparent 0 40%, rgba(255, 255, 255, 0.06) 45%, transparent 52%),
    repeating-linear-gradient(102deg, transparent 0 74px, rgba(255, 255, 255, 0.026) 75px 77px, transparent 78px 180px);
  opacity: .48;
  filter: blur(18px);
  transform: translate3d(0, 0, 0);
  animation: stormCloudDrift 28s ease-in-out infinite alternate;
}

body::after {
  background:
    radial-gradient(ellipse at 78% 12%, rgba(180, 120, 255, 0.2), transparent 32%),
    radial-gradient(ellipse at 36% 8%, rgba(88, 255, 225, 0.12), transparent 28%),
    radial-gradient(ellipse at 55% 68%, rgba(255, 111, 145, 0.08), transparent 38%);
  mix-blend-mode: screen;
  opacity: .38;
  animation: stormAmbientPulse 10s ease-in-out infinite alternate;
}

body.nav-open,
body.age-locked {
  overflow: hidden;
}

.site-alert,
.site-header,
.page,
.site-footer {
  position: relative;
  z-index: 1;
}

.storm-canvas {
  position: fixed;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--gold);
  color: #101010;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.site-alert {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 9px 16px;
  color: #10131b;
  background: linear-gradient(90deg, var(--gold), #ff9671 42%, var(--cyan));
  font-weight: 800;
  font-size: 0.86rem;
  text-align: center;
}

.site-alert span {
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 8, 20, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 950;
  font-size: 1.08rem;
}

.brand img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.brand span {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  content: "";
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -7px;
}

.nav-toggle-bars::after {
  top: 7px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 750;
  font-size: 0.94rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.page {
  min-height: 100vh;
}

.shell {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: #050814;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 0;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 20, 0.78) 0%, rgba(5, 8, 20, 0.56) 36%, rgba(5, 8, 20, 0.18) 70%, rgba(5, 8, 20, 0.08) 100%),
    linear-gradient(180deg, rgba(5, 8, 20, 0.18) 0%, rgba(5, 8, 20, 0.02) 42%, rgba(5, 8, 20, 0.72) 100%);
  z-index: 1;
}

.hero::after {
  inset: auto 0 0 0;
  height: 170px;
  background: linear-gradient(0deg, var(--night), transparent);
  z-index: 1;
}

.hero > .shell {
  position: relative;
  z-index: 4;
}

.hero-content {
  width: min(690px, 100%);
  padding: 82px 0 92px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--cyan);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 4.2rem;
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 2.35rem;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
  line-height: 1.15;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-copy {
  max-width: 640px;
  font-size: 1.13rem;
}

.hero-actions,
.section-actions,
.game-actions,
.control-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.btn-primary {
  color: #10131b;
  background: linear-gradient(135deg, var(--gold), #ff8d6f 54%, var(--cyan));
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(255, 209, 102, 0.2);
}

.btn-danger {
  background: rgba(255, 92, 112, 0.16);
  border-color: rgba(255, 92, 112, 0.48);
  color: #ffdfe4;
}

.btn-small {
  min-height: 36px;
  padding: 8px 11px;
  font-size: 0.88rem;
}

.icon-mark {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 auto;
  background: currentColor;
  clip-path: polygon(58% 0, 16% 54%, 47% 54%, 34% 100%, 86% 38%, 54% 38%);
}

.section {
  padding: 74px 0;
}

.section-tight {
  padding: 46px 0;
}

.home-play {
  position: relative;
  padding: 38px 0 52px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(5, 8, 20, 0.64), rgba(5, 8, 20, 0.92)),
    linear-gradient(90deg, rgba(138, 92, 255, 0.12), transparent 45%),
    linear-gradient(270deg, rgba(88, 255, 225, 0.1), transparent 42%);
}

.home-game-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
  align-items: start;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 26px;
}

.section-head p {
  max-width: 640px;
  margin-bottom: 0;
}

.notice-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.notice-strip strong {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  color: #12131a;
  background: linear-gradient(135deg, var(--gold), #ff9c75);
  text-align: center;
}

.notice-strip strong:nth-child(2) {
  background: linear-gradient(135deg, var(--cyan), #9dffc7);
}

.notice-strip strong:nth-child(3) {
  background: linear-gradient(135deg, #ff789e, #ffc06a);
}

.notice-strip strong:nth-child(4) {
  background: linear-gradient(135deg, #b49cff, #65f6ff);
}

.story-grid,
.policy-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.panel-body {
  padding: 24px;
}

.story-visual {
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.story-visual img {
  width: 100%;
  aspect-ratio: 1.65 / 1;
  object-fit: cover;
}

.lore-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lore-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
}

.lore-list b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  color: #10131b;
  background: var(--cyan);
}

.lore-list span {
  color: var(--muted);
  line-height: 1.62;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.game-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.game-card-media {
  aspect-ratio: 1.6 / 1;
  overflow: hidden;
  background: #101725;
}

.game-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.game-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 18px;
}

.game-card-body p {
  margin-bottom: 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(88, 255, 225, 0.1);
  border: 1px solid rgba(88, 255, 225, 0.22);
  font-size: 0.82rem;
  font-weight: 800;
}

.cta-band {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 111, 145, 0.16), transparent 44%),
    linear-gradient(270deg, rgba(88, 255, 225, 0.15), transparent 42%),
    rgba(255, 255, 255, 0.045);
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 38px 0;
}

.cta-inner p {
  margin-bottom: 0;
  max-width: 650px;
}

.content-page {
  padding: 58px 0 82px;
}

.page-title {
  max-width: 820px;
  margin-bottom: 28px;
}

.page-title h1 {
  font-size: 3.1rem;
}

.page-title p {
  font-size: 1.05rem;
}

.policy-content {
  display: grid;
  gap: 24px;
}

.policy-content section {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.policy-content h2 {
  font-size: 1.45rem;
}

.policy-content ul,
.policy-content ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.72;
}

.policy-content li + li {
  margin-top: 8px;
}

.policy-content a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #050814;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
  padding: 32px 0;
}

.footer-copy p {
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 750;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--cyan);
  outline: none;
}

.age-gate,
.cookie-panel {
  position: fixed;
  z-index: 500;
}

.age-gate {
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(5, 8, 20, 0.88);
  backdrop-filter: blur(16px);
}

.age-gate.is-visible {
  display: grid;
}

.age-card {
  width: min(560px, 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #172238, #0b1020);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.58);
  padding: 26px;
}

.age-card img {
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
}

.age-card p {
  margin-bottom: 16px;
}

.cookie-panel {
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: none;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(12, 18, 32, 0.95);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.cookie-panel.is-visible {
  display: grid;
}

.cookie-panel p {
  margin: 0;
  font-size: 0.92rem;
}

.game-hero {
  padding: 46px 0 24px;
}

.game-hero-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: center;
}

.game-hero h1 {
  font-size: 3.25rem;
}

.game-hero p {
  max-width: 760px;
}

.game-cover {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.game-cover img {
  width: 100%;
  aspect-ratio: 1.58 / 1;
  object-fit: cover;
}

.game-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
  padding: 22px 0 74px;
}

.game-board,
.game-side {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.072), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.game-board {
  position: relative;
  overflow: hidden;
}

.game-board::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.08) 46%, transparent 52%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 90px);
  opacity: .42;
}

.game-board-inner {
  position: relative;
  padding: 20px;
}

.game-side {
  padding: 18px;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.score-box {
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
}

.score-box span {
  display: block;
  color: var(--dim);
  font-size: 0.79rem;
  font-weight: 800;
  text-transform: uppercase;
}

.score-box strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 1.24rem;
}

.status-box {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 14px;
  margin: 14px 0;
  border: 1px solid rgba(88, 255, 225, 0.26);
  border-radius: var(--radius);
  background: rgba(88, 255, 225, 0.075);
  color: var(--ink);
  line-height: 1.48;
}

.meter {
  height: 9px;
  overflow: hidden;
  margin: 14px 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.meter > span {
  display: block;
  height: 100%;
  width: var(--meter, 50%);
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--cyan));
  transition: width 260ms ease;
}

.disclaimer-mini {
  margin-top: 14px;
  padding: 12px;
  color: var(--muted);
  border: 1px solid rgba(255, 209, 102, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 209, 102, 0.07);
  font-size: 0.88rem;
  line-height: 1.55;
}

.symbol-img {
  width: 94%;
  height: 94%;
  object-fit: cover;
  border-radius: calc(var(--radius) - 1px);
  filter: saturate(1.08) contrast(1.03) drop-shadow(0 10px 16px rgba(0, 0, 0, 0.35));
}

.reels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(64px, 1fr));
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.22);
}

.reel-cell,
.hold-cell,
.keno-tile {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    #0d1424;
  overflow: hidden;
}

.reel-cell {
  aspect-ratio: 1 / 1;
}

.reel-cell::after,
.hold-cell::after,
.keno-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), transparent 42%);
}

.reel-cell.is-spinning .symbol-img,
.hold-cell.is-spinning .symbol-img {
  animation: reelSpin 420ms linear infinite;
}

.reel-cell.is-win,
.hold-cell.is-new,
.keno-tile.is-match {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(255, 209, 102, 0.2), 0 0 28px rgba(88, 255, 225, 0.32);
  animation: winPulse 860ms ease-in-out infinite alternate;
}

.reel-cell.is-scatter {
  border-color: var(--cyan);
}

.payline-panel {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.payline {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(0, 0, 0, 0.18);
  font-weight: 800;
  font-size: 0.82rem;
}

.payline.is-lit {
  color: #12131a;
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  border-color: transparent;
}

.hold-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(82px, 1fr));
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.22);
}

.hold-cell {
  aspect-ratio: 1 / 1;
}

.hold-cell.is-locked {
  background:
    linear-gradient(180deg, rgba(255, 209, 102, 0.16), rgba(88, 255, 225, 0.08)),
    #101725;
}

.hold-cell .cell-value {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 4px 6px;
  border-radius: 999px;
  color: #12131a;
  background: linear-gradient(135deg, var(--gold), #ffe9a9);
  font-size: 0.78rem;
  font-weight: 950;
  text-align: center;
}

.hold-cell.is-empty .symbol-img {
  opacity: .18;
  filter: grayscale(1);
}

.storm-counter {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.storm-counter span {
  min-height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--dim);
  background: rgba(0, 0, 0, 0.2);
  font-weight: 850;
}

.storm-counter span.is-live {
  color: #10131b;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
}

.keno-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(54px, 1fr));
  gap: 9px;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.22);
}

.keno-tile {
  aspect-ratio: 1 / 1;
  color: var(--ink);
  cursor: pointer;
}

.keno-tile:disabled {
  cursor: default;
}

.keno-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  transform: none;
  filter: saturate(1.05) contrast(1.04);
}

.keno-tile .number {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(3, 5, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 950;
}

.keno-tile.is-picked {
  border-color: var(--cyan);
  background:
    linear-gradient(180deg, rgba(88, 255, 225, 0.16), rgba(255, 255, 255, 0.03)),
    #101725;
}

.keno-tile.is-picked img {
  opacity: .92;
}

.keno-tile.is-drawn {
  border-color: var(--coral);
  animation: drawPop 420ms ease;
}

.keno-tile.is-match .number {
  color: #10131b;
  background: linear-gradient(135deg, var(--gold), var(--cyan));
}

.keno-tile.is-match img {
  opacity: 1;
}

.picked-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 34px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #12131a;
  background: var(--cyan);
  font-weight: 950;
}

.payout-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  overflow: hidden;
  border-radius: var(--radius);
}

.payout-table th,
.payout-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
}

.payout-table th {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.payout-table tr.is-hit td {
  color: #10131b;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  font-weight: 900;
}

.lightning-flash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 62% 18%, rgba(255, 255, 255, 0.48), transparent 24%),
    radial-gradient(ellipse at 50% 52%, rgba(88, 255, 225, 0.3), transparent 38%),
    radial-gradient(ellipse at 76% 58%, rgba(138, 92, 255, 0.34), transparent 32%);
}

.lightning-flash::before,
.lightning-flash::after {
  content: "";
  position: absolute;
  top: -10%;
  left: 48%;
  width: 28%;
  height: 118%;
  opacity: .58;
  background: linear-gradient(180deg, rgba(255, 255, 255, .88) 0%, rgba(143, 255, 238, .72) 42%, rgba(166, 135, 255, .58) 74%, transparent 100%);
  clip-path: polygon(48% 0, 62% 24%, 52% 24%, 70% 48%, 59% 47%, 78% 78%, 47% 50%, 57% 51%, 40% 26%, 51% 26%);
  filter:
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.88))
    drop-shadow(0 0 24px rgba(88, 255, 225, 0.7))
    drop-shadow(0 0 42px rgba(138, 92, 255, 0.66));
  transform: rotate(8deg);
}

.lightning-flash::after {
  top: 8%;
  left: 24%;
  width: 18%;
  height: 74%;
  opacity: .42;
  transform: rotate(-18deg) scale(.82);
}

.lightning-flash.is-active {
  animation: flashStrike 420ms ease;
}

@keyframes reelSpin {
  0% {
    transform: translateY(-22%) scale(.92) rotate(-4deg);
    filter: blur(2px) drop-shadow(0 8px 14px rgba(0, 0, 0, 0.3));
  }
  50% {
    transform: translateY(22%) scale(1.06) rotate(3deg);
  }
  100% {
    transform: translateY(-22%) scale(.92) rotate(-4deg);
    filter: blur(2px) drop-shadow(0 8px 14px rgba(0, 0, 0, 0.3));
  }
}

@keyframes winPulse {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-3px);
  }
}

@keyframes drawPop {
  0% {
    transform: scale(.94);
  }
  60% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes flashStrike {
  0%,
  100% {
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  22% {
    opacity: .24;
  }
  34% {
    opacity: .86;
  }
  56% {
    opacity: .12;
  }
}

@keyframes stormCloudDrift {
  0% {
    transform: translate3d(-1.5%, -1%, 0) scale(1.02);
  }
  100% {
    transform: translate3d(1.6%, 1%, 0) scale(1.05);
  }
}

@keyframes stormAmbientPulse {
  from {
    opacity: .22;
  }
  to {
    opacity: .46;
  }
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2rem;
  }

  .notice-strip,
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-grid,
  .policy-grid,
  .game-hero-inner,
  .home-game-shell,
  .game-shell,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .game-cover {
    max-width: 520px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-alert span {
    white-space: normal;
  }

  .header-inner {
    padding: 12px 16px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 106px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(8, 12, 24, 0.98);
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    padding: 66px 0 76px;
  }

  h1,
  .page-title h1,
  .game-hero h1 {
    font-size: 2.45rem;
    line-height: 1;
  }

  h2 {
    font-size: 1.72rem;
  }

  .section {
    padding: 54px 0;
  }

  .section-head,
  .cta-inner {
    display: grid;
  }

  .notice-strip,
  .game-grid,
  .score-grid {
    grid-template-columns: 1fr;
  }

  .reels {
    grid-template-columns: repeat(5, minmax(45px, 1fr));
    gap: 6px;
    padding: 8px;
  }

  .hold-grid {
    grid-template-columns: repeat(3, minmax(64px, 1fr));
    gap: 8px;
    padding: 8px;
  }

  .keno-grid {
    grid-template-columns: repeat(5, minmax(44px, 1fr));
    gap: 7px;
    padding: 8px;
  }

  .game-board-inner,
  .game-side,
  .panel-body,
  .policy-content section {
    padding: 16px;
  }

  .payline-panel {
    grid-template-columns: repeat(3, 1fr);
  }

  .cookie-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .shell {
    width: min(100% - 22px, var(--max));
  }

  .brand span {
    font-size: 0.98rem;
  }

  h1,
  .page-title h1,
  .game-hero h1 {
    font-size: 2.05rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .keno-grid {
    grid-template-columns: repeat(4, minmax(44px, 1fr));
  }

  .control-row,
  .game-actions,
  .hero-actions {
    align-items: stretch;
  }

  .control-row .btn,
  .game-actions .btn,
  .hero-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
