:root {
  color-scheme: dark;
  --navy-950: #021726;
  --navy-900: #03263b;
  --navy-800: #063c58;
  --navy-700: #075a73;
  --cyan-500: #18c8da;
  --cyan-300: #69ebf2;
  --gold-500: #ffca28;
  --gold-300: #ffe681;
  --white: #fff;
  --muted: #a8d6df;
  --shell-width: 500px;
  --section-gap: 10px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-panel: 0 8px 24px rgba(0, 16, 29, .3);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 280px;
  min-height: 100%;
  margin: 0;
}

html {
  background: #06374a;
  scroll-behavior: smooth;
}

body {
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 50% -10%, rgba(53, 221, 233, .55), transparent 36%),
    linear-gradient(180deg, #0a7184 0%, #06394e 40%, #021826 100%);
}

body.modal-open {
  overflow: hidden;
}

button,
input,
a {
  font: inherit;
}

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

button {
  cursor: pointer;
}

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

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 50%;
  padding: 10px 16px;
  color: var(--navy-950);
  background: var(--gold-500);
  border-radius: 10px;
  font-weight: 900;
  transform: translate(-50%, -180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.app-shell {
  position: relative;
  width: min(100%, var(--shell-width));
  min-height: 100svh;
  margin: 0 auto;
  overflow-x: clip;
  background:
    radial-gradient(circle at 100% 8%, rgba(40, 209, 224, .16), transparent 30%),
    linear-gradient(180deg, #073f5c 0%, #042c44 34%, #031d30 100%);
  box-shadow: 0 0 42px rgba(0, 12, 23, .48);
}

.brand-header {
  position: sticky;
  z-index: 40;
  top: 0;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 14px;
  background: rgba(2, 28, 45, .96);
  border-bottom: 1px solid rgba(62, 224, 237, .42);
  box-shadow: 0 5px 18px rgba(0, 17, 29, .32);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  width: 132px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .34));
}

.language-badge {
  min-width: 88px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  color: #e9fbfd;
  background: #064d68;
  border: 1px solid rgba(102, 232, 242, .52);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
  font-size: 12px;
}

.language-badge span {
  font-size: 17px;
}

.language-badge strong {
  white-space: nowrap;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 8px 9px;
  background: linear-gradient(180deg, #064b68, #043650);
  border-bottom: 2px solid #10aebf;
}

.trust-strip article {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 3px 5px;
  border-right: 1px solid rgba(89, 217, 230, .2);
}

.trust-strip article:last-child {
  border-right: 0;
}

.trust-strip svg {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #24e1ed;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(36, 225, 237, .42));
}

.trust-strip article > span,
.trust-strip strong,
.trust-strip small {
  min-width: 0;
  display: block;
}

.trust-strip strong {
  font-size: 11px;
  line-height: 1.05;
}

.trust-strip small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.05;
}

main {
  display: grid;
  gap: var(--section-gap);
  padding: 10px 8px calc(105px + env(safe-area-inset-bottom));
}

main:focus {
  outline: none;
}

.campaign-section,
.content-section,
.platform-stats {
  overflow: hidden;
  border: 1px solid rgba(50, 211, 225, .43);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(33, 197, 214, .14), transparent 34%),
    linear-gradient(180deg, rgba(7, 66, 90, .98), rgba(3, 38, 57, .98));
  box-shadow: var(--shadow-panel), inset 0 1px 0 rgba(255, 255, 255, .07);
}

.campaign-section,
.content-section {
  padding: 12px;
}

.section-eyebrow {
  color: var(--gold-500);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}

h1,
h2 {
  margin: 4px 0 10px;
  color: #f5fdff;
  line-height: 1.12;
  letter-spacing: -.02em;
}

h1 {
  font-size: clamp(21px, 6vw, 29px);
}

h2 {
  font-size: clamp(18px, 5vw, 23px);
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
}

.campaign-art {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 468;
  object-fit: contain;
  border: 1px solid rgba(255, 221, 77, .78);
  border-radius: 11px;
  background: #07516f;
  box-shadow: 0 6px 18px rgba(0, 15, 29, .32);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 9px;
}

.benefit-grid article {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 8px 3px;
  color: #073349;
  text-align: center;
  background: linear-gradient(180deg, #dffcff, #9ee8ef);
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 9px;
  box-shadow: inset 0 1px 0 #fff, 0 3px 7px rgba(0, 21, 34, .22);
}

.benefit-grid article > span {
  font-size: 20px;
}

.benefit-grid strong,
.benefit-grid small {
  display: block;
}

.benefit-grid strong {
  font-size: clamp(8.5px, 2vw, 10px);
  line-height: 1.16;
}

.benefit-grid small {
  color: #174f63;
  font-size: clamp(7px, 1.65vw, 8px);
  font-weight: 700;
  line-height: 1.2;
}

.primary-cta,
.secondary-cta,
.fixed-register {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 950;
  letter-spacing: .03em;
  text-align: center;
}

.primary-cta {
  min-height: 51px;
  gap: 11px;
  margin-top: 10px;
  color: #102633;
  background: linear-gradient(180deg, #fff06c, #ffb914);
  border: 2px solid #fff19a;
  box-shadow: 0 5px 14px rgba(255, 183, 19, .25), inset 0 2px 2px rgba(255, 255, 255, .55);
  font-size: 15px;
}

.primary-cta span,
.secondary-cta span {
  font-size: 25px;
  line-height: 1;
}

.agent-section {
  background:
    radial-gradient(circle at 0 0, rgba(16, 228, 164, .15), transparent 34%),
    linear-gradient(180deg, #064f66, #043447);
}

.agent-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 9px 0;
}

.agent-points span {
  min-width: 0;
  padding: 7px 4px;
  text-align: center;
  background: rgba(2, 35, 48, .72);
  border: 1px solid rgba(60, 225, 185, .33);
  border-radius: 9px;
}

.agent-points strong,
.agent-points small {
  display: block;
}

.agent-points strong {
  color: #5ff0b8;
  font-size: 12px;
}

.agent-points small {
  margin-top: 2px;
  color: #c0e7e6;
  font-size: 8px;
}

.secondary-cta {
  min-height: 44px;
  gap: 8px;
  color: #063d42;
  background: linear-gradient(180deg, #8ff6cc, #32d594);
  border: 1px solid #c7ffe7;
  font-size: 13px;
}

.platform-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background:
    radial-gradient(circle at 50% -30%, rgba(27, 214, 234, .25), transparent 46%),
    linear-gradient(180deg, #074f6b, #032d45);
}

.platform-stats article {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 10px 4px;
  text-align: center;
  border-right: 1px solid rgba(103, 222, 234, .17);
}

.platform-stats article:last-child {
  border-right: 0;
}

.platform-stats svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: #1ee3ef;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.platform-stats p {
  min-width: 0;
  margin: 0;
}

.platform-stats strong,
.platform-stats span {
  display: block;
}

.platform-stats strong {
  font-size: clamp(8px, 2.7vw, 12px);
  line-height: 1.05;
}

.platform-stats span {
  margin-top: 2px;
  color: #b9e9ee;
  font-size: clamp(7px, 2vw, 9px);
  line-height: 1.1;
}

.text-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #4ce4ef;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.text-link span {
  font-size: 18px;
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.game-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(72, 218, 232, .36);
  border-radius: 10px;
  background: #073c59;
  box-shadow: 0 4px 10px rgba(0, 18, 31, .34);
}

.game-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 224 / 288;
  object-fit: contain;
}

.game-card span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 20px 7px 7px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 25, 39, .96));
  font-size: 10px;
  font-weight: 850;
  line-height: 1.15;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.game-card::after {
  content: "Play";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #062d41;
  background: rgba(255, 207, 44, .9);
  font-size: 13px;
  font-weight: 950;
  opacity: 0;
  transition: opacity 150ms ease;
}

@media (hover: hover) {
  .game-card:hover::after,
  .game-card:focus-visible::after {
    opacity: 1;
  }
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.reasons-grid article {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(13, 99, 123, .72), rgba(5, 54, 75, .9));
  border: 1px solid rgba(70, 219, 232, .25);
  border-radius: 10px;
}

.reason-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #063f53;
  background: linear-gradient(180deg, #70edf3, #1ebbc9);
  border-radius: 11px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
}

.reason-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reasons-grid p,
.reasons-grid strong,
.reasons-grid small {
  min-width: 0;
  display: block;
  margin: 0;
}

.reasons-grid strong {
  font-size: 11px;
  line-height: 1.15;
}

.reasons-grid small {
  margin-top: 3px;
  color: #a8d9e0;
  font-size: 8px;
  line-height: 1.2;
}

.provider-rail {
  display: flex;
  gap: 8px;
  padding: 2px 1px 5px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(58, 211, 224, .55) transparent;
}

.provider-card {
  flex: 0 0 98px;
  min-height: 90px;
  display: grid;
  grid-template-rows: 56px auto;
  place-items: center;
  padding: 9px 10px 8px;
  background: linear-gradient(180deg, #0b6580, #063b57);
  border: 1px solid rgba(77, 223, 235, .35);
  border-radius: 10px;
  scroll-snap-align: start;
}

.provider-card img {
  width: 76px;
  height: 52px;
  object-fit: contain;
  transform: scale(var(--logo-scale, 1));
  transform-origin: center;
}

.provider-card small {
  position: relative;
  z-index: 2;
  margin-top: 3px;
  color: #d4f6f8;
  font-size: 9px;
  font-weight: 800;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 22px 12px 10px;
  color: #90b9c2;
  text-align: center;
}

.site-footer img {
  width: 112px;
  margin-bottom: 5px;
  opacity: .9;
}

.site-footer p {
  margin: 0;
  font-size: 10px;
}

.site-footer .age-note {
  margin-top: 3px;
  color: #c0e0e4;
  font-weight: 800;
}

.fixed-register-wrap {
  position: fixed;
  z-index: 60;
  right: max(8px, calc((100vw - var(--shell-width)) / 2 + 8px));
  bottom: calc(8px + env(safe-area-inset-bottom));
  left: max(8px, calc((100vw - var(--shell-width)) / 2 + 8px));
  padding: 4px;
  background: rgba(2, 24, 38, .78);
  border: 1px solid rgba(94, 224, 235, .28);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 14, 25, .46);
  backdrop-filter: blur(12px);
}

.fixed-register {
  position: relative;
  min-height: 58px;
  gap: 10px;
  color: #102633;
  background: linear-gradient(180deg, #fff16f, #ffbd16);
  border: 2px solid #fff1a1;
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, .58), 0 0 16px rgba(255, 195, 29, .24);
  font-size: 15px;
}

.fixed-register svg {
  width: 25px;
  height: 25px;
  fill: #0b4051;
  stroke: #0b4051;
  stroke-width: 1.5;
}

.fixed-register > span {
  position: absolute;
  right: 21px;
  font-size: 31px;
  line-height: 1;
}

[aria-disabled="true"] {
  cursor: not-allowed;
  filter: saturate(.8);
}

.welcome-modal {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 19, 31, .82);
  backdrop-filter: blur(5px);
}

.welcome-modal[hidden] {
  display: none;
}

.welcome-dialog {
  position: relative;
  width: min(430px, calc(100vw - 24px));
  max-height: calc(100svh - 16px);
  overflow: hidden;
  border: 2px solid #ffdd39;
  border-radius: 17px;
  background: #083e58;
  box-shadow: 0 18px 55px rgba(0, 13, 23, .68);
}

.welcome-close {
  position: absolute;
  z-index: 4;
  top: 9px;
  right: 9px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, .82);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 32, 47, .72);
  line-height: 0;
}

.welcome-close svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
}

.welcome-tabs {
  height: 47px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-right: 46px;
  background: #052f46;
}

.welcome-tabs button {
  border: 0;
  border-bottom: 3px solid transparent;
  color: #95b6c2;
  background: transparent;
  padding-inline: 3px;
  font-size: 10px;
  font-weight: 850;
}

.welcome-tabs button.active {
  color: #ffdc2f;
  border-bottom-color: #ffdc2f;
}

.welcome-art {
  display: grid;
  place-items: center;
  background: #075674;
}

.welcome-art img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100svh - 109px);
  object-fit: contain;
  margin: auto;
}

.reminder-choice {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #d8f4f7;
  background: #05384f;
  font-size: 12px;
  cursor: pointer;
}

.reminder-choice input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-500);
}

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
}

@media (max-width: 355px) {
  .brand-header {
    padding-inline: 10px;
  }

  .brand img {
    width: 118px;
  }

  .trust-strip {
    padding-inline: 5px;
  }

  .trust-strip article {
    gap: 4px;
    padding-inline: 2px;
  }

  .trust-strip svg {
    flex-basis: 21px;
    width: 21px;
    height: 21px;
  }

  .benefit-grid {
    gap: 4px;
  }

  .benefit-grid article {
    padding-inline: 2px;
  }

  .benefit-grid strong {
    font-size: 8.5px;
  }

  .benefit-grid small {
    font-size: 7px;
  }

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

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
