@font-face {
  font-family: 'Rovav';
  src: url('/assets/static/lenisek.woff2') format('woff2');
  font-display: swap;
}

:root {
  color-scheme: dark;
  --kati-bg: #0e0b16;
  --kati-panel: #171324;
  --kati-raised: #211a31;
  --kati-border: #30273f;
  --kati-ink: #f8f6fc;
  --kati-muted: #bdb4cd;
  --kati-gold: #ffb800;
  --kati-violet: #a78bfa;
  --kati-sidebar: 216px;
  --kati-topbar: 68px;
  --kati-gutter: clamp(20px, 3vw, 44px);
}

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

html {
  min-width: 280px;
  scroll-padding-top: calc(var(--kati-topbar) + 20px);
}

body {
  margin: 0;
  background: var(--kati-bg);
  color: var(--kati-ink);
  font: 400 16px / 1.6 'Rovav', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--kati-gold);
  text-underline-offset: .2em;
}

a:hover {
  color: #ffda71;
}

:focus-visible {
  outline: 2px solid var(--kati-violet);
  outline-offset: 3px;
}

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

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

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

[hidden] {
  display: none !important;
}

.kati-skip {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-150%);
  border-radius: 8px;
  color: var(--kati-bg);
  background: var(--kati-gold);
  font-weight: 800;
}

.kati-skip:focus {
  transform: none;
}

.kati-top {
  position: fixed;
  z-index: 9;
  inset: 0 0 auto;
  height: var(--kati-topbar);
  padding: 0 var(--kati-gutter) 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #120e1c;
  border-bottom: 1px solid var(--kati-border);
}

.kati-brand {
  color: #fff;
  font-size: clamp(15px, 1.55vw, 23px);
  font-weight: 900;
  letter-spacing: .085em;
  white-space: nowrap;
  text-decoration: none;
}

.kati-brand:hover {
  color: #fff;
}

.kati-brand span {
  color: var(--kati-gold);
}

.kati-top-actions,
.kati-cta-pair {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.pane_sanep {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--kati-gold);
  color: #201305;
  text-decoration: none;
  font-size: .875rem;
  line-height: 1.2;
  font-weight: 850;
}

.pane_sanep:hover {
  background: #ffd050;
  color: #201305;
}

.pane_sanep:active {
  background: #ea9c00;
}

.hu_m5fm4,
.hu_vxm95 {
  background: var(--kati-raised);
  border-color: var(--kati-border);
  color: var(--kati-ink);
}

.hu_m5fm4:hover,
.hu_vxm95:hover {
  background: #302742;
  color: var(--kati-ink);
}

.kati-rail {
  position: fixed;
  z-index: 8;
  inset: var(--kati-topbar) auto 0 0;
  width: var(--kati-sidebar);
  padding: 27px 13px;
  overflow: auto;
  background: #130f1e;
  border-right: 1px solid #2a2337;
  scrollbar-width: thin;
}

.kati-nav-title {
  display: block;
  margin: 0 0 13px 11px;
  color: var(--kati-muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.kati-rail ul {
  display: grid;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.kati-rail a {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  min-height: 44px;
  gap: 9px;
  align-items: center;
  padding: 8px 9px;
  border-radius: 8px;
  color: var(--kati-muted);
  font-size: .81rem;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.kati-rail a:hover,
.kati-rail a[aria-current="page"] {
  color: var(--kati-ink);
  background: var(--kati-raised);
}

.kati-rail a[aria-current="page"] {
  box-shadow: inset 2px 0 var(--kati-gold);
}

.kati-rail svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.kati-rail a[aria-current] svg {
  color: var(--kati-gold);
}

.kati-rail small {
  color: var(--kati-muted);
  font-variant-numeric: tabular-nums;
  font-size: .66rem;
}

.kati-shell {
  margin: var(--kati-topbar) 0 0 var(--kati-sidebar);
  min-height: calc(100vh - var(--kati-topbar));
  display: flex;
  flex-direction: column;
}

.kati-wrap {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding: 25px var(--kati-gutter) 54px;
  flex: 1;
  min-width: 0;
}

.kati-page-title {
  margin-bottom: 20px;
}

.kati-page-title h1 {
  max-width: 40ch;
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.14;
  letter-spacing: -.04em;
  font-weight: 850;
}

.pane_rakol .kati-page-title h1 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.pane_lulok {
  margin: 0 0 9px;
  font-size: .82rem;
  color: var(--kati-muted);
}

.pane_lulok a {
  color: var(--kati-violet);
}

.kati-stage {
  display: flex;
  min-height: 410px;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  position: relative;
  padding: clamp(25px, 5vw, 66px);
  border-radius: 16px;
  background-color: #190f26;
  background-image: linear-gradient(90deg, rgba(12, 8, 20, .99), rgba(12, 8, 20, .92) 29%, rgba(12, 8, 20, .64) 49%, transparent 77%), url('/assets/static/stage_mevov.webp');
  background-position: center, center 34%;
  background-repeat: no-repeat;
  background-size: cover;
}

.kati-offer {
  max-width: 64%;
  position: relative;
  z-index: 1;
}

.kati-offer-title {
  margin: 0 0 23px;
  max-width: 14ch;
  color: #fff;
  font-size: clamp(2.3rem, 4.6vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -.064em;
  line-height: .99;
  text-wrap: balance;
}

.kati-offer-title span {
  display: block;
  margin-top: .16em;
  color: var(--kati-gold);
  font-size: .69em;
  letter-spacing: -.048em;
}

.kati-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 9px 19px;
  margin: 0 0 22px;
}

.kati-facts div + div {
  border-left: 1px solid #514360;
  padding-left: 19px;
}

.kati-facts dt {
  color: #d4c9e0;
  font-size: .74rem;
  line-height: 1.2;
}

.kati-facts dd {
  margin: 2px 0 0;
  color: #fff;
  font-size: .96rem;
  line-height: 1.28;
  font-weight: 800;
}

.kati-offer .pane_sanep {
  min-height: 50px;
  padding-inline: 25px;
  box-shadow: 0 8px 24px #0008;
}

.kati-lobby {
  margin: 31px 0 40px;
}

.kati-lobby-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 5px 16px;
  margin-bottom: 13px;
}

.kati-lobby-head h2 {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.9rem);
  font-weight: 850;
  letter-spacing: -.037em;
  line-height: 1.19;
}

.kati-total {
  white-space: nowrap;
  color: var(--kati-muted);
  font-size: .79rem;
  font-variant-numeric: tabular-nums;
}

.kati-filters {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  overflow-x: auto;
  padding: 5px;
  background: var(--kati-panel);
  border-radius: 8px;
  scrollbar-width: thin;
}

.kati-filters button {
  border: 0;
  border-radius: 6px;
  background: transparent;
  min-height: 42px;
  padding: 6px 12px;
  white-space: nowrap;
  color: var(--kati-muted);
  font-weight: 760;
  font-size: .81rem;
}

.kati-filters button:hover {
  color: var(--kati-ink);
  background: var(--kati-raised);
}

.kati-filters button[aria-pressed="true"] {
  color: #221406;
  background: var(--kati-gold);
}

.kati-filters button:focus-visible {
  outline-offset: -2px;
  outline-color: #fff;
}

.kati-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 21px 13px;
}

.kati-card {
  min-width: 0;
}

.kati-art {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 12px;
  background: var(--kati-panel);
  aspect-ratio: 1;
}

.kati-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}

.kati-game-actions {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 7px;
  background: #100b1dd9;
  transition: opacity .16s ease;
}

.kati-game-actions button,
.kati-dialog-head button {
  min-height: 36px;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 850;
}

.kati-play {
  color: #201305;
  background: var(--kati-gold);
}

.kati-play:hover {
  background: #ffd050;
}

.kati-demo,
.kati-dialog-head button {
  background: #2e2441;
  border-color: #574569;
}

.kati-demo:hover,
.kati-dialog-head button:hover {
  background: #49395f;
}

@media (hover: hover) and (pointer: fine) {
  .kati-game-actions {
    opacity: 0;
  }

  .kati-art:hover .kati-cover,
  .kati-art:focus-within .kati-cover {
    transform: scale(1.045);
  }

  .kati-art:hover .kati-game-actions,
  .kati-art:focus-within .kati-game-actions {
    opacity: 1;
  }
}

@media (hover: none), (pointer: coarse) {
  .kati-game-actions {
    inset: auto 0 0;
    padding-top: 13px;
    background: linear-gradient(transparent, #130e1fe8 40%);
  }
}

.kati-game-info {
  padding: 7px 1px 0;
  line-height: 1.4;
}

.kati-game-info strong {
  display: block;
  font-size: .81rem;
  font-weight: 820;
  overflow-wrap: anywhere;
}

.kati-game-info span {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 4px;
  color: var(--kati-muted);
  font-size: .71rem;
}

.kati-game-info b {
  color: #d7c7ff;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
}

.kati-dialog {
  width: min(920px, calc(100vw - 28px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  overflow: auto;
  border: 1px solid #51405f;
  border-radius: 8px;
  color: var(--kati-ink);
  background: var(--kati-panel);
  box-shadow: 0 20px 90px #000b;
}

.kati-dialog::backdrop {
  background: #090610d9;
}

.kati-dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 11px 15px;
  border-bottom: 1px solid var(--kati-border);
}

.kati-dialog-head h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.kati-dialog-head button {
  min-height: 44px;
  padding-inline: 15px;
}

.kati-demo-content {
  padding: 12px 15px 18px;
}

.kati-demo-content iframe {
  display: block;
  width: 100%;
  height: min(68dvh, 540px);
  border: 0;
  border-radius: 8px;
  background: #100b18;
}

.kati-demo-content p {
  margin: 0 0 8px;
  color: var(--kati-muted);
}

.pane_pavis {
  max-width: 76ch;
  margin: 27px 0 18px;
  padding: 15px 20px;
  border-inline-start: 3px solid var(--kati-gold);
  border-radius: 0 8px 8px 0;
  color: #ece7f3;
  background: var(--kati-panel);
  font-size: clamp(1rem, 1.4vw, 1.09rem);
}

.kati-cta-pair {
  margin-bottom: 24px;
}

.kati-editorial {
  width: min(100%, 960px);
  margin-top: 28px;
}

.kati-note {
  padding-block: 23px;
  border-top: 1px solid var(--kati-border);
}

.kati-note h2,
.pane_nolum h2,
.pane_lulum h2 {
  max-width: 48ch;
  margin: 0 0 9px;
  font-size: clamp(1.16rem, 2.4vw, 1.61rem);
  font-weight: 830;
  line-height: 1.24;
  letter-spacing: -.025em;
}

.kati-note p,
.kati-editorial > p,
.pane_nolum p {
  max-width: 74ch;
  margin: 0;
  color: var(--kati-muted);
}

.kati-note p + p,
.kati-note p + ul,
.kati-note p + ol {
  margin-top: 12px;
}

.kati-note li + li {
  margin-top: 5px;
}

.kati-note > .pane_sanep {
  margin-top: 16px;
}

.pane_susun {
  width: 100%;
  max-width: 795px;
  margin: 22px 0 3px;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
  overflow-wrap: anywhere;
  font-size: .88rem;
  line-height: 1.45;
  text-align: left;
}

.pane_susun caption {
  padding-bottom: 7px;
  color: var(--kati-muted);
  text-align: left;
  font-size: .81rem;
}

.pane_susun th,
.pane_susun td {
  padding: 10px 13px;
}

.pane_susun thead {
  color: var(--kati-ink);
  background: var(--kati-raised);
}

.pane_susun thead th:first-child {
  border-top-left-radius: 8px;
}

.pane_susun thead th:last-child {
  border-top-right-radius: 8px;
}

.pane_susun tbody {
  background: var(--kati-panel);
}

.pane_susun tbody th,
.pane_susun tbody td {
  border-top: 1px solid var(--kati-border);
}

.pane_susun tbody td {
  color: var(--kati-muted);
}

.pane_susun tbody tr:last-child th {
  border-bottom-left-radius: 8px;
}

.pane_susun tbody tr:last-child td:last-child {
  border-bottom-right-radius: 8px;
}

.pane_nolum {
  margin-top: 29px;
  padding: clamp(17px, 3.5vw, 31px);
  border-radius: 8px;
  background: var(--kati-panel);
}

.pane_nolum h3 {
  margin: 19px 0 5px;
  padding-top: 14px;
  border-top: 1px solid var(--kati-border);
  font-size: 1rem;
  line-height: 1.35;
}

.pane_lulum {
  margin-top: 31px;
}

.pane_lulum ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 15px;
  padding: 0;
  margin: 13px 0 0;
  list-style: none;
}

.pane_lulum a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  min-height: 46px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--kati-panel);
  color: var(--kati-ink);
  font-size: .86rem;
  text-decoration: none;
}

.pane_lulum a::after {
  content: '↗';
  color: var(--kati-gold);
}

.pane_lulum a:hover {
  background: var(--kati-raised);
  color: var(--kati-gold);
}

.pane_vipet {
  margin-top: 27px;
  color: var(--kati-muted);
  font-size: .78rem;
}

.kati-footer {
  border-top: 1px solid var(--kati-border);
  background: #130f1e;
}

.kati-footer > div {
  max-width: 1360px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 22px;
  padding: 21px var(--kati-gutter) 25px;
  color: var(--kati-muted);
  font-size: .78rem;
}

.kati-footer address {
  flex: 1 1 320px;
  font-style: normal;
}

.kati-footer ol {
  display: flex;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.kati-footer a {
  color: var(--kati-violet);
  white-space: nowrap;
}

.kati-footer a:hover {
  color: var(--kati-gold);
}

.kati-sticky {
  display: none;
}

@media (max-width: 1020px) {
  .kati-top {
    padding-inline: var(--kati-gutter);
  }

  .kati-rail {
    position: relative;
    inset: auto;
    width: auto;
    margin-top: var(--kati-topbar);
    padding: 5px var(--kati-gutter);
    border-right: 0;
    border-bottom: 1px solid var(--kati-border);
    scrollbar-width: thin;
  }

  .kati-rail ul {
    display: flex;
    width: max-content;
    gap: 3px;
  }

  .kati-nav-title,
  .kati-rail small {
    display: none;
  }

  .kati-rail a {
    grid-template-columns: 17px auto;
    padding: 7px 10px;
  }

  .kati-rail a[aria-current="page"] {
    box-shadow: inset 0 -2px var(--kati-gold);
  }

  .kati-shell {
    margin: 0;
  }

  .kati-stage {
    background-position: center, 61% 36%;
  }
}

@media (max-width: 720px) {
  :root {
    --kati-gutter: 17px;
    --kati-topbar: 59px;
  }

  .kati-top-actions {
    gap: 5px;
    flex-wrap: nowrap;
  }

  .kati-top-actions .pane_sanep {
    padding-inline: 10px;
    white-space: nowrap;
  }

  .kati-stage {
    min-height: 378px;
    align-items: flex-end;
    padding: 25px 20px;
    background-image: linear-gradient(0deg, #100b1b 2%, #120b20ee 32%, #120b2082 62%, #0e0b1610), url('/assets/static/stage_mevov.webp');
    background-position: center, 72% 24%;
  }

  .kati-offer {
    max-width: 100%;
  }

  .kati-offer-title {
    margin-bottom: 15px;
    font-size: clamp(2rem, 7.4vw, 3.7rem);
  }

  .kati-facts {
    margin-bottom: 16px;
  }

  .kati-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px 10px;
  }

  .kati-lobby {
    margin-top: 23px;
  }

  .kati-sticky:has(.pane_sanep) {
    display: block;
    position: fixed;
    z-index: 7;
    inset: auto 0 0;
    background: #130e20f5;
    padding: 7px var(--kati-gutter) max(7px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--kati-border);
  }

  .kati-sticky .pane_sanep {
    width: 100%;
  }

  .kati-site:has(.kati-sticky .pane_sanep) .kati-footer {
    padding-bottom: calc(58px + env(safe-area-inset-bottom));
  }
}

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

  .kati-game-actions button {
    min-height: 32px;
    padding: 3px 6px;
  }

  .kati-facts {
    gap: 8px 11px;
  }

  .kati-facts div + div {
    padding-left: 11px;
  }

  .kati-top .hu_m5fm4 {
    display: none;
  }

  .kati-rail a {
    gap: 6px;
    font-size: .77rem;
  }

  .pane_lulum ul {
    grid-template-columns: 1fr;
  }

  .pane_susun {
    font-size: .8rem;
  }

  .pane_susun th,
  .pane_susun td {
    padding: 8px 7px;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .kati-cover,
  .kati-game-actions {
    transition: none;
  }
}

@media print {
  :root {
    color-scheme: light;
    --kati-ink: #101015;
    --kati-muted: #32323c;
    --kati-border: #b8b8be;
    --kati-panel: #f4f4f6;
    --kati-raised: #ebebef;
    --kati-gold: #4d3200;
  }

  .kati-top,
  .kati-rail,
  .kati-stage,
  .kati-lobby,
  .kati-sticky,
  .kati-skip,
  .pane_sanep {
    display: none !important;
  }

  .kati-shell,
  .kati-wrap {
    margin: 0;
    padding: 0;
  }

  body,
  .kati-footer {
    background: white;
  }

  .pane_pavis,
  .kati-footer a {
    color: var(--kati-ink);
  }
}

.pane_mopak .pane_tapek{background:linear-gradient(90deg, rgba(10,10,18,0.93) 0%, rgba(10,10,18,0.78) 52%, rgba(10,10,18,0.22) 100%), url('/assets/static/stage_mevov.webp');background-size:cover;background-position:right center;border-radius:16px;padding:28px 32px;margin:18px 0 24px;color:#f8fafc;}
.pane_mopak .pane_tapek [class$='-top']{font-size:clamp(22px,3vw,32px);font-weight:800;line-height:1.15;margin:0 0 14px;max-width:560px;}
.pane_mopak .pane_tapek ul{list-style:none;padding:0;margin:0 0 18px;display:flex;flex-wrap:wrap;gap:8px;}
.pane_mopak .pane_tapek ul li{background:rgba(255,255,255,0.10);padding:6px 12px;border-radius:8px;font-size:13px;}
.pane_mopak .pane_tapek [class$='-foot']{display:flex;flex-wrap:wrap;align-items:center;gap:12px;}
button.pane_sanep,
button.pane_tanep {
  border: 0;
  font: inherit;
  text-align: center;
  cursor: pointer;
}
