:root {
  --gen-primary: #0e0a47;
  --gen-primary-hov: #171169;
  --gen-primary-soft: #e7e6f4;
  --gen-accent: #e3b931;
  --gen-accent-soft: #f8f3e3;
  --gen-hero-from: #120d59;
  --gen-hero-to: #08052e;
  --gen-hero-mid: #24a85b;
  --gen-bg: #f4f4f6;
  --gen-surface: #ffffff;
  --gen-border: #d3d2e0;
  --gen-text: #151424;
  --gen-text-soft: #636080;
  --gen-gold: #f1b022;
  --gen-pale: #f6f6f9;
}

/* 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: 'Plus Jakarta Sans', 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 */

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

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

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

/* Header */

.pop-su {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  max-width: 100%;
  background: #ffffff;
  border-bottom: 3px solid var(--gen-primary);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.pop-su__inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  min-width: 0;
  width: 100%;
  color: var(--gen-primary);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mi-lis {
  color: var(--gen-primary);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.mi-lis span {
  color: var(--gen-accent);
}

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

.va-dup a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 6px;
  color: var(--gen-text-soft);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.15s;
}

.va-dup a:hover {
  background: var(--gen-primary-soft);
  color: var(--gen-primary);
}

/* Hero */

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

.wo-suc__label {
  margin-bottom: 12px;
  color: var(--gen-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.wo-suc h1 {
  max-width: 760px;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.12;
}

.wo-suc__sub {
  max-width: 540px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.7;
}

.wo-suc__stats {
  display: flex;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.vad {
  flex: 1;
  padding: 14px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.vad:last-child {
  border-right: none;
}

.vad__num {
  display: block;
  color: var(--gen-accent);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.vad__lbl {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* Section heading */

.naz {
  margin-bottom: 18px;
}

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

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

.huj {
  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 */

.viw {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.me-ruh {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 76px 42px minmax(0, 1fr) 54px 74px;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--gen-surface);
  border: 1px solid var(--gen-border);
  border-radius: 15px;
  transition: border-color 0.15s;
  overflow: hidden;
}

.me-ruh:hover {
  border-color: var(--gen-primary);
}

.me-ruh--first {
  border-left: 4px solid var(--gen-gold);
}

.me-ruh__logo {
  width: 64px !important;
  max-width: 64px !important;
  min-width: 0 !important;
  flex-shrink: 0 !important;
  justify-self: center;
}

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

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

.me-ruh__info {
  min-width: 0;
}

.me-ruh__name {
  display: block;
  color: var(--gen-text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

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

.me-ruh__deposit {
  display: none;
}

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

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

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

.me-ruh__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  background: var(--gen-primary);
  color: #ffffff;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  transition: background 0.15s;
}

.me-ruh__btn:hover {
  background: var(--gen-primary-hov);
}

/* Content */

.nef-tac {
  min-width: 0;
}

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

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

.nef-tac h4 {
  margin: 18px 0 8px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

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

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

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

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

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

.ja-luj,
.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 */

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

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

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

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

/* FAQ */

.dik {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

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

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

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

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

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

/* Footer */

.ka-zi {
  width: 100%;
  max-width: 100%;
  padding: 24px 0;
  background: var(--gen-bg);
  border-top: 1px solid var(--gen-border);
  text-align: center;
  overflow: hidden;
}

.ka-zi p {
  color: var(--gen-text-soft);
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

/* Mobile */

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

  .zan-kod {
    max-width: 100%;
    padding: 0 20px;
  }

  .fo-fo {
    padding: 32px 0 44px;
  }

  .pop-su {
    position: relative;
  }

  .pop-su__inner {
    min-height: 56px;
    height: auto;
    align-items: center;
    font-size: 17px;
    white-space: nowrap;
  }

  .wo-suc {
    padding: 36px 0 40px;
  }

  .wo-suc h1 {
    max-width: 100%;
    font-size: 29px;
    line-height: 1.18;
  }

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

  .wo-suc__stats {
    margin-top: 24px;
    flex-wrap: wrap;
  }

  .vad {
    flex: 1 1 50%;
    min-width: 50%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .naz h2 {
    font-size: 25px;
    line-height: 1.35;
  }

  .viw {
    gap: 14px;
  }

  .me-ruh {
    grid-template-columns: 64px 34px minmax(0, 1fr) 46px 68px;
    grid-template-areas: "logo rank info score button";
    gap: 8px;
    padding: 14px 9px;
    border-radius: 14px;
  }

  .me-ruh__logo {
    grid-area: logo;
    width: 54px !important;
    max-width: 54px !important;
  }

  .me-ruh__rank {
    grid-area: rank;
    font-size: 15px;
  }

  .me-ruh__info {
    grid-area: info;
    min-width: 0;
  }

  .me-ruh__name {
    font-size: 14px;
    line-height: 1.2;
  }

  .me-ruh__bonus {
    font-size: 11px;
    line-height: 1.3;
  }

  .me-ruh__score {
    grid-area: score;
  }

  .me-ruh__score-val {
    font-size: 15px;
  }

  .me-ruh__score-lbl {
    font-size: 8px;
  }

  .me-ruh__btn {
    grid-area: button;
    width: 100%;
    min-height: 38px;
    padding: 7px 8px;
    border-radius: 8px;
    font-size: 12px;
  }

  .nef-tac h2 {
    font-size: 25px;
    line-height: 1.35;
  }

  .nef-tac h3,
  .nef-tac h4 {
    font-size: 19px;
  }

  .nef-tac p,
  .nef-tac li {
    font-size: 16px;
    line-height: 1.7;
  }

  .nef-tac ul,
  .nef-tac ol {
    padding-left: 20px;
  }

  .nef-tac 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: #ffffff;
  }

  .nef-tac thead,
  .nef-tac tbody,
  .nef-tac tr {
    width: 100%;
  }

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

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

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

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

  .gux {
    padding: 17px 18px;
    font-size: 16px;
    line-height: 1.35;
  }

  .ji-vex {
    padding: 0 18px 17px;
    font-size: 15px;
    line-height: 1.65;
  }

  .ka-zi {
    padding: 28px 0;
  }

  .ka-zi p {
    font-size: 14px;
  }
}

/* Small mobile */

@media (max-width: 520px) {
  .zan-kod {
    padding: 0 18px;
  }

  .pop-su__inner {
    font-size: 16px;
  }

  .wo-suc h1 {
    font-size: 27px;
  }

  .naz h2 {
    font-size: 23px;
  }

  .me-ruh {
    grid-template-columns: 54px 26px minmax(0, 1fr) 42px 60px;
    gap: 6px;
    padding: 13px 7px;
  }

  .me-ruh__logo {
    width: 46px !important;
    max-width: 46px !important;
  }

  .me-ruh__rank {
    font-size: 13px;
  }

  .me-ruh__name {
    font-size: 13px;
  }

  .me-ruh__bonus {
    font-size: 10.5px;
  }

  .me-ruh__score-val {
    font-size: 14px;
  }

  .me-ruh__score-lbl {
    font-size: 7px;
  }

  .me-ruh__btn {
    min-height: 36px;
    padding: 7px 6px;
    font-size: 11px;
  }

  .nef-tac h2 {
    font-size: 23px;
  }

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

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

/* Very small mobile */

@media (max-width: 380px) {
  .zan-kod {
    padding: 0 14px;
  }

  .pop-su__inner {
    font-size: 15px;
    white-space: normal;
  }

  .wo-suc h1 {
    font-size: 25px;
  }

  .naz h2 {
    font-size: 22px;
  }

  .me-ruh {
    grid-template-columns: 50px 26px minmax(0, 1fr);
    grid-template-areas:
      "logo rank info"
      "score score score"
      "button button button";
    gap: 10px;
    padding: 14px 12px;
  }

  .me-ruh__logo {
    width: 44px !important;
    max-width: 44px !important;
  }

  .me-ruh__score {
    justify-self: center;
  }

  .me-ruh__btn {
    width: 100%;
    justify-self: center;
  }

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

  .nef-tac p,
  .nef-tac li {
    font-size: 14px;
  }
}