:root {
  --gen-primary: #490830;
  --gen-primary-hov: #6c0e48;
  --gen-primary-soft: #f4e6ef;
  --gen-accent: #31e3b0;
  --gen-accent-soft: #e3f8f2;
  --gen-hero-from: #5c0a3d;
  --gen-hero-to: #2f041f;
  --gen-hero-mid: #2a24a8;
  --gen-bg: #f6f4f5;
  --gen-surface: #ffffff;
  --gen-border: #e0d2da;
  --gen-text: #24141e;
  --gen-text-soft: #806074;
  --gen-gold: #f1b322;
  --gen-signal: #eb691e;
  --gen-pale: #f9f6f8;
}

/* Reset */

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

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: 'Exo 2', system-ui, sans-serif;
  background: var(--gen-bg);
  color: var(--gen-text);
  font-size: 15px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

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

img,
svg,
video,
iframe {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

/* Layout */

.te-ruw {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.tug-gol {
  width: 100%;
  max-width: 100%;
  padding: 36px 0 48px;
  overflow-x: hidden;
}

.vaj {
  width: 100%;
  max-width: 100%;
  margin-bottom: 40px;
  overflow-x: hidden;
}

/* Header */

.wu-ka {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  max-width: 100%;
  background: var(--gen-pale);
  border-bottom: 2px solid var(--gen-border);
  overflow: hidden;
}

.wu-ka__inner {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.lis {
  display: inline-block;
  max-width: 100%;
  padding-bottom: 1px;
  color: var(--gen-text);
  border-bottom: 2px solid var(--gen-accent);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
}

.nan-cu {
  display: flex;
  gap: 6px;
  list-style: none;
  min-width: 0;
}

.nan-cu a {
  display: block;
  padding: 5px 12px;
  background: #fff;
  border: 1px solid var(--gen-border);
  border-radius: 99px;
  color: var(--gen-text-soft);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.15s;
}

.nan-cu a:hover {
  background: var(--gen-primary-soft);
  border-color: var(--gen-primary);
  color: var(--gen-primary);
}

/* Hero */

.pir-lun {
  width: 100%;
  max-width: 100%;
  padding: 36px 0;
  background: var(--gen-surface);
  border-bottom: 1px solid var(--gen-border);
  overflow: hidden;
}

.pir-lun__label {
  margin-bottom: 10px;
  color: var(--gen-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.pir-lun h1 {
  margin-bottom: 10px;
  color: var(--gen-text);
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 800;
  line-height: 1.25;
}

.pir-lun__sub {
  max-width: 560px;
  color: var(--gen-text-soft);
  font-size: 14px;
  line-height: 1.7;
}

/* Section heading */

.rer {
  margin-bottom: 18px;
}

.rer h2 {
  margin-bottom: 4px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
}

.rer p {
  color: var(--gen-text-soft);
  font-size: 13px;
}

.mo-ram {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  padding: 2px 7px;
  background: var(--gen-accent-soft);
  color: var(--gen-accent);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

/* Casino cards */

.cob {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--gen-border);
  border-radius: 12px;
  background: var(--gen-surface);
  overflow: hidden;
}

.wak-zac {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: 82px 42px minmax(0, 1fr) 78px 112px;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--gen-surface);
  border-bottom: 1px solid var(--gen-border);
  border-radius: 0 !important;
  transition: background 0.12s;
  overflow: hidden;
}

.wak-zac:last-child {
  border-bottom: none;
}

.wak-zac:hover {
  background: var(--gen-pale);
}

.wak-zac--first {
  background: var(--gen-primary-soft);
}

.wak-zac__logo {
  width: 64px !important;
  max-width: 64px;
  min-width: 0;
  flex-shrink: 0;
}

.wak-zac__logo img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain;
}

.wak-zac__rank {
  color: var(--gen-primary);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.wak-zac__info {
  min-width: 0;
}

.wak-zac__name {
  display: block;
  color: var(--gen-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}

.wak-zac__bonus {
  display: block;
  margin-top: 2px;
  color: var(--gen-text-soft);
  font-size: 12px;
  line-height: 1.35;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}

.wak-zac__deposit {
  flex-shrink: 0;
  padding: 3px 8px;
  background: var(--gen-bg);
  color: var(--gen-text-soft);
  border-radius: 6px;
  font-size: 11px;
  white-space: nowrap;
}

.wak-zac__score {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.wak-zac__score-val {
  color: var(--gen-primary);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.wak-zac__score-lbl {
  color: var(--gen-text-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.wak-zac__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 16px;
  background: var(--gen-primary);
  color: #fff;
  border-radius: 22px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  transition: background 0.15s;
}

.wak-zac__btn:hover {
  background: var(--gen-primary-hov);
}

/* Content */

.kad {
  min-width: 0;
}

.kad h2 {
  margin: 26px 0 10px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
}

.kad h3 {
  margin: 18px 0 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.kad p {
  margin-bottom: 14px;
  line-height: 1.75;
}

.kad ul,
.kad ol {
  margin: 10px 0;
  padding-left: 20px;
}

.kad li {
  margin-bottom: 6px;
  line-height: 1.65;
}

.kad blockquote {
  margin: 12px 0;
  padding: 10px 14px;
  border-left: 3px solid var(--gen-accent);
  opacity: 0.85;
}

.kad code {
  padding: 1px 5px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.9em;
}

.gen-highlight {
  margin: 16px 0;
  padding: 12px 16px;
  background: var(--gen-primary-soft);
  border-left: 3px solid var(--gen-primary);
  border-radius: 0 8px 8px 0;
  font-size: 14px;
}

/* Tables */

.kad table {
  width: 100%;
  margin: 14px 0;
  border-collapse: collapse;
  background: var(--gen-surface);
  font-size: 13px;
}

.kad th {
  padding: 8px 12px;
  background: var(--gen-primary);
  color: #fff;
  text-align: left;
  font-weight: 700;
  vertical-align: top;
}

.kad td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--gen-border);
  vertical-align: top;
}

.kad tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.03);
}

/* FAQ */

.hep h2 {
  margin-bottom: 14px;
  font-size: 19px;
  font-weight: 800;
}

.reg {
  margin-bottom: 8px;
  background: var(--gen-surface);
  border: 1px solid var(--gen-border);
  border-radius: 10px;
  overflow: hidden;
}

.bo-xok {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 700;
}

.bo-xok::after {
  content: "+";
  flex-shrink: 0;
  color: var(--gen-primary);
  font-size: 18px;
  font-weight: 400;
}

.xog {
  padding: 0 16px 13px;
  color: var(--gen-text-soft);
  font-size: 13px;
  line-height: 1.7;
}

/* Footer */

.jem {
  width: 100%;
  max-width: 100%;
  padding: 28px 0;
  background: linear-gradient(135deg, var(--gen-hero-from), var(--gen-hero-to));
  overflow: hidden;
}

.jem__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.jem p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.da-ra {
  display: flex;
  gap: 16px;
  list-style: none;
  flex-wrap: wrap;
}

.da-ra a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 600;
}

.da-ra a:hover {
  color: #fff;
}

/* Mobile */

@media (max-width: 760px) {
  body {
    font-size: 14px;
  }

  .te-ruw {
    max-width: 100%;
    padding: 0 30px;
  }

  .tug-gol {
    padding: 32px 0 44px;
  }

  .wu-ka {
    position: relative;
  }

  .wu-ka__inner {
    min-height: 58px;
    height: auto;
    align-items: center;
  }

  .lis {
    max-width: 100%;
    font-size: 18px;
    white-space: nowrap;
  }

  .pir-lun {
    padding: 34px 0;
  }

  .pir-lun h1 {
    font-size: 30px;
    line-height: 1.2;
  }

  .pir-lun__sub {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.75;
  }

  .rer h2 {
    font-size: 31px;
    line-height: 1.35;
  }

  .cob {
    border-radius: 14px;
  }

  .wak-zac {
    grid-template-columns: 84px 34px minmax(0, 1fr) 78px;
    grid-template-areas:
      "logo rank info score"
      "logo rank info button";
    gap: 8px 10px;
    padding: 18px 12px;
  }

  .wak-zac__logo {
    grid-area: logo;
    width: 72px !important;
    max-width: 72px;
    justify-self: center;
    align-self: center;
  }

  .wak-zac__rank {
    grid-area: rank;
    font-size: 20px;
    justify-self: center;
  }

  .wak-zac__info {
    grid-area: info;
    width: 100%;
    min-width: 0;
  }

  .wak-zac__name {
    font-size: 21px;
    line-height: 1.2;
  }

  .wak-zac__bonus {
    margin-top: 4px;
    font-size: 17px;
    line-height: 1.35;
  }

  .wak-zac__score {
    grid-area: score;
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  .wak-zac__score-val {
    font-size: 18px;
    line-height: 1.1;
  }

  .wak-zac__score-lbl {
    font-size: 9px;
  }

  .wak-zac__btn {
    grid-area: button;
    width: 100%;
    min-height: 44px;
    padding: 9px 10px;
    border-radius: 22px;
    font-size: 13px;
  }

  .wak-zac__deposit {
    display: none;
  }

  .kad h2 {
    font-size: 29px;
    line-height: 1.35;
  }

  .kad h3 {
    font-size: 21px;
  }

  .kad p,
  .kad li {
    font-size: 18px;
    line-height: 1.7;
  }

  .kad ul,
  .kad ol {
    padding-left: 22px;
  }

  .kad table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--gen-border);
    border-radius: 10px;
    background: #fff;
  }

  .kad thead,
  .kad tbody,
  .kad tr {
    width: 100%;
  }

  .kad th,
  .kad td {
    min-width: 145px;
    padding: 13px 14px;
    white-space: normal;
    vertical-align: top;
    font-size: 15px;
    line-height: 1.45;
  }

  .kad th {
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
  }

  .hep h2 {
    font-size: 28px;
  }

  .reg {
    border-radius: 12px;
    margin-bottom: 12px;
  }

  .bo-xok {
    padding: 17px 18px;
    font-size: 17px;
    line-height: 1.35;
  }

  .xog {
    padding: 0 18px 17px;
    font-size: 16px;
    line-height: 1.65;
  }

  .jem {
    padding: 28px 0;
  }

  .jem__row {
    display: block;
  }

  .jem p {
    font-size: 14px;
  }
}

/* Small mobile */

@media (max-width: 520px) {
  .te-ruw {
    padding: 0 30px;
  }

  .lis {
    font-size: 17px;
  }

  .pir-lun h1 {
    font-size: 28px;
  }

  .rer h2 {
    font-size: 29px;
  }

  .wak-zac {
    grid-template-columns: 74px 30px minmax(0, 1fr) 72px;
    gap: 8px 8px;
    padding: 17px 10px;
  }

  .wak-zac__logo {
    width: 64px !important;
    max-width: 64px;
  }

  .wak-zac__rank {
    font-size: 18px;
  }

  .wak-zac__name {
    font-size: 19px;
  }

  .wak-zac__bonus {
    font-size: 15px;
  }

  .wak-zac__score-val {
    font-size: 16px;
  }

  .wak-zac__btn {
    min-height: 40px;
    font-size: 12px;
    padding: 8px 8px;
  }

  .kad h2 {
    font-size: 27px;
  }

  .kad p,
  .kad li {
    font-size: 17px;
  }

  .kad th,
  .kad td {
    min-width: 140px;
    font-size: 14px;
    padding: 12px 13px;
  }
}

/* Very small mobile */

@media (max-width: 380px) {
  .te-ruw {
    padding: 0 16px;
  }

  .lis {
    font-size: 16px;
    white-space: normal;
  }

  .pir-lun h1 {
    font-size: 25px;
  }

  .rer h2 {
    font-size: 25px;
  }

  .wak-zac {
    grid-template-columns: 58px 28px minmax(0, 1fr);
    grid-template-areas:
      "logo rank info"
      "score score score"
      "button button button";
    padding: 16px 10px;
  }

  .wak-zac__logo {
    width: 50px !important;
    max-width: 50px;
  }

  .wak-zac__rank {
    font-size: 16px;
  }

  .wak-zac__name {
    font-size: 17px;
  }

  .wak-zac__bonus {
    font-size: 13px;
  }

  .wak-zac__score {
    justify-content: center;
  }

  .wak-zac__btn {
    width: 100%;
    justify-self: center;
  }

  .kad th,
  .kad td {
    min-width: 132px;
    font-size: 13px;
  }

  .kad p,
  .kad li {
    font-size: 15px;
  }
}