/* ============================================================
   VENILEN — стили сайта
   Все правила scoped под .vn-root (для будущей вставки в Tilda).
   Классы только с префиксом vn-.
   Палитра: navy #2D3562, orangeText #E85619, blueText #173763,
   background #FEEFE1, orangeBlock #EE7416, peachBlock #FDE5D1.
   ============================================================ */

/* Минимально допустимый глобальный сброс для standalone-страниц.
   При переносе в Tilda этот блок удаляется, всё остальное — нет. */
body { margin: 0; }

.vn-root {
  --vn-navy: #2D3562;
  --vn-orange-text: #E85619;
  --vn-blue-text: #173763;
  --vn-bg: #FEEFE1;
  --vn-orange: #EE7416;
  --vn-peach: #FDE5D1;
  --vn-white: #FFFFFF;
  --vn-ink: #1D2133;
  --vn-gray: #7A7E92;
  --vn-radius: 22px;
  --vn-radius-lg: 32px;
  --vn-shadow: 0 18px 45px rgba(45, 53, 98, 0.14);
  --vn-shadow-soft: 0 10px 28px rgba(45, 53, 98, 0.10);
  --vn-font: 'Onest', 'Segoe UI', Arial, sans-serif;

  font-family: var(--vn-font);
  background: var(--vn-bg);
  color: var(--vn-ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.vn-root img { max-width: 100%; display: block; }
.vn-root a { color: inherit; }
/* Переопределения с большей специфичностью для ссылок-кнопок/чипов */
.vn-root a.vn-btn { color: var(--vn-white); }
.vn-root a.vn-btn--ghost { color: var(--vn-navy); }
.vn-root a.vn-btn--light { color: var(--vn-orange-text); }
.vn-root a.vn-btn--ozon { color: var(--vn-white); }
.vn-root a.vn-nav__link { color: var(--vn-navy); }
.vn-root a.vn-nav__link--ozon, .vn-root a.vn-nav__link--active { color: var(--vn-orange-text); }
.vn-root a.vn-catnav__chip { color: var(--vn-navy); }
.vn-root a.vn-catnav__chip--active { color: var(--vn-white); }
.vn-root a.vn-nav__link:hover { background: var(--vn-peach); color: var(--vn-orange-text); }
.vn-root a.vn-catnav__chip:hover { border-color: var(--vn-orange); color: var(--vn-orange-text); }
.vn-root a.vn-catnav__chip--active:hover { background: var(--vn-navy); border-color: var(--vn-navy); color: var(--vn-white); }

.vn-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.vn-root h1, .vn-root h2, .vn-root h3, .vn-root p { margin: 0; }

/* ---------- Кнопки ---------- */
.vn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 0;
  font-family: var(--vn-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  background: var(--vn-orange);
  color: var(--vn-white);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.vn-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(238, 116, 22, .35); }
.vn-btn:active { transform: translateY(0); }

.vn-btn--ghost {
  background: transparent;
  color: var(--vn-navy);
  box-shadow: inset 0 0 0 2px var(--vn-navy);
}
.vn-btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--vn-orange), 0 10px 22px rgba(45,53,98,.14); }

.vn-btn--light { background: var(--vn-white); color: var(--vn-orange-text); }

.vn-btn--ozon {
  background: var(--vn-navy);
  color: var(--vn-white);
  padding: 10px 20px;
  font-size: 14px;
}
.vn-btn--ozon:hover { box-shadow: 0 10px 22px rgba(45, 53, 98, .35); }

.vn-btn--disabled,
.vn-btn--disabled:hover {
  background: rgba(255,255,255,.35);
  color: rgba(255,255,255,.85);
  cursor: default;
  transform: none;
  box-shadow: none;
}

.vn-btn--sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.vn-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(254, 239, 225, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45, 53, 98, .08);
}
.vn-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.vn-logo { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.vn-logo img { height: 40px; width: auto; }

.vn-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.vn-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  color: var(--vn-navy);
  background: transparent;
  border: 0;
  font-family: var(--vn-font);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.vn-nav__link:hover { background: var(--vn-peach); color: var(--vn-orange-text); }
.vn-nav__link--active { color: var(--vn-orange-text); }
.vn-nav__link--ozon { color: var(--vn-orange-text); font-weight: 600; }
.vn-nav__caret { font-size: 11px; transition: transform .2s ease; }

.vn-has-drop { position: relative; }
/* Невидимый «мост» между кнопкой и выпадашкой: меню не закрывается
   при переводе курсора от пункта к блоку */
.vn-has-drop::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 10px;
  display: none;
}
.vn-has-drop:hover::after,
.vn-has-drop:focus-within::after { display: block; }
.vn-drop {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 208px;
  background: var(--vn-white);
  border-radius: 16px;
  box-shadow: var(--vn-shadow);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease .12s, transform .18s ease .12s, visibility 0s linear .3s;
}
.vn-has-drop:hover .vn-drop,
.vn-has-drop:focus-within .vn-drop,
.vn-has-drop--open .vn-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .18s ease, transform .18s ease, visibility 0s;
}
.vn-has-drop:hover .vn-nav__caret,
.vn-has-drop--open .vn-nav__caret { transform: rotate(180deg); }
.vn-drop a {
  display: block;
  padding: 9px 14px;
  border-radius: 11px;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--vn-navy);
  transition: background .15s ease, color .15s ease;
}
.vn-drop a:hover { background: var(--vn-peach); color: var(--vn-orange-text); }
.vn-drop a.vn-drop__active { color: var(--vn-orange-text); background: var(--vn-bg); }
/* Дропдаун с группами (Игрушки: по размеру / по типу игры) */
.vn-drop--cols {
  flex-direction: row;
  gap: 6px;
  min-width: 480px;
  /* открывается влево от пункта меню, не уезжает за правый край экрана */
  left: auto;
  right: 0;
}
.vn-drop__col { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.vn-drop__title {
  padding: 10px 14px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--vn-gray);
}
.vn-drop a { white-space: nowrap; }
/* Дропдауны у правого края меню — открываются влево, не уезжают за экран */
.vn-drop--right { left: auto; right: 0; }

/* Бургер */
.vn-burger {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 0;
  background: var(--vn-navy);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.vn-burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--vn-white);
  transition: transform .25s ease, opacity .25s ease, top .25s ease;
}
.vn-burger span:nth-child(1) { top: 16px; }
.vn-burger span:nth-child(2) { top: 22px; }
.vn-burger span:nth-child(3) { top: 28px; }
.vn-burger--open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.vn-burger--open span:nth-child(2) { opacity: 0; }
.vn-burger--open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.vn-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 20px 20px;
  background: var(--vn-bg);
  border-bottom: 1px solid rgba(45, 53, 98, .08);
}
.vn-mobile-menu--open { display: flex; }
.vn-mobile-menu a {
  padding: 13px 16px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  color: var(--vn-navy);
}
.vn-mobile-menu a:hover { background: var(--vn-peach); color: var(--vn-orange-text); }
.vn-mobile-menu .vn-mobile-menu__sub { padding-left: 32px; font-weight: 500; font-size: 15px; color: var(--vn-gray); }
.vn-mobile-menu .vn-mobile-menu__label {
  padding: 14px 16px 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--vn-gray);
}
/* Мобильный accordion (вложенные раскрывающиеся группы) */
.vn-mobile-menu { max-height: calc(100dvh - 64px); overflow-y: auto; }
.vn-macc { border-radius: 14px; display: flex; flex-direction: column; }
.vn-macc a { display: block; }
.vn-macc__summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 17px;
  color: var(--vn-navy);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.vn-macc__summary::-webkit-details-marker { display: none; }
.vn-macc__summary::after {
  content: '▾';
  font-size: 12px;
  color: var(--vn-gray);
  transition: transform .2s ease;
}
.vn-macc[open] > .vn-macc__summary::after { transform: rotate(180deg); }
.vn-macc__summary:hover { background: var(--vn-peach); color: var(--vn-orange-text); }
.vn-macc--sub .vn-macc__summary { padding: 11px 16px 11px 32px; font-size: 15px; }
.vn-macc--sub .vn-mobile-menu__sub { padding-left: 48px; font-size: 14.5px; }

/* ---------- Hero (главная) ---------- */
.vn-hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #14161F;
  border-radius: 0 0 var(--vn-radius-lg) var(--vn-radius-lg);
}
.vn-hero__media { position: absolute; inset: 0; }
.vn-hero__media iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 178vh;       /* покрытие 16:9 при любой высоте */
  height: 100vh;
  min-width: 100%;
  min-height: 56.4vw;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none; /* видео — фон, не мешает читать и кликать */
}
.vn-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,.06) 40%, rgba(0,0,0,.66) 100%),
    linear-gradient(100deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 60%);
}
.vn-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 120px 24px 72px;
}
.vn-hero__tag {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(253, 229, 209, .16);
  border: 1px solid rgba(253, 229, 209, .4);
  color: var(--vn-peach);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.vn-hero h1 {
  color: var(--vn-white);
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.01em;
  max-width: 15em;
  margin-bottom: 20px;
}
.vn-hero h1 .vn-accent { color: var(--vn-peach); white-space: nowrap; }
.vn-hero .vn-hero__sub {
  color: rgba(254, 239, 225, .88);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 34em;
  margin-bottom: 34px;
}
.vn-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Заголовки секций ---------- */
.vn-section { padding: 84px 0 0; }
.vn-section--last { padding-bottom: 96px; }
.vn-section-head { margin-bottom: 40px; max-width: 640px; }
.vn-section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.vn-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--vn-orange-text);
  margin-bottom: 12px;
}
.vn-section-head h2 {
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--vn-navy);
  letter-spacing: -0.01em;
}
.vn-section-head p { margin-top: 14px; color: var(--vn-gray); font-size: 17px; }
/* Компактнее отступ от вводного текста до карточек размеров и сценариев */
#sizes .vn-section-head, #play .vn-section-head { margin-bottom: 28px; }

/* ---------- Выбор по размеру ---------- */
.vn-sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vn-size-card {
  position: relative;
  display: block;
  border-radius: var(--vn-radius-lg);
  overflow: hidden;
  text-decoration: none;
  min-height: 420px;
  box-shadow: var(--vn-shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.vn-size-card:hover { transform: translateY(-6px); box-shadow: var(--vn-shadow); }
.vn-size-card picture { position: absolute; inset: 0; }
.vn-size-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.vn-size-card:hover img { transform: scale(1.05); }
.vn-size-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(45,53,98,0) 35%, rgba(29,33,51,.82) 100%);
}
.vn-size-card__body { position: absolute; left: 24px; right: 24px; bottom: 24px; color: var(--vn-white); }
.vn-size-card__body h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.vn-size-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--vn-peach);
}
.vn-size-card__cta::after { content: '→'; transition: transform .25s ease; }
.vn-size-card:hover .vn-size-card__cta::after { transform: translateX(6px); }

/* ---------- Популярное (ТОП-4) ---------- */
.vn-tabs { display: inline-flex; gap: 6px; background: var(--vn-peach); border-radius: 999px; padding: 6px; margin-bottom: 32px; }
.vn-tabs__btn {
  border: 0;
  background: transparent;
  font-family: var(--vn-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--vn-navy);
  padding: 11px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.vn-tabs__btn:hover { color: var(--vn-orange-text); }
.vn-tabs__btn--active,
.vn-tabs__btn--active:hover,
.vn-tabs__btn--active:focus,
.vn-tabs__btn--active:focus-visible {
  background: var(--vn-navy);
  color: var(--vn-white);
  box-shadow: 0 8px 18px rgba(45,53,98,.25);
}

.vn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.vn-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Карточка товара ---------- */
.vn-card {
  background: var(--vn-white);
  border-radius: var(--vn-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--vn-shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.vn-card:hover { transform: translateY(-5px); box-shadow: var(--vn-shadow); }
.vn-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--vn-white);
  overflow: hidden;
  border: 0;
  padding: 16px;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}
.vn-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .5s ease;
}
.vn-card:hover .vn-card__media img { transform: scale(1.06); }
/* Плашка «Скоро в продаже» поверх зоны фото */
.vn-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--vn-peach);
  color: var(--vn-orange-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 4px 12px rgba(45, 53, 98, .10);
}
/* Плашка «ХИТ» — компактная, фирменный оранжевый; если есть «Скоро в продаже», сдвигается ниже */
.vn-card__badge--hit {
  background: var(--vn-orange);
  color: var(--vn-white);
  padding: 5px 11px;
  font-size: 11px;
  letter-spacing: .08em;
}
.vn-card__badge:not(.vn-card__badge--hit) + .vn-card__badge--hit { top: 46px; }
.vn-card__body { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.vn-card__cat {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--vn-orange-text);
}
/* Единая геометрия: название и мета не растягивают карточку */
.vn-card__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--vn-navy);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vn-card__meta {
  font-size: 13.5px;
  color: var(--vn-gray);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vn-card__desc {
  font-size: 14.5px;
  color: var(--vn-ink);
  opacity: .85;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vn-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.vn-card__more {
  border: 0;
  background: var(--vn-bg);
  color: var(--vn-navy);
  font-family: var(--vn-font);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.vn-card__more:hover { background: var(--vn-peach); color: var(--vn-orange-text); }

/* ---------- Выбор по типу игры (асимметричная сетка) ---------- */
.vn-play {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 176px;
  gap: 18px;
  grid-template-areas:
    "a a b b"
    "a a b b"
    "c c d e"
    "c c f g";
}
.vn-play__tile {
  position: relative;
  border-radius: var(--vn-radius);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--vn-shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.vn-play__tile:hover { transform: translateY(-5px); box-shadow: var(--vn-shadow); }
.vn-play__tile picture { position: absolute; inset: 0; }
.vn-play__tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.vn-play__tile:hover img { transform: scale(1.06); }
.vn-play__tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(45,53,98,0) 40%, rgba(29,33,51,.78) 100%);
}
.vn-play__label {
  position: absolute;
  left: 18px; right: 18px; bottom: 16px;
  z-index: 2;
  color: var(--vn-white);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.vn-play__label::after { content: '→'; flex-shrink: 0; transition: transform .25s ease; }
.vn-play__tile:hover .vn-play__label::after { transform: translateX(5px); }

/* ---------- Бренд-блок ---------- */
.vn-brand {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: center;
}
.vn-brand__logo { width: 200px; height: auto; margin-bottom: 22px; }
.vn-brand__text h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--vn-navy);
  margin-bottom: 20px;
}
.vn-brand__text p { font-size: 17.5px; color: var(--vn-ink); opacity: .88; max-width: 32em; }
.vn-brand__text p + p { margin-top: 14px; }
.vn-brand__photos { position: relative; aspect-ratio: 1 / 1.3; }
.vn-brand__photos img {
  position: absolute;
  width: 62%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--vn-radius-lg);
  box-shadow: var(--vn-shadow);
}
.vn-brand__photos img:first-child { top: 0; left: 0; }
.vn-brand__photos img:last-child { bottom: 0; right: 0; transform: rotate(2deg); }

/* ---------- Полезное (статьи): 5 карточек, сетка 3+2 ---------- */
.vn-articles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; align-items: stretch; }
.vn-article { grid-column: span 2; }
.vn-article:nth-child(4),
.vn-article:nth-child(5) { grid-column: span 3; }
.vn-article {
  background: var(--vn-white);
  border-radius: var(--vn-radius);
  overflow: hidden;
  box-shadow: var(--vn-shadow-soft);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}
.vn-article:hover { transform: translateY(-5px); box-shadow: var(--vn-shadow); }
.vn-article__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--vn-peach); }
.vn-article__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vn-article:hover .vn-article__media img { transform: scale(1.04); }
.vn-article__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.vn-article__body h3 { font-size: 19px; font-weight: 700; color: var(--vn-navy); line-height: 1.3; }
.vn-article__body p { font-size: 14.5px; color: var(--vn-gray); }
.vn-article__link { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--vn-orange-text); }
.vn-article__link::after { content: ' →'; }
.vn-article:hover .vn-article__link { color: var(--vn-orange); }

/* ---------- CTA на Ozon ---------- */
.vn-cta {
  background: var(--vn-orange);
  border-radius: var(--vn-radius-lg);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  color: var(--vn-white);
  position: relative;
  overflow: hidden;
}
.vn-cta::before {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  top: -180px; right: -120px;
}
.vn-cta::after {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(45,53,98,.16);
  bottom: -140px; left: -80px;
}
.vn-cta h2 {
  position: relative;
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.vn-cta p { position: relative; font-size: 17px; opacity: .92; max-width: 34em; margin: 0 auto 30px; }
.vn-cta .vn-btn { position: relative; }
.vn-cta__soon {
  position: relative;
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px dashed rgba(255,255,255,.55);
  color: rgba(255,255,255,.9);
  font-weight: 600;
}

/* ---------- Footer ---------- */
.vn-footer { background: var(--vn-navy); color: rgba(254, 239, 225, .82); margin-top: 96px; }
.vn-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.vn-footer__logo img { height: 32px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.vn-footer__logo { display: inline-block; }
/* .vn-root — чтобы перебить сброс .vn-root p { margin: 0 } */
.vn-root .vn-footer__about { margin-top: 12px; font-size: 14px; max-width: 26em; opacity: .75; }
.vn-footer h4 {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--vn-peach);
}
.vn-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.vn-footer ul a { text-decoration: none; font-size: 15px; transition: color .2s ease; }
.vn-footer ul a:hover { color: var(--vn-white); }
.vn-footer__legal {
  border-top: 1px solid rgba(254, 239, 225, .15);
  padding: 22px 24px;
  text-align: center;
  font-size: 13px;
  opacity: .6;
}
.vn-footer__legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.vn-footer__legal a:hover { color: var(--vn-white); }

/* Иконка внешней ссылки в кнопках Ozon */
.vn-icon-ext { flex-shrink: 0; }

/* ---------- Страницы размеров ---------- */
.vn-breadcrumbs {
  padding: 22px 0 0;
  font-size: 14px;
  color: var(--vn-gray);
}
.vn-breadcrumbs a { color: var(--vn-navy); text-decoration: none; font-weight: 500; }
.vn-breadcrumbs a:hover { color: var(--vn-orange-text); }
.vn-breadcrumbs span::before,
.vn-breadcrumbs a + a::before { content: '→'; margin: 0 10px; color: var(--vn-gray); }

.vn-size-hero { padding: 28px 0 40px; }
.vn-size-hero__photo {
  border-radius: var(--vn-radius-lg);
  overflow: hidden;
  box-shadow: var(--vn-shadow);
  margin-bottom: 32px;
  background: var(--vn-peach);
}
.vn-size-hero__photo picture { display: block; }
.vn-size-hero__photo img { width: 100%; height: auto; display: block; }
.vn-size-hero h1 {
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.1;
  font-weight: 800;
  color: var(--vn-navy);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.vn-size-hero__lead { font-size: 18px; color: var(--vn-ink); opacity: .85; max-width: 32em; margin-bottom: 30px; }

.vn-size-switch { display: flex; flex-wrap: wrap; gap: 10px; }
.vn-size-switch a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--vn-blue-text);
  background: var(--vn-white);
  padding: 11px 22px;
  border-radius: 999px;
  box-shadow: var(--vn-shadow-soft);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.vn-size-switch a:hover { transform: translateY(-2px); color: var(--vn-orange-text); }
.vn-size-switch a.vn-size-switch__active,
.vn-size-switch a.vn-size-switch__active:hover { background: var(--vn-navy); color: var(--vn-white); transform: none; }

/* Sticky-навигация по категориям */
.vn-catnav {
  position: sticky;
  top: 70px;
  z-index: 40;
  background: rgba(254, 239, 225, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 14px 0;
  border-top: 1px solid rgba(45,53,98,.07);
  border-bottom: 1px solid rgba(45,53,98,.07);
}
.vn-catnav__list {
  display: flex;
  flex-wrap: nowrap; /* строго одна прокручиваемая строка */
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.vn-catnav__list::-webkit-scrollbar { display: none; }
.vn-catnav__chip {
  flex-shrink: 0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--vn-navy);
  background: var(--vn-white);
  border: 1.5px solid rgba(45,53,98,.12);
  padding: 9px 18px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.vn-catnav__chip:hover { border-color: var(--vn-orange); color: var(--vn-orange-text); }
.vn-catnav__chip--active { background: var(--vn-navy); border-color: var(--vn-navy); color: var(--vn-white); }

.vn-cat-section { padding-top: 64px; scroll-margin-top: 150px; border-radius: var(--vn-radius-lg); transition: box-shadow .4s ease; }
.vn-cat-section__head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.vn-cat-section__head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--vn-navy); }
.vn-cat-section__count { font-size: 14px; font-weight: 600; color: var(--vn-gray); }
.vn-cat-section--flash { animation: vnFlash 1.6s ease; }
@keyframes vnFlash {
  0%, 60% { box-shadow: 0 0 0 4px rgba(238, 116, 22, .45); }
  100% { box-shadow: 0 0 0 0 rgba(238, 116, 22, 0); }
}

.vn-more-block {
  margin-top: 64px;
  background: var(--vn-peach);
  border-radius: var(--vn-radius-lg);
  padding: clamp(28px, 4vw, 48px);
}

/* ---------- Quick-view modal ---------- */
.vn-qv {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.vn-qv--open { display: flex; }
.vn-qv__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 33, 51, .62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.vn-qv__dialog {
  position: relative;
  background: var(--vn-white);
  border-radius: var(--vn-radius-lg);
  max-width: 920px;
  width: 100%;
  max-height: 90vh;
  max-height: 90dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--vn-shadow);
  animation: vnQvIn .25s ease;
}
/* Скроллится внутренний контейнер — крестик закрытия остаётся на месте */
.vn-qv__scroll {
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 0;
}
@keyframes vnQvIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.vn-qv__close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 3;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--vn-navy);
  color: var(--vn-white);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease;
}
.vn-qv__close:hover { transform: rotate(90deg); }
.vn-qv__gallery { background: var(--vn-white); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.vn-qv__main {
  position: relative;
  border-radius: var(--vn-radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--vn-white);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vn-qv__main img { width: 100%; height: 100%; object-fit: contain; }
.vn-qv__main img.vn-qv__logo-fallback { width: 60%; height: auto; object-fit: contain; opacity: .5; }
.vn-qv__thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; }
.vn-qv__thumb {
  flex-shrink: 0;
  box-sizing: border-box;
  width: 64px; height: 64px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--vn-white);
  padding: 5px;
  cursor: pointer;
  transition: border-color .2s ease;
}
.vn-qv__thumb img { width: 100%; height: 100%; object-fit: contain; }
.vn-qv__thumb--active { border-color: var(--vn-orange); }
.vn-qv__info { padding: 32px 30px; display: flex; flex-direction: column; gap: 14px; }
.vn-qv__info h3 { font-size: 26px; font-weight: 800; color: var(--vn-navy); line-height: 1.2; }
.vn-qv__desc { font-size: 15px; color: var(--vn-ink); opacity: .88; }
.vn-qv__specs { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.vn-qv__spec { display: flex; gap: 12px; font-size: 14px; }
.vn-qv__spec dt { flex-shrink: 0; width: 140px; color: var(--vn-gray); font-weight: 500; }
.vn-qv__spec dd { margin: 0; color: var(--vn-ink); font-weight: 600; }
.vn-qv__actions { margin-top: auto; padding-top: 16px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
/* Ozon-кнопка в quick view — тот же тёмно-синий, но крупнее карточной */
.vn-qv__actions .vn-btn--ozon { padding: 14px 26px; font-size: 15px; }
/* Плашка вместо кнопки у coming_soon */
.vn-qv__soon {
  display: inline-flex;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--vn-peach);
  color: var(--vn-orange-text);
  font-weight: 700;
  font-size: 15px;
}
/* Блок «Как играть» */
.vn-qv__howto {
  background: var(--vn-bg);
  border-radius: var(--vn-radius);
  padding: 14px 18px;
}
.vn-qv__howto h4 { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--vn-orange-text); }
.vn-qv__howto p { margin: 0; font-size: 14.5px; color: var(--vn-ink); }

/* ---------- Анимация появления ---------- */
.vn-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.vn-reveal--in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .vn-reveal { opacity: 1; transform: none; transition: none; }
  .vn-root * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .vn-grid { grid-template-columns: repeat(2, 1fr); }
  .vn-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .vn-play {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 190px;
    grid-template-areas:
      "a a"
      "b b"
      "c d"
      "e f"
      "g g";
  }
  .vn-brand { gap: 36px; }
  .vn-qv__scroll { grid-template-columns: 1fr; }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .vn-section { padding-top: 60px; }
  .vn-section--last { padding-bottom: 64px; }
  .vn-nav { display: none; }
  .vn-burger { display: block; }
  .vn-logo img { height: 32px; }
  .vn-hero { min-height: 78vh; }
  .vn-hero__content { padding: 90px 20px 44px; }
  .vn-hero .vn-hero__sub { margin-bottom: 24px; }
  .vn-sizes { grid-template-columns: 1fr; gap: 22px; }
  .vn-size-card { min-height: 250px; }
  #sizes .vn-section-head, #play .vn-section-head { margin-bottom: 34px; }
  .vn-tabs { display: flex; width: 100%; padding: 4px; margin-bottom: 20px; }
  .vn-tabs__btn { flex: 1; padding: 9px 6px; font-size: 13.5px; }
  .vn-play {
    grid-template-columns: 1fr;
    grid-auto-rows: 160px;
    grid-template-areas: "a" "b" "c" "d" "e" "f" "g";
  }
  .vn-articles { grid-template-columns: 1fr; }
  .vn-article,
  .vn-article:nth-child(4),
  .vn-article:nth-child(5) { grid-column: auto; }
  .vn-brand { grid-template-columns: 1fr; }
  .vn-brand__logo { width: 170px; }
  .vn-size-hero { padding-top: 24px; }
  .vn-size-hero__photo { margin-bottom: 26px; }
  .vn-size-hero__photo img { width: 100%; height: auto; display: block; }
  .vn-size-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .vn-size-switch a { padding: 10px 6px; font-size: 13.5px; text-align: center; white-space: nowrap; }
  .vn-catnav { top: 69px; }
  /* Footer mobile: компактнее, но вся информация на месте */
  .vn-footer { margin-top: 64px; }
  .vn-footer__inner { grid-template-columns: 1fr; gap: 22px; padding: 36px 24px 26px; }
  .vn-root .vn-footer__about { margin-top: 10px; }
  .vn-footer h4 { margin-bottom: 10px; }
  .vn-footer ul { gap: 7px; }
  .vn-footer__legal { padding: 16px 24px; }
  /* Quick view mobile: компактное фото, контент скроллится внутри */
  .vn-qv { padding: 10px; }
  .vn-qv__dialog { max-height: 90dvh; }
  .vn-qv__gallery { padding: 14px 14px 6px; gap: 10px; }
  .vn-qv__main { aspect-ratio: 4 / 3; max-height: 42dvh; padding: 12px; }
  .vn-qv__info { padding: 18px 20px 22px; gap: 10px; }
  .vn-qv__info h3 { font-size: 21px; }
  .vn-qv__specs { gap: 5px; }
  .vn-qv__spec { font-size: 13.5px; gap: 10px; }
  .vn-qv__spec dt { width: 96px; }
  .vn-qv__howto { padding: 12px 14px; }
}

@media (max-width: 480px) {
  .vn-container { padding: 0 16px; }
  .vn-header__inner { padding: 10px 16px; }
  .vn-grid, .vn-grid--3 { grid-template-columns: 1fr; }
  .vn-hero__actions .vn-btn { width: 100%; }
  .vn-catnav__list { padding: 2px 16px; }
  .vn-card__actions .vn-btn--ozon, .vn-card__actions .vn-card__more { flex: 1; justify-content: center; text-align: center; }
}

/* ---------- Текстовые страницы (статьи, правовая информация) ---------- */
.vn-page { max-width: 760px; margin-left: auto; margin-right: auto; }
.vn-page-head { margin: 28px 0 28px; }
.vn-page-head h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--vn-navy);
  letter-spacing: -0.01em;
}
.vn-page-lead { margin-top: 14px; font-size: 18px; color: var(--vn-gray); max-width: 34em; }
/* Обложка статьи: естественное соотношение сторон, без фиксированной высоты */
.vn-article-cover {
  border-radius: var(--vn-radius-lg);
  overflow: hidden;
  box-shadow: var(--vn-shadow-soft);
  margin-bottom: 36px;
  background: var(--vn-peach);
}
.vn-article-cover picture { display: block; }
.vn-article-cover img { width: 100%; height: auto; display: block; }
.vn-page-content h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--vn-navy);
  margin: 32px 0 14px;
}
.vn-page-content p { margin-bottom: 14px; font-size: 16.5px; color: var(--vn-ink); }
.vn-page-content p:last-child { margin-bottom: 0; }
.vn-page-content a { color: var(--vn-orange-text); }
/* Вводный абзац статьи */
.vn-article-intro { font-size: 18px !important; font-weight: 500; color: var(--vn-navy) !important; }
.vn-article-empty {
  padding: 30px 28px;
  border: 1.5px dashed rgba(45, 53, 98, .28);
  border-radius: var(--vn-radius);
  background: var(--vn-white);
  color: var(--vn-gray);
  font-size: 16px;
  text-align: center;
}
@media (max-width: 760px) {
  .vn-breadcrumbs { padding-top: 16px; font-size: 13px; }
  .vn-page-head { margin: 16px 0 18px; }
  /* Компактный H1 для длинных названий статей */
  .vn-page-head h1 { font-size: clamp(23px, 6.4vw, 30px); }
  .vn-page-lead { font-size: 16px; margin-top: 10px; }
  .vn-article-cover { margin-bottom: 22px; border-radius: var(--vn-radius); }
  .vn-page-content h2 { font-size: 20px; margin: 26px 0 10px; }
  .vn-page-content p { font-size: 15.5px; margin-bottom: 12px; }
}
