@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('images/be-vietnam-pro-400-normal.ttf') format('truetype');
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('images/be-vietnam-pro-500-normal.ttf') format('truetype');
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('images/be-vietnam-pro-600-normal.ttf') format('truetype');
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('images/be-vietnam-pro-700-normal.ttf') format('truetype');
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('images/be-vietnam-pro-900-normal.ttf') format('truetype');
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url('images/be-vietnam-pro-900-italic.ttf') format('truetype');
}

@font-face {
  font-family: 'BBH Hegarty';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('images/bbh-hegarty-400-normal.ttf') format('truetype');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('images/dm-sans-700-normal.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('images/montserrat-500-normal.ttf') format('truetype');
}

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('images/geist-600-normal.ttf') format('truetype');
}

/* Desktop dimensions follow the 1920px frame; the content scales only when
   the 1200px design column no longer fits. H5 has its own layout below. */
:root {
  font-size: min(1px, calc((100vw - 64px) / 1200));
  color-scheme: dark;
  --gold: #fdbc06;
  --card: linear-gradient(180deg, #574000, #221a02);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #1a1a1a;
  color: white;
  font: 400 14rem/1.28 'Be Vietnam Pro', Arial, sans-serif;
}

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

button, a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
  cursor: pointer;
}

a {
  color: inherit;
}

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

button, a {
  transition: filter .18s, box-shadow .18s;
}

button:hover, a:hover {
  filter: brightness(1.16);
}

:focus-visible {
  outline: 3px solid #fff0b7;
  outline-offset: 4px;
}

.my-3 {
  margin-bottom: 10px;
  margin-top: 10px;
}

.container {
  width: 1200rem;
  margin-inline: auto;
  position: relative;
}

.mobile-only {
  display: none !important;
}

.gold-heading {
  font-size: 34rem;
  line-height: 1.26;
  font-weight: 900;
  text-transform: uppercase;
  color: #fdbc06;
  background: linear-gradient(90deg, #fdbc06, #ffe7a3);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero {
  height: 1080rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #000;
}

.hero::before, .hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 2000rem;
  height: 1143rem;
}

.hero::before {
  background: url('images/hero-roulette.png') center/cover;
  opacity: .1;
}

.hero::after {
  background: url('images/hero-gold-light.jpg') center/cover;
  opacity: .3;
  mix-blend-mode: screen;
}

.festival-banner {
  position: absolute;
  inset: 0 0 auto;
  height: auto;
}

.festival-banner picture, .festival-banner img {
  width: 100%;
  height: 100%;
}

.festival-banner img {
  object-fit: contain;
  height: auto;
}

.hero-stage {
  position: relative;
  width: 1200rem;
  height: 1080rem;
  margin: auto;
}

.brand {
  position: absolute;
  width: 500rem;
  height: 115rem;
  left: 350rem;
  top: 146rem;
}

.brand img {
  width: 100%;
  height: 100%;
}

.hero-title {
  position: absolute;
  width: 900rem;
  height: 120rem;
  left: 150rem;
  top: 280rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  white-space: nowrap;
  color: #F6B400;
  background: linear-gradient(180deg, #FFE26A 0%, #F6B400 58%, #FDBC06 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Be Vietnam Pro', Arial, sans-serif;
  font-size: 55rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .2rem;
  text-align: center;
  text-transform: uppercase;
  -webkit-text-stroke: 1.1rem #FFE36A;
  filter: brightness(1.08) saturate(1.15);
  text-shadow: none;
}

.route-panel {
  position: absolute;
  width: 440rem;
  height: 450rem;
  left: 98rem;
  top: 415rem;
  padding: 90rem 40rem 40rem;
}

.route-panel::before {
  content: '';
  position: absolute;
  inset: 30rem 0 0;
  border-radius: 20rem;
  background: linear-gradient(#212121, #28210c);
  box-shadow: inset 0 0 20rem #ffdb76;
}

.route-panel::after {
  content: '';
  position: absolute;
  inset: 30rem 0 0;
  border-radius: 20rem;
  background: url('images/link-panel-texture.png') -428rem -363rem/1296rem 863rem;
  opacity: .7;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.route-panel h2 {
  position: absolute;
  z-index: 2;
  left: 30rem;
  top: 0;
  width: 380rem;
  height: 64rem;
  background: url('images/link-heading-desktop.svg') center top/320rem 64rem no-repeat;
  text-align: center;
  padding-top: 9rem;
  font-size: 30rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40rem;
  position: relative;
  z-index: 1;
}

.route-card {
  height: 140rem;
  position: relative;
  border: 1rem solid #fef2d1;
  border-top: 0;
  border-radius: 10rem;
  background: radial-gradient(ellipse at center, #4a3600, #251b00 50%, #000);
  box-shadow: 0 2rem #9a7200, inset 0 0 4rem #ffc31b;
  padding: 0;
  overflow: hidden;
}

.route-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/link-card-texture.png') center/258rem;
  opacity: .2;
  mix-blend-mode: darken;
}

.route-label {
  position: absolute;
  top: 10rem;
  left: 0;
  width: 60rem;
  height: 24rem;
  padding: 4rem 0;
  border-radius: 0 10rem 10rem 0;
  background: #fdbc06;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12rem;
}

.badge {
  position: absolute;
  right: 10rem;
  top: 14rem;
  border: .5rem solid;
  border-radius: 4rem;
  padding: 2rem 6rem;
  font: 600 9rem/1.2 'Geist', sans-serif;
  text-transform: uppercase;
}

.badge-low {
  color: #f22e14;
  background: #f22e141a;
}

.badge-medium {
  color: #f9c032;
  background: #f9c0321a;
}

.badge-high {
  color: #48fe63;
  background: #f9c0321a;
}

.route-meter {
  position: absolute;
  width: 120rem;
  height: 66rem;
  top: 40rem;
  left: 50%;
  transform: translateX(-50%);
}

/* Live needle layered above the exported gauge artwork. */
.route-meter::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 13px;
  width: 3px;
  height: 34px;
  border-radius: 1px;
  background: #fdbc06;
  box-shadow: 0 0 3px #ffdf76;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform-origin: 50% 100%;
  transform: translateX(-50%) rotate(var(--needle-angle, -38deg));
  transition: transform .55s cubic-bezier(.22,.8,.3,1);
  z-index: 2;
  pointer-events: none;
}

.route-meter::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fdbc06;
  border: 2px solid #fff;
  box-shadow: 0 0 4px #ffdf76, 0 2px 4px #0008;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
}

.route-meter img {
  width: 100%;
  height: 100%;
}

.route-meter.is-updating {
  animation: route-meter-pulse .8s ease;
}

.route-meter[data-level="low"] {
  filter: saturate(1.1) brightness(1.05);
}

.route-meter[data-level="medium"] {
  filter: saturate(1.2) brightness(1.08);
}

.route-meter[data-level="high"] {
  filter: saturate(.9) brightness(.96);
}

@keyframes route-meter-pulse {
  0% { transform: translateX(-50%) scale(1); }
  45% { transform: translateX(-50%) scale(1.08); }
  100% { transform: translateX(-50%) scale(1); }
}

.route-time {
  position: absolute;
  top: 103rem;
  left: 0;
  width: 100%;
  font-weight: 900;
  font-size: 24rem;
  line-height: 30rem;
  text-transform: uppercase;
}

.route-time small {
  font-size: 14rem;
  font-weight: 700;
}

.hero-art {
  position: absolute;
  left: 530rem;
  top: 414rem;
  width: 601rem;
  height: 460rem;
}

.hero-banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

.art-phone {
  left: 110rem;
  top: 0;
  width: 381rem;
  height: 346rem;
}

.art-coins {
  left: 58rem;
  top: 106rem;
  width: 462rem;
  height: 260rem;
}

.art-characters {
  left: 108rem;
  top: 134rem;
  width: 295rem;
  height: 312rem;
}

.art-fish {
  left: 279rem;
  top: 169rem;
  width: 212rem;
  height: 221rem;
}

.art-ribbon {
  left: 0;
  top: 206rem;
  width: 601rem;
  height: 259rem;
}

.rebate {
  position: absolute;
  left: 83rem;
  top: 334rem;
  width: 434rem;
  text-align: center;
  text-transform: uppercase;
  font: 400 28rem/1.31 'BBH Hegarty', sans-serif;
  color: #ffce50;
  text-shadow: 0 3rem 4rem #0004;
}

.download-banner {
  position: absolute;
  left: 200rem;
  top: 903rem;
  width: 740rem;
  height: 120rem;
  border: 1rem solid var(--gold);
  border-radius: 20rem;
  overflow: hidden;
  background: #2c2c2c url('images/casino-entrance.jpg') -26rem -113rem/1064rem 728rem;
}

.download-phone {
  position: absolute;
  width: 326rem;
  height: 307rem;
  left: -20rem;
  top: -90rem;
  max-width: none;
}

.download-glow {
  position: absolute;
  width: 96rem;
  height: 294rem;
  left: 252rem;
  top: -61rem;
  background: #db0202;
  filter: blur(30rem);
}

.download-banner::before {
  content: '';
  position: absolute;
  inset: -10rem;
  background: inherit;
  filter: blur(10rem);
}

.download-overlay {
  position: absolute;
  left: -1rem;
  top: -11rem;
  width: 1000rem;
  height: 149rem;
}

.download-overlay img {
  width: 100%;
  height: 100%;
  max-width: none;
}

.download-banner h2 {
  position: absolute;
  left: 201rem;
  top: 11rem;
  font-size: 30rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: #ffdc83;
}

.store-link {
  position: absolute;
  top: 38rem;
  height: 75rem;
  overflow: hidden;
}

.store-link img {
  position: absolute;
  max-width: none;
  height: 100.21%;
  top: -.11%;
}

.google-play {
  left: 250rem;
  width: 147rem;
}

.google-play img {
  width: 208.7%;
  left: -103.84%;
}

.apple-store {
  left: 397rem;
  width: 155rem;
}

.apple-store img {
  width: 199.51%;
  left: -4.16%;
}

.qr-code {
  position: absolute;
  width: 100rem;
  height: 100rem;
  right: 9rem;
  top: 9rem;
  border-radius: 5rem;
}

.desktop-support {
  position: fixed;
  z-index: 20;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10rem;
}

.desktop-support button {
  border: 0;
  background: url('images/social-button-background.svg') center/100% 100%;
  width: 60rem;
  height: 60rem;
  display: grid;
  place-items: center;
  padding: 0;
  filter: drop-shadow(0 0 4rem #fbcb46);
}

.desktop-support img {
  width: 40rem;
  height: 34rem;
  object-fit: contain;
}

.desktop-support button:first-child img {
  width: 21rem;
  height: 40rem;
}

.about {
  height: 1080rem;
  position: relative;
  background: #000;
  isolation: isolate;
  overflow: hidden;
}

.about-background {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(#5d450033, #5d450033);
}

.about-background::before {
  content: '';
  position: absolute;
  width: 2076rem;
  height: 2076rem;
  top: -854rem;
  left: 50%;
  transform: translateX(-50%);
  background: url('images/about-casino-background.png') center/cover;
  opacity: .2;
}

.about-curve {
  position: absolute;
  z-index: -1;
  bottom: 0;
  width: 100%;
  height: 520rem;
  background: url('images/about-curve-desktop.svg') center top/100% 100% no-repeat;
}

.about-content {
  height: 100%;
}

.platform-phone {
  position: absolute;
  width: 502rem;
  height: 685rem;
  top: 89rem;
  left: -35rem;
  max-width: none;
}

.introduction {
  position: absolute;
  left: 370rem;
  top: 165rem;
  width: 800rem;
  min-height: 350rem;
  padding: 22rem 20rem 50rem;
  text-align: center;
  background: url('images/intro-panel-desktop.svg') center/100% 100%;
  font-size: 16rem;
  font-weight: 500;
}

.introduction h2 {
  font-size: 30rem;
}

.introduction h3 {
  font-size: 20rem;
  font-weight: 900;
  margin-top: 20rem;
}

.benefits {
  position: absolute;
  left: 0;
  right: 0;
  top: 585.49rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30rem;
  align-items: end;
}

.benefit {
  min-height: 424.51rem;
  padding: 90rem 20rem 24rem;
  background: url('images/benefit-left.svg') center/100% 100%;
}

.benefit-2 {
  min-height: 381.84rem;
  padding-top: 55rem;
  background-image: url('images/benefit-center.svg');
  font-weight: 500;
}

.benefit-3 {
  background-image: url('images/benefit-right.svg');
}

.benefit h3, .game-copy h3, .phone-card h3 {
  font-size: 20rem;
  font-weight: 900;
  line-height: 1.28;
  text-transform: uppercase;
}

.benefit h3, .game-copy h3 {
  margin-bottom: 25rem;
}

.benefit-3 h3 {
  font-style: italic;
}

.games {
  min-height: 1080rem;
  position: relative;
  padding: 30rem 0 40rem;
  isolation: isolate;
}

.games::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 300rem;
  background: linear-gradient(#07090e99, #07090e99), url('images/pc-hero-cover.png') center/cover;
}

.section-heading {
  text-align: center;
  font-size: 20rem;
  font-weight: 500;
  min-height: 90rem;
  line-height: 1.2;
}

.section-heading .gold-heading {
  line-height: 1.2;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30rem;
  margin-top: 30rem;
}

.game-card {
  border: 1rem solid #fdbc06;
  border-radius: 20rem;
  overflow: hidden;
  background: var(--card);
  min-height: 650rem;
}

.game-art {
  height: 214rem;
  overflow: hidden;
}

.game-art img {
  width: 628rem;
  height: 220rem;
  max-width: none;
  object-fit: cover;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.game-card:nth-child(2) .game-art img {
  width: 100%;
  height: 100%;
}

.game-copy {
  padding: 20rem 19rem;
}

.comparison {
  margin-top: 40rem;
  border: 1rem solid #5b4302;
  border-radius: 20rem;
  overflow: hidden;
  background: var(--card);
}

table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  text-align: center;
  text-transform: capitalize;
  font-weight: 600;
}

th, td {
  height: 50rem;
  padding: 8rem;
  border-right: 1rem solid #5b4302;
  border-bottom: 1rem solid #5b4302;
}

th {
  font-size: 20rem;
  font-weight: 900;
}

tr:last-child td {
  border-bottom: 0;
}

th:last-child, td:last-child {
  border-right: 0;
}

.join {
  padding-top: 30rem;
}

.join-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30rem;
  margin-top: 40rem;
  padding-right: 10rem;
  padding-bottom: 30rem;
}

.phone-card {
  border-radius: 28rem;
  padding: 20rem 32rem;
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 10rem;
  min-height: 530rem;
  scroll-margin-top: 20px;
}

.phone-notch {
  width: 110rem;
  height: 10rem;
  border-radius: 10rem;
  background: #fff;
  margin: 0 auto;
  flex-shrink: 0;
}

.phone-card h3 {
  white-space: nowrap;
}

.phone-copy {
  min-height: 162rem;
  margin-top: -2rem;
}

.app-preview, .register-preview {
  width: 100%;
  height: 200rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 20rem;
  background: #1b1f2b;
  position: relative;
}

.app-preview img {
  position: absolute;
  width: 387rem;
  height: 188rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.register-preview {
  background: #000;
}

.register-preview img {
  width: 256rem;
  height: 322rem;
  margin-inline: auto;
}

.cta {
  width: 100%;
  border: 0;
  border-radius: 8rem;
  background: #ffb800;
  padding: 12rem 20rem;
  font: 700 20rem/1.3 'DM Sans', sans-serif;
  text-transform: uppercase;
}

.conclusion {
  min-height: 360rem;
  text-align: center;
  font-size: 20rem;
  font-weight: 500;
  padding: 60rem 0;
  background-image: linear-gradient(#201906e6, #201906e6), url('images/pc-final-cta-section.png');
  background-position: center;
  /* The source artwork has empty bands above/below; oversize vertically and
     center it so the artwork itself fills the CTA box at every breakpoint. */
  background-size: 100% 170%;
  background-repeat: no-repeat;
  background-color: #201906;
}

.domain-button {
  background: #ffb800;
  border: 0;
  border-radius: 12rem;
  padding: 20rem 40rem;
  font-size: 20rem;
  font-weight: 900;
  margin-top: 30rem;
}

.site-footer {
  background: #000;
  min-height: 500rem;
  padding: 22rem 0 40rem;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10rem;
  width: 1270rem;
  max-width: calc(100% - 32px);
  margin-inline: auto;
}

.provider {
  height: 60rem;
  display: grid;
  place-items: center;
  overflow: visible;
  position: relative;
  transition: transform .18s ease, filter .18s ease;
}

.provider:hover, .provider:focus-within {
  z-index: 2;
  transform: scale(1.08);
  filter: brightness(1.15);
}

.provider img {
  width: 130rem;
  height: 65rem;
  object-fit: cover;
}

.provider:first-child img {
  width: 140rem;
  height: 48rem;
}

.provider:nth-child(2) img, .provider:nth-child(3) img, .provider:nth-child(9) img, .provider:nth-child(10) img, .provider:nth-child(25) img, .provider:nth-child(26) img {
  width: 100rem;
  height: 50rem;
}

.provider:nth-child(4) img, .provider:nth-child(17) img {
  width: 140rem;
  height: 70rem;
}

.provider:nth-child(12) img {
  width: 120rem;
  height: 60rem;
}

.footer-support {
  width: 446rem;
  margin: 40rem auto 0;
  font: 500 20rem/1.2 'Montserrat', sans-serif;
}

.support-logos {
  display: flex;
  gap: 15rem;
  margin-top: 14rem;
}

.support-logos img:first-child {
  width: 308rem;
  height: 45rem;
}

.support-logos img:last-child {
  width: 123rem;
  height: 45rem;
}

.copyright {
  margin-top: 20rem;
  text-align: center;
  font: 500 20rem/1.2 'Montserrat', sans-serif;
}

.link-notice {
  font-size: 16px;
  width: min(400px, calc(100% - 32px));
  border: 1px solid #fdbc06;
  border-radius: 16px;
  padding: 24px;
  background: #241d0c;
  color: white;
}

.link-notice::backdrop {
  background: #000a;
}

.link-notice h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.link-notice p {
  margin-bottom: 20px;
}

.link-notice .cta {
  font-size: 16px;
  padding: 12px;
  border-radius: 8px;
}

@media (min-width: 1024px) and (max-width: 1500px) {
  .desktop-support {
    right: 16px;
  }
}

/* Keep the complete desktop hero visible on shorter screens while preserving
   the 1920x1080 composition at full height. */
@media (min-width: 1024px) and (max-height: 1079px) {
  :root {
    --desktop-hero-scale: min(1, calc(100vh / 1080rem));
  }

  .hero {
    height: 100vh;
  }

  .hero-stage {
    transform: scale(var(--desktop-hero-scale));
    transform-origin: top center;
  }

  .hero::before,
  .hero::after {
    height: 100%;
  }
}

@media (max-width: 1023px) {
  :root {
    font-size: 1px;
  }

  body {
    font-size: 12rem;
    line-height: 1.25;
  }

  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  .container {
    width: calc(100% - 20px);
    max-width: 740px;
    padding-bottom: 20px;
  }

  .gold-heading {
    font-size: 16rem;
    line-height: 1.3;
  }

  .hero {
    height: 900px;
  }

  .hero::before {
    width: 1506px;
    height: 844px;
    top: 28px;
    transform: translateX(-50%);
  }

  .hero::after {
    width: 100%;
    height: 100%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: url('images/hero-roulette-mobile.png') center/cover no-repeat;
    opacity: .68;
    mix-blend-mode: screen;
  }

  .festival-banner {
    height: 57px;
  }

  .festival-banner img {
    object-fit: contain;
    height: 100%;
    background: #442a00;
  }

  .hero-stage {
    width: min(100%, 390px);
    height: 900px;
  }

  .brand {
    width: 180px;
    height: 41px;
    top: 77px;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-title {
    width: 100%;
    height: 23px;
    top: 138px;
    left: 0;
    font-size: clamp(13px, 5.3vw, 19px);
    letter-spacing: 2px;
    line-height: 23px;
    -webkit-text-stroke: .6px #FFE36A;
  }

  .route-panel {
    left: 50%;
    transform: translateX(-50%);
    top: 181px;
    width: 300px;
    height: 300px;
    padding: 65px 20px 25px;
  }

  .route-panel::before, .route-panel::after {
    top: 20px;
    border-radius: 10px;
  }

  .route-panel::after {
    background-size: 848px 566px;
    background-position: -256px -243px;
  }

  .route-panel h2 {
    left: 0;
    width: 300px;
    height: 44px;
    background-image: url('images/link-heading-mobile.svg');
    background-size: 213px 44px;
    font-size: 20px;
    padding-top: 8px;
  }

  .route-grid {
    gap: 20px;
  }

  .route-card {
    height: 105px;
  }

  .route-label {
    width: 50px;
    height: 20px;
    padding: 2px 0;
  }

  .route-meter {
    width: 80px;
    height: 46px;
  }

  .route-meter::after {
    bottom: 11px;
    width: 2px;
    height: 24px;
  }

  .route-meter::before {
    bottom: 6px;
    width: 8px;
    height: 8px;
    border-width: 1.5px;
  }

  .route-time {
    top: 74px;
    font-size: 16px;
    line-height: 28px;
  }

  .route-time .mobile-only {
    display: inline !important;
  }

  .route-time small {
    font-size: 12px;
  }

  .hero-art {
    left: 50%;
    top: 710px;
    transform: translateX(-50%);
    width: 306px;
    height: 180px;
  }

  .art-phone {
    left: 70.84px;
    top: 0;
    width: 161px;
    height: 146px;
  }

  .art-coins {
    display: none;
  }

  .art-characters {
    left: 57.56px;
    top: .28px;
    width: 157.5px;
    height: 166.35px;
  }

  .art-fish {
    left: 148.95px;
    top: 19.3px;
    width: 113.04px;
    height: 117.96px;
  }

  .art-ribbon {
    left: 0;
    top: 35px;
    width: 306px;
    height: 132px;
  }

  .rebate {
    left: 28px;
    top: 100px;
    width: 250px;
    font-size: 16px;
    line-height: 1.22;
  }

  .download-banner {
    width: 300px;
    height: 60px;
    left: 50%;
    transform: translateX(-50%);
    top: 501px;
    border-radius: 5px;
  }

  .download-phone {
    width: 115px;
    height: 108px;
    left: -1px;
    top: -17px;
  }

  .download-glow {
    width: 48px;
    height: 144px;
    left: 95px;
    top: -61px;
  }

  .download-overlay {
    left: -121px;
  }

  .download-banner h2 {
    left: 74px;
    top: 6px;
    font-size: 16px;
  }

  .store-link {
    top: 19.4px;
    height: 41.6px;
  }

  .google-play {
    left: 98px;
    width: 81.66px;
  }

  .apple-store {
    left: 179.66px;
    width: 85.67px;
  }

  .qr-code {
    display: none;
  }

  .mobile-support {
    position: absolute;
    top: 591px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }

  .mobile-support button {
    height: 30px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(90deg, #997510, #ffc31b);
    box-shadow: 0 2px #b8880b, 0 4px 6px #ffb800, inset 0 0 10px #ffbc00;
    display: flex;
    gap: 5px;
    align-items: center;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 600;
    text-transform: capitalize;
  }

  .mobile-support img {
    width: 20px;
    height: 20px;
    object-fit: contain;
  }

  .mobile-support button:first-child img {
    width: 24px;
  }

  .about {
    height: 1082px;
    min-height: 0;
    overflow: hidden;
  }

  .about-background::before {
    width: 663px;
    height: 663px;
    top: -93px;
  }

  .about-content {
    padding-top: 23px;
    padding-bottom: 30px;
  }

  .about-curve {
    height: 550px;
    background-image: url('images/about-curve-mobile.svg');
  }

  .introduction {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    min-height: 330px;
    padding: 27px 15px 47px;
    font-size: 12px;
    background-image: url('images/intro-panel-mobile.svg');
    background-size: 100% 302px;
    background-position: center top;
    background-repeat: no-repeat;
  }

  .introduction h2 {
    font-size: 16px;
  }

  .introduction h3 {
    font-size: 13px;
    margin-top: 20px;
  }

  .platform-phone {
    width: 282px;
    height: 386px;
    top: 336px;
    left: calc(50% - 119px);
  }

  .benefits {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 139.84px;
  }

  .benefit {
    width: 100%;
    min-height: 0;
    padding: 20px 15px;
    border-radius: 10px;
    background: var(--card);
  }

  .benefit-1 {
    min-height: 240.16px;
    padding: 49.16px 10px 20px;
    background: url('images/benefit-mobile.svg') center/100% 100%;
  }

  .benefit-2 {
    min-height: 151px;
  }

  .benefit-3 {
    min-height: 148px;
    text-transform: uppercase;
  }

  .benefit h3, .game-copy h3, .phone-card h3 {
    font-size: 14px;
    line-height: 1.28;
  }

  .benefit h3, .game-copy h3 {
    margin-bottom: 0;
  }

  .games {
    height: 1752px;
    min-height: 0;
    overflow: hidden;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .games::before {
    height: 200px;
    background-size: auto, 1279px 200px;
  }

  .section-heading {
    font-size: 12px;
    min-height: 84px;
  }

  .game-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 46px;
  }

  .game-card {
    height: 500px;
    min-height: 0;
    box-sizing: border-box;
  }

  .game-card:nth-child(2) {
    height: 422px;
    min-height: 0;
  }

  .game-card:nth-child(3) {
    height: 410px;
    min-height: 0;
  }

  .game-copy {
    padding: 20px 14px;
  }

  .comparison {
    margin-top: 10px;
    border-radius: 10px;
    height: 200px;
    box-sizing: border-box;
  }

  th, td {
    height: 50px;
    padding: 5px 2px;
  }

  th {
    font-size: 12px;
  }

  td {
    font-size: 10px;
  }

  th:nth-child(2) {
    width: 35%;
  }

  .join {
    padding-top: 30px;
    height: 1327px;
    min-height: 0;
    overflow: hidden;
  }

  .join-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 30px;
    padding: 0;
  }

  .phone-card {
    min-height: 0;
    padding: 20px 10px;
    border-radius: 28px;
  }

  .phone-card h3 {
    white-space: normal;
  }

  .phone-copy {
    min-height: 0;
  }

  .app-preview, .register-preview {
    height: 150px;
    border-radius: 10px;
  }

  .app-preview img {
    width: 305px;
    height: 148px;
    max-width: 100%;
    object-fit: contain;
  }

  .register-preview img {
    width: 184px;
    height: 232px;
  }

  .cta {
    font-size: 16px;
    height: 45px;
    padding: 12px 20px;
  }

  .conclusion {
    height: 226px;
    min-height: 0;
    box-sizing: border-box;
    overflow: hidden;
    padding: 30px 0 32px;
    font-size: 12px;
    background-size: 100% 170%;
  }

  .domain-button {
    height: 40px;
    margin-top: 30px;
    padding: 10px 40px;
    font-size: 16px;
  }

  .site-footer {
    height: 143px;
    min-height: 143px;
    padding: 0;
    overflow: hidden;
    position: relative;
    background: #000 url('images/footer-h5.png') center/100% 100% no-repeat;
  }

  .provider-grid {
    display: none !important;
  }

  .provider {
    height: 54px;
    min-width: 0;
  }

  .provider img, .provider:first-child img, .provider:nth-child(2) img, .provider:nth-child(3) img,
  .provider:nth-child(4) img, .provider:nth-child(9) img, .provider:nth-child(10) img,
  .provider:nth-child(12) img, .provider:nth-child(17) img, .provider:nth-child(25) img,
  .provider:nth-child(26) img {
    width: 100%;
    height: 48px;
    max-width: 100%;
    object-fit: contain;
  }

  .footer-support {
    display: none !important;
  }

  .support-logos {
    margin-top: 4px;
  }

  .support-logos {
    gap: 12px;
  }

  .support-logos img:first-child {
    width: min(214px, 68%);
    height: auto;
  }

  .support-logos img:last-child {
    width: min(86px, 28%);
    height: auto;
  }

  .copyright {
    display: none !important;
  }
}

@media (min-width: 540px) and (max-width: 1023px) {
  /* iPad/tablet uses the H5 composition at a larger presentation scale. */
  :root {
    --tablet-hero-scale: clamp(1.35, calc((100vw - 20px) / 390px), 1.9);
  }

  .hero {
    height: calc(900px * var(--tablet-hero-scale));
  }

  .hero::before {
    width: 2033px;
    height: 100%;
    top: 50%;
  }

  .hero::after {
    width: 2092px;
    width: 100vw;
    height: 100%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: url('images/hero-roulette-mobile.png') center/cover no-repeat;
    opacity: .68;
    mix-blend-mode: screen;
  }

  .festival-banner {
    height: 77px;
  }

  .festival-banner img {
    width: 100%;
    height: 100%;
    object-fit: fill;
  }

  .hero-stage {
    transform: scale(var(--tablet-hero-scale));
    transform-origin: top center;
  }

  /* Keep the scaled logo flush with the scaled festival banner on all
     tablet widths (iPad mini/Air and Surface Duo). */
  .brand {
    top: 77px;
  }

  body {
    font-size: 15px;
  }

  .gold-heading {
    font-size: 24px;
  }

  .introduction {
    max-width: 540px;
    margin-inline: auto;
  }

  .benefits {
    margin-top: 140px;
  }

  .benefit {
    padding: 25px;
  }

  .benefit-1 {
    padding-top: 50px;
  }

  .benefit h3, .game-copy h3, .phone-card h3 {
    font-size: 18px;
  }

  .section-heading, .conclusion {
    font-size: 15px;
  }

  .game-copy {
    padding: 24px;
  }

  .game-art {
    height: 300px;
  }

  .game-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .game-card, .game-card:nth-child(2), .game-card:nth-child(3) {
    min-height: 0;
  }

  .games {
    min-height: 0;
  }

  .phone-card {
    padding: 24px;
  }

  .app-preview, .register-preview {
    height: 200px;
  }

  .app-preview img {
    width: 387px;
    height: 188px;
  }

  .register-preview img {
    width: 256px;
    height: 322px;
  }

  th {
    font-size: 16px;
  }

  td {
    font-size: 13px;
  }
}

@media (max-width: 359px) {
  .hero-art {
    width: 300px;
    transform: translateX(-50%) scale(.935);
    transform-origin: top center;
  }

  .introduction {
    min-height: 365px;
    background-size: 100% 100%;
  }

  .platform-phone {
    top: 371px;
  }

  .game-card, .game-card:nth-child(2), .game-card:nth-child(3) {
    min-height: 0;
  }

  .copyright {
    font-size: 11px;
  }
}

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

  button, a {
    transition: none;
  }
}
