:root {
  --qz-bg: #1a0a03;
  --qz-bg-2: #22110a;
  --qz-panel: #2a160c;
  --qz-panel-2: #331a0d;
  --qz-head: #371d10;
  --qz-red: #680f09;
  --qz-red-hi: #8a1811;
  --qz-green: #25690e;
  --qz-green-hi: #348a15;
  --qz-gold: #e6b45a;
  --qz-gold-soft: #caa063;
  --qz-text: #f4e9dc;
  --qz-text-dim: #cbb7a4;
  --qz-line: #4a2c18;
  --qz-radius: 14px;
  --qz-radius-sm: 8px;
  --qz-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --qz-maxw: 1180px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--qz-bg);
}

body {
  font-family: "Cinzel", Georgia, "Times New Roman", serif;
  background: radial-gradient(1200px 600px at 50% -10%, #2a1207 0%, var(--qz-bg) 60%) fixed;
  color: var(--qz-text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
}

body.g8vk-lock {
  overflow: hidden;
}

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

a {
  color: var(--qz-gold);
  text-decoration: underline;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--qz-gold-soft);
}

.wrapper {
  width: 100%;
}

.container {
  width: 100%;
  max-width: var(--qz-maxw);
  margin: 0 auto;
  padding: 0 16px;
}

.box {
  background: linear-gradient(180deg, var(--qz-panel) 0%, var(--qz-panel-2) 100%);
  border: 1px solid var(--qz-line);
  border-radius: var(--qz-radius);
  box-shadow: var(--qz-shadow);
  padding: 22px;
  margin: 18px 0;
}

.qz-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--qz-gold);
  border: 1px solid var(--qz-line);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 12px;
}

h1,
h2,
h3,
h4 {
  font-family: "Cinzel", Georgia, serif;
  line-height: 1.25;
  color: #fff;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.7rem, 4.5vw, 2.7rem);
  margin: 8px 0 14px;
  color: var(--qz-gold);
}

h2 {
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  margin: 6px 0 16px;
}

h3 {
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  margin: 6px 0 10px;
}

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

.qz-muted {
  color: var(--qz-text-dim);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
  line-height: 1;
}

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

.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.05rem;
}

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

.btn--red {
  background: linear-gradient(180deg, var(--qz-red-hi), var(--qz-red));
  color: #ffe9e6;
  box-shadow: 0 6px 18px rgba(104, 15, 9, 0.45);
}

.btn--green {
  background: linear-gradient(180deg, var(--qz-green-hi), var(--qz-green));
  color: #eafce2;
  box-shadow: 0 6px 18px rgba(37, 105, 14, 0.45);
}

.btn--gold {
  background: linear-gradient(180deg, #f0c877, var(--qz-gold));
  color: #2a160c;
  box-shadow: 0 6px 18px rgba(230, 180, 90, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--qz-text);
  border-color: var(--qz-line);
}

.btn--bonus {
  background: linear-gradient(180deg, var(--qz-green-hi), var(--qz-green));
  color: #fff;
  box-shadow: 0 0 0 rgba(52, 138, 21, 0.6);
  animation: q7-pulse 2.4s infinite;
}

@keyframes q7-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 138, 21, 0.55);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(52, 138, 21, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 138, 21, 0);
  }
}

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, var(--qz-head), #2c160b);
  border: 1px solid var(--qz-line);
  border-radius: 0 0 var(--qz-radius) var(--qz-radius);
  margin-top: 0;
  padding: 10px 18px;
  backdrop-filter: blur(6px);
}

.hd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hd-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.hd-logo img {
  height: 46px;
  width: auto;
}

.hd-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hd-nav a.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--qz-text);
  text-decoration: none;
  font-size: 0.86rem;
  padding: 9px 12px;
  border-radius: var(--qz-radius-sm);
  transition: background 0.2s ease, color 0.2s ease;
}

.hd-nav a.nav-link:hover {
  background: rgba(230, 180, 90, 0.12);
  color: var(--qz-gold);
}

.hd-nav .nav-cta {
  display: none;
}

.hd-nav svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hd-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hd-online {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--qz-text-dim);
  border: 1px solid var(--qz-line);
  border-radius: 999px;
  padding: 6px 12px;
}

.hd-online .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3ad14a;
  box-shadow: 0 0 0 0 rgba(58, 209, 74, 0.7);
  animation: q7-pulse 2s infinite;
}

.hd-online b {
  color: var(--qz-gold);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--qz-line);
  border-radius: var(--qz-radius-sm);
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  width: 22px;
  margin: 0 auto;
  background: var(--qz-gold);
  transition: transform 0.25s ease, opacity 0.2s 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);
}

.hero {
  position: relative;
  border-radius: var(--qz-radius);
  overflow: hidden;
  margin: 18px 0;
  border: 1px solid var(--qz-line);
  min-height: 360px;
  display: flex;
  align-items: center;
  box-shadow: var(--qz-shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(26, 10, 3, 0.92) 0%, rgba(26, 10, 3, 0.55) 55%, rgba(26, 10, 3, 0.3) 100%),
    url("/hero-banner.png");
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.02);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 40px 34px;
  max-width: 640px;
  animation: q7-fade 0.9s ease both;
}

.hero h1 {
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.hero p {
  font-size: 1.05rem;
  color: var(--qz-text);
  margin-bottom: 22px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-badges span {
  font-size: 0.78rem;
  color: var(--qz-text);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--qz-line);
  border-radius: 999px;
  padding: 6px 12px;
}

@keyframes q7-fade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.crumbs {
  font-size: 0.82rem;
  color: var(--qz-text-dim);
  padding: 12px 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.crumbs a {
  color: var(--qz-gold-soft);
  text-decoration: none;
}

.crumbs a:hover {
  text-decoration: underline;
}

.crumbs .sep {
  opacity: 0.5;
}

.toc {
  background: linear-gradient(180deg, var(--qz-panel), var(--qz-panel-2));
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.toc-grid a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--qz-text);
  text-decoration: none;
  padding: 12px 14px;
  border: 1px solid var(--qz-line);
  border-radius: var(--qz-radius-sm);
  background: rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
}

.toc-grid a:hover {
  transform: translateX(4px);
  border-color: var(--qz-gold-soft);
  background: rgba(230, 180, 90, 0.08);
}

.toc-grid svg {
  width: 20px;
  height: 20px;
  color: var(--qz-gold);
  flex-shrink: 0;
}

.qz-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--qz-radius-sm);
}

table.qz-info {
  width: 100%;
  border-collapse: collapse;
  margin: 8px auto 0;
  min-width: 520px;
  text-align: left;
}

table.qz-info th,
table.qz-info td {
  padding: 13px 16px;
  border: 1px solid var(--qz-line);
  vertical-align: top;
}

table.qz-info th {
  width: 40%;
  background: rgba(0, 0, 0, 0.28);
  color: var(--qz-gold);
  font-weight: 700;
}

table.qz-info td {
  background: rgba(0, 0, 0, 0.12);
  color: var(--qz-text);
}

table.qz-info tr:hover td,
table.qz-info tr:hover th {
  background: rgba(230, 180, 90, 0.07);
}

.qz-th-ic {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.qz-th-ic svg {
  width: 18px;
  height: 18px;
  color: var(--qz-gold-soft);
  flex-shrink: 0;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.adv-tile {
  border: 1px solid var(--qz-line);
  border-radius: var(--qz-radius);
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.adv-tile:hover {
  transform: translateY(-5px);
  border-color: var(--qz-gold-soft);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4);
}

.adv-ic {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(37, 105, 14, 0.28), rgba(37, 105, 14, 0.12));
  border: 1px solid var(--qz-line);
  margin-bottom: 14px;
}

.adv-ic svg {
  width: 28px;
  height: 28px;
  color: var(--qz-gold);
}

.adv-tile h3 {
  color: #fff;
}

.adv-tile p {
  color: var(--qz-text-dim);
  font-size: 0.92rem;
  margin: 0;
}

.slider {
  position: relative;
}

.slider-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.bonus-card {
  border: 1px solid var(--qz-line);
  border-radius: var(--qz-radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(55, 29, 16, 0.6), rgba(0, 0, 0, 0.25));
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bonus-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.45);
}

.bonus-card .bc-top {
  padding: 18px;
  background: linear-gradient(180deg, rgba(37, 105, 14, 0.4), rgba(37, 105, 14, 0.1));
  border-bottom: 1px solid var(--qz-line);
}

.bonus-card .bc-top .tag {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--qz-gold);
}

.bonus-card .bc-amount {
  font-size: 1.5rem;
  color: #fff;
  margin-top: 6px;
}

.bonus-card .bc-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.bonus-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bonus-card ul li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
  color: var(--qz-text-dim);
}

.bonus-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--qz-green-hi);
}

.bonus-card .bc-foot {
  margin-top: auto;
  padding-top: 8px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.game-card {
  border: 1px solid var(--qz-line);
  border-radius: var(--qz-radius);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.5);
}

.game-card .gc-img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.game-card .gc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.game-card:hover .gc-img img {
  transform: scale(1.07);
}

.game-card .gc-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.game-card .gc-body h3 {
  font-size: 1rem;
  color: #fff;
  margin: 0;
}

.game-card .gc-prov {
  font-size: 0.76rem;
  color: var(--qz-text-dim);
  margin-bottom: 10px;
}

.qz-content-block {
  line-height: 1.75;
}

.qz-content-block h2 {
  margin-top: 26px;
  border-left: 4px solid var(--qz-green);
  padding-left: 12px;
}

.qz-content-block h3 {
  margin-top: 20px;
  color: var(--qz-gold);
}

.qz-content-block p {
  margin-bottom: 16px;
}

.qz-content-block a {
  color: var(--qz-gold);
}

.qz-content-block ul,
.qz-content-block ol {
  margin: 0 0 16px 22px;
  color: var(--qz-text);
}

.qz-content-block ul li,
.qz-content-block ol li {
  margin-bottom: 8px;
}

.qz-content-block blockquote {
  border-left: 4px solid var(--qz-gold-soft);
  background: rgba(0, 0, 0, 0.22);
  padding: 12px 18px;
  margin: 0 0 16px;
  border-radius: 0 var(--qz-radius-sm) var(--qz-radius-sm) 0;
  color: var(--qz-text-dim);
  font-style: italic;
}

.qz-content-block img {
  border-radius: var(--qz-radius-sm);
  margin: 0 auto 16px;
  border: 1px solid var(--qz-line);
}

.qz-content-block table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto 18px;
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}

.qz-content-block table th,
.qz-content-block table td {
  border: 1px solid var(--qz-line);
  padding: 12px 14px;
  text-align: left;
}

.qz-content-block table th {
  background: rgba(0, 0, 0, 0.3);
  color: var(--qz-gold);
}

.qz-content-block h1,
.qz-content-block h4,
.qz-content-block h5,
.qz-content-block h6 {
  margin-top: 18px;
}

.qz-content-block hr {
  border: none;
  border-top: 1px solid var(--qz-line);
  margin: 22px 0;
}

.qz-content-block code {
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 6px;
  border-radius: 5px;
  font-family: "Courier New", monospace;
  font-size: 0.88em;
  color: var(--qz-gold-soft);
}

.sec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.sec-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--qz-line);
  border-radius: var(--qz-radius-sm);
  padding: 16px;
  background: rgba(0, 0, 0, 0.18);
}

.sec-item .sec-ic {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(37, 105, 14, 0.18);
  border: 1px solid var(--qz-line);
}

.sec-item .sec-ic svg {
  width: 24px;
  height: 24px;
  color: var(--qz-gold);
}

.sec-item h3 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.sec-item p {
  font-size: 0.88rem;
  color: var(--qz-text-dim);
  margin: 0;
}

.resp-block {
  background: linear-gradient(180deg, rgba(104, 15, 9, 0.22), rgba(0, 0, 0, 0.2));
  border-color: var(--qz-red-hi);
}

.resp-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.resp-flags a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--qz-line);
  border-radius: var(--qz-radius-sm);
  padding: 10px 16px;
  text-decoration: none;
  color: var(--qz-text);
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.85rem;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.resp-flags a:hover {
  border-color: var(--qz-gold-soft);
  transform: translateY(-2px);
}

.resp-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--qz-red-hi);
  color: #ffcfcb;
  font-weight: 700;
  font-size: 0.9rem;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 8px 0 22px;
}

.review {
  border: 1px solid var(--qz-line);
  border-radius: var(--qz-radius-sm);
  padding: 16px;
  background: rgba(0, 0, 0, 0.18);
}

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

.review-ava {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--qz-green), var(--qz-red));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

.review-meta b {
  color: #fff;
}

.review-meta small {
  display: block;
  color: var(--qz-text-dim);
  font-size: 0.75rem;
}

.stars {
  color: var(--qz-gold);
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.review p {
  margin: 0;
  color: var(--qz-text-dim);
  font-size: 0.92rem;
}

.qz-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 560px;
}

.qz-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.qz-field label {
  font-size: 0.85rem;
  color: var(--qz-gold-soft);
}

.qz-field input,
.qz-field textarea {
  font-family: inherit;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--qz-line);
  border-radius: var(--qz-radius-sm);
  padding: 12px 14px;
  color: var(--qz-text);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.qz-field input:focus,
.qz-field textarea:focus {
  outline: none;
  border-color: var(--qz-green-hi);
  box-shadow: 0 0 0 3px rgba(37, 105, 14, 0.25);
}

.qz-field textarea {
  min-height: 120px;
  resize: vertical;
}

.qz-form-msg {
  font-size: 0.9rem;
  color: var(--qz-green-hi);
  min-height: 20px;
}

.author {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.author-photo {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--qz-line);
  flex-shrink: 0;
}

.author-body h3 {
  color: var(--qz-gold);
  margin-bottom: 2px;
}

.author-role {
  font-size: 0.82rem;
  color: var(--qz-text-dim);
  margin-bottom: 10px;
}

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

.author-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  text-decoration: none;
  color: var(--qz-text);
  border: 1px solid var(--qz-line);
  border-radius: 999px;
  padding: 6px 12px;
}

.author-links a:hover {
  border-color: var(--qz-gold-soft);
  color: var(--qz-gold);
}

.author-date {
  font-size: 0.78rem;
  color: var(--qz-text-dim);
  margin-top: 10px;
}

.faq-item {
  border: 1px solid var(--qz-line);
  border-radius: var(--qz-radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  padding: 15px 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-q .chev {
  transition: transform 0.25s ease;
  color: var(--qz-gold);
  flex-shrink: 0;
}

.faq-item.open .faq-q .chev {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 18px;
}

.faq-a p {
  padding: 4px 0 16px;
  margin: 0;
  color: var(--qz-text-dim);
  font-size: 0.92rem;
}

.footer {
  background: linear-gradient(180deg, #2c160b, var(--qz-head));
  border: 1px solid var(--qz-line);
  border-radius: var(--qz-radius) var(--qz-radius) 0 0;
  margin-top: 26px;
  padding: 30px 22px 26px;
}

.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 26px;
  margin-bottom: 22px;
}

.foot-logo img {
  height: 52px;
  margin-bottom: 12px;
}

.foot-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--qz-text-dim);
  margin-bottom: 12px;
}

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

.foot-col h4 {
  color: var(--qz-gold);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.foot-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.foot-col ul li a {
  color: var(--qz-text-dim);
  text-decoration: none;
  font-size: 0.86rem;
}

.foot-col ul li a:hover {
  color: var(--qz-gold);
}

.foot-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--qz-line);
  border-bottom: 1px solid var(--qz-line);
  margin-bottom: 18px;
}

.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--qz-text);
  border: 1px solid var(--qz-line);
  border-radius: 8px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.25);
}

.badge-chip svg {
  width: 16px;
  height: 16px;
  color: var(--qz-gold-soft);
}

.badge-group-title {
  width: 100%;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--qz-gold-soft);
  margin-top: 6px;
}

.foot-socials {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.foot-socials a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--qz-line);
  color: var(--qz-text);
}

.foot-socials a:hover {
  border-color: var(--qz-gold-soft);
  color: var(--qz-gold);
}

.foot-socials svg {
  width: 18px;
  height: 18px;
}

.copyright {
  font-size: 0.8rem;
  color: var(--qz-text-dim);
  line-height: 1.7;
}

.copyright a {
  color: var(--qz-gold-soft);
}

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

.qz-widget {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: linear-gradient(180deg, rgba(55, 29, 16, 0.96), rgba(26, 10, 3, 0.98));
  border-top: 1px solid var(--qz-gold-soft);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
  padding: 10px 16px;
  transform: translateY(0);
  transition: transform 0.35s ease;
}

.qz-widget.hidden {
  transform: translateY(120%);
}

.qz-widget-inner {
  max-width: var(--qz-maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.qz-widget-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.qz-widget-text b {
  color: var(--qz-gold);
  font-size: 1rem;
}

.qz-widget-text span {
  font-size: 0.8rem;
  color: var(--qz-text);
}

.qz-widget a.qz-widget-link {
  text-decoration: none;
}

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

.qz-widget-close {
  background: transparent;
  border: 1px solid var(--qz-line);
  color: var(--qz-text-dim);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

.slider-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--qz-line);
  cursor: pointer;
}

.slider-dots button.active {
  background: var(--qz-gold);
}

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

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

/* fail-safe: контент никогда не остаётся невидимым, даже если JS не отработал */
.qz-reveal {
  animation: qz-reveal-failsafe 0.4s ease 3s forwards;
}

.qz-reveal.qz-in {
  animation: none;
}

@keyframes qz-reveal-failsafe {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .qz-reveal {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
}

.qz-legacy-hidden,
.wp-legacy-placeholder {
  display: none !important;
}

@media (max-width: 980px) {
  .toc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  /* backdrop-filter создаёт containing block для position:fixed —
     из-за этого панель меню обрезалась по высоте шапки */
  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hd-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80%, 320px);
    flex-direction: column;
    align-items: stretch;
    background: linear-gradient(180deg, var(--qz-head), #22110a);
    padding: 80px 18px 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
    overscroll-behavior: contain;
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    gap: 4px;
    z-index: 70;
  }
  .hd-nav.active {
    transform: translateX(0);
    visibility: visible;
  }
  .hd-nav .nav-cta {
    display: flex;
    gap: 10px;
    margin-top: 14px;
  }
  .hd-nav .nav-cta .btn {
    flex: 1;
    justify-content: center;
  }
  .hd-actions .btn {
    display: none;
  }
  .hd-nav a.nav-link {
    font-size: 1rem;
    padding: 14px;
    border-bottom: 1px solid var(--qz-line);
  }
  .burger {
    display: flex;
  }
  .hd-online {
    display: none;
  }
  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .box {
    padding: 18px 15px;
  }
  .hero {
    min-height: 320px;
  }
  .hero-inner {
    padding: 28px 20px;
  }
  .toc-grid {
    grid-template-columns: 1fr;
  }
  .sec-grid {
    grid-template-columns: 1fr;
  }
  .foot-top {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .author {
    flex-direction: column;
  }
  .slider {
    overflow: hidden;
  }
  .slider-track {
    grid-auto-flow: column;
    grid-auto-columns: 85%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .slider-track > * {
    scroll-snap-align: center;
  }
  .games-grid {
    grid-auto-flow: column;
    grid-auto-columns: 60%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }
  .games-grid > * {
    scroll-snap-align: center;
  }
  .slider-dots {
    display: flex;
  }
  .qz-widget-text span {
    display: none;
  }
}

@media (max-width: 460px) {
  .adv-grid {
    grid-template-columns: 1fr;
  }
  .hd-logo img {
    height: 38px;
  }
  .hd-actions .hd-online {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
