:root {
  color-scheme: dark;
  --bg: #10001d;
  --bg-2: #22003f;
  --panel: rgba(39, 5, 70, .86);
  --panel-strong: #2e0750;
  --line: rgba(255, 255, 255, .18);
  --ink: #fff;
  --muted: #d9c6ee;
  --purple: #851cff;
  --purple-2: #4d0a9e;
  --pink: #f42bd4;
  --gold: #ffd83d;
  --orange: #ff8518;
  --cyan: #60e7ff;
  --green: #31e89b;
  --danger: #ff4778;
  --radius: 24px;
  --content: 1180px;
  --shadow: 0 0 24px rgba(229, 37, 255, .34), 0 18px 55px rgba(0, 0, 0, .36);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Leelawadee UI", "Noto Sans Thai", Tahoma, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background:
    radial-gradient(circle at 50% -8%, rgba(135, 29, 255, .47), transparent 34rem),
    radial-gradient(circle at 8% 54%, rgba(255, 37, 217, .13), transparent 22rem),
    linear-gradient(180deg, #120021, #240042 42%, #0e001a);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .38;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, .78) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255, 215, 61, .6) 0 1px, transparent 1.6px);
  background-position: 0 0, 41px 67px;
  background-size: 91px 91px, 127px 127px;
  mask-image: linear-gradient(to bottom, #000, transparent 84%);
}

a,
button,
input,
select,
textarea {
  font: inherit;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  background: rgba(21, 0, 38, .86);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .35);
  backdrop-filter: blur(18px) saturate(150%);
}

.header-inner {
  width: min(calc(100% - 28px), var(--content));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 7px;
  color: #fff;
  text-decoration: none;
  transform: skew(-4deg);
  filter: drop-shadow(0 0 10px rgba(255, 58, 232, .65));
}

.brand-crown {
  grid-row: 1 / 3;
  color: var(--gold);
  font-size: 1.5rem;
  transform: rotate(-10deg);
}

.brand-name {
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 1.72rem;
  line-height: .88;
  letter-spacing: -.02em;
  text-shadow: 0 2px 0 #7210a9;
}

.brand small {
  color: #d8b9ff;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.main-nav {
  min-width: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-link,
.header-action {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f8f1ff;
  background: transparent;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, .09);
}

.nav-link.active {
  color: #320052;
  background: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, .35);
}

.header-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
}

.header-action {
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08);
}

.header-action.primary {
  border-color: #ff88ef;
  background: linear-gradient(135deg, #9225ff, #ed23c8);
  box-shadow: 0 0 20px rgba(236, 35, 200, .34);
}

.page-hero {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  background:
    linear-gradient(180deg, rgba(18, 0, 42, .35), #1e003b 92%),
    url("assets/reference-layout.webp") center 10% / cover;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 24%, transparent, rgba(21, 0, 43, .67) 66%),
    linear-gradient(90deg, rgba(17, 0, 34, .74), rgba(29, 0, 57, .34), rgba(17, 0, 34, .74));
  backdrop-filter: blur(2px);
}

.hero-content {
  position: relative;
  width: min(calc(100% - 28px), var(--content));
  min-height: 260px;
  margin: 0 auto;
  padding: 52px 0 42px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.hero-kicker {
  margin: 0 0 8px;
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  color: #fff5a5;
  background: rgba(37, 0, 71, .72);
  font-size: .86rem;
  font-weight: 900;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.45rem, 7vw, 5rem);
  font-weight: 1000;
  line-height: 1;
  letter-spacing: -.04em;
  text-shadow: 0 4px 0 #5f0a93, 0 0 26px rgba(255, 51, 223, .75);
}

.page-hero p {
  max-width: 690px;
  margin: 12px auto 0;
  color: #f1ddff;
  font-size: 1.06rem;
  font-weight: 700;
}

.page-shell {
  width: min(calc(100% - 28px), var(--content));
  margin: 0 auto;
  padding: 30px 0 116px;
}

.section-head {
  margin: 0 0 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 2.25rem);
  line-height: 1.18;
}

.section-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.demo-label {
  flex: 0 0 auto;
  padding: 6px 12px;
  border: 1px solid rgba(255, 216, 61, .5);
  border-radius: 999px;
  color: #fff3a4;
  background: rgba(255, 158, 24, .12);
  font-size: .82rem;
  font-weight: 900;
}

.catalog-tools {
  margin-bottom: 24px;
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.search-wrap {
  position: relative;
}

.search-wrap::before {
  content: "⌕";
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-52%);
  color: #7d3ba8;
  font-size: 1.35rem;
}

.search-input,
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 15px;
  color: #32104b;
  background: #f5ecff;
  box-shadow: inset 0 2px 5px rgba(49, 0, 78, .08);
}

.search-input {
  padding: 0 16px 0 48px;
}

.search-input::placeholder,
.field input::placeholder,
.field textarea::placeholder {
  color: #79568d;
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-pill {
  min-height: 48px;
  border: 0;
  border-radius: 15px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f7ebff;
  background: rgba(255, 255, 255, .1);
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}

.filter-pill.active,
.filter-pill:hover {
  color: #fff;
  background: linear-gradient(135deg, #7618db, #df25c1);
  box-shadow: 0 0 18px rgba(222, 37, 195, .38);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.game-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .52);
  border-radius: 22px;
  color: #fff;
  background: #38105c;
  box-shadow: 0 7px 0 rgba(76, 0, 98, .72), 0 0 20px rgba(231, 49, 255, .4);
  text-decoration: none;
  transition: transform .22s ease, filter .22s ease, box-shadow .22s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  filter: brightness(1.06) saturate(1.06);
  box-shadow: 0 11px 0 rgba(76, 0, 98, .64), 0 0 28px rgba(236, 62, 255, .58);
}

.game-image {
  width: 100%;
  aspect-ratio: 1.43 / 1;
  display: block;
  object-fit: cover;
  background: linear-gradient(135deg, #5e1aa3, #e22aa8);
}

.game-info {
  min-height: 76px;
  padding: 11px 12px 12px;
  display: grid;
  align-content: center;
  background: linear-gradient(180deg, #3f0c6c, #210039);
}

.game-info h3 {
  margin: 0;
  overflow: hidden;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 1.22rem;
  line-height: 1.08;
  letter-spacing: .02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-meta {
  margin: 5px 0 0;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #ddc8ee;
  font-size: .86rem;
}

.game-tag {
  position: absolute;
  top: 9px;
  right: 9px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ff426d, #e61ea8);
  box-shadow: 0 0 12px rgba(255, 47, 137, .65);
  font-size: .72rem;
  font-weight: 1000;
}

.empty-state {
  padding: 52px 20px;
  border: 1px dashed rgba(255, 255, 255, .32);
  border-radius: 24px;
  color: var(--muted);
  text-align: center;
}

.provider-grid {
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.provider-card {
  min-height: 118px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 22px;
  padding: 20px 16px;
  display: grid;
  place-items: center;
  color: #33104d;
  background: linear-gradient(180deg, #fff, #e9d7ff);
  box-shadow: 0 0 18px rgba(224, 59, 255, .28);
  text-align: center;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.provider-card:hover,
.provider-card.active {
  transform: translateY(-3px);
  box-shadow: 0 0 26px rgba(235, 69, 255, .56);
}

.provider-card strong {
  display: block;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 1.55rem;
  letter-spacing: .04em;
}

.provider-card span {
  color: #7d3ca0;
  font-size: .88rem;
  font-weight: 800;
}

.promo-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.promo-card,
.contact-card,
.info-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 26px;
  padding: 26px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 211, 63, .2), transparent 14rem),
    linear-gradient(145deg, rgba(102, 17, 168, .86), rgba(34, 0, 62, .94));
  box-shadow: var(--shadow);
}

.promo-icon,
.contact-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 18px;
  background: rgba(255, 255, 255, .13);
  box-shadow: 0 0 18px rgba(242, 49, 255, .36);
  font-size: 1.7rem;
}

.promo-card h2,
.contact-card h2,
.info-card h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.promo-card p,
.contact-card p,
.info-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.button {
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: rgba(255, 255, 255, .11);
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.button.primary {
  color: #31003f;
  border-color: #fff0a1;
  background: linear-gradient(180deg, #fff683, #ffc32a 55%, #ff8418);
  box-shadow: 0 5px 0 #a63817, 0 0 22px rgba(255, 191, 34, .55);
}

.button.wide {
  width: 100%;
}

.form-shell {
  width: min(100%, 520px);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, .27);
  border-radius: 30px;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 0, rgba(236, 44, 255, .24), transparent 20rem),
    linear-gradient(160deg, rgba(66, 8, 108, .94), rgba(22, 0, 40, .97));
  box-shadow: var(--shadow);
}

.form-shell h2 {
  margin: 0 0 4px;
  font-size: 1.8rem;
  text-align: center;
}

.form-intro {
  margin: 0 0 22px;
  color: var(--muted);
  text-align: center;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  padding: 12px 15px;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field-note,
.form-note {
  color: #cdb7dd;
  font-size: .86rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-footer {
  margin: 20px 0 0;
  color: var(--muted);
  text-align: center;
}

.form-footer a {
  color: #fff0a6;
  font-weight: 900;
}

.jackpot-panel {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  margin-bottom: 28px;
  padding: 34px 24px;
  display: grid;
  place-items: center;
  border: 3px solid #ef5dff;
  border-radius: 38px;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, .22), transparent 16rem),
    linear-gradient(90deg, #4e087f, #19002d 25%, #3d064f 50%, #19002d 75%, #4e087f);
  box-shadow: inset 0 0 36px rgba(255, 62, 245, .58), 0 0 34px rgba(255, 43, 241, .55);
  text-align: center;
}

.jackpot-panel::before {
  content: "♛";
  position: absolute;
  top: 6px;
  color: var(--gold);
  font-size: 2.6rem;
  filter: drop-shadow(0 0 8px #ff7e18);
}

.jackpot-copy {
  padding-top: 30px;
}

.jackpot-copy span {
  display: block;
  color: #f5d8ff;
  font-weight: 900;
  letter-spacing: .12em;
}

.jackpot-value {
  margin: 4px 0 10px;
  color: var(--gold);
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: clamp(2.5rem, 9vw, 5.9rem);
  line-height: 1;
  letter-spacing: .025em;
  text-shadow: 0 5px 0 #a52d13, 0 0 18px rgba(255, 190, 32, .72);
}

.recent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.winner-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 19px;
  background: rgba(255, 255, 255, .08);
}

.winner-card strong {
  display: block;
  color: var(--gold);
  font-size: 1.14rem;
}

.play-layout {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 24px;
}

.play-cover {
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: 26px;
  background: #30004f;
  box-shadow: var(--shadow);
}

.play-cover img {
  width: 100%;
  display: block;
}

.play-panel {
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 28px;
  padding: 26px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.play-panel h2 {
  margin: 0 0 6px;
  font-size: clamp(1.75rem, 5vw, 2.7rem);
}

.play-panel > p {
  margin: 0 0 18px;
  color: var(--muted);
}

.reels {
  margin: 20px 0;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border: 3px solid #d338ff;
  border-radius: 22px;
  background: #180025;
  box-shadow: inset 0 0 20px rgba(213, 50, 255, .55), 0 0 18px rgba(213, 50, 255, .35);
}

.reel {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #27003d;
  background: linear-gradient(180deg, #fff, #eadcf0);
  box-shadow: inset 0 0 0 2px #fff, inset 0 -10px 20px rgba(86, 15, 117, .12);
  font-size: clamp(2.2rem, 8vw, 4.5rem);
}

.spin-result {
  min-height: 26px;
  margin: 0 0 14px;
  color: #ffe971;
  font-weight: 900;
  text-align: center;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, .14);
  background: rgba(8, 0, 16, .64);
}

.footer-inner {
  width: min(calc(100% - 28px), var(--content));
  margin: 0 auto;
  padding: 28px 0 94px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #beaacd;
  font-size: .88rem;
}

.footer-inner p {
  margin: 3px 0;
}

.footer-inner strong {
  color: #fff;
}

.mobile-dock {
  display: none;
}

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 24px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 999px;
  color: #fff;
  background: rgba(38, 0, 66, .96);
  box-shadow: 0 0 24px rgba(240, 48, 255, .7);
  font-weight: 900;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: .2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1000px) {
  .main-nav .nav-link:nth-child(4) {
    display: none;
  }

  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .promo-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 82px;
  }

  .header-inner {
    min-height: 62px;
    width: min(calc(100% - 20px), var(--content));
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0;
  }

  .brand-name {
    font-size: 1.4rem;
  }

  .brand small {
    display: none;
  }

  .main-nav {
    order: 3;
    width: 100%;
    margin: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    min-height: 38px;
    padding: 0 12px;
    font-size: .85rem;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-action {
    min-height: 40px;
    padding: 0 12px;
    font-size: .85rem;
  }

  .header-action.primary {
    display: none;
  }

  .page-hero,
  .hero-content {
    min-height: 220px;
  }

  .hero-content {
    padding: 38px 0 34px;
  }

  .page-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.8rem);
  }

  .page-shell {
    width: min(calc(100% - 20px), var(--content));
    padding-top: 24px;
    padding-bottom: 48px;
  }

  .section-head {
    align-items: start;
  }

  .catalog-tools {
    grid-template-columns: 1fr;
  }

  .filter-pills {
    overflow-x: auto;
  }

  .filter-pill {
    flex: 1 0 auto;
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .game-card {
    border-radius: 18px;
  }

  .game-info {
    min-height: 67px;
    padding: 9px;
  }

  .game-info h3 {
    font-size: 1rem;
  }

  .game-meta {
    font-size: .76rem;
  }

  .provider-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .provider-card {
    min-height: 94px;
    padding: 14px 10px;
  }

  .provider-card strong {
    font-size: 1.2rem;
  }

  .promo-grid,
  .contact-grid,
  .recent-grid {
    grid-template-columns: 1fr;
  }

  .promo-card,
  .contact-card,
  .info-card {
    padding: 22px;
  }

  .form-shell {
    padding: 23px 18px;
    border-radius: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .play-layout {
    grid-template-columns: 1fr;
  }

  .play-cover {
    width: min(100%, 430px);
    margin: 0 auto;
  }

  .footer-inner {
    padding-bottom: 24px;
    display: block;
    text-align: center;
  }

  .mobile-dock {
    position: fixed;
    z-index: 60;
    left: 50%;
    bottom: max(9px, env(safe-area-inset-bottom));
    width: min(calc(100% - 18px), 560px);
    min-height: 72px;
    padding: 6px 8px;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    border: 2px solid #df62ff;
    border-radius: 28px;
    background: rgba(39, 0, 67, .95);
    box-shadow: 0 0 26px rgba(230, 53, 255, .72), inset 0 0 16px rgba(144, 42, 255, .42);
    backdrop-filter: blur(16px);
  }

  .dock-link {
    min-width: 0;
    border: 0;
    border-radius: 18px;
    padding: 4px 2px;
    display: grid;
    place-items: center;
    color: #eadcf5;
    background: transparent;
    text-decoration: none;
    font-size: .66rem;
    font-weight: 900;
  }

  .dock-link span:first-child {
    font-size: 1.32rem;
    line-height: 1.15;
  }

  .dock-link.center {
    margin-top: -21px;
    color: #451014;
    border: 3px solid #ffd74a;
    border-radius: 50%;
    background: linear-gradient(180deg, #fff174, #ff9918);
    box-shadow: 0 4px 0 #a23b17, 0 0 17px #ff8e2a;
  }

  .toast {
    bottom: 96px;
  }
}

@media (max-width: 390px) {
  .page-hero h1 {
    font-size: 2.45rem;
  }

  .game-grid {
    gap: 10px;
  }

  .game-info h3 {
    font-size: .91rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Responsive full-width homepage using the original FunGamesGG visual identity. */
.home-responsive {
  padding-bottom: 88px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 0, rgba(150, 33, 255, .48), transparent 36rem),
    linear-gradient(180deg, #10001f, #250045 44%, #0e0019);
}

.home-responsive .site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 80;
  border: 0;
  background: linear-gradient(180deg, rgba(22, 0, 43, .9), rgba(22, 0, 43, .25) 72%, transparent);
  box-shadow: none;
  backdrop-filter: none;
}

.home-responsive .header-inner {
  width: min(calc(100% - 32px), 1320px);
  min-height: 76px;
}

.home-responsive .brand-name {
  font-size: 2rem;
  text-shadow: 0 3px 0 #64129c, 0 0 15px #f736ff;
}

.home-responsive .main-nav {
  margin-left: auto;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 999px;
  color: #3d0d5a;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 0 20px rgba(239, 81, 255, .6), inset 0 -4px 10px rgba(120, 40, 157, .1);
  backdrop-filter: blur(12px);
}

.home-responsive .nav-link {
  min-height: 38px;
  padding: 0 13px;
  color: #4d126c;
  font-size: .86rem;
}

.home-responsive .nav-link:hover {
  color: #fff;
  background: #8014bc;
}

.home-responsive .nav-link.active {
  color: #fff;
  background: linear-gradient(180deg, #b22aff, #6c10b4);
  box-shadow: 0 0 14px rgba(209, 46, 255, .72), inset 0 0 8px rgba(255, 255, 255, .26);
}

.home-responsive .header-action {
  min-height: 42px;
  padding: 0 15px;
  border: 2px solid #ea79ff;
  background: linear-gradient(180deg, rgba(134, 28, 202, .96), rgba(72, 8, 128, .96));
  box-shadow: 0 0 16px rgba(225, 60, 255, .58), inset 0 0 10px rgba(255, 255, 255, .16);
}

.home-responsive .header-action.primary {
  border-color: #ff9ee9;
  background: linear-gradient(180deg, #df37e9, #8e18c0);
}

.home-page {
  width: 100%;
  min-width: 0;
}

.home-hero {
  position: relative;
  min-height: clamp(660px, 52vw, 790px);
  overflow: hidden;
  isolation: isolate;
  background: #27004a;
}

.home-hero-art {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(1.08) contrast(1.04);
}

.home-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 50% 33%, transparent 18%, rgba(51, 0, 88, .08) 46%, rgba(27, 0, 57, .55) 100%),
    linear-gradient(180deg, rgba(17, 0, 37, .05) 52%, rgba(38, 0, 76, .65) 74%, #250046 100%);
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.home-hero::before {
  inset: auto 0 0;
  height: 44%;
  opacity: .5;
  background: repeating-conic-gradient(from 260deg at 50% 100%, rgba(255, 255, 255, .22) 0 1deg, transparent 1deg 9deg);
  mask-image: linear-gradient(to top, #000, transparent 84%);
}

.home-hero::after {
  left: 50%;
  bottom: 2%;
  width: min(94vw, 1120px);
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(236, 65, 255, .36), transparent 68%);
  transform: translateX(-50%);
}

.home-hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 28px), 1180px);
  min-height: inherit;
  margin: 0 auto;
  padding: clamp(275px, 25vw, 350px) 0 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-kicker {
  margin: 0 0 6px;
  padding: 5px 15px;
  border: 1px solid rgba(255, 235, 123, .62);
  border-radius: 999px;
  color: #fff092;
  background: rgba(64, 0, 105, .72);
  box-shadow: 0 0 14px rgba(238, 56, 255, .42);
  font-size: .78rem;
  font-weight: 1000;
  letter-spacing: .08em;
}

.home-hero h1 {
  margin: 0;
  color: #fff;
  font-family: Impact, Haettenschweiler, "Arial Black", "Leelawadee UI", sans-serif;
  font-size: clamp(3.25rem, 6vw, 5.6rem);
  font-style: italic;
  line-height: .98;
  letter-spacing: -.03em;
  text-shadow:
    0 5px 0 #7b0d96,
    0 8px 0 #3c075c,
    0 0 20px #f038ff,
    0 0 42px rgba(248, 63, 255, .7);
  -webkit-text-stroke: 2px rgba(255, 255, 255, .92);
  paint-order: stroke fill;
}

.home-subtitle {
  margin: 8px 0 0;
  min-height: 42px;
  padding: 5px 25px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 2px solid #f277ff;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, rgba(113, 16, 166, .95), rgba(51, 4, 92, .95));
  box-shadow: 0 0 18px rgba(239, 69, 255, .73), inset 0 0 10px rgba(255, 255, 255, .13);
  font-size: 1.12rem;
  font-weight: 1000;
}

.home-subtitle span {
  color: #ffe03d;
  font-size: 1.4rem;
  filter: drop-shadow(0 0 6px #ff8b17);
}

.home-benefits {
  margin: 11px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #fff;
  font-size: .9rem;
  font-weight: 900;
  text-shadow: 0 2px 6px rgba(35, 0, 56, .9);
}

.home-benefits span + span::before {
  content: "✦";
  margin-right: 24px;
  color: #ffe562;
}

.home-play-button {
  margin-top: 14px;
  min-height: 42px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  border: 2px solid #fff189;
  border-radius: 999px;
  color: #48122d;
  background: linear-gradient(180deg, #fff784, #ff9f1f);
  box-shadow: 0 4px 0 #a73c1f, 0 0 24px rgba(255, 182, 44, .72);
  text-decoration: none;
  font-weight: 1000;
}

.home-jackpot {
  position: relative;
  width: min(92%, 850px);
  min-height: 125px;
  margin-top: 27px;
  padding: 19px 40px 13px;
  display: grid;
  place-content: center;
  border: 3px solid #ff76fd;
  border-radius: 28px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 219, 83, .18), transparent),
    linear-gradient(180deg, rgba(105, 10, 151, .96), rgba(34, 0, 64, .97));
  box-shadow:
    0 0 0 7px rgba(255, 193, 57, .19),
    0 0 35px rgba(235, 61, 255, .9),
    inset 0 0 26px rgba(255, 59, 239, .52);
  clip-path: polygon(5% 0, 95% 0, 100% 50%, 95% 100%, 5% 100%, 0 50%);
}

.jackpot-crown {
  position: absolute;
  left: 50%;
  top: -29px;
  color: #ffe040;
  font-size: 2.7rem;
  line-height: 1;
  text-shadow: 0 3px 0 #a83a18, 0 0 10px #ffb022;
  transform: translateX(-50%);
}

.home-jackpot p {
  margin: 0;
  color: #fff;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: .14em;
  text-shadow: 0 0 10px #ee61ff;
}

.home-jackpot output {
  color: #ffe867;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: .04em;
  text-shadow: 0 5px 0 #a33a18, 0 0 16px #ff9b22;
}

.home-catalog-background {
  position: relative;
  min-height: 100vh;
  padding: 0 0 68px;
  color: #3b0758;
  background:
    radial-gradient(circle at 7% 7%, rgba(255, 255, 255, .82), transparent 17rem),
    radial-gradient(circle at 92% 12%, rgba(205, 112, 255, .28), transparent 25rem),
    linear-gradient(180deg, #ead6ff 0%, #f9edff 32%, #dec3f5 100%);
}

.home-catalog-background::before,
.home-catalog-background::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 220px;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent, rgba(56, 0, 93, .72)),
    url("assets/hero-genie.webp") center bottom / cover no-repeat;
  opacity: .22;
  filter: saturate(1.2);
}

.home-container {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 32px), 1180px);
  margin: 0 auto;
}

.home-provider-bar {
  position: relative;
  z-index: 3;
  min-height: 88px;
  margin-top: -34px;
  padding: 10px 24px;
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  align-items: center;
  gap: 8px;
  border: 2px solid #fff;
  border-radius: 24px;
  background: rgba(255, 255, 255, .93);
  box-shadow: 0 9px 25px rgba(91, 10, 134, .24), 0 0 20px rgba(189, 61, 255, .38);
  backdrop-filter: blur(16px);
}

.provider-summary {
  display: grid;
  line-height: 1.2;
}

.provider-summary span {
  color: #4c1765;
  font-size: .82rem;
  font-weight: 800;
}

.provider-summary strong {
  color: #8d20ca;
  font-size: 1.12rem;
}

.home-provider-bar > a {
  min-height: 55px;
  padding: 4px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-left: 1px solid rgba(95, 28, 128, .2);
  color: #321047;
  text-decoration: none;
}

.home-provider-bar > a strong {
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 1.65rem;
  letter-spacing: .02em;
}

.home-provider-bar > a small {
  max-width: 84px;
  color: #6b5277;
  font-size: .64rem;
  font-weight: 900;
  line-height: 1.05;
}

.home-provider-bar > a:last-child strong {
  color: #cf7c00;
  font-size: 2.2rem;
  text-shadow: 0 2px 0 #ffdf75;
}

.home-category-tabs {
  min-height: 66px;
  margin-top: 13px;
  padding: 7px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 21px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 7px 22px rgba(74, 8, 116, .18), 0 0 16px rgba(177, 51, 239, .25);
  backdrop-filter: blur(14px);
}

.home-category-tabs a {
  min-width: 0;
  padding: 6px 12px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border-radius: 15px;
  color: #5b1679;
  text-decoration: none;
}

.home-category-tabs a + a {
  border-left: 1px solid rgba(104, 35, 136, .2);
}

.home-category-tabs a > span {
  color: #991fd2;
  font-size: 1.55rem;
  text-align: center;
}

.home-category-tabs a strong {
  overflow: hidden;
  font-size: .86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-category-tabs a small {
  color: #7a568b;
  font-size: .64rem;
  font-weight: 900;
}

.home-category-tabs a:hover,
.home-category-tabs a.active {
  color: #fff;
  background: linear-gradient(180deg, #bd31f2, #7216b5);
  box-shadow: 0 0 18px rgba(190, 47, 238, .55), inset 0 0 9px rgba(255, 255, 255, .22);
}

.home-category-tabs a:hover > span,
.home-category-tabs a:hover small,
.home-category-tabs a.active > span,
.home-category-tabs a.active small {
  color: #fff;
}

.home-live-strip {
  margin-top: 13px;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  border-radius: 18px;
  background: rgba(84, 16, 121, .11);
}

.home-live-strip > div {
  min-width: 0;
  padding: 11px 13px;
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 9px;
  align-items: center;
  border: 1px solid rgba(116, 28, 159, .15);
  border-radius: 14px;
  background: rgba(255, 255, 255, .62);
}

.home-live-strip > div > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffea65, #ff66bf);
  box-shadow: 0 0 12px rgba(247, 85, 191, .45);
}

.home-live-strip strong {
  font-size: .83rem;
  line-height: 1.1;
}

.home-live-strip small {
  overflow: hidden;
  color: #7b6386;
  font-size: .67rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-game-section {
  margin-top: 22px;
}

.home-section-title {
  min-height: 50px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.home-section-title > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-section-title > div > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff362, #ff4c89);
  box-shadow: 0 0 16px rgba(255, 71, 160, .56), 0 3px 0 #bd4c41;
  font-size: 1.3rem;
}

.home-section-title.new-title > div > span {
  color: #8f1bb9;
  background: linear-gradient(180deg, #fff672, #ff9f2a);
}

.home-section-title h2 {
  margin: 0;
  color: #4d0c6e;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1;
  text-shadow: 0 2px 0 #fff;
}

.home-section-title > a {
  padding: 7px 13px;
  border: 1px solid rgba(114, 26, 154, .22);
  border-radius: 999px;
  color: #6e218f;
  background: rgba(255, 255, 255, .55);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 900;
}

.home-game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.home-game-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 52px;
  border: 3px solid #d94af4;
  border-radius: 21px;
  color: #fff;
  background: #340153;
  box-shadow: 0 0 15px rgba(204, 45, 240, .56), inset 0 0 10px rgba(255, 255, 255, .2);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.home-game-card:hover {
  z-index: 2;
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 0 28px rgba(235, 48, 255, .85), 0 13px 22px rgba(74, 7, 98, .24);
}

.home-game-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.44 / 1;
  display: block;
  object-fit: cover;
}

.home-rank {
  position: absolute;
  z-index: 2;
  left: 9px;
  top: 2px;
  color: #fff;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  font-style: italic;
  line-height: 1;
  -webkit-text-stroke: 2px #7122a4;
  paint-order: stroke fill;
  text-shadow: 0 4px 0 #3b075c, 0 0 9px #e857ff;
}

.home-game-tag {
  position: absolute;
  z-index: 2;
  right: 9px;
  top: 9px;
  padding: 3px 8px;
  border: 1px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #ff5787, #dc0058);
  box-shadow: 0 2px 6px rgba(50, 0, 55, .34);
  font-size: .63rem;
  font-weight: 1000;
}

.home-game-tag.new {
  background: linear-gradient(180deg, #646aff, #6b16b9);
}

.home-card-label {
  min-width: 0;
  padding: 7px 12px;
  display: grid;
  align-content: center;
  line-height: 1.05;
  background: linear-gradient(180deg, #561077, #2f044b);
}

.home-card-label strong {
  overflow: hidden;
  font-size: .88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-card-label small {
  margin-top: 5px;
  color: #ffdb55;
  font-size: .68rem;
  font-weight: 900;
}

.home-info-panel {
  margin-top: 36px;
  padding: 38px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 34px;
  border: 2px solid rgba(234, 112, 255, .62);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 15%, rgba(233, 67, 255, .28), transparent 19rem),
    linear-gradient(135deg, #4f0a78, #22003f 70%);
  box-shadow: 0 18px 38px rgba(70, 0, 98, .3), inset 0 0 22px rgba(241, 80, 255, .15);
}

.home-info-copy > span {
  color: #ffe56e;
  font-size: .74rem;
  font-weight: 1000;
  letter-spacing: .12em;
}

.home-info-copy h2 {
  margin: 6px 0 10px;
  font-size: clamp(1.8rem, 4vw, 3.15rem);
  line-height: 1.04;
}

.home-info-copy p {
  margin: 0;
  color: #ddcce9;
}

.home-info-copy > a {
  margin-top: 18px;
  min-height: 43px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #42152b;
  background: linear-gradient(180deg, #fff178, #ffa11e);
  box-shadow: 0 3px 0 #ac431d, 0 0 18px rgba(255, 179, 37, .54);
  text-decoration: none;
  font-weight: 1000;
}

.home-info-features {
  display: grid;
  gap: 9px;
}

.home-info-features article {
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .075);
}

.home-info-features b {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #4a1540;
  background: linear-gradient(180deg, #ffe969, #ff8d31);
  font-size: 1.05rem;
}

.home-info-features article > div {
  display: grid;
}

.home-info-features strong {
  font-size: .92rem;
}

.home-info-features small {
  color: #cbb9d7;
  font-size: .74rem;
}

.home-responsive .site-footer {
  position: relative;
  z-index: 3;
}

.home-responsive .footer-inner {
  padding-bottom: 106px;
}

.home-responsive .mobile-dock {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: max(9px, env(safe-area-inset-bottom));
  width: min(calc(100% - 24px), 720px);
  min-height: 70px;
  padding: 6px 10px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  border: 2px solid #e66cff;
  border-radius: 30px;
  background: rgba(46, 2, 75, .96);
  box-shadow: 0 0 28px rgba(229, 51, 255, .76), inset 0 0 17px rgba(161, 43, 255, .44);
  backdrop-filter: blur(18px);
}

.home-responsive .dock-link {
  min-width: 0;
  padding: 4px 3px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #f0e4f7;
  text-decoration: none;
  font-size: .68rem;
  font-weight: 900;
}

.home-responsive .dock-link span:first-child {
  font-size: 1.45rem;
  line-height: 1.1;
}

.home-responsive .dock-link.center {
  margin-top: -24px;
  color: #421116;
  border: 3px solid #ffe055;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff375, #ff9a1d);
  box-shadow: 0 4px 0 #a83d17, 0 0 22px #ff9427;
}

.home-responsive .toast {
  bottom: 96px;
}

@media (max-width: 1120px) {
  .home-responsive .header-inner {
    width: min(calc(100% - 20px), 1080px);
    gap: 9px;
  }

  .home-responsive .brand-name {
    font-size: 1.55rem;
  }

  .home-responsive .brand small {
    display: none;
  }

  .home-responsive .nav-link {
    padding: 0 9px;
    font-size: .75rem;
  }

  .home-responsive .header-action {
    padding: 0 11px;
    font-size: .78rem;
  }
}

@media (max-width: 860px) {
  .home-responsive .header-inner {
    padding: 8px 0;
    flex-wrap: wrap;
  }

  .home-responsive .main-nav {
    order: 3;
    width: 100%;
    margin: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .home-responsive .main-nav::-webkit-scrollbar {
    display: none;
  }

  .home-responsive .nav-link {
    flex: 1 0 auto;
  }

  .home-hero {
    min-height: 730px;
  }

  .home-hero-content {
    padding-top: 315px;
  }

  .home-provider-bar {
    grid-template-columns: repeat(3, 1fr);
  }

  .provider-summary {
    grid-column: 1 / -1;
    justify-items: center;
    text-align: center;
  }

  .home-game-grid {
    gap: 10px;
  }

  .home-info-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .home-responsive .header-inner {
    min-height: 60px;
  }

  .home-responsive .header-action.primary {
    display: inline-flex;
  }

  .home-hero h1 {
    font-size: clamp(2.55rem, 10vw, 4rem);
  }

  .home-jackpot {
    width: min(96%, 680px);
  }

  .home-category-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-category-tabs a + a {
    border-left: 0;
  }

  .home-category-tabs a:nth-child(even) {
    border-left: 1px solid rgba(104, 35, 136, .2);
  }

  .home-live-strip {
    grid-template-columns: 1fr;
  }

  .home-game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-responsive .mobile-dock {
    width: min(calc(100% - 14px), 560px);
    min-height: 66px;
  }
}

@media (max-width: 600px) {
  .home-responsive {
    padding-bottom: 82px;
  }

  .home-responsive .site-header {
    background: linear-gradient(180deg, rgba(24, 0, 43, .96), rgba(24, 0, 43, .62), transparent);
  }

  .home-responsive .header-inner {
    width: calc(100% - 16px);
    min-height: 58px;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .home-responsive .brand {
    column-gap: 3px;
  }

  .home-responsive .brand-crown {
    font-size: 1rem;
  }

  .home-responsive .brand-name {
    font-size: 1.14rem;
  }

  .home-responsive .main-nav {
    display: none;
  }

  .home-responsive .header-actions {
    margin-left: auto;
    gap: 4px;
  }

  .home-responsive .header-action {
    min-height: 34px;
    padding: 0 8px;
    border-width: 1px;
    font-size: .65rem;
  }

  .home-hero {
    min-height: 610px;
  }

  .home-hero-art {
    object-position: center 22%;
  }

  .home-hero-shade {
    background:
      linear-gradient(180deg, rgba(19, 0, 40, .04) 35%, rgba(38, 0, 76, .75) 62%, #250046 100%);
  }

  .home-hero-content {
    width: calc(100% - 18px);
    padding: 235px 0 43px;
  }

  .home-kicker {
    font-size: .62rem;
  }

  .home-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
    -webkit-text-stroke-width: 1px;
  }

  .home-subtitle {
    min-height: 34px;
    padding: 4px 14px;
    font-size: .82rem;
  }

  .home-benefits {
    gap: 7px;
    font-size: .62rem;
  }

  .home-benefits span + span::before {
    margin-right: 7px;
  }

  .home-play-button {
    min-height: 36px;
    margin-top: 10px;
    font-size: .76rem;
  }

  .home-jackpot {
    min-height: 100px;
    margin-top: 25px;
    padding: 17px 18px 10px;
    border-width: 2px;
    border-radius: 20px;
  }

  .jackpot-crown {
    top: -22px;
    font-size: 2.15rem;
  }

  .home-jackpot p {
    font-size: .8rem;
  }

  .home-jackpot output {
    font-size: clamp(1.85rem, 9vw, 2.65rem);
  }

  .home-container {
    width: calc(100% - 12px);
  }

  .home-provider-bar {
    min-height: 102px;
    margin-top: -25px;
    padding: 9px 7px;
    gap: 3px;
    border-radius: 17px;
  }

  .provider-summary span {
    font-size: .68rem;
  }

  .provider-summary strong {
    font-size: .92rem;
  }

  .home-provider-bar > a {
    min-height: 44px;
    padding: 3px 5px;
    gap: 3px;
  }

  .home-provider-bar > a strong {
    font-size: 1rem;
  }

  .home-provider-bar > a:last-child strong {
    font-size: 1.4rem;
  }

  .home-provider-bar > a small {
    display: none;
  }

  .home-category-tabs {
    min-height: 98px;
    padding: 5px;
    border-radius: 16px;
  }

  .home-category-tabs a {
    padding: 4px 6px;
    grid-template-columns: 27px minmax(0, 1fr);
    gap: 4px;
    border-radius: 12px;
  }

  .home-category-tabs a > span {
    font-size: 1.25rem;
  }

  .home-category-tabs a strong {
    font-size: .7rem;
  }

  .home-category-tabs a small {
    display: none;
  }

  .home-live-strip {
    padding: 6px;
    gap: 5px;
  }

  .home-live-strip > div {
    padding: 8px 10px;
  }

  .home-live-strip small {
    font-size: .61rem;
  }

  .home-game-section {
    margin-top: 17px;
  }

  .home-section-title {
    min-height: 42px;
  }

  .home-section-title > div > span {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .home-section-title h2 {
    font-size: 1.28rem;
  }

  .home-section-title > a {
    padding: 6px 9px;
    font-size: .65rem;
  }

  .home-game-grid {
    gap: 8px;
  }

  .home-game-card {
    grid-template-rows: auto 44px;
    border-width: 2px;
    border-radius: 15px;
  }

  .home-rank {
    left: 5px;
    font-size: 2.55rem;
  }

  .home-game-tag {
    right: 5px;
    top: 5px;
    padding: 2px 6px;
    font-size: .52rem;
  }

  .home-card-label {
    padding: 6px 8px;
  }

  .home-card-label strong {
    font-size: .68rem;
  }

  .home-card-label small {
    margin-top: 3px;
    font-size: .56rem;
  }

  .home-info-panel {
    margin-top: 25px;
    padding: 24px 17px;
    gap: 22px;
    border-radius: 20px;
  }

  .home-info-copy h2 {
    font-size: 1.8rem;
  }

  .home-info-copy p {
    font-size: .84rem;
  }

  .home-info-features article {
    padding: 10px;
  }

  .home-info-features small {
    font-size: .68rem;
  }

  .home-responsive .dock-link {
    font-size: .56rem;
  }

  .home-responsive .dock-link span:first-child {
    font-size: 1.2rem;
  }
}

@media (max-width: 370px) {
  .home-responsive .header-action {
    padding: 0 6px;
    font-size: .58rem;
  }

  .home-benefits {
    font-size: .56rem;
  }

  .home-section-title > a {
    display: none;
  }
}

/* Reference-style layout: centered game portal over a full-viewport FunGamesGG backdrop. */
:root {
  --content: 850px;
  --reference-shell: 850px;
  --reference-purple: #8f22ff;
  --reference-pink: #f52fd6;
  --reference-gold: #ffd64a;
  --reference-deep: #17002f;
  --reference-panel: rgba(32, 0, 64, .94);
}

body {
  background:
    linear-gradient(180deg, rgba(22, 0, 48, .74), rgba(24, 0, 53, .88) 48%, rgba(12, 0, 27, .97)),
    url("assets/hero-genie.webp") center top / cover fixed no-repeat,
    #120022;
}

body::before {
  opacity: .2;
  mask-image: none;
}

.site-header {
  min-height: 67px;
  border-bottom: 1px solid rgba(239, 91, 255, .44);
  background: rgba(20, 0, 42, .95);
  box-shadow: 0 0 28px rgba(174, 35, 255, .36);
  backdrop-filter: blur(18px) saturate(150%);
}

.header-inner {
  width: min(calc(100% - 28px), 930px);
  min-height: 67px;
  gap: 16px;
}

.brand {
  margin-right: auto;
  display: flex;
  align-items: center;
  transform: none;
  filter: drop-shadow(0 0 11px rgba(244, 47, 214, .78));
}

.brand-logo {
  display: block;
  width: 220px;
  height: auto;
  max-height: 58px;
}

.brand-logo-legacy {
  display: none !important;
}

.premium-brand-legacy {
  display: none !important;
}

.lamp-brand-legacy {
  display: none !important;
}

.integrated-brand {
  position: relative;
  flex: 0 0 260px;
  width: 260px;
  height: 70px;
  overflow: visible;
}

.integrated-brand-art {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: 70px;
  max-width: none;
  filter: drop-shadow(0 0 7px rgba(221, 39, 255, .72));
}

.integrated-wordmark {
  position: absolute;
  z-index: 2;
  top: 49%;
  left: 42%;
  padding: 0 3px 4px 0;
  color: #fff;
  background: linear-gradient(180deg, #fff 0%, #fff5bd 30%, #ef9aff 72%, #c23df1 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 2rem;
  font-style: italic;
  line-height: 1;
  letter-spacing: -.045em;
  white-space: nowrap;
  filter: drop-shadow(0 2px 0 #67087a) drop-shadow(0 0 7px rgba(236, 47, 255, .92));
  transform: translateY(-50%) skew(-6deg);
  animation: integrated-wordmark-float 3.6s ease-in-out infinite;
}

.integrated-wordmark::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 0;
  left: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #ffd43d 16%, #fff19a 72%, transparent);
  box-shadow: 0 0 7px rgba(255, 207, 53, .94);
}

@keyframes integrated-wordmark-float {
  0%, 100% { transform: translateY(-50%) skew(-6deg); }
  50% { transform: translateY(calc(-50% - 2px)) skew(-6deg); }
}

.lamp-brand {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 1px;
}

.lamp-mascot {
  position: relative;
  flex: 0 0 86px;
  width: 86px;
  height: 64px;
  overflow: hidden;
  filter: drop-shadow(0 0 7px rgba(224, 47, 255, .72));
}

.lamp-mascot img {
  position: absolute;
  top: -3px;
  left: -15px;
  width: 116px;
  height: auto;
  max-width: none;
}

.lamp-wordmark {
  position: relative;
  padding: 0 2px 5px 0;
  color: #fff;
  background: linear-gradient(180deg, #fff 4%, #fff0ae 34%, #ed94ff 76%, #bb42ef 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 2rem;
  font-style: italic;
  line-height: 1;
  letter-spacing: -.045em;
  white-space: nowrap;
  filter: drop-shadow(0 2px 0 #6d087f) drop-shadow(0 0 7px rgba(235, 48, 255, .9));
}

.lamp-wordmark::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 0;
  left: 5px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #ffd643 16%, #ffea88 74%, transparent);
  box-shadow: 0 0 6px rgba(255, 207, 53, .9);
  transform: skew(-20deg);
}

.premium-brand {
  height: 59px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.premium-genie-mark {
  position: relative;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
}

.premium-genie-crop {
  position: absolute;
  inset: 2px;
  overflow: hidden;
  border: 2px solid #ffd64c;
  border-radius: 50%;
  background: #250043;
  box-shadow:
    0 0 0 2px #7612b3,
    inset 0 0 10px rgba(255, 218, 70, .48),
    0 0 13px rgba(229, 43, 255, .88);
}

.premium-genie-crop::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 -10px 14px rgba(31, 0, 61, .55);
}

.premium-genie-crop img {
  position: absolute;
  top: -10px;
  left: -179px;
  width: 410px;
  height: auto;
  max-width: none;
}

.premium-gem {
  position: absolute;
  z-index: 3;
  bottom: 5px;
  width: 9px;
  height: 9px;
  border: 1px solid #fff28a;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 25%, #eaffbd, #25ec63 32%, #008a35 72%);
  box-shadow: 0 0 7px #28ff69;
}

.premium-gem-left {
  left: -1px;
}

.premium-gem-right {
  right: -1px;
}

.premium-wordmark {
  position: relative;
  min-width: 0;
  padding-bottom: 2px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.premium-name {
  display: flex;
  align-items: baseline;
  color: #fff;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 1.78rem;
  font-style: italic;
  line-height: .92;
  letter-spacing: -.055em;
  transform: skew(-4deg);
  white-space: nowrap;
  text-shadow: 0 3px 0 #5a087d, 0 0 10px rgba(234, 50, 255, .86);
}

.premium-name b,
.premium-name em,
.premium-name strong {
  font: inherit;
}

.premium-name b {
  margin-right: .1em;
  color: #ffd846;
  text-shadow: 0 2px 0 #a74400, 0 0 9px rgba(255, 203, 55, .8);
}

.premium-name em {
  color: #fff;
}

.premium-name strong {
  margin-left: .06em;
  color: #f092ff;
}

.premium-domain {
  margin-top: 5px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 6px;
  color: #e4beff;
  font-size: .54rem;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: .2em;
  white-space: nowrap;
  text-align: center;
  text-shadow: 0 0 6px rgba(226, 67, 255, .8);
}

.premium-domain i {
  height: 1px;
  background: linear-gradient(90deg, transparent, #ffd846);
  box-shadow: 0 0 5px #f5b827;
}

.premium-domain i:last-child {
  background: linear-gradient(90deg, #ffd846, transparent);
}

.brand-crown {
  color: var(--reference-gold);
  font-size: 1.42rem;
}

.brand-name {
  font-size: 1.9rem;
  color: #fff;
  text-shadow: 0 3px 0 #64149a, 0 0 12px #f531d7;
}

.brand small {
  color: #d8a9ff;
  letter-spacing: .04em;
}

.main-nav {
  display: none;
}

.header-actions {
  margin-left: auto;
  gap: 10px;
}

.header-action {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 44px;
  border: 1px solid #e087ff;
  padding: 0 17px 0 9px;
  gap: 8px;
  color: #fff;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  background: linear-gradient(145deg, #a634ed 0%, #7012bd 52%, #470878 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .32),
    inset 0 -8px 14px rgba(35, 0, 64, .24),
    0 0 0 2px rgba(199, 64, 255, .12),
    0 0 18px rgba(214, 57, 255, .44);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.header-action::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255, 255, 255, .2), transparent 42%, rgba(255, 213, 70, .08));
  pointer-events: none;
}

.header-action:hover {
  transform: translateY(-1px);
  border-color: #f3c0ff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .42),
    inset 0 -8px 14px rgba(35, 0, 64, .2),
    0 0 0 2px rgba(199, 64, 255, .18),
    0 0 24px rgba(226, 82, 255, .58);
}

.header-action:focus-visible {
  outline: 3px solid rgba(255, 224, 87, .9);
  outline-offset: 3px;
}

.header-action-icon {
  position: relative;
  z-index: 1;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  color: #4b0a72;
  background: linear-gradient(180deg, #fff8a8, #ffbd25);
  box-shadow: inset 0 1px 0 #fff, 0 0 10px rgba(255, 211, 50, .58);
}

.header-action-icon svg {
  width: 16px;
  height: 16px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-action-label {
  position: relative;
  z-index: 1;
}

.header-action.primary {
  color: #4e1500;
  border-color: #fff0a0;
  background: linear-gradient(180deg, #fff589, #ffad19);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, .62), 0 0 18px rgba(255, 202, 49, .42);
}

.header-action.primary .header-action-icon {
  border-color: rgba(92, 17, 113, .36);
  color: #ffe969;
  background: linear-gradient(180deg, #75209a, #41095f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 0 9px rgba(112, 17, 156, .34);
}

.reference-main {
  width: min(calc(100% - 28px), var(--reference-shell));
  margin: 14px auto 116px;
}

.reference-hero {
  position: relative;
  height: auto;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  border: 1px solid #c951ff;
  border-radius: 19px;
  background: linear-gradient(90deg, #1d003c, #32005c 56%, #17002e);
  box-shadow: inset 0 0 20px rgba(177, 56, 255, .45), 0 0 18px rgba(226, 45, 255, .26);
  isolation: isolate;
}

.reference-hero-picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
}

.reference-hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}

.reference-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(30, 0, 61, .97) 0%, rgba(46, 0, 79, .82) 42%, rgba(40, 0, 78, .18) 72%),
    linear-gradient(180deg, rgba(246, 60, 255, .08), rgba(37, 0, 74, .3));
}

.reference-hero-copy {
  width: 58%;
  height: 100%;
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.reference-hero-copy p {
  margin: 0 0 2px;
  color: #ffdc70;
  font-size: .72rem;
  font-weight: 1000;
  letter-spacing: .12em;
}

.reference-hero-copy h1 {
  margin: 0;
  color: #fff4ba;
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 1000;
  line-height: 1.04;
  letter-spacing: -.04em;
  text-shadow: 0 4px 0 #8d256c, 0 0 18px rgba(255, 224, 94, .58);
}

.reference-hero-copy strong {
  margin-top: 7px;
  min-width: 280px;
  padding: 6px 18px;
  border: 1px solid #ef8cff;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #e353f8, #7317bf);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, .3), 0 0 15px rgba(241, 61, 255, .52);
  font-size: 1rem;
  line-height: 1.2;
}

.reference-announcement {
  height: 38px;
  margin-top: 10px;
  display: grid;
  grid-template-columns: 63px 1fr 63px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #a943ff;
  border-radius: 12px;
  background: rgba(34, 0, 70, .91);
  box-shadow: inset 0 0 15px rgba(158, 44, 255, .28);
}

.reference-announcement::after {
  content: "";
}

.reference-announcement button {
  align-self: stretch;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .34);
  color: #fff;
  background: linear-gradient(180deg, #d842ee, #6e16bb);
  cursor: pointer;
}

.reference-announcement p {
  margin: 0;
  color: #fff;
  font-size: .84rem;
  font-weight: 900;
  text-align: center;
}

.reference-jackpot {
  position: relative;
  height: 156px;
  margin-top: 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid #ad51ff;
  border-radius: 80px;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(255, 210, 55, .36), transparent 48%),
    repeating-conic-gradient(from -8deg at 50% 100%, rgba(255, 255, 255, .1) 0deg 7deg, transparent 7deg 20deg),
    linear-gradient(180deg, rgba(61, 4, 111, .92), rgba(24, 0, 55, .98));
  box-shadow: inset 0 0 35px rgba(235, 75, 255, .45), 0 0 22px rgba(171, 47, 255, .52);
  text-align: center;
}

.reference-jackpot::after {
  content: "";
  position: absolute;
  inset: 12px 145px -30px;
  border: 2px solid rgba(255, 255, 255, .75);
  transform: skew(-10deg);
  pointer-events: none;
}

.reference-jackpot > div {
  position: relative;
  z-index: 2;
}

.reference-jackpot p {
  margin: 0 0 2px;
  color: #ffe67a;
  font-size: 1.43rem;
  font-weight: 1000;
  letter-spacing: .04em;
  text-shadow: 0 0 15px rgba(255, 217, 66, .52);
}

.reference-jackpot output {
  display: block;
  color: #ffd24b;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: clamp(3.1rem, 8vw, 4.3rem);
  line-height: 1;
  letter-spacing: .04em;
  text-shadow: 0 5px 0 #a44b10, 0 0 21px rgba(255, 221, 87, .66);
}

.coin-stack {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  color: #ffbd24;
  font-size: 2.1rem;
  letter-spacing: -.3em;
  text-shadow: 0 4px 0 #9e4813, 0 0 8px #ffea69;
}

.coin-stack-left {
  left: 45px;
  transform: rotate(-4deg);
}

.coin-stack-right {
  right: 58px;
  transform: rotate(4deg);
}

.reference-winners {
  height: 80px;
  margin-top: 14px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}

.winner-track {
  width: max-content;
  display: flex;
  gap: 10px;
  animation: winner-marquee 34s linear infinite;
}

.reference-winners:hover .winner-track {
  animation-play-state: paused;
}

.winner-card {
  width: 260px;
  height: 80px;
  padding: 7px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #a844ff;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, rgba(86, 13, 145, .96), rgba(31, 0, 68, .98));
  box-shadow: inset 0 0 13px rgba(219, 69, 255, .18);
}

.winner-card img {
  width: 64px;
  height: 64px;
  border: 1px solid #f46eff;
  border-radius: 12px;
  object-fit: cover;
}

.winner-card > span {
  min-width: 0;
  display: grid;
  font-size: .76rem;
  font-weight: 900;
}

.winner-card small {
  color: #d7bce9;
  font-size: .68rem;
}

.winner-card strong {
  color: #ffe15c;
  font-size: 1.06rem;
}

@keyframes winner-marquee {
  to {
    transform: translateX(-42%);
  }
}

.reference-tabs {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.reference-tabs a {
  min-width: 0;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #9d43f5;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(180deg, rgba(74, 7, 128, .95), rgba(30, 0, 67, .98));
  box-shadow: inset 0 0 12px rgba(204, 58, 255, .18);
  text-decoration: none;
}

.reference-tabs a.active {
  border-color: #f5a3ff;
  background: linear-gradient(180deg, #d849ec, #791abf);
  box-shadow: 0 0 17px rgba(232, 69, 255, .56), inset 0 0 10px rgba(255, 255, 255, .2);
}

.reference-tabs span {
  color: #ffd74d;
  font-size: 1.4rem;
}

.reference-tabs strong {
  overflow: hidden;
  font-size: .95rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reference-game-section,
.reference-providers {
  margin-top: 20px;
}

.home-game-hub {
  scroll-margin-top: 84px;
}

.reference-section-title {
  margin: 0 0 13px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 10px;
}

.reference-section-title > span {
  color: #ffd84b;
  font-size: 1.55rem;
  filter: drop-shadow(0 0 6px #ffad26);
}

.reference-section-title h2 {
  margin: 0;
  font-size: 1.34rem;
  line-height: 1.1;
}

.reference-section-title i {
  height: 2px;
  margin-left: 6px;
  background: linear-gradient(90deg, #dd5cff, transparent);
  box-shadow: 0 0 7px #e961ff;
}

.reference-top-games {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 54px) / 4);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #9d3cff transparent;
  padding: 2px 1px 10px;
}

.reference-game-card {
  position: relative;
  min-width: 0;
  min-height: 236px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 170px 1fr;
  scroll-snap-align: start;
  border: 2px solid #be50ff;
  border-radius: 16px;
  color: #fff;
  background: #26004e;
  box-shadow: 0 0 14px rgba(231, 56, 255, .44), inset 0 0 10px rgba(255, 255, 255, .12);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.reference-game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 22px rgba(239, 76, 255, .72);
}

.reference-game-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.reference-game-card > span {
  min-width: 0;
  padding: 8px 9px 9px;
  display: grid;
  align-content: center;
  background: linear-gradient(180deg, #4d0a84, #260045);
}

.reference-game-card > span strong {
  overflow: hidden;
  font-size: .79rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reference-game-card > span small {
  color: #e3bff5;
  font-size: .62rem;
  font-weight: 900;
}

.reference-game-card em {
  position: absolute;
  z-index: 3;
  top: 7px;
  right: 7px;
  padding: 3px 7px;
  border: 1px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: #ff2e73;
  box-shadow: 0 0 10px rgba(255, 46, 115, .8);
  font-size: .67rem;
  font-style: normal;
  font-weight: 1000;
}

.reference-game-card .rank {
  position: absolute;
  z-index: 2;
  top: -10px;
  left: 6px;
  color: #fff;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 4.3rem;
  line-height: 1;
  -webkit-text-stroke: 2px #491368;
  text-shadow: 0 4px 0 #ad48e6, 0 0 10px #fff;
}

.reference-new-games {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.reference-providers > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.reference-providers > .two-providers {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reference-providers a {
  min-width: 0;
  min-height: 82px;
  padding: 12px;
  display: grid;
  place-items: center;
  border: 1px solid #a549ff;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, rgba(83, 9, 142, .94), rgba(27, 0, 58, .98));
  text-decoration: none;
  box-shadow: inset 0 0 18px rgba(231, 63, 255, .2);
}

.reference-providers strong {
  color: #fff4b2;
  font-size: 1.2rem;
  text-shadow: 0 0 9px rgba(255, 223, 86, .5);
}

.reference-providers small {
  color: #d7bae9;
}

.reference-info {
  margin-top: 24px;
  padding: 26px;
  border: 1px solid rgba(206, 89, 255, .68);
  border-radius: 20px;
  color: #eadff2;
  background: rgba(27, 0, 56, .93);
  box-shadow: inset 0 0 28px rgba(151, 40, 231, .17);
}

.reference-info > h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.55rem;
}

.reference-info > p:not(.reference-eyebrow) {
  margin: 0 0 22px;
}

.reference-eyebrow {
  margin: 0 0 5px;
  color: #ffd75a;
  font-size: .76rem;
  font-weight: 1000;
  letter-spacing: .12em;
}

.reference-info-grid {
  margin: 20px 0 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.reference-info-grid section {
  padding: 14px;
  display: flex;
  gap: 11px;
  border: 1px solid rgba(199, 75, 255, .45);
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
}

.reference-info-grid b {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #421058;
  background: linear-gradient(180deg, #ffe979, #ffae1c);
}

.reference-info-grid h3 {
  margin: 0;
  color: #fff;
  font-size: .93rem;
}

.reference-info-grid p {
  margin: 3px 0 0;
  color: #ceb8dc;
  font-size: .75rem;
}

.reference-faq {
  display: grid;
  gap: 8px;
}

.reference-faq details {
  border: 1px solid rgba(198, 74, 255, .42);
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
}

.reference-faq summary {
  padding: 12px 15px;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.reference-faq p {
  margin: 0;
  padding: 0 15px 13px;
  color: #d6c2e2;
}

.reference-line-fab {
  position: fixed;
  z-index: 58;
  right: 20px;
  bottom: 114px;
  min-width: 128px;
  padding: 9px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #8aff9a;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #35da62, #0a9939);
  box-shadow: 0 0 18px rgba(52, 230, 98, .48);
  text-decoration: none;
}

.reference-line-fab span {
  font-size: .73rem;
  font-weight: 1000;
}

.reference-line-fab strong {
  font-size: .83rem;
}

.site-footer {
  border-color: rgba(202, 76, 255, .32);
  background: rgba(10, 0, 22, .84);
}

.footer-inner {
  width: min(calc(100% - 28px), var(--reference-shell));
  padding-bottom: 108px;
}

.mobile-dock {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: max(10px, env(safe-area-inset-bottom));
  width: min(calc(100% - 24px), 700px);
  min-height: 74px;
  padding: 6px 10px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
  border: 2px solid #dc64ff;
  border-radius: 25px;
  background: rgba(36, 0, 68, .96);
  box-shadow: 0 0 26px rgba(226, 57, 255, .7), inset 0 0 18px rgba(143, 31, 231, .46);
  backdrop-filter: blur(15px);
}

.dock-link {
  min-width: 0;
  border-radius: 16px;
  padding: 4px 2px;
  display: grid;
  place-items: center;
  color: #f4e9fa;
  text-decoration: none;
  font-size: .68rem;
  font-weight: 900;
}

.dock-link span:first-child {
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.1;
  text-shadow: 0 0 8px #e648ff;
}

.dock-link.center {
  margin-top: -22px;
  border: 3px solid #fff292;
  border-radius: 50%;
  color: #511b07;
  background: linear-gradient(180deg, #fff676, #ff9f19);
  box-shadow: 0 4px 0 #9e3d15, 0 0 19px rgba(255, 205, 44, .82);
}

.dock-link.center span:first-child {
  color: #7d2407;
  text-shadow: none;
}

.toast {
  bottom: 100px;
}

/* Keep every secondary page on the same centered 850px portal layout. */
.page-hero {
  width: min(calc(100% - 28px), var(--reference-shell));
  min-height: 190px;
  margin: 14px auto 0;
  border: 1px solid #b84eff;
  border-radius: 19px;
  box-shadow: 0 0 20px rgba(212, 53, 255, .32);
}

.hero-content {
  width: 100%;
  min-height: 190px;
  padding: 34px 20px;
}

.page-hero h1 {
  font-size: clamp(2.25rem, 7vw, 4rem);
}

.page-shell {
  width: min(calc(100% - 28px), var(--reference-shell));
}

.game-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 57px;
  }

  .header-inner {
    width: calc(100% - 28px);
    min-height: 57px;
    padding: 0;
    flex-wrap: nowrap;
    gap: 7px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: clamp(122px, 38vw, 150px);
    max-height: 44px;
  }

  .premium-brand {
    height: 44px;
    gap: 5px;
  }

  .premium-genie-mark {
    flex-basis: 43px;
    width: 43px;
    height: 43px;
  }

  .premium-genie-crop {
    inset: 2px;
    border-width: 1.5px;
    box-shadow: 0 0 0 1.5px #7612b3, 0 0 9px rgba(229, 43, 255, .82);
  }

  .premium-genie-crop img {
    top: -8px;
    left: -132px;
    width: 304px;
  }

  .premium-gem {
    bottom: 3px;
    width: 7px;
    height: 7px;
  }

  .premium-name {
    font-size: clamp(1.08rem, 5vw, 1.28rem);
  }

  .premium-domain {
    margin-top: 4px;
    gap: 3px;
    font-size: .39rem;
    letter-spacing: .12em;
  }

  .lamp-brand {
    height: 46px;
  }

  .lamp-mascot {
    flex-basis: clamp(48px, 13vw, 54px);
    width: clamp(48px, 13vw, 54px);
    height: 46px;
  }

  .lamp-mascot img {
    top: -2px;
    left: -10px;
    width: clamp(70px, 19vw, 76px);
  }

  .lamp-wordmark {
    padding-bottom: 4px;
    font-size: clamp(1rem, 4.7vw, 1.18rem);
  }

  .integrated-brand {
    flex-basis: clamp(142px, 40vw, 158px);
    width: clamp(142px, 40vw, 158px);
    height: 50px;
  }

  .integrated-brand-art {
    height: 50px;
  }

  .integrated-wordmark {
    left: 41.5%;
    padding-bottom: 3px;
    font-size: clamp(.96rem, 4.35vw, 1.08rem);
  }

  .brand-crown {
    font-size: 1rem;
  }

  .brand-name {
    font-size: clamp(1.1rem, 5.5vw, 1.42rem);
  }

  .brand small {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }

  .header-action {
    min-height: 37px;
    padding: 0 9px 0 6px;
    gap: 5px;
    font-size: .73rem;
  }

  .header-action-icon {
    flex-basis: 22px;
    width: 22px;
    height: 22px;
  }

  .header-action-icon svg {
    width: 14px;
    height: 14px;
  }

  .header-action.primary {
    display: inline-flex;
  }

  .reference-main {
    width: calc(100% - 28px);
    margin-top: 10px;
  }

  .reference-hero {
    height: auto;
    aspect-ratio: 3 / 1;
  }

  .reference-hero-art {
    object-fit: cover;
    object-position: center;
  }

  .reference-hero-overlay {
    background: linear-gradient(90deg, rgba(30, 0, 61, .98), rgba(45, 0, 78, .9) 40%, rgba(45, 0, 78, .46) 55%, rgba(40, 0, 78, .08) 72%);
  }

  .reference-hero-copy {
    width: 54%;
    padding: 10px 9px;
  }

  .reference-hero-copy p {
    font-size: .48rem;
  }

  .reference-hero-copy h1 {
    font-size: 1.28rem;
    white-space: nowrap;
  }

  .reference-hero-copy strong {
    min-width: 0;
    margin-top: 6px;
    padding: 5px 8px;
    font-size: .64rem;
  }

  .reference-announcement {
    height: 34px;
    grid-template-columns: 45px 1fr 20px;
  }

  .reference-announcement p {
    overflow: hidden;
    font-size: .67rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .reference-jackpot {
    height: 124px;
    border-radius: 66px;
  }

  .reference-jackpot::after {
    inset: 10px 64px -27px;
  }

  .reference-jackpot p {
    font-size: .95rem;
  }

  .reference-jackpot output {
    font-size: clamp(2.45rem, 12.5vw, 3.35rem);
    letter-spacing: .01em;
  }

  .coin-stack {
    bottom: 18px;
    font-size: 1.4rem;
  }

  .coin-stack-left {
    left: 16px;
  }

  .coin-stack-right {
    right: 26px;
  }

  .winner-card {
    width: 200px;
  }

  .reference-tabs {
    gap: 8px;
  }

  .reference-tabs a {
    height: 56px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 1px;
  }

  .reference-tabs span {
    font-size: 1.15rem;
    line-height: 1;
  }

  .reference-tabs strong {
    font-size: .68rem;
  }

  .reference-section-title h2 {
    font-size: 1.08rem;
  }

  .reference-section-title > span {
    font-size: 1.22rem;
  }

  .reference-top-games {
    grid-auto-columns: calc((100% - 10px) / 2);
    gap: 10px;
  }

  .reference-new-games {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .reference-game-card {
    min-height: 199px;
    grid-template-rows: 142px 1fr;
    border-radius: 14px;
  }

  .reference-game-card img {
    height: 142px;
  }

  .reference-game-card .rank {
    font-size: 3.55rem;
  }

  .reference-game-card > span {
    padding: 7px 8px;
  }

  .reference-game-card > span strong {
    font-size: .68rem;
  }

  .reference-providers > div {
    gap: 7px;
  }

  .reference-providers a {
    min-height: 68px;
    padding: 8px 4px;
  }

  .reference-providers strong {
    font-size: .82rem;
  }

  .reference-info {
    padding: 18px;
  }

  .reference-info > h2 {
    font-size: 1.24rem;
  }

  .reference-info-grid {
    grid-template-columns: 1fr;
  }

  .reference-line-fab {
    right: 12px;
    bottom: 87px;
    min-width: 0;
    padding: 8px 10px;
  }

  .reference-line-fab strong {
    display: none;
  }

  .mobile-dock {
    bottom: max(7px, env(safe-area-inset-bottom));
    width: calc(100% - 24px);
    min-height: 66px;
    border-radius: 20px;
  }

  .dock-link {
    font-size: .56rem;
  }

  .dock-link span:first-child {
    font-size: 1.12rem;
  }

  .footer-inner {
    padding-bottom: 12px;
  }

  .page-hero {
    width: calc(100% - 28px);
    min-height: 170px;
    margin-top: 10px;
  }

  .hero-content {
    min-height: 170px;
  }

  .page-shell {
    width: calc(100% - 28px);
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    width: clamp(108px, 31vw, 120px);
  }

  .header-action {
    min-height: 36px;
    padding: 0 6px;
    gap: 4px;
    font-size: .66rem;
  }

  .header-action-icon {
    flex-basis: 19px;
    width: 19px;
    height: 19px;
  }

  .header-action-icon svg {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 370px) {
  .header-action {
    padding: 0 7px;
    font-size: .64rem;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .reference-main,
  .page-shell,
  .page-hero {
    width: calc(100% - 20px);
  }

  .reference-jackpot output {
    font-size: 2.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .winner-track {
    animation: none;
  }
}

/* Bottom navigation v2: slim glass bar with a true circular jackpot button. */
.mobile-dock.dock-v2 {
  width: min(calc(100% - 24px), 660px);
  min-height: 68px;
  padding: 6px 12px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 90px minmax(0, 1fr) minmax(0, 1fr);
  gap: 2px;
  overflow: visible;
  border: 1px solid rgba(234, 132, 255, .82);
  border-radius: 23px;
  background:
    linear-gradient(180deg, rgba(101, 18, 155, .92), rgba(36, 0, 70, .97) 42%, rgba(22, 0, 48, .98)),
    rgba(31, 0, 61, .96);
  box-shadow:
    0 10px 35px rgba(7, 0, 17, .58),
    0 0 20px rgba(220, 74, 255, .4),
    inset 0 1px 0 rgba(255, 255, 255, .22),
    inset 0 -10px 20px rgba(15, 0, 37, .34);
  isolation: isolate;
}

.mobile-dock.dock-v2::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  pointer-events: none;
}

.dock-v2 .dock-link {
  position: relative;
  min-width: 0;
  min-height: 54px;
  padding: 5px 3px 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 0;
  border-radius: 14px;
  color: #e8d5f3;
  background: transparent;
  font-size: .875rem;
  line-height: 1;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.dock-v2 .dock-link:not(.dock-jackpot):hover,
.dock-v2 .dock-link:not(.dock-jackpot):focus-visible,
.dock-v2 .dock-link.active:not(.dock-jackpot) {
  color: #fff4a9;
  background: linear-gradient(180deg, rgba(244, 87, 255, .18), rgba(151, 35, 224, .08));
}

.dock-v2 .dock-link:not(.dock-jackpot):hover {
  transform: translateY(-2px);
}

.dock-v2 .dock-link.active:not(.dock-jackpot)::after {
  content: "";
  position: absolute;
  bottom: 1px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #ffe46a;
  box-shadow: 0 0 8px #ffc72d;
}

.dock-v2 .dock-icon,
.dock-v2 .dock-link .dock-icon:first-child {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: currentColor;
  font-size: inherit;
  line-height: 1;
  text-shadow: none;
  filter: drop-shadow(0 0 5px rgba(235, 94, 255, .48));
}

.dock-v2 .dock-icon svg {
  width: 23px;
  height: 23px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dock-v2 .dock-label {
  max-width: 100%;
  overflow: hidden;
  font-size: .72rem;
  font-weight: 900;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dock-v2 .dock-jackpot {
  align-self: end;
  justify-self: center;
  width: 82px;
  height: 82px;
  min-height: 82px;
  margin: -25px 0 -1px;
  padding: 8px 4px 7px;
  gap: 0;
  border: 2px solid #fff1a0;
  border-radius: 50%;
  color: #5b1a08;
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 255, 255, .72), transparent 28%),
    linear-gradient(180deg, #ffe968 0%, #ffb324 58%, #f57a16 100%);
  box-shadow:
    0 5px 0 #9b3a17,
    0 8px 18px rgba(0, 0, 0, .42),
    0 0 20px rgba(255, 202, 46, .72),
    inset 0 0 12px rgba(255, 255, 255, .45);
  transform: none;
  transition: transform .18s ease, filter .18s ease;
}

.dock-v2 .dock-jackpot:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
}

.dock-v2 .dock-jackpot.active {
  box-shadow:
    0 5px 0 #9b3a17,
    0 8px 18px rgba(0, 0, 0, .42),
    0 0 28px rgba(255, 225, 89, .94),
    inset 0 0 13px rgba(255, 255, 255, .55);
}

.dock-v2 .dock-jackpot-crown,
.dock-v2 .dock-jackpot .dock-jackpot-crown:first-child {
  color: #6d1e0b;
  font-size: 1.05rem;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .42);
}

.dock-v2 .dock-jackpot strong {
  margin-top: 2px;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: .04em;
}

.dock-v2 .dock-jackpot small {
  margin-top: 2px;
  font-size: .47rem;
  font-weight: 1000;
  letter-spacing: .08em;
}

@media (max-width: 760px) {
  .mobile-dock.dock-v2 {
    width: calc(100% - 20px);
    min-height: 62px;
    padding: 5px 7px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 70px minmax(0, 1fr) minmax(0, 1fr);
    border-radius: 20px;
  }

  .mobile-dock.dock-v2::before {
    inset: 4px;
    border-radius: 16px;
  }

  .dock-v2 .dock-link {
    min-height: 50px;
    padding-inline: 1px;
    gap: 2px;
  }

  .dock-v2 .dock-icon,
  .dock-v2 .dock-link .dock-icon:first-child {
    width: 21px;
    height: 21px;
  }

  .dock-v2 .dock-icon svg {
    width: 20px;
    height: 20px;
  }

  .dock-v2 .dock-label {
    font-size: .64rem;
  }

  .dock-v2 .dock-jackpot {
    width: 66px;
    height: 66px;
    min-height: 66px;
    margin-top: -18px;
    padding: 6px 3px 5px;
  }

  .dock-v2 .dock-jackpot-crown,
  .dock-v2 .dock-jackpot .dock-jackpot-crown:first-child {
    font-size: .83rem;
  }

  .dock-v2 .dock-jackpot strong {
    font-size: 1rem;
  }

  .dock-v2 .dock-jackpot small {
    font-size: .4rem;
  }
}

@media (max-width: 370px) {
  .dock-v2 .dock-label {
    font-size: .58rem;
  }
}

/* Jackpot v2: a cleaner royal-glass display with crystal accents. */
.reference-jackpot {
  height: 150px;
  padding: 16px 92px;
  overflow: hidden;
  border: 1px solid rgba(255, 218, 101, .72);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 132%, rgba(255, 199, 53, .32), transparent 48%),
    radial-gradient(circle at 14% 30%, rgba(233, 77, 255, .2), transparent 23%),
    radial-gradient(circle at 86% 30%, rgba(233, 77, 255, .2), transparent 23%),
    linear-gradient(135deg, rgba(95, 14, 155, .98), rgba(35, 0, 72, .99) 48%, rgba(79, 8, 135, .98));
  box-shadow:
    0 0 0 3px rgba(167, 55, 255, .32),
    0 10px 28px rgba(5, 0, 18, .45),
    0 0 24px rgba(213, 75, 255, .4),
    inset 0 1px 0 rgba(255, 255, 255, .18),
    inset 0 -24px 34px rgba(15, 0, 41, .38);
  filter: none;
  isolation: isolate;
}

.reference-jackpot::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 7px;
  border: 1px solid rgba(232, 139, 255, .42);
  border-radius: 21px;
  background:
    linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, .06) 30%, transparent 42%),
    repeating-linear-gradient(90deg, transparent 0 64px, rgba(255, 255, 255, .025) 64px 65px);
  pointer-events: none;
}

.reference-jackpot::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  left: 13%;
  width: 74%;
  height: 2px;
  border: 0;
  background: linear-gradient(90deg, transparent, #ffe77f 22%, #f77dff 50%, #ffe77f 78%, transparent);
  box-shadow: 0 0 12px rgba(255, 223, 113, .75);
  transform: none;
  pointer-events: none;
}

.reference-jackpot > .jackpot-content {
  position: relative;
  z-index: 2;
  width: min(100%, 650px);
  display: grid;
  justify-items: center;
}

.reference-jackpot .jackpot-content p {
  position: relative;
  z-index: 2;
  width: max-content;
  margin: 0 0 -1px;
  padding: 4px 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 229, 132, .54);
  border-radius: 999px;
  color: #fff0a5;
  background: linear-gradient(180deg, rgba(114, 26, 173, .98), rgba(61, 7, 111, .98));
  box-shadow: 0 0 13px rgba(224, 82, 255, .38), inset 0 1px 0 rgba(255, 255, 255, .16);
  font-size: 1rem;
  font-weight: 1000;
  letter-spacing: .05em;
  text-shadow: 0 0 10px rgba(255, 217, 74, .28);
}

.reference-jackpot .jackpot-content p b {
  color: #ffd64e;
  font-size: 1.05rem;
  line-height: 1;
}

.reference-jackpot .jackpot-content p small {
  padding: 2px 6px;
  border-radius: 999px;
  color: #fff;
  background: #e52fcf;
  box-shadow: 0 0 8px rgba(244, 51, 215, .72);
  font-size: .56rem;
  line-height: 1.2;
  letter-spacing: .1em;
}

.jackpot-display {
  position: relative;
  width: 100%;
  min-height: 76px;
  padding: 6px 22px 8px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(191, 77, 255, .78);
  border-radius: 17px;
  background:
    linear-gradient(180deg, rgba(13, 0, 36, .68), rgba(28, 0, 57, .9)),
    radial-gradient(circle at 50% 100%, rgba(255, 200, 43, .2), transparent 60%);
  box-shadow:
    inset 0 0 22px rgba(7, 0, 23, .55),
    inset 0 1px 0 rgba(255, 255, 255, .1),
    0 0 16px rgba(159, 39, 235, .3);
}

.reference-jackpot .jackpot-display output {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 100%;
  color: #ffd553;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: clamp(3rem, 7vw, 3.8rem);
  line-height: 1;
  letter-spacing: .035em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transform-origin: 50% 80%;
  text-shadow:
    0 3px 0 #9a4314,
    0 0 13px rgba(255, 216, 78, .54);
}

.jackpot-char {
  display: inline-grid;
  place-items: center;
  vertical-align: baseline;
}

.jackpot-digit {
  width: .58em;
}

.jackpot-baht {
  width: .62em;
  margin-right: .06em;
}

.jackpot-space {
  width: .16em;
}

.jackpot-separator {
  width: .26em;
}

.jackpot-digit.is-rolling {
  animation: jackpot-digit-roll .58s cubic-bezier(.2, .82, .25, 1.22) var(--digit-delay, 0ms) both;
}

.jackpot-baht.is-bouncing {
  animation: jackpot-baht-bounce .66s cubic-bezier(.2, .88, .26, 1.25) both;
}

.reference-jackpot .jackpot-display output.is-settling {
  animation: jackpot-total-settle .72s cubic-bezier(.2, .9, .24, 1.18) both;
}

.jackpot-display::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 6px 14%;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(255, 225, 96, .4), rgba(242, 70, 255, .14) 45%, transparent 72%);
  opacity: 0;
  transform: scale(.68);
  pointer-events: none;
}

.jackpot-display.is-paying::after {
  animation: jackpot-display-flash .7s ease-out both;
}

.jackpot-gain {
  position: absolute;
  z-index: 5;
  top: 30%;
  left: var(--gain-x, 68%);
  padding: 4px 11px 4px 5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 235, 130, .9);
  border-radius: 999px;
  color: #fff8c7;
  background: linear-gradient(180deg, rgba(124, 29, 177, .96), rgba(55, 6, 105, .96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    0 2px 0 rgba(43, 0, 66, .58),
    0 0 12px rgba(255, 207, 61, .48);
  font-family: Arial, sans-serif;
  font-size: .92rem;
  font-weight: 1000;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  animation: jackpot-gain-rise 1.15s cubic-bezier(.2, .76, .24, 1) both;
}

.jackpot-gain-coin {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid #fff2a1;
  border-radius: 50%;
  color: #7b2a0c;
  background: linear-gradient(180deg, #fff878, #ffb520 65%, #ed7415);
  box-shadow: inset 0 1px 0 #fff, 0 0 9px rgba(255, 207, 55, .68);
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: .92rem;
  animation: jackpot-coin-pop .62s cubic-bezier(.2, .84, .24, 1.16) both;
}

@keyframes jackpot-digit-roll {
  0% {
    opacity: 0;
    filter: blur(2px) brightness(1.7);
    transform: translateY(56%) scaleY(.72);
  }
  48% {
    opacity: 1;
    filter: blur(0) brightness(1.18);
    transform: translateY(-13%) scaleY(1.06);
  }
  72% {
    transform: translateY(5%) scaleY(.98);
  }
  100% {
    opacity: 1;
    filter: none;
    transform: translateY(0) scaleY(1);
  }
}

@keyframes jackpot-baht-bounce {
  0% { transform: translateY(0) scale(1); }
  34% { transform: translateY(-12%) scale(1.13); }
  62% { transform: translateY(5%) scale(.98); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes jackpot-total-settle {
  0% { transform: translateY(3px) scale(.992); }
  42% { transform: translateY(-2px) scale(1.018); }
  72% { transform: translateY(1px) scale(.998); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes jackpot-display-flash {
  0% { opacity: 0; transform: scale(.68); }
  32% { opacity: .9; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.2); }
}

@keyframes jackpot-gain-rise {
  0% {
    opacity: 0;
    transform: translate(-50%, 7px) scale(.88);
  }
  18% {
    opacity: 1;
    transform: translate(-50%, -7px) scale(1.04);
  }
  38% {
    transform: translate(-50%, -11px) scale(1);
  }
  64% {
    opacity: 1;
    transform: translate(-50%, -9px) scale(1);
  }
  82% {
    opacity: 1;
    transform: translate(-50%, -12px) scale(.99);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -23px) scale(.97);
  }
}

@keyframes jackpot-coin-pop {
  0% { transform: translateY(2px) scale(.86); }
  38% { transform: translateY(-2px) scale(1.06); }
  68% { transform: translateY(1px) scale(.99); }
  100% { transform: translateY(0) scale(1); }
}

@media (max-width: 760px) {
  .reference-jackpot {
    height: 126px;
    padding: 12px 48px;
    border-radius: 23px;
  }

  .reference-jackpot::before {
    inset: 5px;
    border-radius: 18px;
  }

  .reference-jackpot .jackpot-content p {
    padding: 3px 9px;
    gap: 6px;
    font-size: .78rem;
  }

  .reference-jackpot .jackpot-content p b {
    font-size: .84rem;
  }

  .reference-jackpot .jackpot-content p small {
    font-size: .46rem;
  }

  .jackpot-display {
    min-height: 66px;
    padding: 6px 10px;
    border-radius: 14px;
  }

  .reference-jackpot .jackpot-display output {
    font-size: clamp(2rem, 9vw, 2.35rem);
    letter-spacing: .01em;
  }

  .jackpot-gain {
    padding: 3px 8px 3px 4px;
    gap: 4px;
    font-size: .7rem;
  }

  .jackpot-gain-coin {
    width: 19px;
    height: 19px;
    font-size: .72rem;
  }

}

@media (max-width: 370px) {
  .reference-jackpot {
    padding-inline: 38px;
  }

  .reference-jackpot .jackpot-display output {
    font-size: 1.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jackpot-digit.is-rolling,
  .jackpot-baht.is-bouncing,
  .reference-jackpot .jackpot-display output.is-settling,
  .jackpot-display.is-paying::after,
  .jackpot-gain,
  .jackpot-gain-coin {
    animation: none !important;
  }

  .jackpot-gain {
    display: none;
  }
}

/* Playable demo hub: branded frame around the third-party game catalog. */
.hub-page .hub-hero {
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(20, 0, 42, .94), rgba(54, 0, 100, .54), rgba(20, 0, 42, .94)),
    url("assets/hero-genie-balanced-v5.png") center 33% / cover;
}

.hub-page .hub-hero::before {
  z-index: -1;
  background:
    radial-gradient(circle at 50% 35%, rgba(202, 64, 255, .14), rgba(16, 0, 34, .82) 76%),
    linear-gradient(180deg, rgba(28, 0, 55, .12), rgba(20, 0, 43, .74));
}

.hub-page .hub-hero .hero-content {
  padding-block: 30px 26px;
}

.hub-page .hub-hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 7vw, 4.25rem);
  text-shadow:
    0 3px 0 #7310a3,
    0 0 16px rgba(255, 255, 255, .5),
    0 0 32px rgba(233, 48, 255, .8);
}

.hub-hero-badges {
  margin-top: 17px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.hub-hero-badges span {
  min-height: 30px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 220, 87, .68);
  border-radius: 999px;
  color: #fff4af;
  background: rgba(37, 0, 71, .78);
  box-shadow: inset 0 0 12px rgba(191, 57, 255, .22);
  font-size: .77rem;
  font-weight: 900;
}

.hub-page-shell {
  padding-top: 22px;
}

.hub-heading {
  margin: 0 4px 13px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
}

.hub-heading-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 224, 102, .76);
  border-radius: 14px;
  color: #713000;
  background: linear-gradient(145deg, #fff88a, #ffae22 72%);
  box-shadow: 0 0 16px rgba(255, 190, 36, .36);
  font-size: 1.42rem;
}

.hub-heading p,
.hub-heading h2 {
  margin: 0;
}

.hub-heading p {
  color: #ffe35f;
  font-size: .72rem;
  font-weight: 1000;
  letter-spacing: .16em;
}

.hub-heading h2 {
  font-size: clamp(1.18rem, 3.8vw, 1.65rem);
  line-height: 1.2;
}

.hub-live {
  min-height: 34px;
  padding: 6px 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(120, 255, 187, .4);
  border-radius: 999px;
  color: #b7ffcf;
  background: rgba(25, 122, 70, .18);
  font-size: .76rem;
  font-weight: 900;
  white-space: nowrap;
}

.hub-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #45f990;
  box-shadow: 0 0 10px #45f990;
  animation: hub-live-pulse 1.8s ease-in-out infinite;
}

.hub-shell {
  position: relative;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(211, 103, 255, .78);
  border-radius: 25px;
  background:
    radial-gradient(circle at 50% 0, rgba(139, 92, 246, .22), transparent 42%),
    linear-gradient(180deg, rgba(46, 7, 80, .96), rgba(21, 0, 40, .98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .06),
    0 0 24px rgba(199, 48, 255, .32),
    0 22px 55px rgba(0, 0, 0, .32);
}

.hub-shell::before {
  content: "";
  position: absolute;
  inset: 0 12% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #f0b6ff, transparent);
  pointer-events: none;
}

.hub-shell-topline {
  min-height: 42px;
  padding: 6px 9px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
}

.hub-shell-topline span {
  font-weight: 1000;
}

.hub-shell-topline span::before {
  content: "◆";
  margin-right: 7px;
  color: var(--gold);
  text-shadow: 0 0 9px rgba(255, 216, 61, .8);
}

.hub-shell-topline small {
  color: #d9c5ec;
  font-weight: 700;
}

#tryslot-hub {
  min-height: 520px;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(14, 0, 29, .72);
}

.hub-loading {
  min-height: 520px;
  padding: 32px 18px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 9px;
  color: #fff;
  text-align: center;
}

.hub-loading small {
  color: #cbb7dd;
}

.hub-loading-spinner {
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
  border: 4px solid rgba(255, 255, 255, .16);
  border-top-color: #ffd83d;
  border-right-color: #c747ff;
  border-radius: 50%;
  animation: hub-spin .8s linear infinite;
}

.hub-noscript {
  margin: 10px 0 0;
  padding: 12px;
  border-radius: 13px;
  color: #fff0a0;
  background: rgba(255, 128, 32, .14);
  text-align: center;
  font-weight: 800;
}

.hub-disclaimer {
  max-width: 760px;
  margin: 13px auto 0;
  color: #bda9cf;
  font-size: .78rem;
  text-align: center;
}

@keyframes hub-spin {
  to { transform: rotate(360deg); }
}

@keyframes hub-live-pulse {
  50% { opacity: .5; transform: scale(.78); }
}

@media (max-width: 600px) {
  .hub-page .hub-hero .hero-content {
    padding: 24px 14px 22px;
  }

  .hub-hero-badges span:nth-child(2) {
    display: none;
  }

  .hub-heading {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .hub-live {
    display: none;
  }

  .hub-shell {
    padding: 6px;
    border-radius: 19px;
  }

  .hub-shell-topline {
    padding-inline: 7px;
  }

  .hub-shell-topline small {
    display: none;
  }

  #tryslot-hub,
  .hub-loading {
    min-height: 440px;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hub-live i,
  .hub-loading-spinner {
    animation: none;
  }
}

/* Animated storm layer behind the jackpot value. */
.jackpot-weather {
  position: absolute;
  z-index: 1;
  inset: 1px;
  display: block;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.jackpot-cloud {
  --cloud-scale: 1;
  --cloud-drift-x: 28px;
  --cloud-drift-y: -5px;
  --cloud-opacity-min: .28;
  --cloud-opacity-max: .42;
  position: absolute;
  display: block;
  width: 300px;
  height: 58px;
  border-radius: 50% 50% 42% 44% / 72% 72% 38% 38%;
  opacity: var(--cloud-opacity-min);
  background: linear-gradient(180deg, rgba(245, 229, 255, .62), rgba(164, 89, 218, .48) 54%, rgba(65, 11, 111, .2));
  box-shadow:
    inset 0 12px 22px rgba(255, 255, 255, .2),
    inset 0 -15px 24px rgba(65, 9, 112, .34),
    0 0 18px rgba(220, 137, 255, .32);
  filter:
    blur(.75px)
    drop-shadow(0 0 9px rgba(218, 137, 255, .42))
    drop-shadow(0 10px 13px rgba(21, 0, 48, .5));
  mix-blend-mode: screen;
  transform-origin: 50% 100%;
  transform: translate3d(0, 0, 0) scale(var(--cloud-scale));
  animation: jackpot-cloud-drift 11s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.jackpot-cloud::before,
.jackpot-cloud::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.jackpot-cloud::before {
  left: 29px;
  bottom: 14px;
  width: 72px;
  height: 55px;
  background: rgba(230, 201, 250, .78);
  box-shadow:
    47px -20px 0 8px rgba(245, 226, 255, .78),
    101px -3px 0 7px rgba(212, 169, 243, .72),
    151px -17px 0 9px rgba(231, 199, 252, .74),
    204px 0 0 3px rgba(184, 126, 225, .68);
}

.jackpot-cloud::after {
  left: 23px;
  bottom: 0;
  width: 254px;
  height: 40px;
  background: linear-gradient(180deg, rgba(224, 192, 249, .78), rgba(108, 35, 162, .34));
  box-shadow: inset 0 9px 16px rgba(255, 255, 255, .16);
}

.jackpot-cloud-left {
  left: -88px;
  bottom: -17px;
  animation-duration: 13s;
}

.jackpot-cloud-center {
  --cloud-scale: .78;
  --cloud-drift-x: -24px;
  --cloud-drift-y: 4px;
  --cloud-opacity-min: .12;
  --cloud-opacity-max: .22;
  left: 33%;
  bottom: -27px;
  animation-duration: 17s;
  animation-delay: -6s;
}

.jackpot-cloud-right {
  --cloud-scale: .9;
  --cloud-drift-x: -34px;
  --cloud-opacity-min: .24;
  --cloud-opacity-max: .38;
  right: -92px;
  bottom: -12px;
  animation-duration: 15s;
  animation-delay: -9s;
}

.jackpot-lightning {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  mix-blend-mode: screen;
}

.jackpot-lightning path {
  fill: none;
  stroke: #f2c3ff;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 310;
  stroke-dashoffset: 310;
  opacity: 0;
  filter:
    drop-shadow(0 0 2px #fff)
    drop-shadow(0 0 5px #d946ef)
    drop-shadow(0 0 10px #8b1cff);
  animation: jackpot-lightning-strike 6.4s linear infinite;
}

.jackpot-lightning .jackpot-lightning-branch {
  stroke-width: 1.25;
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
}

.jackpot-strike-right path {
  animation-delay: 2.35s;
}

.jackpot-strike-top path {
  animation-delay: 4.55s;
}

.jackpot-sky-flash {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  opacity: 0;
  background:
    radial-gradient(circle at 15% 55%, rgba(229, 167, 255, .44), transparent 29%),
    radial-gradient(circle at 85% 42%, rgba(192, 92, 255, .35), transparent 28%);
  mix-blend-mode: screen;
  animation: jackpot-sky-flash 3.2s steps(1, end) infinite;
}

@keyframes jackpot-cloud-drift {
  0% {
    opacity: var(--cloud-opacity-min);
    transform: translate3d(0, 0, 0) scale(var(--cloud-scale));
  }
  46% {
    opacity: var(--cloud-opacity-max);
  }
  100% {
    opacity: var(--cloud-opacity-min);
    transform: translate3d(var(--cloud-drift-x), var(--cloud-drift-y), 0) scale(var(--cloud-scale));
  }
}

@keyframes jackpot-lightning-strike {
  0%, 72% {
    opacity: 0;
    stroke-dashoffset: 310;
  }
  73% {
    opacity: .28;
  }
  74% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
  75% {
    opacity: .08;
    stroke-dashoffset: 0;
  }
  76% {
    opacity: .92;
  }
  78%, 100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes jackpot-sky-flash {
  0%, 70%, 74%, 100% { opacity: 0; }
  71% { opacity: .42; }
  72% { opacity: .08; }
  73% { opacity: .3; }
}

@media (max-width: 760px) {
  .jackpot-cloud {
    width: 220px;
    height: 44px;
  }

  .jackpot-cloud::before {
    left: 22px;
    bottom: 10px;
    width: 53px;
    height: 41px;
    box-shadow:
      35px -15px 0 6px rgba(245, 226, 255, .78),
      74px -2px 0 5px rgba(212, 169, 243, .72),
      111px -13px 0 7px rgba(231, 199, 252, .74),
      150px 0 0 2px rgba(184, 126, 225, .68);
  }

  .jackpot-cloud::after {
    left: 17px;
    bottom: 0;
    width: 186px;
    height: 30px;
  }

  .jackpot-cloud-left {
    left: -102px;
    bottom: -12px;
  }

  .jackpot-cloud-center {
    display: none;
  }

  .jackpot-cloud-right {
    right: -108px;
    bottom: -9px;
  }

  .jackpot-lightning path {
    stroke-width: 1.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jackpot-cloud {
    animation: none;
  }

  .jackpot-lightning,
  .jackpot-sky-flash {
    display: none;
  }
}

/* Image-generated storm art: dimensional clouds and organic branching lightning. */
.jackpot-cloud-art,
.jackpot-lightning-art {
  position: absolute;
  display: block;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center 68%;
  background-size: cover;
  will-change: transform, opacity;
}

.jackpot-cloud-art {
  inset: -17% -4% -11%;
  background-image: url("assets/jackpot-storm-clouds-v1.png");
  filter: saturate(1.12) contrast(1.06) brightness(.92);
  mix-blend-mode: screen;
}

.jackpot-cloud-art-back {
  z-index: 1;
  opacity: .78;
  animation: jackpot-cloud-art-drift-back 14s ease-in-out infinite alternate;
}

.jackpot-cloud-art-front {
  z-index: 2;
  inset: -9% -7% -18%;
  opacity: .34;
  filter: saturate(1.18) contrast(1.06) brightness(1.03) blur(.55px);
  transform: scale(1.07);
  animation: jackpot-cloud-art-drift-front 19s ease-in-out -7s infinite alternate;
}

.jackpot-lightning-art {
  z-index: 3;
  inset: -14% -3%;
  opacity: 0;
  background-image: url("assets/jackpot-lightning-v1.png");
  filter: saturate(1.2) contrast(1.12) brightness(1.04) drop-shadow(0 0 7px rgba(211, 79, 255, .8));
  mix-blend-mode: screen;
  animation: jackpot-lightning-art-flash 6.8s linear infinite;
}

.jackpot-weather .jackpot-sky-flash {
  z-index: 2;
  background:
    radial-gradient(circle at 12% 45%, rgba(226, 146, 255, .48), transparent 32%),
    radial-gradient(circle at 88% 42%, rgba(190, 72, 255, .4), transparent 31%),
    linear-gradient(180deg, rgba(211, 114, 255, .12), transparent 68%);
  animation: jackpot-storm-art-flash 6.8s steps(1, end) infinite;
}

@keyframes jackpot-cloud-art-drift-back {
  0% { transform: translate3d(-1.2%, 1.2%, 0) scale(1.025); }
  45% { opacity: .9; }
  100% { transform: translate3d(1.4%, -1%, 0) scale(1.055); }
}

@keyframes jackpot-cloud-art-drift-front {
  0% { transform: translate3d(1.3%, -.5%, 0) scale(1.08); }
  52% { opacity: .24; }
  100% { transform: translate3d(-1.5%, 1.4%, 0) scale(1.035); }
}

@keyframes jackpot-lightning-art-flash {
  0%, 66%, 100% { opacity: 0; transform: scale(1.015); }
  67% { opacity: .18; filter: saturate(1.2) contrast(1.12) brightness(1.12) drop-shadow(0 0 7px rgba(211, 79, 255, .8)); }
  68% { opacity: .92; filter: saturate(1.25) contrast(1.16) brightness(1.42) drop-shadow(0 0 12px rgba(225, 112, 255, .95)); }
  69% { opacity: .08; }
  70% { opacity: .76; filter: saturate(1.2) contrast(1.12) brightness(1.25) drop-shadow(0 0 10px rgba(211, 79, 255, .9)); }
  73% { opacity: 0; transform: scale(1.035); }
}

@keyframes jackpot-storm-art-flash {
  0%, 66%, 69%, 73%, 100% { opacity: 0; }
  67% { opacity: .2; }
  68% { opacity: .54; }
  70% { opacity: .36; }
}

@media (max-width: 760px) {
  .jackpot-cloud-art {
    inset: -13% -12% -13%;
    background-size: auto 150%;
    background-position: center 70%;
  }

  .jackpot-cloud-art-front {
    inset: -7% -16% -18%;
    opacity: .28;
  }

  .jackpot-lightning-art {
    inset: -10% -9%;
    background-size: auto 150%;
    background-position: center 52%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jackpot-cloud-art {
    animation: none;
  }

  .jackpot-lightning-art,
  .jackpot-weather .jackpot-sky-flash {
    display: none;
  }
}

/* Native member modal: branded signup and login flow, ready for a same-origin bridge. */
body.member-modal-open {
  overflow: hidden;
  touch-action: none;
}

.member-auth-modal[hidden],
.member-auth-modal [hidden] {
  display: none !important;
}

.member-auth-modal {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  color: #fff;
  font-family: "Prompt", system-ui, sans-serif;
}

.member-auth-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(177, 49, 255, .24), transparent 42%),
    rgba(8, 0, 18, .86);
  backdrop-filter: blur(10px) saturate(.85);
}

.member-auth-dialog {
  position: relative;
  isolation: isolate;
  width: min(100%, 980px);
  max-height: min(780px, calc(100dvh - 44px));
  display: grid;
  grid-template-columns: minmax(300px, .88fr) minmax(470px, 1.22fr);
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 32px;
  outline: none;
  background:
    linear-gradient(155deg, rgba(47, 8, 78, .99), rgba(15, 2, 27, .995)) padding-box,
    linear-gradient(135deg, #ff9dff, #cf3cff 28%, #6f3dff 67%, #ff71ef) border-box;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .07),
    0 0 26px rgba(213, 55, 255, .5),
    0 0 80px rgba(112, 32, 218, .32),
    0 36px 100px rgba(0, 0, 0, .66);
  animation: member-auth-enter .28s cubic-bezier(.2, .85, .25, 1);
}

.member-auth-dialog::before {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 24px rgba(225, 90, 255, .15);
  pointer-events: none;
}

@keyframes member-auth-enter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.975);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.member-auth-showcase {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(25, 0, 47, .06) 0 27%, rgba(30, 0, 55, .64) 57%, rgba(14, 0, 28, .97) 100%),
    linear-gradient(90deg, rgba(29, 0, 50, .42), transparent 56%, rgba(30, 0, 50, .4)),
    url("assets/genie-lamp-mascot-v1.png") 50% 22% / auto 80% no-repeat,
    radial-gradient(circle at 50% 28%, #7c24c3, #260045 69%);
  border-right: 1px solid rgba(232, 123, 255, .22);
}

.member-auth-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .78;
  background:
    radial-gradient(circle at 14% 21%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 77% 14%, #f5beff 0 1px, transparent 2px),
    radial-gradient(circle at 88% 39%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 23% 46%, #e38cff 0 1px, transparent 2px);
  background-size: 92px 92px, 119px 119px, 143px 143px, 171px 171px;
  pointer-events: none;
}

.member-auth-showcase::after {
  content: "";
  position: absolute;
  inset: auto -16% -9%;
  height: 250px;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(200, 72, 255, .48), transparent 66%),
    linear-gradient(180deg, transparent, rgba(41, 0, 72, .92));
  filter: blur(2px);
  pointer-events: none;
}

.member-auth-brand,
.member-auth-showcase-copy,
.member-auth-trust,
.member-auth-preview-badge {
  position: relative;
  z-index: 2;
}

.member-auth-brand {
  width: min(100%, 250px);
  height: auto;
  filter: drop-shadow(0 0 12px rgba(231, 82, 255, .7));
}

.member-auth-showcase-copy {
  margin-top: auto;
}

.member-auth-showcase-copy p,
.member-auth-showcase-copy h2,
.member-auth-showcase-copy span {
  margin: 0;
}

.member-auth-showcase-copy p {
  margin-bottom: 7px;
  color: #ffe86c;
  font-size: .72rem;
  font-weight: 1000;
  letter-spacing: .19em;
}

.member-auth-showcase-copy h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-shadow: 0 3px 0 #7312a4, 0 0 18px rgba(238, 87, 255, .65);
}

.member-auth-showcase-copy span {
  margin-top: 12px;
  display: block;
  color: #e8d6f1;
  font-size: .84rem;
  line-height: 1.65;
}

.member-auth-trust {
  margin: 19px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
  color: #f8edff;
  font-size: .78rem;
  font-weight: 700;
}

.member-auth-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.member-auth-trust b {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(104, 255, 170, .7);
  border-radius: 50%;
  color: #a2ffbe;
  background: rgba(34, 169, 88, .18);
  box-shadow: 0 0 10px rgba(56, 255, 134, .2);
  font-size: .67rem;
}

.member-auth-preview-badge {
  width: fit-content;
  margin: 18px 0 0;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 222, 103, .55);
  border-radius: 999px;
  color: #fff0a2;
  background: rgba(37, 7, 54, .82);
  font-size: .68rem;
  font-weight: 900;
}

.member-auth-preview-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffd84e;
  box-shadow: 0 0 10px #ffd84e;
}

.member-auth-main {
  position: relative;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 30px 34px 28px;
  background:
    radial-gradient(circle at 50% 0, rgba(192, 63, 255, .17), transparent 29%),
    linear-gradient(180deg, rgba(33, 6, 55, .99), rgba(15, 2, 26, .995));
  scrollbar-width: thin;
  scrollbar-color: #ac41e2 transparent;
}

.member-auth-main::-webkit-scrollbar {
  width: 7px;
}

.member-auth-main::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: #9132bf;
}

.member-auth-close {
  position: absolute;
  z-index: 7;
  top: 15px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  color: #fff;
  background: rgba(31, 5, 48, .82);
  box-shadow: inset 0 0 10px rgba(218, 83, 255, .15);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.member-auth-close:hover,
.member-auth-close:focus-visible {
  transform: rotate(5deg) scale(1.04);
  border-color: #ed8cff;
  box-shadow: 0 0 15px rgba(222, 69, 255, .6);
}

.member-auth-tabs {
  width: calc(100% - 48px);
  max-width: 380px;
  padding: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border: 1px solid rgba(207, 92, 255, .33);
  border-radius: 14px;
  background: rgba(14, 1, 24, .58);
}

.member-auth-tabs button {
  min-height: 42px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  color: #cdb8dc;
  background: transparent;
  font-weight: 900;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

.member-auth-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, #dc4eff, #8139ee);
  box-shadow: 0 0 15px rgba(207, 65, 255, .4), inset 0 1px 0 rgba(255, 255, 255, .22);
}

.member-auth-heading {
  margin-top: 22px;
}

.member-auth-heading p,
.member-auth-heading h2,
.member-auth-heading span {
  margin: 0;
}

.member-auth-heading p {
  color: #ffe362;
  font-size: .68rem;
  font-weight: 1000;
  letter-spacing: .16em;
}

.member-auth-heading h2 {
  margin-top: 4px;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.member-auth-heading span {
  margin-top: 5px;
  display: block;
  color: #cbb8d7;
  font-size: .88rem;
}

.member-auth-notice {
  margin-top: 17px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 222, 105, .42);
  border-radius: 12px;
  color: #fff0a6;
  background: rgba(103, 66, 0, .16);
  font-size: .75rem;
  line-height: 1.55;
}

.member-auth-notice[data-type="error"] {
  border-color: rgba(255, 89, 137, .62);
  color: #ffd4e0;
  background: rgba(167, 21, 65, .17);
}

.member-auth-notice[data-type="success"] {
  border-color: rgba(86, 255, 159, .48);
  color: #c4ffd7;
  background: rgba(24, 137, 70, .16);
}

.member-auth-notice[data-type="info"] {
  border-color: rgba(174, 107, 255, .52);
  color: #e4ceff;
  background: rgba(90, 34, 154, .18);
}

.member-auth-progress {
  position: relative;
  margin: 20px 0 21px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.member-auth-progress::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 16.5%;
  right: 16.5%;
  height: 2px;
  background: linear-gradient(90deg, rgba(205, 77, 255, .62), rgba(115, 54, 255, .52));
}

.member-auth-progress li {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #9f89ae;
  font-size: .7rem;
  font-weight: 800;
}

.member-auth-progress li span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 2px solid #57306d;
  border-radius: 50%;
  color: #bdaac9;
  background: #160422;
  box-shadow: 0 0 0 5px #210736;
  font-size: .78rem;
}

.member-auth-progress li.active,
.member-auth-progress li.complete {
  color: #fff;
}

.member-auth-progress li.active span {
  border-color: #ff9cff;
  color: #fff;
  background: linear-gradient(135deg, #e54dff, #723cff);
  box-shadow: 0 0 0 5px #210736, 0 0 18px rgba(221, 68, 255, .78);
}

.member-auth-progress li.complete span {
  border-color: #76f5aa;
  color: #104a28;
  background: #8bffb6;
  box-shadow: 0 0 0 5px #210736, 0 0 12px rgba(73, 255, 146, .36);
}

.member-auth-progress li.complete span::before {
  content: "✓";
}

.member-auth-progress li.complete span {
  font-size: 0;
}

.member-auth-progress li.complete span::before {
  font-size: .82rem;
}

.member-auth-form {
  display: block;
}

.member-auth-field {
  min-width: 0;
  margin-bottom: 14px;
}

.member-auth-field label {
  margin-bottom: 7px;
  display: block;
  color: #f9f0ff;
  font-size: .82rem;
  font-weight: 900;
}

.member-auth-field input,
.member-auth-field select,
.member-auth-input-wrap {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(196, 91, 240, .48);
  border-radius: 13px;
  color: #fff;
  background: rgba(14, 2, 24, .82);
  box-shadow: inset 0 0 13px rgba(172, 54, 236, .08);
  font-size: 16px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.member-auth-field input,
.member-auth-field select {
  padding: 11px 13px;
}

.member-auth-field select {
  appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, #dda0f6 50%),
    linear-gradient(135deg, #dda0f6 50%, transparent 50%);
  background-position:
    calc(100% - 19px) 52%,
    calc(100% - 13px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.member-auth-field input::placeholder {
  color: #806b8e;
}

.member-auth-field input:focus,
.member-auth-field select:focus,
.member-auth-input-wrap:focus-within {
  border-color: #ee82ff;
  outline: none;
  background: rgba(28, 6, 44, .96);
  box-shadow: 0 0 0 3px rgba(208, 69, 255, .16), 0 0 14px rgba(201, 58, 255, .28);
}

.member-auth-field input[readonly],
.member-auth-field select:disabled {
  color: #bba8c7;
  background: rgba(45, 26, 55, .62);
  cursor: not-allowed;
}

.member-auth-field small {
  margin-top: 6px;
  display: block;
  color: #ac99b8;
  font-size: .7rem;
  line-height: 1.5;
}

.member-auth-input-wrap {
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.member-auth-input-wrap > span {
  color: #e37bff;
  font-size: 1.05rem;
}

.member-auth-input-wrap input {
  min-height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.member-auth-input-wrap input:focus {
  background: transparent;
  box-shadow: none;
}

.member-auth-login-meta input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: #c441ff;
}

.member-auth-submit {
  width: 100%;
  min-height: 50px;
  padding: 11px 16px;
  border: 1px solid #ffb4ff;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #ed55ff 0%, #b32ee8 48%, #6d3cff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .3),
    0 0 14px rgba(222, 67, 255, .48),
    0 6px 18px rgba(65, 8, 104, .5);
  font-size: .92rem;
  font-weight: 1000;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.member-auth-submit:hover,
.member-auth-submit:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .36),
    0 0 22px rgba(234, 88, 255, .7),
    0 9px 20px rgba(65, 8, 104, .55);
}

.member-auth-submit:disabled {
  transform: none;
  opacity: .62;
  cursor: wait;
  filter: grayscale(.18);
}

.member-auth-provider-link {
  width: 100%;
  min-height: 52px;
  margin-top: 10px;
  padding: 8px 14px;
  display: grid;
  place-content: center;
  justify-items: center;
  border: 1px solid rgba(255, 225, 106, .82);
  border-radius: 13px;
  color: #fff6b4;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 225, 104, .15), transparent 65%),
    rgba(69, 34, 3, .34);
  box-shadow: inset 0 0 13px rgba(255, 218, 68, .08), 0 0 12px rgba(255, 187, 39, .16);
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.member-auth-provider-link span {
  font-size: .82rem;
  font-weight: 1000;
}

.member-auth-provider-link small {
  margin-top: 2px;
  color: #d9cba1;
  font-size: .63rem;
  font-weight: 700;
}

.member-auth-provider-link:hover,
.member-auth-provider-link:focus-visible {
  transform: translateY(-2px);
  border-color: #fff29a;
  outline: none;
  background:
    radial-gradient(circle at 50% 0, rgba(255, 235, 126, .2), transparent 66%),
    rgba(104, 52, 4, .42);
  box-shadow: inset 0 0 16px rgba(255, 223, 85, .12), 0 0 18px rgba(255, 190, 42, .34);
}

.member-auth-security {
  margin: 12px 0 0;
  color: #9e8eaa;
  font-size: .67rem;
  line-height: 1.55;
  text-align: center;
}

.member-auth-security span {
  margin-right: 4px;
  color: #ffd84c;
}

.member-auth-otp-intro {
  margin: 4px 0 18px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(186, 80, 233, .34);
  border-radius: 14px;
  background: rgba(75, 20, 108, .2);
}

.member-auth-otp-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #f5a1ff;
  border-radius: 13px;
  color: #fff2a6;
  background: linear-gradient(145deg, #b832e4, #6435d8);
  box-shadow: 0 0 14px rgba(212, 70, 255, .38);
}

.member-auth-otp-intro strong,
.member-auth-otp-intro p {
  margin: 0;
}

.member-auth-otp-intro strong {
  font-size: .9rem;
}

.member-auth-otp-intro p {
  margin-top: 3px;
  color: #bda8ca;
  font-size: .73rem;
}

.member-auth-otp-intro b {
  color: #ffe262;
}

.member-auth-otp {
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.member-auth-otp input {
  width: 100%;
  min-width: 0;
  height: 55px;
  padding: 0;
  border: 1px solid rgba(214, 92, 255, .58);
  border-radius: 12px;
  color: #fff;
  background: rgba(16, 2, 27, .9);
  box-shadow: inset 0 0 12px rgba(191, 51, 255, .09);
  font-size: 1.35rem;
  font-weight: 1000;
  text-align: center;
}

.member-auth-otp input:focus {
  border-color: #ffacff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(215, 79, 255, .17), 0 0 16px rgba(212, 69, 255, .42);
}

.member-auth-form-actions {
  margin-top: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.member-auth-form-actions button,
.member-auth-text-button {
  padding: 5px 0;
  border: 0;
  color: #d9b5ed;
  background: transparent;
  font-size: .72rem;
  font-weight: 800;
  cursor: pointer;
}

.member-auth-form-actions button:hover:not(:disabled),
.member-auth-text-button:hover {
  color: #fff;
  text-decoration: underline;
}

.member-auth-form-actions button:disabled {
  color: #766282;
  cursor: not-allowed;
}

.member-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 12px;
}

.member-auth-password {
  position: relative;
}

.member-auth-password input {
  padding-right: 58px;
}

.member-auth-password button {
  position: absolute;
  top: 50%;
  right: 7px;
  transform: translateY(-50%);
  min-width: 43px;
  min-height: 34px;
  border: 1px solid rgba(205, 87, 244, .38);
  border-radius: 9px;
  color: #e8cbf8;
  background: rgba(93, 27, 126, .33);
  font-size: .68rem;
  font-weight: 900;
  cursor: pointer;
}

.member-auth-text-button {
  width: 100%;
  margin-top: 8px;
  text-align: center;
}

.member-auth-success {
  min-height: 390px;
  padding: 36px 24px;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.member-auth-success > span {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 2px solid #d6ff8b;
  border-radius: 50%;
  color: #234516;
  background: linear-gradient(145deg, #f6ff9a, #6bff9b);
  box-shadow: 0 0 28px rgba(104, 255, 155, .48), 0 0 70px rgba(202, 82, 255, .28);
  font-size: 2.4rem;
  font-weight: 1000;
}

.member-auth-success p,
.member-auth-success h3,
.member-auth-success small {
  margin: 0;
}

.member-auth-success p {
  margin-top: 20px;
  color: #ffe45e;
  font-size: .72rem;
  font-weight: 1000;
  letter-spacing: .12em;
}

.member-auth-success h3 {
  margin-top: 5px;
  font-size: 1.65rem;
}

.member-auth-success small {
  max-width: 330px;
  margin: 8px 0 22px;
  color: #bfaec9;
  line-height: 1.65;
}

.member-auth-login-form {
  margin-top: 22px;
}

.member-auth-login-meta {
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #ae9bbb;
  font-size: .69rem;
}

.member-auth-login-meta label {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.member-landing-shell {
  padding-top: 24px;
}

.member-landing-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  border: 1px solid transparent;
  border-radius: 27px;
  background:
    linear-gradient(145deg, rgba(59, 9, 94, .96), rgba(20, 1, 37, .99)) padding-box,
    linear-gradient(135deg, #f18cff, #b63aff, #6e3cff) border-box;
  box-shadow: inset 0 0 24px rgba(202, 63, 255, .08), 0 0 24px rgba(201, 61, 255, .28);
}

.member-landing-card::after {
  content: "";
  position: absolute;
  inset: -60% -10% auto 45%;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213, 78, 255, .18), transparent 67%);
  pointer-events: none;
}

.member-landing-card > * {
  position: relative;
  z-index: 1;
}

.member-landing-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid #fff0a4;
  border-radius: 20px;
  color: #722300;
  background: linear-gradient(145deg, #fff68f, #ffad24 72%);
  box-shadow: 0 0 20px rgba(255, 191, 49, .38);
  font-size: 2rem;
}

.member-landing-card h2,
.member-landing-card p {
  margin: 0;
}

.member-landing-card h2 {
  margin-top: 5px;
  font-size: clamp(1.55rem, 4vw, 2.35rem);
}

.member-landing-card h2 + p {
  max-width: 650px;
  margin-top: 8px;
  color: #d8c4e4;
  line-height: 1.7;
}

.member-landing-card ul {
  margin: 17px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
  list-style: none;
  color: #f3e8fa;
  font-size: .86rem;
}

.member-landing-card li::before {
  content: "✓";
  margin-right: 8px;
  color: #8cffb3;
  font-weight: 1000;
}

.member-landing-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.member-landing-actions .button {
  min-width: 175px;
}

.member-landing-note {
  margin-top: 15px !important;
  color: #b8a2c5;
  font-size: .76rem;
}

@media (max-width: 900px) {
  .member-auth-dialog {
    grid-template-columns: minmax(250px, .7fr) minmax(430px, 1.3fr);
  }

  .member-auth-showcase {
    padding-inline: 22px;
    background-position: 50% 28%;
  }

  .member-auth-main {
    padding-inline: 27px;
  }
}

@media (max-width: 760px) {
  .member-auth-modal {
    place-items: stretch;
    padding: 0;
  }

  .member-auth-dialog {
    width: 100%;
    height: 100dvh;
    max-height: none;
    grid-template-columns: 1fr;
    grid-template-rows: 150px minmax(0, 1fr);
    border-width: 0;
    border-radius: 0;
  }

  .member-auth-showcase {
    min-height: 0;
    padding: 16px 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(229, 113, 255, .22);
    background:
      linear-gradient(90deg, rgba(25, 0, 47, .96), rgba(42, 0, 75, .54), rgba(25, 0, 47, .92)),
      url("assets/genie-lamp-mascot-v1.png") 78% 32% / auto 340% no-repeat,
      #24003f;
  }

  .member-auth-brand {
    width: 190px;
  }

  .member-auth-showcase-copy {
    margin-top: 9px;
  }

  .member-auth-showcase-copy p {
    margin-bottom: 3px;
    font-size: .59rem;
  }

  .member-auth-showcase-copy h2 {
    font-size: 1.45rem;
    line-height: 1;
  }

  .member-auth-showcase-copy span,
  .member-auth-trust,
  .member-auth-preview-badge {
    display: none;
  }

  .member-auth-main {
    min-height: 0;
    padding: 20px 18px 34px;
  }

  .member-auth-close {
    top: 12px;
    right: 12px;
  }

  .member-auth-tabs {
    width: calc(100% - 45px);
  }

  .member-auth-heading {
    margin-top: 18px;
  }

  .member-auth-notice {
    margin-top: 14px;
  }

  .member-auth-progress {
    margin-block: 17px 19px;
  }

  .member-auth-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .member-auth-success {
    min-height: 330px;
  }

  .member-landing-card {
    padding: 24px 20px;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .member-landing-icon {
    width: 56px;
    height: 56px;
    border-radius: 17px;
    font-size: 1.65rem;
  }
}

@media (max-width: 390px) {
  .member-auth-dialog {
    grid-template-rows: 132px minmax(0, 1fr);
  }

  .member-auth-showcase {
    padding: 13px 15px;
  }

  .member-auth-brand {
    width: 165px;
  }

  .member-auth-showcase-copy {
    margin-top: 6px;
  }

  .member-auth-showcase-copy h2 {
    font-size: 1.25rem;
  }

  .member-auth-main {
    padding-inline: 14px;
  }

  .member-auth-heading h2 {
    font-size: 1.65rem;
  }

  .member-auth-otp {
    gap: 5px;
  }

  .member-auth-otp input {
    height: 49px;
    border-radius: 10px;
    font-size: 1.15rem;
  }

  .member-auth-progress li small {
    font-size: .62rem;
  }

  .member-auth-form-actions {
    align-items: flex-start;
  }

  .member-auth-login-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .member-auth-dialog {
    animation: none;
  }

  .member-auth-modal *,
  .member-auth-modal *::before,
  .member-auth-modal *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
