:root {
  --navy: #040639;
  --navy-2: #0b1e33;
  --navy-3: #10263e;
  --navy-4: #16324f;
  --bar: #040639;
  --foot: #1e1f4f;
  --pay-box: #1e1f4f;
  --pay-line: #2a2c62;
  --teal: #18bebc;
  --teal-2: #2ee0dc;
  --teal-deep: #0e8f8d;
  --green: #2ecc71;
  --green-2: #27ae60;
  --ink: #f4fbff;
  --muted: #9bb3c7;
  --line: rgba(24, 190, 188, 0.18);
  --radius: 10px;
  --mast: 72px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --scroll: rgba(255, 255, 255, 0.12);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--scroll) transparent;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--scroll) transparent;
}

*::-webkit-scrollbar {
  width: 5px;
  height: 4px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: var(--scroll);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
  background: rgba(24, 190, 188, 0.35);
}

html,
body {
  margin: 0;
  padding: 0;
  min-width: 320px;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal-2);
  text-decoration: none;
}

a:hover {
  color: #fff;
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 10000;
  background: var(--teal);
  color: #062026;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 800;
}

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

.cursor-pointer {
  cursor: pointer;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

main {
  padding: 0 24px;
  background: #040639;
}

main .wrap {
  padding-left: 0;
  padding-right: 0;
}

.mast {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--mast);
  background: var(--bar);
  border-bottom: 0;
}

.mast-inner {
  display: flex;
  align-items: center;
  min-height: var(--mast);
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 118px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  width: auto;
  height: 42px;
  min-width: 118px;
  max-width: 180px;
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.nav-primary a,
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-radius: 8px;
  white-space: nowrap;
}

.nav-primary a:hover,
.nav-primary a.is-on,
.nav-cta:hover {
  color: var(--teal-2);
  background: rgba(24, 190, 188, 0.1);
  text-decoration: none;
}

.mast-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

.menu-toggle {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.burger,
.close-nav {
  display: none;
}

.burger .ui-icon {
  width: 22px;
  height: 22px;
}

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

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

.act-login,
.act-join,
.mob-login,
.mob-join,
.hero-play,
.hero-join,
.lost-play,
.login-submit,
.step-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.act-login,
.mob-login,
.login-submit {
  background: var(--green);
  color: #08351c;
}

.act-login:hover,
.mob-login:hover,
.login-submit:hover {
  background: var(--green-2);
  color: #fff;
}

.act-join,
.mob-join,
.hero-join,
.hero-play,
.lost-play,
.step-go {
  background: var(--teal);
  color: #062026;
}

.act-join:hover,
.mob-join:hover,
.hero-join:hover,
.hero-play:hover,
.lost-play:hover,
.step-go:hover {
  background: var(--teal-2);
}

.mobile-panel {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background: var(--bar);
}

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

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #040639 0%,
    rgba(4, 6, 57, 0.96) 24%,
    rgba(4, 6, 57, 0.78) 44%,
    rgba(4, 6, 57, 0.32) 70%,
    rgba(4, 6, 57, 0.06) 88%,
    transparent 100%
  );
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 56px 0 48px;
}

.hero-mobile-visual {
  display: none;
  margin: 8px 0 20px;
}

.hero-mobile-visual img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.hero-kicker {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.lost h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero-lead,
.page-hero p {
  margin: 0 0 22px;
  color: var(--muted);
}

.hero-lead {
  max-width: 62ch;
}

.hero-actions,
.page-actions,
.lost-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.crumb a {
  color: var(--muted);
}

.page-visual,
.promo-banner {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
}

.page-visual img,
.promo-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.promo-banner {
  margin: 20px 0 8px;
}

.promo-banner img {
  max-height: 420px;
  object-fit: cover;
  object-position: center;
}

.promo-mid {
  margin: 32px 0;
}

.login-2,
.login-hero {
  max-width: 600px;
}

.login-2 img,
.login-hero img {
  max-width: 600px;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.bonus-2 {
  max-width: min(100%, 600px);
  margin-left: 0;
  margin-right: auto;
}

.bonus-2 img {
  max-width: min(100%, 600px);
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  margin-inline: 0;
}

.page-visual {
  margin: 0 0 22px;
}

.page-visual img {
  max-height: 360px;
  object-fit: cover;
  object-position: center;
}

.games-hero {
  max-width: 700px;
}

.bonus-hero {
  max-width: 600px;
}

.games-hero img,
.main-second img {
  max-width: 700px;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.bonus-hero img {
  max-width: 600px;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.main-second {
  max-width: 700px;
}

.ui-icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-search .ui-icon {
  display: block;
}

.catbar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 18px 0 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--scroll) transparent;
}

.cat-chip,
.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.cat-link:hover,
.cat-chip:hover {
  color: var(--teal-2);
  text-decoration: none;
}

.lobby {
  padding: 12px 0 8px;
}

.row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 10px;
}

.row-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.row-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.show-all,
.nav-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.nav-arrow {
  width: 32px;
  height: 32px;
  padding: 0;
}

.nav-arrow .ui-icon {
  width: 18px;
  height: 18px;
}

.row-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--scroll) transparent;
}

.tile,
.live-tile {
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--navy-3);
}

.tile {
  width: 148px;
}

.tile img {
  width: 148px;
  height: 148px;
  object-fit: cover;
}

.live-tile {
  width: 236px;
}

.live-tile img {
  width: 236px;
  height: 194px;
  object-fit: cover;
}

.tile:hover img,
.live-tile:hover img {
  transform: scale(1.04);
}

.tile img,
.live-tile img {
  transition: transform 0.25s ease;
}

.tile-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 8px 8px;
  background: linear-gradient(transparent, rgba(4, 12, 22, 0.92));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.content {
  padding: 28px 0 48px;
}

.prose {
  max-width: none;
}

.prose h2,
.prose h3 {
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.prose h2 {
  margin: 36px 0 12px;
  font-size: clamp(24px, 3vw, 32px);
}

.prose h3 {
  margin: 24px 0 8px;
  font-size: 20px;
}

.prose p,
.prose li {
  color: #d5e4ef;
}

.prose p {
  margin: 0 0 14px;
}

.prose ul,
.prose ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.prose li + li {
  margin-top: 6px;
}

.note {
  margin: 16px 0;
  padding: 14px 16px;
  border-left: 3px solid var(--teal);
  background: rgba(24, 190, 188, 0.08);
  border-radius: 0 10px 10px 0;
  color: #d7eef0;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 18px 0 24px;
}

.step-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 14px 16px;
  background: var(--navy-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal);
  color: #062026;
  font-weight: 800;
}

.check-grid {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 22px;
}

.check-grid li {
  list-style: none;
}

.faq {
  display: grid;
  gap: 10px;
  margin: 16px 0 24px;
}

.faq details {
  background: var(--navy-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 16px 8px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  padding: 12px 0;
}

.faq p {
  margin: 0 0 12px;
  color: var(--muted);
}

.login-box {
  max-width: 420px;
  margin: 0 0 28px;
  padding: 22px;
  background: var(--navy-3);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.login-box label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.fake-field {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0 0 12px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--navy);
  border: 1px solid var(--line);
  color: var(--muted);
}

.login-box .login-submit,
.login-box .act-join {
  width: 100%;
  margin-top: 6px;
}

.pay-row,
.rg-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 12px 0 20px;
}

.pay-logo,
.rg-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 41px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.pay-logo img,
.rg-logo img {
  width: 90px;
  height: auto;
  max-width: none;
  object-fit: contain;
}

.site-foot {
  background: var(--foot);
  border-top: 1px solid var(--pay-line);
  padding: 36px 0 24px;
  color: var(--muted);
}

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

.foot-brand img {
  height: 42px;
  min-width: 118px;
  width: auto;
  margin-bottom: 12px;
}

.site-foot h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
}

.site-foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-foot li + li {
  margin-top: 8px;
}

.site-foot a,
.foot-cta {
  color: var(--muted);
  font-size: 14px;
}

.foot-cta:hover,
.site-foot a:hover {
  color: var(--teal-2);
  text-decoration: none;
}

.disclaimer {
  margin: 8px 0 18px;
  padding: 16px 0;
  background: transparent;
  border: 0;
  font-size: 13px;
  line-height: 1.55;
}

.disclaimer p {
  margin: 0 0 10px;
}

.disclaimer p:last-child {
  margin: 0;
}

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

.lost {
  padding: 72px 0 80px;
  text-align: center;
}

.lost p {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 auto 22px;
}

.page-hero {
  padding: 28px 0 8px;
}

@media (max-width: 980px) {
  .hero-copy,
  .hero-lead {
    max-width: none;
    width: 100%;
  }

  .hero-bg-img,
  .hero-shade {
    display: none;
  }

  .hero {
    min-height: 0;
    background: transparent;
  }

  .hero-mobile-visual {
    display: block;
  }

  .nav-primary,
  .mast-actions {
    display: none;
  }

  .burger,
  .close-nav {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin-left: auto;
    cursor: pointer;
  }

  .burger {
    flex-direction: column;
    gap: 5px;
  }

  .burger span {
    display: none;
  }

  .mobile-panel {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(4, 12, 22, 0.72);
  }

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

  .mobile-card {
    width: min(88vw, 360px);
    height: 100%;
    margin-left: auto;
    background: var(--bar);
    padding: 18px 18px 32px;
    overflow: auto;
  }

  .close-nav {
    margin: 0 0 12px auto;
    font-size: 28px;
    color: #fff;
    line-height: 1;
  }

  .mobile-card nav {
    display: grid;
    gap: 6px;
    margin: 18px 0;
  }

  .mobile-card nav a,
  .mobile-card .nav-cta {
    display: block;
    padding: 12px 10px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
  }

  .mob-login,
  .mob-join {
    width: 100%;
    margin-top: 8px;
  }

  .live-tile {
    width: 210px;
  }

  .live-tile img {
    width: 210px;
    height: 173px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: 100%;
    padding: 0 24px;
  }

  main {
    padding: 0 24px;
  }

  main .wrap {
    padding-left: 0;
    padding-right: 0;
  }

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

  .foot-grid > :first-child {
    grid-column: 1 / -1;
  }

  .hero-copy {
    padding: 28px 0 24px;
  }

  .hero {
    min-height: 0;
  }

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

  .tile {
    width: 132px;
  }

  .tile img {
    width: 132px;
    height: 132px;
  }

  .content {
    padding-bottom: 32px;
  }
}
