:root {
  --clr-bg: #101624;
  --clr-surface: #1e2434;
  --clr-surface-2: #262d40;
  --clr-line: #313a52;
  --clr-header: #1e2434;
  --clr-primary: #6bdb5b;
  --clr-primary-dark: #4fbf40;
  --clr-secondary: #6da9eb;
  --clr-text: #eef2f8;
  --clr-muted: #a8b3c7;
  --clr-dark-text: #0d1220;
  --clr-danger: #e8626b;
  --clr-gold: #f2c14e;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.25);
  --gap: 20px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--clr-bg);
}

body {
  font-family: "Oswald", "Segoe UI", Arial, sans-serif;
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  font-weight: 300;
  letter-spacing: 0.2px;
  overflow-x: hidden;
  min-height: 100vh;
}

body.fixed {
  overflow: hidden;
}

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

a {
  color: var(--clr-secondary);
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

a:hover {
  color: #9cc6f2;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--clr-text);
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.7rem, 4.4vw, 2.7rem);
  margin: 10px 0 18px;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  margin: 0 0 16px;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 14px;
  color: var(--clr-muted);
  text-wrap: pretty;
}

.wrapper {
  width: 100%;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

.box {
  background: var(--clr-surface);
  border: 1px solid var(--clr-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin: 18px 0;
  padding: 22px;
}

.content.box {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.content .text {
  display: block;
}

.text-center {
  text-align: center;
}

.mt1 {
  margin-top: 12px;
}

.mb1 {
  margin-bottom: 12px;
}

.hidden-seo {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  border-radius: var(--radius-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), filter 0.2s var(--ease);
  white-space: nowrap;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn:active {
  transform: translateY(0);
}

.btn--sm {
  padding: 8px 14px;
  font-size: 0.82rem;
}

.btn--md {
  padding: 12px 20px;
  font-size: 0.95rem;
}

.btn--lg {
  padding: 16px 30px;
  font-size: 1.1rem;
}

.btn--green {
  background: var(--clr-primary);
  color: var(--clr-dark-text);
  box-shadow: 0 6px 18px rgba(107, 219, 91, 0.28);
}

.btn--green:hover {
  color: var(--clr-dark-text);
  box-shadow: 0 10px 26px rgba(107, 219, 91, 0.42);
}

.btn--blue {
  background: var(--clr-secondary);
  color: var(--clr-dark-text);
  box-shadow: 0 6px 18px rgba(109, 169, 235, 0.25);
}

.btn--blue:hover {
  color: var(--clr-dark-text);
}

.btn--ghost {
  background: transparent;
  color: var(--clr-secondary);
  border: 1px solid var(--clr-secondary);
}

.btn--ghost:hover {
  color: var(--clr-dark-text);
  background: var(--clr-secondary);
}

.btn--block {
  width: 100%;
}

.btn--pulse {
  animation: qz-pulse 2.4s infinite;
}

@keyframes qz-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(107, 219, 91, 0.5);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(107, 219, 91, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(107, 219, 91, 0);
  }
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--sm {
  width: 16px;
  height: 16px;
}

.icon--accent {
  stroke: var(--clr-primary);
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.header.box {
  background: var(--clr-header);
  padding: 12px 22px;
  position: sticky;
  top: 0;
  z-index: 60;
  margin: 12px 0;
}

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

.logo img {
  height: 44px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.menu a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--clr-text);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 2px;
  position: relative;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--clr-primary);
  transition: width 0.28s var(--ease);
}

.menu a:hover {
  color: var(--clr-primary);
}

.menu a:hover::after {
  width: 100%;
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* дублирующие кнопки внутри бургер-меню — только на мобильных */
.nav-actions {
  display: none;
}

.online-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--clr-muted);
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-line);
  padding: 7px 12px;
  border-radius: 40px;
}

.online-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--clr-primary);
  box-shadow: 0 0 0 0 rgba(107, 219, 91, 0.7);
  animation: qz-blink 1.8s infinite;
}

@keyframes qz-blink {
  0% {
    box-shadow: 0 0 0 0 rgba(107, 219, 91, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(107, 219, 91, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(107, 219, 91, 0);
  }
}

.online-count {
  color: var(--clr-primary);
  font-weight: 600;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--clr-line);
  background: var(--clr-surface-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.burger span {
  width: 20px;
  height: 2px;
  background: var(--clr-text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.vhx-hero {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  border: 1px solid var(--clr-line);
  background: linear-gradient(115deg, rgba(16, 22, 36, 0.94) 20%, rgba(16, 22, 36, 0.4) 100%),
    url("/hero-banner.png?ver=1.7") center / cover no-repeat;
}

.vhx-hero__inner {
  padding: 40px 34px;
  max-width: 620px;
  animation: qz-fade-up 0.8s var(--ease) both;
}

.vhx-hero .eyebrow {
  display: inline-block;
  color: var(--clr-primary);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.vhx-hero h1 {
  margin-top: 0;
}

.vhx-hero p {
  color: #d5deec;
  font-size: 1.05rem;
  max-width: 520px;
}

.vhx-hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.vhx-hero__badges {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
  color: var(--clr-muted);
  font-size: 0.85rem;
}

.vhx-hero__badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@keyframes qz-fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vhx-crumbs {
  padding: 12px 20px;
  font-size: 0.85rem;
}

.vhx-crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.vhx-crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--clr-muted);
}

.vhx-crumbs li + li::before {
  content: "›";
  color: var(--clr-line);
}

.vhx-crumbs a {
  color: var(--clr-secondary);
}

.vhx-toc ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.vhx-toc a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-sm);
  color: var(--clr-text);
  font-size: 0.95rem;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.vhx-toc a:hover {
  transform: translateX(4px);
  border-color: var(--clr-primary);
  background: #2b3350;
  color: var(--clr-primary);
}

.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.section-head .icon {
  width: 26px;
  height: 26px;
  stroke: var(--clr-primary);
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table.vhx-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  margin: 0 auto;
  text-align: left;
}

table.vhx-table caption {
  caption-side: top;
  text-align: left;
  color: var(--clr-muted);
  font-size: 0.85rem;
  padding-bottom: 10px;
}

table.vhx-table th,
table.vhx-table td {
  border: 1px solid var(--clr-line);
  padding: 12px 14px;
  vertical-align: middle;
}

table.vhx-table thead th {
  background: var(--clr-surface-2);
  color: var(--clr-text);
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.6px;
}

table.vhx-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

table.vhx-table tbody tr:hover {
  background: rgba(109, 169, 235, 0.06);
}

.status-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--clr-primary);
  font-size: 0.8rem;
}

.status-live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-primary);
  animation: qz-blink 1.6s infinite;
}

.mirror-time {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--clr-muted);
}

.mirror-time strong {
  color: var(--clr-secondary);
}

.slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 1fr);
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.slider > * {
  scroll-snap-align: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.card {
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--clr-secondary);
  box-shadow: var(--shadow);
}

.vhx-tourn .card {
  position: relative;
  overflow: hidden;
}

.tourn-prize {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--clr-primary);
}

.tourn-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--clr-line);
  padding-top: 12px;
  font-size: 0.85rem;
  color: var(--clr-muted);
}

.timer {
  display: inline-flex;
  gap: 6px;
  font-weight: 600;
  color: var(--clr-gold);
}

.timer span {
  background: var(--clr-bg);
  border: 1px solid var(--clr-line);
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 0.85rem;
  min-width: 34px;
  text-align: center;
}

.vhx-app__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--gap);
  align-items: start;
}

.store-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--clr-line);
  background: var(--clr-bg);
  color: var(--clr-text);
}

.store-btn:hover {
  border-color: var(--clr-primary);
  color: var(--clr-text);
}

.store-btn .icon {
  stroke: var(--clr-primary);
  width: 26px;
  height: 26px;
}

.store-btn small {
  display: block;
  color: var(--clr-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.store-btn b {
  font-size: 1.02rem;
  font-weight: 600;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--clr-line);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.vhx-bonus .card {
  align-items: flex-start;
}

.bonus-tag {
  align-self: flex-start;
  background: rgba(109, 169, 235, 0.15);
  color: var(--clr-secondary);
  border: 1px solid rgba(109, 169, 235, 0.4);
  padding: 4px 10px;
  border-radius: 40px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bonus-amount {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--clr-primary);
}

.vhx-slots .grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.slot-card {
  align-items: center;
  text-align: center;
}

.slot-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--clr-line);
}

.slot-card h3 {
  font-size: 1rem;
}

.vhx-slot-machine {
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(107, 219, 91, 0.12), transparent 60%),
    var(--clr-surface);
}

.reels {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 18px auto 8px;
}

.reel {
  width: 84px;
  height: 96px;
  background: var(--clr-bg);
  border: 2px solid var(--clr-line);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.reel.spin {
  animation: qz-reel 0.35s linear infinite;
}

@keyframes qz-reel {
  0% {
    transform: translateY(-6px);
    filter: blur(0.6px);
  }
  100% {
    transform: translateY(6px);
    filter: blur(0.6px);
  }
}

.slot-result {
  min-height: 46px;
  margin: 12px 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.slot-result.win {
  color: var(--clr-primary);
}

.slot-result.lose {
  color: var(--clr-danger);
}

.slot-win-box {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: qz-fade-up 0.5s var(--ease) both;
}

.slot-win-box.show {
  display: flex;
}

.vhx-review {
  line-height: 1.75;
}

.vhx-review h2,
.vhx-review h3 {
  margin-top: 24px;
}

.vhx-review p {
  color: #cdd6e6;
}

.vhx-review ul,
.vhx-review ol {
  margin: 0 0 16px 22px;
  color: #cdd6e6;
}

.vhx-review li {
  margin-bottom: 8px;
}

.vhx-review a {
  color: var(--clr-secondary);
  text-decoration: underline;
}

.vhx-review table {
  border-collapse: collapse;
  width: 100%;
  margin: 0 0 18px;
}

.vhx-review th,
.vhx-review td {
  border: 1px solid var(--clr-line);
  padding: 10px 12px;
  text-align: left;
}

.vhx-review th {
  background: var(--clr-surface-2);
}

.vhx-review blockquote {
  border-left: 3px solid var(--clr-primary);
  padding: 8px 16px;
  margin: 0 0 16px;
  color: var(--clr-muted);
  background: var(--clr-surface-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.vhx-review img {
  border-radius: var(--radius-sm);
  margin: 0 0 16px;
}

.vhx-safe {
  border-left: 4px solid var(--clr-secondary);
}

.vhx-safe .logos-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--clr-danger);
  color: var(--clr-danger);
  font-weight: 600;
}

.safe-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.safe-links a {
  padding: 8px 14px;
  border: 1px solid var(--clr-line);
  border-radius: 40px;
  font-size: 0.85rem;
  background: var(--clr-surface-2);
}

.vhx-faq details {
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: var(--clr-surface-2);
  overflow: hidden;
}

.vhx-faq summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--clr-text);
}

.vhx-faq summary::-webkit-details-marker {
  display: none;
}

.vhx-faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--clr-primary);
  transition: transform 0.25s var(--ease);
}

.vhx-faq details[open] summary::after {
  transform: rotate(45deg);
}

.vhx-faq .faq-body {
  padding: 0 18px 16px;
  color: var(--clr-muted);
}

.vhx-author__grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: start;
}

.vhx-author__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--clr-primary);
  background: var(--clr-surface-2);
}

.vhx-author__role {
  color: var(--clr-secondary);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.vhx-author__socials {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.vhx-author__socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--clr-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-surface-2);
}

.vhx-author__socials a:hover {
  border-color: var(--clr-secondary);
}

.vhx-author__date {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--clr-muted);
}

.footer.box,
.footer {
  background: var(--clr-header);
  border-top: 1px solid var(--clr-line);
  padding: 34px 22px 24px;
  border-radius: var(--radius) var(--radius) 0 0;
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 26px;
}

.footer-logo img {
  height: 42px;
  margin-bottom: 12px;
}

.footer-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--clr-muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

.footer-flag img {
  width: 26px;
  height: auto;
  border-radius: 3px;
  display: inline-block;
}

.footer h4 {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--clr-text);
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul a {
  color: var(--clr-muted);
  font-size: 0.9rem;
}

.footer ul a:hover {
  color: var(--clr-primary);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-sm);
  background: var(--clr-surface-2);
  color: var(--clr-muted);
  font-size: 0.78rem;
  letter-spacing: 0.4px;
}

.provider-badge {
  padding: 5px 10px;
  border: 1px solid var(--clr-line);
  border-radius: 6px;
  background: var(--clr-bg);
  color: var(--clr-muted);
  font-size: 0.78rem;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--clr-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-surface-2);
}

.footer-bottom {
  border-top: 1px solid var(--clr-line);
  margin-top: 24px;
  padding-top: 16px;
  color: var(--clr-muted);
  font-size: 0.82rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--clr-muted);
  font-size: 0.82rem;
}

.vhx-widget {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: linear-gradient(90deg, var(--clr-surface) 0%, var(--clr-surface-2) 100%);
  border-top: 2px solid var(--clr-primary);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45);
  transform: translateY(0);
  transition: transform 0.4s var(--ease);
}

.vhx-widget__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 16px;
}

.vhx-widget__text {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--clr-text);
  font-size: 0.95rem;
}

.vhx-widget__text .gift {
  font-size: 1.6rem;
}

.vhx-widget__text b {
  color: var(--clr-primary);
}

.vhx-widget__link {
  color: var(--clr-dark-text);
  text-decoration: none;
}

.vhx-widget__link:hover {
  color: var(--clr-dark-text);
  text-decoration: none;
}

.vhx-widget__close {
  background: transparent;
  border: none;
  color: var(--clr-muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.info-page h2 {
  margin-top: 26px;
}

.info-page ul {
  margin: 0 0 16px 22px;
  color: var(--clr-muted);
}

.info-page a {
  text-decoration: underline;
}

.qz-unused-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
}

.qz-skeleton {
  background: linear-gradient(90deg, #1e2434 25%, #262d40 37%, #1e2434 63%);
  background-size: 400% 100%;
  animation: qz-shimmer 1.4s ease infinite;
  border-radius: 6px;
}

@keyframes qz-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.mx91-clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.pl82-tooltip {
  position: relative;
  border-bottom: 1px dotted var(--clr-muted);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .vhx-app__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .header-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 82vw);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--clr-header);
    border-left: 1px solid var(--clr-line);
    padding: 84px 24px 24px;
    transform: translateX(105%);
    transition: transform 0.35s var(--ease);
    z-index: 55;
    overflow-y: auto;
  }
  .header-nav.active {
    transform: translateX(0);
  }
  .menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
  }
  .menu li {
    width: 100%;
    border-bottom: 1px solid var(--clr-line);
  }
  .menu a {
    width: 100%;
    padding: 14px 0;
  }
  .online-pill {
    order: -1;
    margin-top: 10px;
  }
  .nav-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 18px;
  }
  /* в хедере на мобильных остаётся только бургер */
  .hdr-actions .btn {
    display: none;
  }
  .burger {
    display: flex;
  }
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .vhx-toc ul {
    grid-template-columns: 1fr;
  }
  .slider {
    grid-auto-columns: 100%;
    align-items: start;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .slider::-webkit-scrollbar {
    display: none;
  }
  .slider > * {
    scroll-snap-stop: always;
    min-width: 0;
    max-width: 100%;
    align-self: start;
  }
  .grid-3.as-slider,
  .grid-2.as-slider {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: none;
    /* одна карточка = одна ячейка ровно по ширине контейнера */
    grid-auto-columns: 100%;
    align-items: start;
    justify-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .grid-3.as-slider::-webkit-scrollbar,
  .grid-2.as-slider::-webkit-scrollbar {
    display: none;
  }
  .grid-3.as-slider > *,
  .grid-2.as-slider > * {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-width: 0;
    max-width: 100%;
    /* карточка не тянется по высоте под соседей */
    height: auto;
    align-self: start;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .vhx-author__grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .vhx-widget__text span.desk-only {
    display: none;
  }
}

@media (max-width: 480px) {
  .box {
    padding: 16px;
  }
  .vhx-hero__inner {
    padding: 26px 18px;
  }
  .reel {
    width: 66px;
    height: 80px;
    font-size: 1.9rem;
  }
  .hdr-actions .btn {
    padding: 9px 12px;
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
