/* ============================================================
   VAVADA — Design System (Astro build)
   Тёмная тема по мотивам оригинального static_site
   ============================================================ */
@font-face {
  font-family: 'Muller';
  src: url('/fonts/muller_regular.96a27afe1a505f17f45d62993b8ae080.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Muller';
  src: url('/fonts/muller_medium.791d5958be3a4deb0c60bf641105fbc7.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Muller';
  src: url('/fonts/muller_medium_italic.f2d923ec2a2ecac5754865f3d661ac96.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Muller';
  src: url('/fonts/muller_bold.f46fec22fe00f222f37ed4c117339b91.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Muller';
  src: url('/fonts/muller_extra_bold.93f0aa5c2c13b6bdf116fa80cce5fd65.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Muller';
  src: url('/fonts/muller_light.8ecac673d1a9144b89ba902acc773274.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #191929;
  --bg-2: #1e1e31;
  --bg-3: #252536;
  --bg-card: #232334;
  --bg-card-hover: #2a2a3e;
  --bg-input: #1c1c2c;
  --line: #33334a;
  --line-soft: #2a2a40;

  --text: #f2f2f7;
  --text-2: #b8b8cc;
  --text-3: #7c7c96;

  --accent: #6e30d3;
  --accent-2: #8f5bff;
  --accent-grad: linear-gradient(135deg, #6e30d3 0%, #a14bff 100%);
  --yellow: #ffde26;
  --red: #fe284a;
  --green: #62c23c;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;

  --font: 'Muller', 'Segoe UI', Arial, sans-serif;
  --container: 1240px;
  --header-h: 72px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-accent: 0 8px 24px rgba(110, 48, 211, 0.45);

  --tr: 0.2s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: 0.2px; }
.section-head p { color: var(--text-2); margin-top: 8px; max-width: 640px; }
.section-link { color: var(--accent-2); font-weight: 700; font-size: 15px; white-space: nowrap; }
.section-link:hover { color: var(--yellow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 50px; border: none;
  font-weight: 800; font-size: 15px; line-height: 1;
  transition: var(--tr); text-decoration: none; cursor: pointer;
}
.btn--accent { background: var(--accent-grad); color: #fff; box-shadow: var(--shadow-accent); }
.btn--accent:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn--yellow { background: var(--yellow); color: #1a1a2a; }
.btn--yellow:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn--ghost { background: rgba(255, 255, 255, 0.06); color: var(--text); border: 1px solid var(--line); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--accent-2); }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 16px; font-size: 13px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(25, 25, 41, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header__in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; letter-spacing: 1px; }
.logo svg { width: 34px; height: 34px; }
.logo b { color: var(--yellow); }
.logo em { font-style: normal; color: var(--text-2); font-weight: 700; font-size: 13px; letter-spacing: 2px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a {
  padding: 9px 14px; border-radius: 50px; font-weight: 600; font-size: 15px;
  color: var(--text-2); transition: var(--tr); white-space: nowrap;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav a[aria-current='page'] { color: #fff; background: var(--accent-grad); }

.header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-switch {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line);
  border-radius: 50px; padding: 7px 14px; color: var(--text-2);
  font-weight: 700; font-size: 14px; transition: var(--tr);
}
.lang-switch:hover { border-color: var(--accent-2); color: var(--text); }
.lang-switch .dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; border: 1px solid rgba(255,255,255,0.35); }

.burger { display: none; background: none; border: none; color: var(--text); width: 42px; height: 42px; }
.burger svg { width: 26px; height: 26px; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: rgba(10, 10, 18, 0.96);
  display: flex; flex-direction: column; padding: 24px; gap: 8px;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.25s ease, visibility 0.25s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu a { padding: 14px 10px; font-size: 18px; font-weight: 700; border-bottom: 1px solid var(--line-soft); color: var(--text-2); }
.mobile-menu a:hover { color: var(--yellow); }
.mobile-menu__close { margin-left: auto; background: none; border: none; color: var(--text); font-size: 30px; padding: 0 8px; }
.mobile-menu .btn { margin-top: 12px; }

/* ---------- Hero slider ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero__track { display: flex; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.hero__slide {
  min-width: 100%; min-height: 460px; position: relative;
  display: flex; align-items: center;
  background: radial-gradient(1100px 500px at 15% 0%, rgba(110, 48, 211, 0.55), transparent 60%),
              radial-gradient(900px 420px at 90% 100%, rgba(255, 222, 38, 0.14), transparent 55%),
              var(--bg);
  padding: 80px 0;
}
.hero__deco { position: absolute; right: -80px; top: 50%; transform: translateY(-50%); width: 520px; height: 520px; opacity: 0.5; pointer-events: none; }
.hero__deco svg { width: 100%; height: 100%; }
.hero__content { max-width: 620px; position: relative; z-index: 2; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 222, 38, 0.12); color: var(--yellow);
  border: 1px solid rgba(255, 222, 38, 0.35);
  padding: 7px 16px; border-radius: 50px; font-weight: 800; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
}
.hero__title { font-size: clamp(34px, 5vw, 56px); font-weight: 900; line-height: 1.12; margin-bottom: 18px; }
.hero__text { color: var(--text-2); font-size: 17px; max-width: 520px; margin-bottom: 30px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__nav { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 18px 0; }
.hero__arrow {
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line);
  color: var(--text-2); width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; transition: var(--tr);
}
.hero__arrow:hover { color: #fff; border-color: var(--accent-2); background: rgba(110, 48, 211, 0.25); }
.hero__dots { display: flex; gap: 8px; }
.hero__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); border: none; padding: 0; transition: var(--tr); }
.hero__dot.is-active { background: var(--accent-2); width: 26px; border-radius: 6px; }

/* ---------- Category cards ---------- */
.cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  position: relative; border-radius: var(--radius-lg); padding: 28px 24px;
  background: var(--bg-card); border: 1px solid var(--line-soft);
  overflow: hidden; transition: var(--tr); display: block;
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.cat-card__icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.cat-card__icon svg { width: 30px; height: 30px; }
.cat-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.cat-card p { color: var(--text-3); font-size: 14px; }
.cat-card .count { position: absolute; top: 16px; right: 16px; font-size: 12px; font-weight: 800; color: var(--text-3); background: rgba(255,255,255,0.05); padding: 4px 10px; border-radius: 50px; }

/* ---------- Game cards ---------- */
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.game-card {
  display: block; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--line-soft);
  transition: var(--tr); position: relative;
}
.game-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.game-card__thumb { position: relative; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.game-card__thumb svg { width: 46%; height: 46%; }
.game-card__badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.game-badge { font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 50px; color: #1a1a2a; }
.game-badge--hit { background: var(--yellow); }
.game-badge--new { background: var(--green); }
.game-badge--live { background: var(--red); color: #fff; }
.game-card__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(15, 15, 26, 0.6); opacity: 0; transition: var(--tr);
}
.game-card:hover .game-card__play { opacity: 1; }
.game-card__play span { background: var(--accent-grad); color: #fff; font-weight: 800; font-size: 14px; padding: 11px 22px; border-radius: 50px; box-shadow: var(--shadow-accent); }
.game-card__body { padding: 13px 14px 14px; }
.game-card__body h3 { font-size: 15px; font-weight: 700; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-card__body p { font-size: 12.5px; color: var(--text-3); }
.game-card__fav {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(20, 20, 32, 0.75); border: 1px solid var(--line);
  color: var(--text-3); display: flex; align-items: center; justify-content: center; transition: var(--tr);
}
.game-card__fav:hover { color: var(--red); border-color: var(--red); }
.game-card__fav.is-active { color: var(--red); border-color: var(--red); }
.game-card__fav svg { width: 17px; height: 17px; }

/* ---------- Catalog controls ---------- */
.catalog-toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 26px; }
.tabs { display: inline-flex; background: var(--bg-3); border-radius: 50px; padding: 5px; gap: 4px; }
.tab {
  border: none; background: none; color: var(--text-2); font-weight: 700; font-size: 14px;
  padding: 9px 20px; border-radius: 50px; transition: var(--tr);
}
.tab:hover { color: var(--text); }
.tab.is-active { background: var(--accent-grad); color: #fff; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  background: var(--bg-card); border: 1px solid var(--line-soft); color: var(--text-2);
  border-radius: 50px; padding: 8px 16px; font-size: 13.5px; font-weight: 700; transition: var(--tr);
}
.chip:hover { color: var(--text); border-color: var(--accent-2); }
.chip.is-active { background: var(--accent-grad); color: #fff; border-color: transparent; }
.search-box { position: relative; flex: 1; min-width: 220px; max-width: 360px; margin-left: auto; }
.search-box input {
  width: 100%; background: var(--bg-input); border: 1px solid var(--line);
  color: var(--text); border-radius: 50px; padding: 11px 44px 11px 18px; font-family: inherit; font-size: 14.5px;
}
.search-box input::placeholder { color: var(--text-3); }
.search-box input:focus { outline: none; border-color: var(--accent-2); }
.search-box svg { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-3); pointer-events: none; }

/* Провайдеры на главной */
.providers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.provider-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: var(--radius-md); background: var(--bg-card); border: 1px solid var(--line-soft); transition: var(--tr); }
.provider-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.provider-card__name { font-weight: 800; font-size: 15px; color: var(--text); }
.provider-card__count { font-size: 12.5px; color: var(--text-3); font-weight: 700; }
.catalog-empty { text-align: center; color: var(--text-3); padding: 60px 0; font-size: 17px; }

/* ---------- Bonus cards ---------- */
.bonus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bonus-card {
  position: relative; border-radius: var(--radius-lg); padding: 30px 26px;
  background: var(--bg-card); border: 1px solid var(--line-soft);
  overflow: hidden; transition: var(--tr); display: flex; flex-direction: column; gap: 14px;
}
.bonus-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--accent-grad);
}
.bonus-card:nth-child(2)::before { background: linear-gradient(90deg, var(--yellow), #ff9f1a); }
.bonus-card:nth-child(3)::before { background: linear-gradient(90deg, var(--red), #ff6a3d); }
.bonus-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bonus-card__badge { align-self: flex-start; font-size: 12px; font-weight: 800; color: var(--yellow); background: rgba(255, 222, 38, 0.1); border: 1px solid rgba(255, 222, 38, 0.3); padding: 5px 12px; border-radius: 50px; }
.bonus-card__amount { font-size: 30px; font-weight: 900; color: var(--yellow); line-height: 1.1; }
.bonus-card h3 { font-size: 19px; font-weight: 800; }
.bonus-card p { color: var(--text-2); font-size: 14.5px; flex: 1; }

/* ---------- Tournaments ---------- */
.tour-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tour-card { border-radius: var(--radius-lg); padding: 30px; background: var(--bg-card); border: 1px solid var(--line-soft); transition: var(--tr); }
.tour-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.tour-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.tour-card__prize { font-size: 28px; font-weight: 900; color: var(--yellow); }
.tour-card__days { font-size: 13px; color: var(--green); font-weight: 700; background: rgba(98, 194, 60, 0.12); padding: 6px 12px; border-radius: 50px; }
.tour-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.tour-card p { color: var(--text-2); font-size: 14.5px; margin-bottom: 18px; }
.tour-card__meta { display: flex; gap: 18px; color: var(--text-3); font-size: 13.5px; margin-bottom: 20px; flex-wrap: wrap; }

/* ---------- Payments ---------- */
.pay-strip { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pay-item {
  background: var(--bg-card); border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  padding: 14px 22px; font-weight: 800; font-size: 14.5px; color: var(--text-2);
  display: inline-flex; align-items: center; gap: 10px; transition: var(--tr);
}
.pay-item:hover { color: var(--text); border-color: var(--accent-2); transform: translateY(-2px); }
.pay-item svg { width: 22px; height: 22px; opacity: 0.9; }

/* ---------- SEO text ---------- */
.seo-text h2 { font-size: 24px; font-weight: 800; margin: 28px 0 12px; }
.seo-text p { color: var(--text-2); margin-bottom: 14px; }
.seo-text a { color: var(--accent-2); }
.seo-text a:hover { text-decoration: underline; }

/* ---------- Breadcrumbs ---------- */
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--text-3); padding: 22px 0; flex-wrap: wrap; }
.crumbs a:hover { color: var(--accent-2); }
.crumbs .sep { opacity: 0.5; }

/* ---------- Page hero (inner) ---------- */
.page-head { padding: 40px 0 8px; }
.page-head h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 900; margin-bottom: 10px; }
.page-head p { color: var(--text-2); max-width: 680px; font-size: 16.5px; }

/* ---------- Game detail ---------- */
.game-detail { display: grid; grid-template-columns: 420px 1fr; gap: 40px; align-items: start; }
.game-detail__thumb {
  border-radius: var(--radius-lg); aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-soft); position: relative; overflow: hidden;
}
.game-detail__thumb svg { width: 42%; height: 42%; }
.game-detail__info h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; margin: 6px 0 6px; }
.game-detail__provider { color: var(--accent-2); font-weight: 700; margin-bottom: 18px; display: inline-block; text-decoration: none; transition: var(--tr); }
.game-detail__provider:hover { color: var(--yellow); text-decoration: underline; }
.game-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 24px 0 28px; }
.spec { background: var(--bg-card); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 14px 16px; }
.spec dt { font-size: 12.5px; color: var(--text-3); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.spec dd { font-size: 16px; font-weight: 800; }
.spec dd.green { color: var(--green); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-soft); background: var(--bg-2); margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr 1.4fr; gap: 28px; padding: 56px 0 40px; }
.footer h4 { font-size: 15px; font-weight: 800; margin-bottom: 16px; color: var(--text); }
.footer ul { display: grid; gap: 10px; }
.footer a { color: var(--text-3); font-size: 14.5px; transition: var(--tr); }
.footer a:hover { color: var(--yellow); }
.footer__about { color: var(--text-3); font-size: 14px; margin-top: 16px; max-width: 340px; line-height: 1.6; }
.footer__bottom { border-top: 1px solid var(--line-soft); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--text-3); font-size: 13.5px; }
.footer__responsible { color: var(--yellow); font-weight: 800; }
.lang-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.lang-grid a { display: flex; align-items: center; gap: 7px; padding: 5px 8px; border-radius: 8px; font-size: 13.5px; }
.lang-grid a:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.lang-grid .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.lang-grid a.is-current { color: var(--yellow); font-weight: 800; }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(8, 8, 15, 0.75); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.25s ease, visibility 0.25s;
}
.modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.modal__box {
  width: 100%; max-width: 440px; background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 32px; position: relative;
  transform: translateY(16px); transition: transform 0.25s ease;
}
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; background: none; border: none; color: var(--text-3); font-size: 24px; line-height: 1; }
.modal__close:hover { color: var(--red); }
.modal__title { font-size: 24px; font-weight: 900; margin-bottom: 6px; }
.modal__subtitle { color: var(--text-2); font-size: 14.5px; margin-bottom: 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--text-2); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; background: var(--bg-input); border: 1px solid var(--line); color: var(--text);
  border-radius: var(--radius-sm); padding: 12px 14px; font-family: inherit; font-size: 15px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--accent-2); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-2); margin: 16px 0 18px; }
.check input { margin-top: 3px; accent-color: var(--accent); }
.form-error { color: var(--red); font-size: 13px; font-weight: 700; margin: -6px 0 12px; display: none; }
.form-error.is-visible { display: block; }
.modal__success { text-align: center; padding: 20px 0; }
.modal__success .ok { width: 64px; height: 64px; border-radius: 50%; background: rgba(98, 194, 60, 0.15); color: var(--green); display: inline-flex; align-items: center; justify-content: center; font-size: 30px; margin-bottom: 16px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); z-index: 400;
  background: var(--bg-3); border: 1px solid var(--accent); color: var(--text);
  padding: 13px 22px; border-radius: 50px; font-weight: 700; font-size: 14.5px;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: var(--tr);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- To top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent-grad); color: #fff; border: none;
  box-shadow: var(--shadow-accent); display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: var(--tr);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; transition: var(--tr);
}
.faq-item:hover { border-color: var(--accent-2); }
.faq-item summary {
  cursor: pointer; padding: 17px 20px; font-weight: 700; font-size: 15.5px;
  display: flex; align-items: center; gap: 12px; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: '+'; flex: 0 0 26px; height: 26px; border-radius: 50%;
  background: var(--accent-grad); color: #fff; display: inline-flex;
  align-items: center; justify-content: center; font-weight: 800; font-size: 16px;
  transition: transform 0.2s;
}
.faq-item[open] summary::before { transform: rotate(45deg); }
.faq-item p { padding: 0 20px 18px 58px; color: var(--text-2); font-size: 14.5px; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.post-card {
  display: block; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--line-soft); transition: var(--tr);
}
.post-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.post-card__thumb { height: 150px; display: flex; align-items: center; justify-content: center; color: #fff; position: relative; }
.post-card__thumb svg { width: 56px; height: 56px; opacity: 0.9; }
.post-card__body { padding: 20px 22px 22px; }
.post-card__meta { display: flex; gap: 12px; font-size: 12.5px; color: var(--text-3); font-weight: 700; margin-bottom: 10px; }
.post-card__meta .cat { color: var(--accent-2); }
.post-card h3 { font-size: 18px; font-weight: 800; line-height: 1.3; margin-bottom: 8px; }
.post-card p { color: var(--text-2); font-size: 14px; }
.post-article { max-width: 820px; margin: 0 auto; }
.post-article h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 900; line-height: 1.2; margin-bottom: 14px; }
.post-article .post-meta { color: var(--text-3); font-size: 14px; margin-bottom: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.post-article .post-body { display: grid; gap: 16px; }
.post-article .post-body h2 { font-size: 22px; font-weight: 800; margin-top: 18px; }
.post-article .post-body h3 { font-size: 18px; font-weight: 800; margin-top: 10px; }
.post-article .post-body p { color: var(--text-2); line-height: 1.7; }
.post-article .post-body ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; color: var(--text-2); }
.post-article .post-body a { color: var(--accent-2); }

/* ---------- Not found ---------- */
.notfound { text-align: center; padding: 120px 20px; }
.notfound h1 { font-size: 90px; font-weight: 900; color: var(--accent-2); line-height: 1; }
.notfound p { color: var(--text-2); margin: 14px 0 28px; font-size: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .bonus-grid { grid-template-columns: 1fr; }
  .tour-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .game-detail { grid-template-columns: 1fr; }
  .game-detail__thumb { max-width: 480px; }
}
@media (max-width: 860px) {
  .nav, .header__actions .btn { display: none; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .hero__slide { min-height: 420px; }
  .hero__deco { display: none; }
  .section { padding: 48px 0; }
}
@media (max-width: 560px) {
  .cats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-card { padding: 20px 16px; }
  .search-box { max-width: none; margin-left: 0; flex-basis: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .header__in { gap: 12px; }
  .lang-switch { padding: 7px 10px; }
}
