:root {
  --gen-primary: #0c462b;
  --gen-primary-hov: #146740;
  --gen-primary-soft: #e6f4ee;
  --gen-accent: #e331a4;
  --gen-accent-soft: #f8e3f0;
  --gen-hero-from: #0f5735;
  --gen-hero-to: #062d1b;
  --gen-hero-mid: #242ba8;
  --gen-bg: #f4f6f5;
  --gen-surface: #ffffff;
  --gen-border: #d2e0d9;
  --gen-text: #14241d;
  --gen-text-soft: #608071;
  --gen-gold: #f1b322;
  --gen-pale: #f6f9f7;
}

/* 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: 'DM 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 */

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

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

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

/* Header */

.la-vil {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  max-width: 100%;
  background: linear-gradient(135deg, var(--gen-primary), var(--gen-hero-mid));
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.la-vil__inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  width: 100%;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}

.la-vil nav {
  flex-shrink: 0;
}

.cik {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

.cik__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.ne-kut {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  min-width: 0;
}

.ne-kut a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  color: rgba(255, 255, 255, 0.75);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.15s;
}

.ne-kut a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.ki-mid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  background: var(--gen-accent);
  color: #ffffff;
  border-radius: 19px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.ki-mid:hover {
  opacity: 0.85;
}

/* Hero */

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

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

.fi-pul h1 {
  max-width: 760px;
  margin-bottom: 10px;
  color: var(--gen-text);
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 800;
  line-height: 1.16;
}

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

/* Section heading */

.xeg {
  margin-bottom: 18px;
}

.xeg h2 {
  margin-bottom: 4px;
  color: var(--gen-text);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
}

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

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

.fuv {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--gen-surface);
  border: 1px solid var(--gen-border);
  border-radius: 9px;
  overflow: hidden;
}

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

.mu-xi:last-child {
  border-bottom: none;
}

.mu-xi:hover {
  background: var(--gen-pale);
  border-left-color: var(--gen-primary);
}

.mu-xi--first {
  border-left-color: var(--gen-gold);
}

.mu-xi__logo {
  width: 64px !important;
  max-width: 64px !important;
  min-width: 0 !important;
  justify-self: center;
}

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

.mu-xi__rank {
  min-width: 0;
  color: var(--gen-border);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.mu-xi--first .mu-xi__rank {
  color: var(--gen-gold);
}

.mu-xi__info {
  min-width: 0;
}

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

.mu-xi__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;
}

.mu-xi__deposit {
  display: none;
}

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

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

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

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

.mu-xi__btn:hover {
  background: var(--gen-primary-hov);
}

/* Content */

.mev {
  min-width: 0;
}

.mev h2 {
  margin: 26px 0 10px;
  color: var(--gen-text);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
}

.mev h3 {
  margin: 18px 0 8px;
  color: var(--gen-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.mev h4 {
  margin: 18px 0 8px;
  color: var(--gen-text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

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

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

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

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

.mev 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 */

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

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

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

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

/* FAQ */

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

.bo-ru h2 {
  margin-bottom: 14px;
  color: var(--gen-text);
  font-size: 19px;
  font-weight: 800;
}

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

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

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

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

.dix-vig p {
  margin-bottom: 0;
}

/* Hide FAQ answers by default */
.dix-vig {
  display: none;
}

/* Show the selected answer */
.hox-ko.is-open .dix-vig {
  display: block;
}

/* Make questions visibly clickable */
.det {
  cursor: pointer;
  user-select: none;
}

/* Change plus to minus when open */
.hox-ko.is-open .det::after {
  content: "−";
}

/* Keyboard accessibility */
.det:focus-visible {
  outline: 2px solid var(--gen-primary);
  outline-offset: -2px;
}

/* Footer */

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

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

.xi-vaz p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.ru-mil {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ru-mil a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease;
}

.ru-mil a:hover,
.ru-mil a:focus-visible {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
}

/* Mobile */

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

  .cek-rib {
    max-width: 100%;
    padding: 0 20px;
  }

  .nic-des {
    padding: 32px 0 44px;
  }

  .la-vil {
    position: relative;
  }

  .la-vil__inner {
    min-height: auto;
    padding: 12px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    white-space: normal;
  }

  .la-vil nav {
    width: 100%;
  }

  .ne-kut {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }

  .ne-kut a {
    padding: 7px 12px;
    font-size: 12px;
  }

  .fi-pul {
    padding: 34px 0 38px;
  }

  .fi-pul h1 {
    max-width: 100%;
    font-size: 28px;
    line-height: 1.18;
  }

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

  .fuv {
    gap: 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }

  .mu-xi {
    grid-template-columns: 58px 30px minmax(0, 1fr) 46px 66px;
    grid-template-areas: "logo rank info score button";
    gap: 7px;
    padding: 14px 9px;
    border: 1px solid var(--gen-border);
    border-left: 5px solid var(--gen-border);
    border-radius: 14px;
  }

  .mu-xi--first {
    border-left-color: var(--gen-gold);
  }

  .mu-xi__logo {
    grid-area: logo;
    width: 50px !important;
    max-width: 50px !important;
  }

  .mu-xi__rank {
    grid-area: rank;
    font-size: 13px;
  }

  .mu-xi__info {
    grid-area: info;
  }

  .mu-xi__name {
    font-size: 13px;
    line-height: 1.2;
  }

  .mu-xi__bonus {
    font-size: 10.5px;
    line-height: 1.3;
  }

  .mu-xi__score {
    grid-area: score;
  }

  .mu-xi__score-val {
    font-size: 13px;
  }

  .mu-xi__score-lbl {
    font-size: 7px;
  }

  .mu-xi__btn {
    grid-area: button;
    width: 100%;
    min-height: 36px;
    padding: 7px 6px;
    font-size: 11px;
  }

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

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

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

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

  .mev 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;
  }

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

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

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

  .bo-ru h2 {
    font-size: 25px;
  }

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

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

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

  .xi-vaz {
    padding: 28px 0;
  }

  .xi-vaz__row {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .xi-vaz__row nav {
    width: 100%;
  }

  .xi-vaz p {
    font-size: 14px;
  }

  .ru-mil {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .ru-mil a {
    width: 100%;
    padding: 10px 8px;
  }
}

/* Small mobile */

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

  .ru-mil {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .fi-pul h1 {
    font-size: 26px;
  }

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

  .mu-xi {
    grid-template-columns: 54px 28px minmax(0, 1fr);
    grid-template-areas:
      "logo rank info"
      "score score score"
      "button button button";
    gap: 10px;
    padding: 14px 12px;
  }

  .mu-xi__logo {
    width: 46px !important;
    max-width: 46px !important;
  }

  .mu-xi__rank {
    font-size: 13px;
  }

  .mu-xi__name {
    font-size: 14px;
  }

  .mu-xi__bonus {
    font-size: 11px;
  }

  .mu-xi__score {
    justify-self: center;
  }

  .mu-xi__score-val {
    font-size: 15px;
  }

  .mu-xi__btn {
    width: 100%;
    min-height: 42px;
    font-size: 14px;
  }

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

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

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

/* Very small mobile */

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

  .la-vil__inner {
    font-size: 15px;
  }

  .fi-pul h1 {
    font-size: 24px;
  }

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

  .mu-xi {
    grid-template-columns: 50px 26px minmax(0, 1fr);
    padding: 14px 10px;
  }

  .mu-xi__logo {
    width: 44px !important;
    max-width: 44px !important;
  }

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

  .mev p,
  .mev li {
    font-size: 14px;
  }
}
/* Wonaco bonus CTA */

.wonaco-bonus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin: 24px 0 0;
  padding: 20px 22px;
  background: linear-gradient(
    135deg,
    var(--gen-primary-soft),
    var(--gen-surface)
  );
  border: 1px solid var(--gen-border);
  border-left: 5px solid var(--gen-primary);
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(12, 70, 43, 0.08);
}

.wonaco-bonus__content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.wonaco-bonus__label {
  color: var(--gen-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wonaco-bonus__content strong {
  color: var(--gen-text);
  font-size: 17px;
  line-height: 1.35;
}

.wonaco-bonus__content > span:last-child {
  color: var(--gen-text-soft);
  font-size: 12px;
}

.wonaco-bonus__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 11px 18px;
  flex-shrink: 0;
  background: var(--gen-accent);
  color: #ffffff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.wonaco-bonus__cta:hover {
  filter: brightness(0.92);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .wonaco-bonus {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
  }

  .wonaco-bonus__cta {
    width: 100%;
  }
}
.author-box--footer {
  margin: 32px 0 0;
  padding: 20px;
  align-items: flex-start;
  background: var(--gen-pale);
  border: 1px solid var(--gen-border);
  border-radius: 12px;
}

.author-box--footer .author-box__avatar {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
}

.author-box--footer .author-box__content p {
  max-width: 650px;
  margin: 5px 0 0;
  color: var(--gen-text-soft);
  font-size: 13px;
  line-height: 1.6;
}
/* Author section */

.author-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 0;
}

.author-box__avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.author-box__avatar svg {
  display: block;
  width: 100%;
  height: 100%;
}

.author-box__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}

.author-box__label {
  color: var(--gen-text-soft);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.author-box__content strong {
  color: var(--gen-text);
  font-size: 14px;
  font-weight: 800;
}

.author-box__role {
  color: var(--gen-text-soft);
  font-size: 12px;
}

@media (max-width: 600px) {
  .author-box__avatar {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .author-box__content strong {
    font-size: 13px;
  }
}