:root {
  --ink: #1a0538;
  --ink-soft: #4a3a6a;
  --paper: #e8eaf2;
  --paper-2: #fff;
  --line: #d5d8e4;
  --purple: #3c008b;
  --purple-deep: #140028;
  --purple-mid: #4c00c2;
  --purple-soft: #6e28fa;
  --yellow: #ffca2f;
  --yellow-hot: #fff200;
  --teal: #00e8d0;
  --teal-deep: #00c4b0;
  --night: #140028;
  --night-2: #3a0a78;
  --pink: #ff78d2;
  --coral: #ff643c;
  --rose: #ff808c;
  --shadow: 0 12px 32px rgba(60, 0, 139, 0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1920px;
  --header: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--purple);
  text-decoration: none;
  font-weight: 700;
}

a:hover {
  color: var(--purple-mid);
}

.wrap {
  width: calc(100% - 96px);
  max-width: var(--max);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--yellow);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 8px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--night);
}

.header-bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-mark {
  display: flex;
  align-items: center;
  min-width: 128px;
  color: #fff;
  text-decoration: none;
}

.brand-word {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.16em;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
}

.site-footer .brand-word,
.site-footer.foot-light .brand-word {
  color: var(--purple);
}

.nav-toggle {
  display: none;
}

.menu-switch {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.menu-switch img {
  width: 22px;
  height: 22px;
  margin: 11px auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 8px;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: transparent;
  color: #fff;
  border-bottom-color: #fff;
}

.site-nav [role="button"][aria-label="casumo"] {
  min-height: auto;
  padding: 8px 4px;
  background: transparent;
  color: #fff;
  box-shadow: none;
  font-size: 16px;
  width: auto;
  border-radius: 0;
}

.site-nav [role="button"][aria-label="casumo"]:hover,
.site-nav [role="button"][aria-label="casumo"]:focus-visible {
  background: transparent;
  color: #fff;
  box-shadow: none;
  transform: none;
}

.site-nav .is-on {
  border-bottom: 2px solid #fff;
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--purple);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 0 #d7c8f3;
}

.ghost-link:hover {
  color: var(--purple-deep);
}

.hero-kicker.error-code {
  background: #efe8ff;
  color: var(--purple);
}

.center-actions {
  justify-content: center;
}

.cluster-actions a,
a.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--purple);
  font-weight: 800;
  text-decoration: none;
  box-shadow: none;
  border: 1px solid var(--line);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.cursor-pointer {
  cursor: pointer;
}

.outline-none {
  outline: none;
}

[role="button"][aria-label="casumo"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-align: center;
  box-shadow: none;
  transition:
    transform 0.15s ease,
    filter 0.15s ease;
}

[role="button"][aria-label="casumo"]:hover,
[role="button"][aria-label="casumo"]:focus-visible {
  transform: translateY(-1px);
  box-shadow: none;
  filter: brightness(1.05);
}

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

[role="button"][aria-label="casumo"].helm-login-orb,
[role="button"][aria-label="casumo"].promo-login-orb,
[role="button"][aria-label="casumo"].err-login-orb {
  background: transparent;
  color: #fff;
  box-shadow: none;
  border: 0;
  min-height: 40px;
  padding: 8px 12px;
}

[role="button"][aria-label="casumo"].helm-login-orb:hover,
[role="button"][aria-label="casumo"].helm-login-orb:focus-visible,
[role="button"][aria-label="casumo"].promo-login-orb:hover,
[role="button"][aria-label="casumo"].promo-login-orb:focus-visible,
[role="button"][aria-label="casumo"].err-login-orb:hover,
[role="button"][aria-label="casumo"].err-login-orb:focus-visible {
  box-shadow: none;
  transform: none;
  background: rgba(255, 255, 255, 0.08);
}

.helm-join-orb,
.promo-join-orb,
.err-join-orb,
.close-enter-nub,
.promo-claim-slab {
  min-width: 168px;
}

[role="button"][aria-label="casumo"].strip-play-nub,
[role="button"][aria-label="casumo"].safe-start-nub {
  background: #fff;
  color: var(--purple);
  box-shadow: 0 6px 0 #d7c8f3;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cluster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--ink-soft);
}

.crumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.crumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #9a8bb8;
}

.soft-card,
.game-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(22, 4, 58, 0.04);
}

.section {
  padding: 42px 0;
}

.section h2 {
  margin: 20px 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.section h3 {
  margin: 28px 0 10px;
  font-size: 1.25rem;
}

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

.section p:last-child,
.soft-card p:last-child {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.soft-card {
  padding: 16px 18px;
  max-width: 36rem;
}

.soft-card h3 {
  margin-top: 0;
}

.chip-list,
.pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.chip-list li {
  padding: 8px 12px;
  border-radius: 999px;
  background: #efe8ff;
  color: var(--purple);
  font-size: 14px;
  font-weight: 700;
}

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.game-card {
  padding: 20px;
}

.game-card img {
  width: 72px;
  height: 72px;
  margin-bottom: 12px;
  border-radius: 16px;
}

.game-card h3 {
  margin: 0 0 8px;
}

.table-wrap {
  overflow-x: auto;
  max-width: 600px;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 0;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--purple-deep);
  color: #fff;
  font-size: 14px;
}

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

tr:nth-child(even) td {
  background: #faf7ff;
}

.pay-row {
  align-items: center;
}

.pay-row li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 52px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.pay-row img {
  max-height: 28px;
  width: auto;
}

.app-band {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--ink);
}

.app-band .app-stores img {
  height: 44px;
}

.app-stores {
  display: flex;
  gap: 10px;
}

.app-stores [role="button"] {
  min-height: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
}

.app-stores img {
  height: 22px;
  width: auto;
}

.notice {
  padding: 18px 20px;
  border-left: 6px solid var(--yellow);
  background: #fff8df;
  border-radius: 12px;
}

.notice-safe {
  border-left-color: var(--teal);
  background: #e9fffb;
}

.promo-page {
  padding-bottom: 24px;
}

.promo-page .promo-filters {
  padding: 10px 0 0;
}

.promo-page .promo-hero {
  padding-top: 8px;
}

.filter-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 6px 0 4px;
}

.filter-pill,
[role="button"][aria-label="casumo"].filter-pill {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #ddd6ee;
  color: var(--purple);
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: none;
}

.filter-pill.is-on,
.filter-pill[aria-current="page"],
[role="button"][aria-label="casumo"].filter-pill.is-on {
  background: var(--purple);
  color: #fff;
}

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

.offer-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--purple);
}

.offer-head h2 img {
  width: 16px;
  height: 16px;
}

.offer-head a,
.offer-head [role="button"][aria-label="casumo"].promo-see-all-nub {
  min-height: auto;
  padding: 0;
  background: transparent;
  color: var(--purple);
  font-weight: 800;
  box-shadow: none;
}

.offer-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 20px;
  padding-bottom: 8px;
}

.offer-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
}

.offer-card .offer-face {
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
}

.offer-card img,
.offer-card .art-hit img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.offer-card .art-hit {
  width: 100%;
  border-radius: 0;
}

.offer-card .offer-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px 20px;
  flex: 1;
}

.offer-card h3 {
  margin: 0;
  color: #160428;
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.offer-card .offer-body > p {
  margin: 0;
  color: #2b1a4a;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
}

.offer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.offer-card .offer-meta {
  margin: 0;
  color: var(--purple);
  font-size: 13px;
  font-weight: 700;
}

.offer-card [role="button"][aria-label="casumo"]:not(.art-hit) {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 18px;
  background: var(--purple);
  color: #fff;
  font-size: 0.92rem;
}

.offer-card .offer-note {
  margin: 10px 6px 0;
  color: #8f879d;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 400;
}

.promo-pack,
.faq-item {
  background: #fff;
  border-radius: 20px;
  margin: 16px 0;
}

.promo-pack {
  padding: 22px 22px 8px;
}

.promo-pack summary,
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  color: var(--purple);
  font-weight: 800;
}

.promo-pack summary::-webkit-details-marker,
.faq-item summary::-webkit-details-marker {
  display: none;
}

.promo-pack summary h1,
.promo-pack h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--purple);
}

.promo-pack summary img,
.faq-item summary img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  padding: 6px;
  box-sizing: content-box;
  border-radius: 50%;
  background: #ece8f4;
}

.promo-pack[open] summary img,
.faq-item[open] summary img {
  transform: rotate(90deg);
}

.promo-pack .pack-body {
  max-height: 220px;
  overflow: auto;
  margin-top: 14px;
  padding-right: 6px;
}

.promo-pack .pack-body p {
  color: var(--ink);
}

.faq-item {
  padding: 0;
}

.faq-item summary {
  padding: 18px 20px;
}

.faq-item[open] summary {
  padding-bottom: 8px;
}

.faq-item .faq-body {
  padding: 0 20px 18px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-list .faq-item {
  margin: 0;
}

.closing {
  padding: 8px 0 48px;
}

.closing-panel {
  padding: 32px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
}

.site-footer {
  background: var(--purple-deep);
  color: #efe8ff;
  padding: 42px 0 24px;
}

.site-footer a {
  color: #fff;
}

.footer-links [role="button"][aria-label="casumo"],
.trust-links [role="button"][aria-label="casumo"]:not(.foot-go-nub):not(.promo-foot-go-nub) {
  min-height: auto;
  padding: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
  justify-content: flex-start;
  font-weight: 400;
  width: auto;
}

.footer-links [role="button"][aria-label="casumo"]:hover,
.trust-links [role="button"][aria-label="casumo"]:not(.foot-go-nub):not(.promo-foot-go-nub):hover {
  box-shadow: none;
  transform: none;
  text-decoration: underline;
}

.site-footer .brand-mark {
  color: #fff;
  margin-bottom: 12px;
}

.site-footer .brand-mark img {
  filter: brightness(0) invert(1);
}

.footer-links,
.trust-links {
  display: grid;
  gap: 8px;
}

.age-badge {
  width: 36px;
  height: 36px;
}

.footer-legal {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #c9bde4;
  font-size: 13px;
  line-height: 1.6;
}

.footer-legal p {
  margin: 0 0 10px;
}

.social-row {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.social-row [role="button"] {
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  max-width: 44px;
  min-height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.social-row img {
  width: 18px;
  height: 18px;
  max-width: none;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.error-panel {
  max-width: 640px;
  margin: 48px auto 64px;
  padding: 36px;
  background: #fff;
  border-radius: 24px;
  text-align: center;
}

@media (max-width: 980px) {
  .split,
  .app-band {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .menu-switch {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .site-nav {
    display: flex;
    margin-left: auto;
  }

  .header-bar {
    flex-wrap: nowrap;
    min-height: 56px;
  }

  .brand-mark {
    min-width: 0;
    width: auto;
  }

  .brand-word {
    font-size: 1.15rem;
    letter-spacing: 0.12em;
  }

  .closing-panel,
  .error-panel {
    padding: 22px;
  }

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

  [role="button"][aria-label="casumo"] {
    width: 100%;
  }

  .helm-login-orb,
  .helm-join-orb,
  .promo-login-orb,
  .promo-join-orb,
  .err-login-orb,
  .err-join-orb,
  .social-row [role="button"],
  .site-nav [role="button"][aria-label="casumo"],
  .footer-links [role="button"][aria-label="casumo"],
  [role="button"][aria-label="casumo"].game-tile,
  [role="button"][aria-label="casumo"].feat-card,
  [role="button"][aria-label="casumo"].thumb-hit,
  .game-actions [role="button"][aria-label="casumo"],
  [role="button"][aria-label="casumo"].art-hit,
  [role="button"][aria-label="casumo"].logo-hit,
  [role="button"][aria-label="casumo"].play-dot,
  [role="button"][aria-label="casumo"].pay-jump-nub,
  [role="button"][aria-label="casumo"].safe-jump-nub,
  [role="button"][aria-label="casumo"].about-cas-nub,
  [role="button"][aria-label="casumo"].promo-see-all-nub,
  [role="button"][aria-label="casumo"].filter-pill,
  .offer-card [role="button"][aria-label="casumo"],
  .dock-bar [role="button"][aria-label="casumo"] {
    width: auto;
  }
}

@media (max-width: 420px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: calc(100% - 32px);
  }
}

.subnav {
  background: var(--night-2);
  padding: 10px 0 14px;
  overflow: hidden;
}

.subnav-row {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.subnav-row::-webkit-scrollbar,
.grab-row::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.grab-row {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.subnav-row.is-dragging,
.grab-row.is-dragging {
  cursor: grabbing;
}

.subnav-row.is-dragging > *,
.grab-row.is-dragging > * {
  pointer-events: none;
}

.sub-ico,
.sub-home,
.sub-pill {
  flex: 0 0 auto;
  min-height: 44px;
  border-radius: 14px;
  color: #fff;
}

.sub-ico,
.sub-home {
  width: 44px;
  height: 44px;
  padding: 0;
}

.sub-ico img,
.sub-home img,
.sub-pill img {
  width: 20px;
  height: 20px;
  filter: invert(1);
}

.sub-home img {
  filter: none;
}

[role="button"][aria-label="casumo"].sub-ico,
[role="button"][aria-label="casumo"].sub-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: none;
  padding: 8px 14px;
}

[role="button"][aria-label="casumo"].sub-ico,
[role="button"][aria-label="casumo"].sub-home {
  padding: 0;
  min-width: 44px;
}

[role="button"][aria-label="casumo"].sub-home {
  background: #fff;
  color: var(--purple);
  box-shadow: none;
}

[role="button"][aria-label="casumo"].sub-pill[aria-current="page"] {
  background: rgba(255, 255, 255, 0.16);
}

.sub-home {
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--purple);
}

.sub-pill {
  gap: 8px;
}

a.sub-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

a.sub-pill[aria-current="page"] {
  background: rgba(255, 255, 255, 0.16);
}

a.sub-pill img {
  filter: invert(1);
}

.shelf {
  padding: 28px 0 18px;
}

.shelf-dark {
  background: var(--night);
  color: #fff;
}

.shelf-light {
  background: var(--paper);
}

.shelf-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--purple);
}

.shelf-head img {
  width: 28px;
  height: 28px;
}

.shelf-dark .shelf-head {
  color: #fff;
}

.shelf-dark .shelf-head img {
  filter: invert(1);
}

.shelf-dark .shelf-head img[src*="0123"] {
  filter: none;
}

.tile-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.tile-row::-webkit-scrollbar {
  display: none;
}

.tile-row.is-dragging {
  cursor: grabbing;
}

.tile-row.is-dragging .game-tile {
  pointer-events: none;
}

.game-tile {
  position: relative;
  flex: 0 0 220px;
  height: 264px;
  border-radius: 24px;
  overflow: hidden;
  background: #4c00c2;
}

.game-tile.wide {
  flex-basis: 256px;
  height: 328px;
}

.game-tile.slim {
  flex-basis: 196px;
  height: 224px;
}

.game-tile img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.tile-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(50, 0, 126, 0.86);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.tile-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px 12px 12px;
  background: linear-gradient(180deg, transparent, rgba(10, 0, 28, 0.82));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

[role="button"][aria-label="casumo"].game-tile {
  display: block;
  width: auto;
  min-height: 0;
  padding: 0;
  border-radius: 24px;
  color: #fff;
  box-shadow: none;
  text-align: left;
  font-weight: 800;
}

[role="button"][aria-label="casumo"].game-tile:hover,
[role="button"][aria-label="casumo"].game-tile:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.board-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.6fr) 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.feat-card {
  position: relative;
  display: block;
  min-height: 440px;
  border-radius: 24px;
  overflow: hidden;
  background: #3c008b;
  color: #fff;
  padding: 0;
}

.feat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
}

[role="button"][aria-label="casumo"].feat-card {
  display: block;
  width: auto;
  min-height: 440px;
  padding: 0;
  background: #3c008b;
  box-shadow: none;
  border-radius: 24px;
}

.list-col {
  display: grid;
  gap: 8px;
}

.row-game {
  display: grid;
  grid-template-columns: 72px 1fr 40px;
  gap: 12px;
  align-items: center;
  min-height: 80px;
  padding: 8px 10px;
  background: #fff;
  border-radius: 22px;
}

.row-game img {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  background: #efe8ff;
}

[role="button"][aria-label="casumo"].thumb-hit {
  width: 72px;
  min-height: 72px;
  padding: 0;
  background: transparent;
  border-radius: 14px;
  box-shadow: none;
}

[role="button"][aria-label="casumo"].thumb-hit img {
  width: 72px;
  height: 72px;
  filter: none;
}

.row-game strong {
  display: block;
  color: var(--purple);
  font-size: 0.95rem;
  line-height: 1.3rem;
}

.row-game span {
  color: #7a6d93;
  font-size: 12px;
}

.row-tag {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #efe8ff;
  color: var(--purple);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

[role="button"][aria-label="casumo"].play-dot {
  width: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ece8f4;
  box-shadow: none;
}

[role="button"][aria-label="casumo"].play-dot img,
.row-game .play-dot img {
  width: 14px;
  height: 14px;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  filter: none;
}

[role="button"][aria-label="casumo"].helm-more-nub,
[role="button"][aria-label="casumo"].promo-more-nub,
[role="button"][aria-label="casumo"].err-more-nub {
  flex-direction: row;
  width: auto;
  min-height: 40px;
  padding: 8px 12px;
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  gap: 8px;
}

[role="button"][aria-label="casumo"].helm-more-nub img,
[role="button"][aria-label="casumo"].promo-more-nub img,
[role="button"][aria-label="casumo"].err-more-nub img {
  width: 16px;
  height: 16px;
  filter: invert(1);
}

.article-band {
  background: #fff;
}

@media (max-width: 980px) {
  .board-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feat-card,
  [role="button"][aria-label="casumo"].feat-card {
    grid-column: 1 / -1;
    min-height: 180px;
  }
}

@media (max-width: 760px) {
  .board-grid {
    grid-template-columns: 1fr;
  }

  .subnav-row {
    padding-bottom: 0;
  }

  [role="button"][aria-label="casumo"].play-dot,
  [role="button"][aria-label="casumo"].sub-ico,
  [role="button"][aria-label="casumo"].sub-home,
  [role="button"][aria-label="casumo"].sub-pill,
  [role="button"][aria-label="casumo"].helm-more-nub,
  [role="button"][aria-label="casumo"].promo-more-nub,
  [role="button"][aria-label="casumo"].err-more-nub {
    width: auto;
  }

  [role="button"][aria-label="casumo"].play-dot {
    width: 36px;
  }

  .site-footer .brand-mark img {
    filter: invert(1);
  }
}

.duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.promo-banner,
.reward-panel,
.bonus-slab,
.pay-fast {
  border-radius: 28px;
}

.promo-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 360px;
  padding: 28px 24px 32px;
  background: linear-gradient(160deg, #4c00c2, #2a0174);
  color: #fff;
}

.promo-banner img {
  width: min(100%, 320px);
  height: 180px;
  object-fit: contain;
  margin-bottom: 16px;
}

.promo-banner img.mod-shot {
  width: min(100%, 460px);
  height: 220px;
}

.promo-banner h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.promo-banner p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36ch;
}

.reward-panel,
.pay-fast {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
}

.reward-panel h2,
.pay-fast h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.reward-panel h2 img {
  width: 24px;
  height: 24px;
}

.reward-col h3,
.pay-point h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.reward-art {
  width: 100%;
  height: auto;
  border-radius: 18px;
  margin: 0 0 12px;
}

.bonus-slab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
  padding: 28px;
  background: var(--purple);
  color: #fff;
}

.bonus-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
}

.bonus-item .art-hit {
  width: 120px;
}

.bonus-item img {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  object-fit: contain;
  background: transparent;
  padding: 0;
}

.pay-point img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  object-fit: contain;
}

.bonus-item h3 {
  margin: 0 0 6px;
  color: #fff;
}

.bonus-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.bonus-slab a {
  color: #fff;
}

.bonus-item:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}
.bonus-item:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}
.bonus-item.span-right {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-content: center;
}

.pay-point {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: start;
}

.pay-point .art-hit {
  width: 64px;
  min-height: 64px;
  border-radius: 50%;
}

.pay-point img {
  background: var(--purple);
}

.pay-logos {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.pay-logos li {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  min-width: 110px;
  height: 64px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.pay-logos img {
  max-height: 32px;
  width: auto;
}

.foot-light {
  background: #eef0f4;
  color: var(--ink);
  padding: 12px 0 32px;
}

.foot-card {
  position: relative;
  padding: 32px 28px 24px;
  background: #fff;
  border-radius: 28px;
}

.foot-card .social-row {
  position: absolute;
  top: 20px;
  right: 22px;
}

.foot-card .social-row [role="button"] {
  background: #eceaf2;
}

.foot-card .social-row img {
  filter: none;
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-right: 80px;
}

.foot-cols h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.foot-cols a,
.foot-cols [role="button"][aria-label="casumo"] {
  color: #5b5270;
}

.foot-cols a img,
.foot-cols [role="button"] img {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 4px;
}

.foot-light .footer-links [role="button"][aria-label="casumo"],
.foot-light .trust-links [role="button"][aria-label="casumo"]:not(.foot-go-nub) {
  color: #5b5270;
}

.foot-light .foot-go-nub,
.foot-light .promo-foot-go-nub {
  background: transparent;
  color: #5b5270;
  min-height: auto;
  padding: 0;
  width: auto;
  justify-content: flex-start;
  font-weight: 400;
}

.promo-banner .app-stores [role="button"] {
  background: transparent;
}

[role="button"][aria-label="casumo"].art-hit {
  display: block;
  width: auto;
  min-height: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 18px;
}

[role="button"][aria-label="casumo"].art-hit img {
  width: 100%;
  height: auto;
}

[role="button"][aria-label="casumo"].logo-hit {
  min-height: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.foot-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.foot-geo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5b5270;
  font-size: 14px;
  font-weight: 700;
}

.foot-geo img {
  width: 24px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 3px;
}

.foot-meta img {
  height: 32px;
  width: auto;
}

.site-footer.foot-light a {
  color: #5b5270;
  font-weight: 400;
}

.site-footer.foot-light a:hover {
  color: var(--purple);
}

.site-footer.foot-light .footer-legal {
  margin-top: 18px;
  padding-top: 0;
  border-top: 0;
  color: #6b627d;
}

.foot-rg {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 20px;
}

.foot-rg img {
  height: 28px;
  width: auto;
}

@media (max-width: 980px) {
  .duo-grid,
  .bonus-slab {
    grid-template-columns: 1fr;
  }

  .bonus-item:nth-child(1),
  .bonus-item:nth-child(2),
  .bonus-item.span-right {
    grid-column: auto;
    grid-row: auto;
  }

  .offer-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foot-card .social-row {
    position: static;
    margin-bottom: 16px;
  }

  .foot-cols {
    grid-template-columns: 1fr 1fr;
    padding-right: 0;
  }
}

.dock-bar {
  display: none;
}

@media (max-width: 760px) {
  body {
    padding-bottom: 84px;
  }

  .promo-page .promo-filters {
    padding: 2px 0 0;
  }

  .promo-page .promo-hero {
    padding-top: 4px;
    padding-bottom: 24px;
  }

  .filter-row {
    gap: 6px;
    padding: 2px 0 0;
  }

  [role="button"][aria-label="casumo"].filter-pill {
    min-height: 32px;
    padding: 4px 12px;
    font-size: 0.85rem;
  }

  .offer-head {
    margin: 8px 0 12px;
  }

  .offer-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .offer-card .offer-body {
    padding: 16px;
  }

  .foot-cols {
    grid-template-columns: 1fr 1fr;
    gap: 18px 14px;
  }

  .foot-card .social-row,
  .social-row {
    flex-wrap: nowrap;
  }

  .foot-card .social-row [role="button"],
  .social-row [role="button"] {
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    max-width: 44px;
  }

  .dock-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 72px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: var(--night);
  }

  .dock-bar [role="button"][aria-label="casumo"].dock-login-orb,
  .dock-bar [role="button"][aria-label="casumo"].promo-dock-login,
  .dock-bar [role="button"][aria-label="casumo"].err-dock-login {
    background: transparent;
    color: #fff;
    min-height: 40px;
    padding: 8px 10px;
    font-size: 15px;
  }

  .dock-bar [role="button"][aria-label="casumo"].dock-join-orb,
  .dock-bar [role="button"][aria-label="casumo"].promo-dock-join,
  .dock-bar [role="button"][aria-label="casumo"].err-dock-join {
    min-width: 0;
    min-height: 40px;
    padding: 8px 16px;
    font-size: 15px;
  }

  .dock-bar [role="button"][aria-label="casumo"].dock-games-nub,
  .dock-bar [role="button"][aria-label="casumo"].promo-dock-games,
  .dock-bar [role="button"][aria-label="casumo"].err-dock-games,
  .dock-bar [role="button"][aria-label="casumo"].dock-more-nub,
  .dock-bar [role="button"][aria-label="casumo"].promo-dock-more,
  .dock-bar [role="button"][aria-label="casumo"].err-dock-more {
    position: relative;
    flex-direction: column;
    margin-left: auto;
    min-width: 52px;
    min-height: 52px;
    padding: 4px 6px;
    background: transparent;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    gap: 2px;
  }

  .dock-bar [role="button"][aria-label="casumo"].dock-games-nub,
  .dock-bar [role="button"][aria-label="casumo"].promo-dock-games,
  .dock-bar [role="button"][aria-label="casumo"].err-dock-games {
    margin-left: auto;
  }

  .dock-bar [role="button"][aria-label="casumo"].dock-more-nub,
  .dock-bar [role="button"][aria-label="casumo"].promo-dock-more,
  .dock-bar [role="button"][aria-label="casumo"].err-dock-more {
    margin-left: 0;
  }

  .dock-games-nub::before,
  .promo-dock-games::before,
  .err-dock-games::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 2px;
    width: 42px;
    height: 26px;
    transform: translateX(-50%);
    border-radius: 50% 50% 0 0;
    background: radial-gradient(circle at 50% 120%, rgba(110, 40, 250, 0.85), transparent 70%);
    pointer-events: none;
  }

  .dock-bar img {
    position: relative;
    width: 22px;
    height: 22px;
    filter: invert(1);
  }
}

.has-demo {
  position: relative;
}

.game-actions {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  background: rgba(20, 0, 40, 0.72);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}

.has-demo.is-open > .game-actions {
  opacity: 1;
  pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  .has-demo:hover > .game-actions,
  .has-demo:focus-within > .game-actions {
    opacity: 1;
    pointer-events: auto;
  }
}

.game-actions .game-play,
.game-actions .game-demo {
  width: auto;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  flex: 0 0 auto;
}

.game-actions .game-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--purple);
  font-weight: 800;
}

.game-actions .game-demo:hover {
  color: var(--purple-mid);
}

.game-actions .game-play:focus-visible,
.game-actions .game-demo:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.has-demo .play-dot,
.row-game .play-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ece8f4;
}

.row-game .thumb-hit {
  position: relative;
  overflow: visible;
}

.row-game:has(.thumb-hit:hover),
.row-game:has(.thumb-hit:focus-within),
.row-game:has(.thumb-hit.is-open) {
  z-index: 3;
}

.row-game .thumb-hit > .game-actions {
  inset: auto;
  top: 70%;
  left: calc(100% - 6px);
  transform: translateY(-50%);
  width: max-content;
  max-width: none;
  height: auto;
  padding: 8px;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(20, 0, 40, 0.28);
}

.demo-page h1 {
  margin: 8px 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.demo-layout {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.demo-shot {
  width: 100%;
  max-width: 180px;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

.demo-stage {
  order: -1;
  width: 100%;
  max-width: 1000px;
  margin-right: auto;
  margin-left: 0;
  justify-self: start;
  height: min(70vh, 640px);
  min-height: 360px;
  background: var(--night);
  border-radius: 24px;
  overflow: hidden;
}

.demo-stage iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.demo-copy p:last-child {
  margin-bottom: 0;
}

.demo-more {
  margin: 28px 0 12px;
}

.demo-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--yellow) var(--purple);
}

.demo-rail::-webkit-scrollbar {
  height: 8px;
}

.demo-rail::-webkit-scrollbar-track {
  background: var(--purple);
  border-radius: 999px;
}

.demo-rail::-webkit-scrollbar-thumb {
  background: var(--yellow);
  border-radius: 999px;
}

.rail-item {
  flex: 0 0 150px;
}

.rail-card {
  height: 150px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--purple-mid);
}

.rail-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rail-label {
  margin: 8px 0 0;
  color: var(--purple);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

@media (min-width: 900px) {
  .demo-layout {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    grid-template-areas:
      "stage stage"
      "shot copy";
    gap: 22px 28px;
    align-items: start;
  }

  .demo-stage {
    grid-area: stage;
  }

  .demo-shot {
    grid-area: shot;
  }

  .demo-copy {
    grid-area: copy;
  }
}
