:root {
  --bg: #1a052e;
  --bg-deep: #12021f;
  --header: #111114;
  --light: #f3f3f5;
  --card: #fff;
  --ink: #f4eefc;
  --ink-dark: #2a2a32;
  --muted: #cbbddc;
  --muted-dark: #6b6b76;
  --purple: #bd0aff;
  --purple-2: #7b2cbf;
  --purple-title: #5b1d8a;
  --cta: #ff9f1a;
  --cta-2: #ffc43a;
  --max: 1400px;
  --mast-h: 86px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  overflow-x: clip;
  padding-top: var(--mast-h);
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", "Liberation Sans", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

html:has(.nav-toggle:checked) {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #d7b6ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 2000;
  background: var(--cta);
  color: #111;
  padding: 8px 12px;
  font-weight: 800;
}

.skip-link:focus {
  left: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  min-width: 0;
  margin: 0 auto;
  padding: 0 28px;
}

[role="button"][aria-label="luxe"] {
  cursor: pointer;
  outline: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

[role="button"][aria-label="luxe"]:focus-visible {
  outline: 3px solid var(--cta);
  outline-offset: 3px;
}

/* Header */
.mast {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 140;
  width: 100%;
  background: var(--header);
}

.mast-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 86px;
  gap: 12px;
}

.mast-left,
.mast-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.mast-right {
  justify-content: flex-end;
}

.brand {
  display: flex;
  justify-content: center;
  min-width: 160px;
  text-decoration: none;
}

.brand img {
  width: 210px;
  min-width: 148px;
  height: auto;
}

.mast-link {
  color: #ececec;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.mast-link:hover,
.mast-right [role="button"]:hover {
  color: #fff;
}

.lang-now {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ececec;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.lang-now::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 1.5px solid #ececec;
  border-bottom: 1.5px solid #ececec;
  transform: rotate(45deg);
}

.mast-right .btn-nav {
  color: #ececec;
  font-size: 14px;
  font-weight: 600;
  background: none;
  border: 0;
  padding: 0;
  min-width: 0;
  box-shadow: none;
  text-transform: none;
  letter-spacing: 0;
}

.btn-reg,
.btn-login,
.btn-login-fill,
.jpc-login-desk,
.jpc-login-mid,
.jpc-reg-desk,
.jpc-hero-reg,
.jpc-mid-reg,
.jpc-reg-mid,
.jpc-reg-mob,
.jpc-login-mob-btn,
.jpc-promo-claim,
.jpc-promo-wheel,
.jpc-promo-login,
.jpc-promo-vip,
.jpc-promo-turnier,
.jpc-promo-blitz,
.jpc-miss-offer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-align: center;
}

.btn-login,
.jpc-login-desk,
.jpc-login-mid {
  min-width: 118px;
  padding: 9px 16px;
  color: #fff;
  background: #111;
  border: 1px solid var(--cta);
}

.btn-reg,
.jpc-reg-desk,
.jpc-hero-reg,
.jpc-mid-reg,
.jpc-reg-mid,
.jpc-reg-mob,
.jpc-promo-claim,
.jpc-promo-wheel,
.jpc-promo-login,
.jpc-promo-vip,
.jpc-promo-turnier,
.jpc-promo-blitz,
.jpc-miss-offer {
  min-width: 140px;
  padding: 10px 22px;
  color: #fff;
  background: linear-gradient(180deg, var(--cta-2), var(--cta));
  border: 0;
  box-shadow: 0 0 18px rgba(255, 159, 26, 0.45);
}

.jpc-hero-reg {
  min-width: 260px;
  padding: 16px 36px;
  font-size: 22px;
  border-radius: 10px;
}

.btn-login-fill {
  min-width: 140px;
  padding: 10px 22px;
  color: #fff;
  background: var(--purple-2);
  border: 0;
  box-shadow: 0 0 16px rgba(123, 44, 191, 0.45);
}

.mob-only {
  display: none;
}

.nav-toggle {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  opacity: 0;
  pointer-events: none;
}

/* Mobile overlay */
.mobile-panel {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 560px;
  padding: 54px 0 48px;
  background: #090014 url("/images/0002_city_hero_desktop.webp") right center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 0, 18, 0.62) 0%, rgba(8, 0, 18, 0.18) 52%, transparent 78%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 560px;
}

.hero-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero-sub {
  margin: 0 0 18px;
  color: #ffd24a;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-legal {
  margin: 14px 0 0;
  max-width: 520px;
  color: #eee;
  font-size: 12px;
  line-height: 1.45;
}

.hero-legal [role="button"] {
  display: inline;
  color: #fff;
  text-decoration: underline;
  font-size: inherit;
  font-weight: 700;
}

/* Sections */
.band {
  padding: 48px 0 36px;
}

.band-purple {
  background: var(--bg);
}

.band-deep {
  background: var(--bg-deep);
}

.band-light {
  background: var(--light);
  color: var(--ink-dark);
}

.band-light h2,
.band-light h3 {
  color: var(--purple-title);
}

.band-light h2 {
  font-size: clamp(26px, 3vw, 34px);
}

.band-light p,
.band-light li {
  color: #4a4a52;
}

.band h1,
.band h2 {
  margin: 0 0 16px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.band h1 {
  color: #e6d4ff;
  font-size: clamp(30px, 3.6vw, 42px);
}

.band-purple h2,
.band-deep h2 {
  color: #d7c2f2;
  font-size: clamp(26px, 3vw, 34px);
}

.band-light h1 {
  color: var(--purple-title);
  font-size: clamp(30px, 3.4vw, 40px);
}

.band-light .crumb,
.band-purple .crumb {
  justify-content: center;
}

.band-purple .crumb a {
  color: #d7b6ff;
}

.band h3 {
  margin: 22px 0 10px;
  font-size: 22px;
}

.band p {
  margin: 6px 0 1.15em;
}

.prose-col {
  max-width: none;
  width: 100%;
  margin: 0 0 28px;
}

.prose-col + .game-rows,
.prose-col + .live-grid,
.game-rows + .prose-col,
.live-grid + .prose-col,
.cat-grid + .prose-col {
  margin-top: 28px;
}

.band-light a {
  color: var(--purple-title);
}

/* Game rows 2x2 */
.game-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.game-row {
  position: relative;
  display: grid;
  grid-template-columns: 118px 1fr 64px;
  align-items: center;
  gap: 12px;
  min-height: 118px;
  padding: 0 12px 0 0;
  overflow: hidden;
  background: var(--card);
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.ribbon {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 40px;
  height: 40px;
  pointer-events: none;
}

.ribbon img {
  width: 40px;
  height: 40px;
}

.game-row img.thumb {
  width: 118px;
  height: 118px;
  object-fit: cover;
}

.game-row strong {
  display: block;
  color: var(--purple-title);
  font-size: 18px;
  line-height: 1.25;
}

.game-row span.desc {
  display: block;
  color: var(--muted-dark);
  font-size: 15px;
  margin-top: 4px;
}

.play-sq {
  position: relative;
  width: 52px;
  height: 52px;
  display: block;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #9a3fe0 0%, #5a1a96 100%);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(58, 8, 110, 0.28);
}

.play-sq img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 14px;
  height: 16px;
  max-width: none;
  max-height: none;
  margin: 0;
  transform: translate(-42%, -50%);
  object-fit: contain;
}

/* Featured */
.jpc-feat-atlantean {
  display: block;
  overflow: visible;
  background: transparent;
}

.feature {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  background: #041c33 url("/images/0024_super_game_box_bg_atlantean.webp") center / cover no-repeat;
}

.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg-deep) 0%, transparent 10%, transparent 90%, var(--bg-deep) 100%),
    linear-gradient(180deg, var(--bg-deep) 0%, transparent 18%, transparent 100%);
}

.feat-layer {
  position: absolute;
  pointer-events: none;
}

.feat-bubbles {
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feat-logo {
  left: 46%;
  top: 48%;
  z-index: 2;
  height: 94%;
  width: auto;
  max-width: 70%;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

.feat-mermaid {
  right: -12%;
  bottom: -28%;
  z-index: 5;
  height: 180%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: right bottom;
}

.feature-bar {
  display: grid;
  grid-template-columns: 1fr 60px;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 10px;
}

.feature-bar strong {
  color: var(--purple-title);
  font-size: 20px;
}

.feature-bar span {
  display: block;
  color: var(--muted-dark);
  font-size: 15px;
}

/* Tall category cards */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cat-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.cat-card .shot {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.cat-foot {
  display: grid;
  grid-template-columns: 1fr 60px;
  gap: 10px;
  align-items: center;
  padding: 14px;
}

.cat-foot strong {
  color: var(--purple-title);
}

.cat-foot span {
  display: block;
  color: var(--muted-dark);
  font-size: 13px;
}

/* Live photo cards */
.live-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.live-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.live-shot {
  position: relative;
}

.live-card .shot {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.live-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  margin: 0;
  color: #e4c56a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.live-label i {
  display: block;
  font-size: 0.55em;
  font-style: italic;
  font-weight: 500;
}

/* Payments */
.pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
  align-items: center;
  justify-items: center;
  margin: 12px 0 32px;
}

.pay-grid img {
  width: auto;
  height: 88px;
  max-width: 220px;
  object-fit: contain;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.pay-grid img[src$=".png"] {
  mix-blend-mode: screen;
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 8px 0 24px;
}

.studio-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(189, 10, 255, 0.25);
  border-radius: 10px;
  padding: 14px;
}

.studio-card b {
  display: block;
  color: #fff;
  margin-bottom: 6px;
}

.studio-card span {
  color: var(--muted);
  font-size: 14px;
}

.facts,
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 8px 0 24px;
}

.facts div,
.steps article {
  background: #fff;
  border-radius: 10px;
  padding: 16px 14px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.facts strong,
.steps b {
  display: block;
  color: var(--purple-title);
}

.facts span,
.steps span {
  color: var(--muted-dark);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 16px 0 8px;
}

.mid-cta {
  padding: 36px 20px;
  text-align: center;
  background: #12061c url("/images/0040_cta-bar.jpg") center / auto 100% repeat-x;
}

.mid-cta p {
  margin: 0 0 16px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.table-scroll {
  overflow-x: auto;
  margin: 8px 0 24px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.data-table th,
.data-table td {
  border: 1px solid #e6e0ee;
  padding: 12px;
  text-align: left;
  color: var(--ink-dark);
}

.data-table th {
  background: #f6eefc;
  color: var(--purple-title);
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  font-size: 13px;
  color: var(--muted);
}

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

.promo-hero-box {
  margin: 0 0 24px;
  padding: 28px 20px;
  text-align: center;
  background: linear-gradient(180deg, #3a1460, #1a052e);
  border: 1px solid var(--purple);
  border-radius: 12px;
}

.promo-hero-box .offer-title {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 8px 0 32px;
}

.promo-card {
  overflow: hidden;
  color: var(--ink-dark);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.promo-shot {
  position: relative;
}

.promo-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.promo-info {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #6b21a8;
  border-radius: 50%;
  pointer-events: none;
}

.promo-info img {
  width: 28px;
  height: 28px;
}

.promo-foot {
  display: grid;
  grid-template-columns: 1fr 60px;
  gap: 10px;
  align-items: center;
  padding: 14px;
}

.promo-foot strong {
  display: block;
  color: var(--purple-title);
  font-size: 16px;
  line-height: 1.25;
}

.promo-foot .desc {
  display: block;
  color: var(--muted-dark);
  font-size: 14px;
  margin-top: 4px;
}

/* Footer */
.foot {
  background: #0d0616;
  color: #cfc3dc;
  padding: 36px 0 24px;
}

.foot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.foot-grid h2 {
  margin: 0 0 10px;
  color: var(--purple);
  font-size: 16px;
  text-transform: none;
}

.foot-grid a,
.foot-grid [role="button"] {
  display: block;
  margin: 0 0 8px;
  color: #ece6f4;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  background: none;
  border: 0;
  padding: 0;
  min-width: 0;
  box-shadow: none;
  text-transform: none;
  letter-spacing: 0;
  text-align: left;
}

.foot-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.foot-badges img {
  height: 52px;
  width: auto;
  max-width: 180px;
}

.foot p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.55;
}

.foot-copy {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
}

.float-help {
  position: fixed;
  z-index: 30;
  left: 16px;
  bottom: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-2);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.float-help img {
  width: 22px;
  height: 22px;
}

.page-404 {
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 20px;
}

.page-404 h1 {
  color: #e6d4ff;
}

.page-404 p {
  max-width: 560px;
  color: var(--muted);
}

.page-404 a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 10px 22px;
  color: #fff;
  background: transparent;
  border: 1px solid var(--cta);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .desk-only {
    display: none !important;
  }

  .mob-only {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    gap: 2px;
  }

  .burger {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 40px;
    cursor: pointer;
  }

  .burger-lines {
    position: relative;
    display: block;
    width: 22px;
    height: 16px;
  }

  .burger-lines span {
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    margin: 0;
    background: #fff;
    transform-origin: center;
    transition:
      transform 0.2s ease,
      opacity 0.2s ease,
      top 0.2s ease;
  }

  .burger-lines span:nth-child(1) {
    top: 0;
  }

  .burger-lines span:nth-child(2) {
    top: 7px;
  }

  .burger-lines span:nth-child(3) {
    top: 14px;
  }

  .burger b {
    display: block;
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2px;
  }

  .nav-toggle:checked ~ .mast-inner .burger-lines span:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
  }

  .nav-toggle:checked ~ .mast-inner .burger-lines span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .mast-inner .burger-lines span:nth-child(3) {
    top: 7px;
    transform: rotate(-45deg);
  }

  .mast-inner {
    grid-template-columns: 64px 1fr 64px;
    min-height: 70px;
  }

  :root {
    --mast-h: 70px;
  }

  .brand img {
    width: 150px;
    min-width: 110px;
  }

  .jpc-login-mob-icon,
  .btn-icon {
    color: #fff;
    background: none;
    border: 0;
    padding: 0;
    min-width: 0;
    box-shadow: none;
    text-transform: none;
    letter-spacing: 0;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }

  .person {
    width: 22px;
    height: 22px;
    border: 2px solid #fff;
    border-radius: 50%;
    position: relative;
  }

  .person::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
  }

  .nav-toggle:checked ~ .mobile-panel {
    display: block;
  }

  .mobile-panel {
    position: fixed;
    top: var(--mast-h);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 130;
    background: #000;
    overflow: auto;
  }

  .mobile-card {
    min-height: 100%;
    padding: 8px 18px 28px;
  }

  .mobile-card nav a,
  .mobile-card nav [role="button"],
  .lang-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 4px;
    color: #bdbdbd;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #2a2a2a;
    background: none;
    min-width: 0;
    box-shadow: none;
    text-transform: none;
    letter-spacing: 0;
  }

  .ico {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    text-align: center;
    color: #8d8d8d;
    opacity: 0.9;
    background: no-repeat center / 20px;
  }

  .ico-home {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%238d8d8d' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M4 11.5 12 4l8 7.5V20H4z'/%3E%3Cpath d='M10 20v-6h4v6'/%3E%3C/svg%3E");
  }

  .ico-star {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%238d8d8d' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.5 14.6 9l6 .5-4.6 4.1 1.4 5.9L12 16.6 6.6 19.5 8 13.6 3.4 9.5l6-.5z'/%3E%3C/svg%3E");
  }

  .ico-pay {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%238d8d8d' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Crect x='3' y='6' width='18' height='12' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");
  }

  .ico-lang {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%238d8d8d' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M3.5 12h17M12 3.5c2.4 2.8 3.6 5.8 3.6 8.5s-1.2 5.7-3.6 8.5c-2.4-2.8-3.6-5.8-3.6-8.5s1.2-5.7 3.6-8.5z'/%3E%3C/svg%3E");
  }

  .mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .jpc-reg-mob,
  .jpc-login-mob-btn,
  .btn-reg,
  .btn-login-fill {
    width: 100%;
    min-width: 0;
    padding: 14px 10px;
  }

  .jpc-login-mob-btn,
  .btn-login-fill {
    background: var(--purple-2);
    color: #fff;
    box-shadow: 0 0 16px rgba(123, 44, 191, 0.45);
  }

  .hero {
    min-height: 0;
    padding: 28px 0 32px;
    background-image: url("/images/0057_city_hero_mobile.webp");
    background-position: center top;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(8, 0, 18, 0.28) 0%, rgba(8, 0, 18, 0.45) 100%);
  }

  .hero-copy {
    max-width: 100%;
    text-align: center;
  }

  .hero-legal {
    margin-left: auto;
    margin-right: auto;
  }

  .jpc-hero-reg,
  .jpc-mid-reg {
    width: 100%;
    justify-content: center;
  }

  .cat-grid,
  .live-grid,
  .studio-grid,
  .facts,
  .steps {
    grid-template-columns: 1fr;
  }

  .pay-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .pay-grid img {
    height: 64px;
    max-width: 160px;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .game-rows,
  .promo-grid {
    grid-template-columns: 1fr;
  }

  .jpc-feat-atlantean {
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
  }

  .feature {
    min-height: 210px;
    border-radius: 12px 12px 0 0;
  }

  .feature::after {
    background: none;
  }

  .feat-logo {
    left: 42%;
    max-width: 100%;
  }

  .feat-mermaid {
    right: -4%;
    bottom: -6%;
    height: 112%;
    max-width: none;
  }

  .feature-bar {
    border-radius: 0 0 12px 12px;
  }

  .live-card .shot {
    height: 360px;
  }
}

@media (max-width: 720px) {
  .wrap {
    padding: 0 16px;
  }

  .game-row {
    grid-template-columns: 88px 1fr 56px;
  }

  .game-row img.thumb {
    width: 88px;
    height: 88px;
  }

  .play-sq {
    width: 44px;
    height: 44px;
    border-radius: 8px;
  }

  .play-sq img {
    width: 12px;
    height: 14px;
  }

  .jpc-hero-reg {
    font-size: 18px;
    min-width: 0;
  }

  .feature {
    min-height: 200px;
  }

  .feat-mermaid {
    right: -2%;
    bottom: -4%;
    height: 114%;
    max-width: none;
  }

  .live-card .shot {
    height: 280px;
  }

  .promo-grid {
    grid-template-columns: 1fr;
  }

  .promo-shot img {
    aspect-ratio: 1 / 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Game picks and demo pages */
.jpc-picks {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px 12px;
  margin: 0 0 28px;
}

.jpc-picks .jpc-slot-name {
  margin-bottom: 0;
}

.jpc-slot {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  cursor: default;
}

.jpc-slot-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.jpc-slot-media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  min-width: 0;
  object-fit: cover;
  object-position: center;
}

.jpc-slot-name {
  margin: 8px 0 0;
  /* min-height: 3.9em; */
  color: #f4eefc;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: break-word;
}

.jpc-slot-actions {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  background: rgba(18, 2, 31, 0.78);
  opacity: 0;
  pointer-events: none;
}

.jpc-slot-actions,
.jpc-slot-actions * {
  pointer-events: none;
}

.jpc-slot-play,
.jpc-slot-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
}

.jpc-slot-play {
  color: #fff;
  background: linear-gradient(180deg, var(--cta-2), var(--cta));
  box-shadow: 0 0 14px rgba(255, 159, 26, 0.35);
}

.jpc-slot-demo {
  color: #fff;
  background: #3a1460;
  border: 1px solid var(--purple);
}

.jpc-slot-demo:hover {
  color: #1a052e;
  background: var(--cta);
  border-color: var(--cta);
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1101px) {
  .jpc-slot:hover .jpc-slot-actions,
  .jpc-slot:focus-within .jpc-slot-actions {
    opacity: 1;
    pointer-events: auto;
  }

  .jpc-slot:hover .jpc-slot-actions *,
  .jpc-slot:focus-within .jpc-slot-actions * {
    pointer-events: auto;
  }
}

.jpc-slot.is-open .jpc-slot-actions {
  opacity: 1;
  pointer-events: auto;
}

.jpc-slot.is-open .jpc-slot-actions * {
  pointer-events: auto;
}

.jpc-demo-band {
  padding-top: 20px;
  padding-bottom: 8px;
}

.jpc-demo-frame {
  width: 100%;
  height: min(72vh, 740px);
  min-height: 420px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.jpc-demo-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.jpc-game-layout {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin: 0 0 28px;
  text-align: left;
}

.jpc-game-layout .prose-col {
  margin: 0;
}

.jpc-game-shot {
  display: block;
  width: min(100%, 280px);
  height: auto;
  aspect-ratio: 1 / 1;
  max-width: 280px;
  max-height: 280px;
  object-fit: contain;
  object-position: center;
  background: #12021f;
  border-radius: 12px;
}

.jpc-related {
  margin: 8px 0 4px;
}

.jpc-related h2 {
  text-align: center;
}

.jpc-rel {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  overflow-x: auto;
  margin: 0;
  padding: 0 0 2px;
  scrollbar-width: thin;
  scrollbar-color: #ff9f1a #2a1040;
}

.jpc-rel .jpc-slot-name {
  min-height: 0;
  margin-top: 6px;
  margin-bottom: 0;
}

.jpc-rel::-webkit-scrollbar {
  height: 6px;
}

.jpc-rel::-webkit-scrollbar-track {
  background: #2a1040;
  border-radius: 999px;
}

.jpc-rel::-webkit-scrollbar-thumb {
  background: #ff9f1a;
  border-radius: 999px;
}

.jpc-rel .jpc-slot {
  flex: 0 0 150px;
  width: 150px;
}

@media (max-width: 1240px) {
  .jpc-picks {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .jpc-picks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .jpc-slot-play,
  .jpc-slot-demo {
    min-width: 0;
    width: min(120px, 88%);
    padding: 6px 8px;
  }

  .jpc-game-layout {
    display: flex;
    flex-direction: column;
  }

  .jpc-game-shot {
    margin: 0 auto;
  }

  .jpc-demo-frame {
    min-height: 360px;
    height: 68vh;
  }

  .jpc-rel .jpc-slot {
    flex-basis: 132px;
    width: 132px;
  }
}

@media (max-width: 720px) {
  .jpc-picks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
