/* ─────────────────────────────────────────────────────────
   БАЗА / RESET
────────────────────────────────────────────────────────── */
html, body{
  margin:0;
  max-width:100%;
  overflow-x:hidden;
}
html{ scrollbar-gutter: stable both-edges; } /* стабильная ширина скроллбара */

*{ box-sizing:border-box; }

img, video, canvas, svg, iframe{
  max-width:100%;
  height:auto;
  display:block;
}

.nav a{
  font-family:"Antonio", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.nav-ico{
  width:18px;
  height:18px;
  flex:0 0 18px;
  object-fit:contain;
  opacity:.9;
  filter:drop-shadow(0 1px 3px rgba(0,0,0,.35));
  transition:filter .2s ease, opacity .2s ease;
  stroke:currentColor;
  fill:none;
}
.nav-ico svg,
svg.nav-ico{
  width:18px;
  height:18px;
  stroke:currentColor;
  fill:none;
  color:currentColor;
}
.nav-ico svg [fill="currentColor"],
svg.nav-ico [fill="currentColor"]{
  fill:currentColor;
}
.nav a:hover .nav-ico{
  opacity:1;
  filter:drop-shadow(0 1px 3px rgba(0,0,0,.35)) drop-shadow(0 0 6px rgba(120, 118, 255, 0.45));
}
.nav-txt{ 
  line-height:1; 
  font-weight:500;
  letter-spacing:.02em;
}
.nav a.is-active .nav-txt{
  font-weight:700;
  text-shadow:0 0 8px rgba(120, 118, 255, 0.5);
}

/* ─────────────────────────────────────────────────────────
   ПЕРЕМЕННЫЕ / ЦВЕТА
────────────────────────────────────────────────────────── */
:root{
  /* Sierra Casino — тёмная сине-фиолетовая гамма */
  --bg:#000000;
  --bg-elevated:#0a0a23;
  --bg-panel:#12122a;
  --panel:#1a1a32;
  /* Весь текст сайта — белый (placeholder и т.п. задаются отдельно) */
  --ink:#ffffff;
  --ink-bright:#ffffff;
  --ink-muted:#ffffff;
  --line:rgba(88,86,214,.22);
  --max:1320px;

  --primary:#5856d6;
  --primary-mid:#4d4ae8;
  --primary-dark:#3f3db8;
  --primary-glow:rgba(88,86,214,.45);
  --secondary:#2a2a4e;
  --secondary-light:#353564;
  --text-heading:#ffffff;

  /* рамки баннера / акцентные градиенты */
  --gold1:#3f3db8;
  --gold2:#7a78ff;
  --gold3:#5856d6;

  --ring:
    0 0 0 1px rgba(88,86,214,.12) inset,
    0 1px 0 rgba(255,255,255,.06) inset,
    0 10px 30px rgba(0,0,0,.65);

  --hdrH:64px;

  --framePad: 14px;
  --bannerRad: 12px;
}

/* ─────────────────────────────────────────────────────────
   ГЛОБАЛЬНЫЙ ФОН / ТИПОГРАФИКА
────────────────────────────────────────────────────────── */
html{
  color-scheme:dark;
  /* Базовый фон здесь: body::before с position:fixed иначе перекрывает текст без z-index:-1 */
  background:#000000;
  background:var(--bg,#000000);
  min-height:100%;
}
html,body{
  color:#ffffff;
  color:var(--ink,#ffffff);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}
body{
  background:transparent;
  position:relative;
  min-height:100%;
  isolation:isolate; /* stacking context: ::before с z-index:-1 всегда под текстом */
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.95;
  background:
    radial-gradient(1200px 700px at 18% -8%, rgba(88, 86, 214, 0.32), transparent 58%),
    radial-gradient(900px 600px at 100% 12%, rgba(77, 74, 232, 0.2), transparent 52%),
    radial-gradient(800px 500px at 50% 105%, rgba(42, 42, 78, 0.55), transparent 48%),
    linear-gradient(180deg, #0a0a23 0%, #000000 45%, #050510 100%),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="160" height="160"><defs><filter id="n"><feTurbulence baseFrequency="0.7" numOctaves="2" seed="2" type="fractalNoise"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .05 0"/></filter></defs><rect width="100%" height="100%" filter="url(%23n)"/></svg>') repeat;
}

/* ─────────────────────────────────────────────────────────
   АНИМАЦИИ
────────────────────────────────────────────────────────── */
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(88, 86, 214, 0.55) }
  70%{ box-shadow:0 0 0 20px rgba(88, 86, 214, 0) }
  100%{ box-shadow:0 0 0 0 rgba(88, 86, 214, 0) }
}
.pulse{ animation:pulse 1.8s infinite; }

/* ─────────────────────────────────────────────────────────
   HEADER / TOPBAR
────────────────────────────────────────────────────────── */
header{
  position:sticky;
  top:0;
  z-index:100;
  background:linear-gradient(180deg, rgba(10, 10, 35, 0.96), rgba(0, 0, 0, 0.9));
  border-bottom:1px solid rgba(88, 86, 214, 0.18);
  backdrop-filter:saturate(140%) blur(8px);
}
header.scrolled{ box-shadow:0 10px 24px rgba(0,0,0,.38); }

.head{
  max-width:var(--max);
  margin:0 auto;
  padding:10px 14px;
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.burger{
  display:none;
  background:rgba(42, 42, 78, 0.6);
  border:1px solid rgba(88, 86, 214, 0.25);
  color:#ffffff;
  border-radius:10px;
  padding:8px 10px;
}

.logo{ flex:0 0 auto; }
.logo img{
  height:50px;
  width:auto;
  max-width:none;
  object-fit:contain;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,.5));
}

/* Адаптация логотипа */
@media (max-width:520px){ .logo img{ height:30px; } }
@media (max-width:390px){ .logo img{ height:20px; } }

.search{
  flex:1 1 420px;
  min-width:0;
  display:flex;
  align-items:center;
  gap:8px;
  background:linear-gradient(180deg, rgba(42, 42, 78, 0.9), rgba(18, 18, 40, 0.95));
  border:1px solid rgba(88, 86, 214, 0.22);
  border-radius:999px;
  padding:8px 12px;
  box-shadow:var(--ring);
}
.search input{
  flex:1 1 auto;
  min-width:0;
  background:transparent;
  border:0;
  outline:0;
  color:var(--text-heading);
}
.search input::placeholder{
  color:rgba(255,255,255,.5);
}

/* Базовая кнопка (общая) */
.btn{
  flex:0 0 auto;
  white-space:nowrap;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  text-decoration:none;
  color:var(--text-heading);
  background:linear-gradient(180deg, var(--secondary-light), var(--secondary));
  border:1px solid rgba(88, 86, 214, 0.35);
  box-shadow:var(--ring);
}

/* ДЕФОЛТНЫЕ темы login/reg (если нужно где-то вне хедера) */
.btn--login{
  background:
    radial-gradient(60% 120% at 30% 20%, rgba(120, 118, 255, 0.15), transparent 45%),
    linear-gradient(180deg, #3a3868 0%, var(--secondary) 100%);
  border:1px solid rgba(88, 86, 214, 0.35);
}
.btn--reg{
  background:
    radial-gradient(60% 120% at 30% 20%, rgba(160, 158, 255, 0.35), transparent 45%),
    linear-gradient(180deg, #7371ff 0%, var(--primary) 45%, var(--primary-dark) 100%);
  border:1px solid rgba(140, 138, 255, 0.45);
  animation:pulse 1.8s infinite;
  transition: transform .28s ease, filter .28s ease, box-shadow .28s ease;
  transform: translateZ(0) scale(1);
  transform-origin:center;
  will-change: transform;
}

/* КНОПКИ В ХЕДЕРЕ — «как в рефе» (компактные, «пластик») */
.head .btn{
  position:relative;
  height:40px;
  padding:0 18px;
  min-width:140px;
  border-radius:10px;
  font-size:14px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#ffffff;
  border:1px solid rgba(255,255,255,.1);
  box-shadow:0 4px 18px rgba(0,0,0,.4);
  animation:none;
  transform:none;
}

.head .btn--login{
  background:linear-gradient(180deg, #3d3b70 0%, var(--secondary) 100%);
  border-color:rgba(88, 86, 214, 0.35);
}

.head .btn--reg{
  background:linear-gradient(180deg, #8b89ff 0%, var(--primary) 40%, var(--primary-dark) 100%);
  border-color:rgba(160, 158, 255, 0.4);
}

.head .btn::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:9px;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(255,255,255,.14), transparent 42%);
  opacity:.45;
}

@media (hover:hover){
  .head .btn:hover{
    filter:brightness(1.06);
    box-shadow:0 6px 22px rgba(0,0,0,.45), 0 0 20px rgba(88, 86, 214, 0.25);
  }
}
.head .btn:active{
  filter:brightness(.94);
  box-shadow:0 2px 10px rgba(0,0,0,.45);
}

header.scrolled .head .btn--reg{
  background:
    radial-gradient(ellipse at center top, rgba(180, 178, 255, 0.35) 0%, transparent 52%),
    linear-gradient(180deg, #9e9cff 0%, var(--primary) 38%, #3432a0 100%);
  border:1px solid rgba(180, 178, 255, 0.45);
  color:#fff;
  text-shadow:0 1px 2px rgba(0,0,0,.35);
  box-shadow:
    0 6px 20px rgba(0,0,0,.45),
    0 0 28px var(--primary-glow);
}

header.scrolled .head .btn--reg::before{
  opacity:.5;
}

@media (hover:hover){
  header.scrolled .head .btn--reg:hover{
    filter:brightness(1.08);
    box-shadow:
      0 8px 26px rgba(0,0,0,.5),
      0 0 36px rgba(88, 86, 214, 0.55);
  }
}

/* Хедер-кнопки на мобилке */
@media (max-width:520px){
  .head .btn{
    height:34px;
    padding:0 8px;
    min-width:0;
    flex:0 1 auto;
    font-size:9px;
    letter-spacing:.02em;
  }
}

/* Очень маленькие экраны - ещё более компактные кнопки */
@media (max-width:390px){
  .head .btn{
    padding:0 6px;
    font-size:8px;
    letter-spacing:.01em;
  }
}

/* Hover-увеличение оставляем только для .btn--reg (если используется где-то вне хедера) */
@media (hover:hover){
  .btn.btn--reg:hover,
  .btn.btn--reg:focus-visible{
    transform: translateZ(0) scale(1.06);
  }
}
@media (prefers-reduced-motion: reduce){
  .btn--reg{ transition:none; }
  .btn.btn--reg:hover,
  .btn.btn--reg:focus-visible{ transform:none; }
}

/* ─────────────────────────────────────────────────────────
   LAYOUT / SHELL
────────────────────────────────────────────────────────── */
.shell{
  max-width:var(--max);
  margin:0 auto;
  padding:18px 14px;
  display:grid;
  grid-template-columns:260px 1fr;
  gap:20px;
  min-width:0;
}
.shell > *{ min-width:0; }
.shell > main{ min-width:0; }

main p, main h1, main h2, main h3, main a{
  overflow-wrap:anywhere;
  word-break:break-word;
}

/* Где нужно — режем горизонтальный оверфлоу */
.frame, .medals, .grid{ overflow-x:hidden; }

/* ─────────────────────────────────────────────────────────
   SIDEBAR (DESKTOP)
────────────────────────────────────────────────────────── */
.aside{
  position:sticky;
  top:calc(var(--hdrH, 64px) + 10px);
  align-self:start;
  background:linear-gradient(180deg, #0d0d24, var(--bg-panel));
  border:1px solid rgba(88, 86, 214, 0.18);
  border-radius:20px;
  padding:14px;
  box-shadow:var(--ring);
}
.nav{ list-style:none; margin:0; padding:0; }
.nav li{ margin:6px 0; }
.nav a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 12px;
  border-radius:12px;
  color:#ffffff;
  border:1px solid transparent;
  text-decoration:none;
  position:relative;
  transition:all .2s ease;
}
.nav a:hover{
  background:rgba(88, 86, 214, 0.12);
  border-color:rgba(88, 86, 214, 0.35);
}
.nav a.is-active{
  background:linear-gradient(180deg, rgba(88, 86, 214, 0.22), rgba(42, 42, 78, 0.4));
  border:1.5px solid rgba(130, 128, 255, 0.55);
  box-shadow:
    0 0 14px rgba(88, 86, 214, 0.35),
    inset 0 0 0 1px rgba(255,255,255,.06);
  color:#ffffff;
}
.nav a.is-active::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:12px;
  background:linear-gradient(180deg, rgba(255,255,255,.06), transparent 55%);
  pointer-events:none;
  z-index:0;
}
.nav a.is-active .nav-ico,
.nav a.is-active svg{
  filter: drop-shadow(0 0 6px rgba(120, 118, 255, 0.75));
  position:relative;
  z-index:1;
}
.nav a.is-active .nav-txt{
  position:relative;
  z-index:1;
}
.sep{
  height:10px;
  margin:8px 6px;
  border-top:1px solid #00000072;
  border-bottom:1px solid #08082100;
  opacity:.8;
}
.sep-title{
  margin:8px 8px 4px;
  color:var(--ink-muted);
  font-size:12px;
  letter-spacing:.08em;
}
.flag-emoji{
  width:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  line-height:0.5;
  transform: translateY(1px);
}

/* ─────────────────────────────────────────────────────────
   DRAWER (MOBILE)
────────────────────────────────────────────────────────── */
.drawer{
  position:fixed;
  top:0;
  left:0;
  bottom:0;
  width:min(82vw,320px);
  background:linear-gradient(180deg, #0a0a23, #000000);
  border-right:1px solid rgba(88, 86, 214, 0.22);
  box-shadow:0 20px 60px rgba(0,0,0,.65);
  transform:translateX(-100%);
  transition:transform .28s ease;
  z-index:120;
  display:flex;
  flex-direction:column;
  border-radius:0 18px 18px 0;
}
.drawer.open{ transform:translateX(0); }
.drawer .dhead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 14px;
  border-bottom:1px solid rgba(88, 86, 214, 0.2);
  color:var(--text-heading);
  font-weight:800;
  letter-spacing:.04em;
}
.dclose{
  background:rgba(42, 42, 78, 0.5);
  border:1px solid rgba(88, 86, 214, 0.3);
  color:#ffffff;
  border-radius:10px;
  padding:8px 10px;
}
.dnav{ padding:10px 10px 16px; }

/* ─────────────────────────────────────────────────────────
   TITLE
────────────────────────────────────────────────────────── */
.page-title{
  text-align:center;
  margin:4px 0 14px;
  font-size:26px;
  font-weight:900;
  letter-spacing:.3px;
  color:#ffffff;
  text-shadow:0 6px 18px rgba(0,0,0,.45);
}

/* ─────────────────────────────────────────────────────────
   HERO / BANNER (КАРТИНКА + OVERLAY) — ОКОНЧАТЕЛЬНЫЙ ВАРИАНТ
   Работает с твоим HTML:
   .frame > a > img.banner  +  .hero-overlay
   ВАЖНО: оверлей привязан к ПЛОЩАДИ БАННЕРА (внутри padding),
   поэтому НЕ вылезает за рамку на любом телефоне.
────────────────────────────────────────────────────────── */
.frame{
  position:relative;
  background:rgba(10, 10, 35, 0.55);
  border:1px solid rgba(88, 86, 214, 0.2);
  border-radius:22px;
  padding: var(--framePad);
  box-shadow:var(--ring);
  overflow:hidden; /* режем всё строго по рамке .frame */
}

/* декоративная рамка */
.frame:before{
  content:"";
  position:absolute;
  inset:8px;
  border-radius:18px;
  border:3px solid transparent;
  background:
    linear-gradient(#3b2407,#211708) padding-box,
    linear-gradient(135deg,var(--gold3),var(--gold1) 40%, var(--gold2) 70%, var(--gold3)) border-box;
  pointer-events:none;
  z-index:0;
}

/* обёртка баннера */
.banner-wrap{
  position:relative;
  width:100%;
  border-radius: var(--bannerRad);
  overflow:hidden;
}

.banner-link{
  display:block;
  width:100%;
  position:relative;
}

/* картинка баннера */
.banner{
  width:100%;
  height:auto;
  display:block;
  border-radius: var(--bannerRad);
  position:relative;
  z-index:1;
  object-fit:cover;
  aspect-ratio: 21 / 9;
  max-height: 400px;
}

/* Для планшетов */
@media (max-width: 992px){
  .banner{
    aspect-ratio: 18 / 9;
    max-height: 350px;
  }
}

/* Для мобильных устройств */
@media (max-width: 768px){
  .banner{
    aspect-ratio: 16 / 9;
    max-height: 280px;
  }
}

@media (max-width: 480px){
  .banner{
    aspect-ratio: 16 / 9;
    max-height: 240px;
  }
}

@media (max-width: 380px){
  .banner{
    aspect-ratio: 16 / 9;
    max-height: 200px;
  }
}

/* ОВЕРЛЕЙ: позиционируем НЕ по всей .frame, а по области баннера */
.hero-overlay{
  position:absolute;
  z-index:2;

  /* ровно по области картинки (внутри padding .frame) */
  top: var(--framePad);
  left: var(--framePad);
  right: var(--framePad);
  bottom: var(--framePad);

  border-radius: var(--bannerRad);

  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;

  gap: clamp(8px, 1.2vw, 17px);

  padding: clamp(10px, 2.2vw, 22px);

  pointer-events:none; /* кликается только .hero-cta */
}

/* Центральный блок: ограничение ширины для переносов длинной строки */
.hero-badge,
.hero-lines,
.hero-cta{
  max-width: min(92%, 640px);
}

/* Плашка */
.hero-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding: 4px 8px;
  border-radius: 14px;

  font-weight: 900;
  font-size: clamp(12px, 1.2vw, 8px);
  line-height: 1;

  color:#ffffff;
  background: linear-gradient(180deg, #4d4bc4 0%, #353396 100%);
  border: 1px solid rgba(180, 178, 255, 0.35);
  box-shadow:
    0 8px 18px rgba(0,0,0,.35),
    0 0 16px rgba(88, 86, 214, 0.25),
    0 1px 0 rgba(255,255,255,.2) inset;
}

/* Текст */
.hero-lines{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 6px;
  text-align:center;
}

.hero-line{
  color:#fff;
  font-weight: 800;
  letter-spacing: .01em;
  text-shadow: 
    0 2px 4px rgba(0,0,0,.8),
    0 4px 8px rgba(0,0,0,.6),
    0 10px 22px rgba(0,0,0,.45);

  /* критично: переносы, чтобы не вылезало */
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Улучшенная читаемость на мобильных */
@media (max-width: 768px){
  .hero-line{
    text-shadow: 
      0 1px 3px rgba(0,0,0,.9),
      0 2px 6px rgba(0,0,0,.7),
      0 4px 12px rgba(0,0,0,.5);
  }
}

/* Размеры текста (правильный clamp: min, preferred, max) */
.hero-line--intro{
  font-size: clamp(13px, 2.1vw, 20px);
  line-height: 1.25;
  font-weight: 700;
  max-width: 100%;
}
.hero-line--big{
  font-size: clamp(22px, 4.2vw, 40px);
  line-height: 1.06;
}
.hero-line--mid{
  font-size: clamp(18px, 3.4vw, 32px);
  line-height: 1.06;
}

/* Кнопка */
.hero-cta{
  pointer-events:auto;
  align-self:center;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  margin-top: 4px;
  padding: 16px 52px;
  border-radius: 999px;

  font-weight: 900;
  font-size: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration:none;
  color:#ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);

  position: relative;
  isolation:isolate;

  max-width: 100%;

  background:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.08) 0px,
      rgba(255,255,255,.08) 1px,
      transparent 1px,
      transparent 4px
    ),
    linear-gradient(180deg, #8b89ff 0%, var(--primary) 35%, var(--primary-dark) 100%);
  
  border: 1px solid rgba(180, 178, 255, 0.4);
  box-shadow:
    0 0 22px rgba(120, 118, 255, 0.55),
    0 0 48px rgba(88, 86, 214, 0.4),
    0 8px 20px rgba(0,0,0,.5),
    0 12px 28px rgba(0,0,0,.4);
  
  transition:all .3s ease;
}

/* Дополнительный слой для глянца */
.hero-cta::before{
  content:"";
  position:absolute;
  inset: 3px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, 
      rgba(255,255,255,.2) 0%, 
      rgba(255,255,255,.08) 20%,
      rgba(255,255,255,.03) 40%,
      transparent 70%
    );
  pointer-events:none;
  z-index:1;
}

/* Внешнее свечение с блюром */
.hero-cta::after{
  content:"";
  position:absolute;
  inset: -8px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(140, 138, 255, 0.55) 0%, rgba(88, 86, 214, 0.35) 45%, transparent 72%);
  filter: blur(12px);
  z-index: -1;
  opacity: 0.85;
  pointer-events:none;
}

/* Ховер для CTA (только десктоп) */
@media (hover:hover){
  .hero-cta:hover{ 
    transform: translateY(-2px) scale(1.02);
    box-shadow:
      0 0 32px rgba(140, 138, 255, 0.75),
      0 0 56px rgba(88, 86, 214, 0.55),
      0 10px 22px rgba(0,0,0,.55),
      0 14px 30px rgba(0,0,0,.45);
    filter: brightness(1.08);
  }
  .hero-cta:hover::after{
    opacity: 1;
    filter: blur(16px);
  }
  .hero-cta:active{ 
    transform: translateY(0px) scale(0.98);
    box-shadow:
      0 0 18px rgba(120, 118, 255, 0.45),
      0 0 36px rgba(88, 86, 214, 0.35),
      0 4px 14px rgba(0,0,0,.55);
  }
}

/* Планшеты */
@media (max-width: 992px) and (min-width: 769px){
  .hero-badge,
  .hero-lines,
  .hero-cta{
    max-width: min(90%, 520px);
  }
  .hero-cta{ 
    padding: 12px 28px; 
    font-size: 15px;
  }
}

/* Большие мобильные устройства (iPhone Pro Max и подобные) */
@media (max-width: 768px) and (min-width: 481px){
  .hero-badge,
  .hero-lines,
  .hero-cta{
    max-width: min(94%, 480px);
  }
  
  .hero-line--big{ 
    font-size: clamp(20px, 4.5vw, 26px);
  }
  .hero-line--mid{ 
    font-size: clamp(16px, 3.8vw, 21px);
  }
  .hero-line--intro{
    font-size: clamp(12px, 2.8vw, 16px);
  }
}

/* Мобилки: по центру, читаемый фон за текстом */
@media (max-width: 768px){
  :root{
    --framePad: 12px;
  }

  .hero-overlay{
    padding: 12px 14px;
    gap: 8px;
    justify-content: center;
    align-items: center;
  }

  .hero-badge,
  .hero-lines,
  .hero-cta{
    max-width: min(94%, 420px);
    position: relative;
    z-index: 3;
  }

  /* Полупрозрачный фон для лучшей читаемости */
  .hero-badge{
    background: linear-gradient(180deg, rgba(77, 75, 196, 0.95) 0%, rgba(45, 43, 120, 0.95) 100%);
    backdrop-filter: blur(6px);
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 11px;
    align-self: center;
    border: 1px solid rgba(255,255,255,.25);
    box-shadow: 0 4px 12px rgba(0,0,0,.4);
  }

  .hero-lines{
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    padding: 8px 12px;
    border-radius: 10px;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,.4);
  }

  .hero-line--intro{
    font-size: clamp(11px, 3.2vw, 15px);
  }

  .hero-line--big{ 
    font-size: clamp(20px, 5vw, 28px);
    line-height: 1.1;
  }
  .hero-line--mid{ 
    font-size: clamp(16px, 4vw, 22px);
    line-height: 1.1;
  }

  .hero-cta{
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 16px;
    margin-top: 4px;
    color:#ffffff;
    box-shadow:
      0 0 15px rgba(160, 158, 255, 0.5),
      0 0 30px rgba(120, 118, 255, 0.4),
      0 0 45px rgba(88, 86, 214, 0.3),
      0 6px 12px rgba(0,0,0,.5);
  }
  .hero-cta::before{
    inset: 3px;
    border-radius: 13px;
  }
  .hero-cta::after{
    inset: -6px;
    border-radius: 22px;
    filter: blur(10px);
    opacity: 0.7;
  }
}

/* Средние мобилки (480px - 720px) */
@media (max-width: 720px){
  .hero-badge,
  .hero-lines,
  .hero-cta{
    max-width: min(94%, 400px);
  }
  
  .hero-overlay{
    gap: 6px;
  }

  .hero-line--intro{
    font-size: clamp(11px, 3vw, 14px);
  }

  .hero-line--big{ 
    font-size: clamp(18px, 4.5vw, 24px);
  }
  .hero-line--mid{ 
    font-size: clamp(14px, 3.5vw, 20px);
  }

  .hero-cta{
    padding: 9px 18px;
    font-size: 12px;
  }
}

/* Маленькие мобилки (до 480px) */
@media (max-width: 480px){
  :root{
    --framePad: 10px;
  }

  .hero-overlay{
    padding: 10px 12px;
    gap: 6px;
  }

  .hero-badge,
  .hero-lines,
  .hero-cta{
    max-width: min(94%, 380px);
  }

  .hero-badge{
    padding: 3px 6px;
    font-size: 10px;
    background: linear-gradient(180deg, rgba(77, 75, 196, 0.95) 0%, rgba(45, 43, 120, 0.95) 100%);
    box-shadow: 0 3px 10px rgba(0,0,0,.45);
  }

  .hero-lines{
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.55);
    box-shadow: 0 3px 10px rgba(0,0,0,.45);
  }

  .hero-line--intro{
    font-size: clamp(10px, 2.9vw, 13px);
  }

  .hero-line--big{ 
    font-size: clamp(16px, 4vw, 22px);
  }
  .hero-line--mid{ 
    font-size: clamp(13px, 3.2vw, 18px);
  }

  .hero-cta{
    padding: 8px 16px;
    font-size: 11px;
    border-radius: 14px;
    color:#ffffff;
    box-shadow:
      0 0 12px rgba(160, 158, 255, 0.4),
      0 0 25px rgba(120, 118, 255, 0.3),
      0 0 35px rgba(88, 86, 214, 0.25),
      0 5px 10px rgba(0,0,0,.5);
  }
  .hero-cta::before{
    inset: 2px;
    border-radius: 12px;
  }
  .hero-cta::after{
    inset: -5px;
    border-radius: 19px;
    filter: blur(8px);
    opacity: 0.6;
  }
}

/* Очень узкие экраны (SE/360px и меньше) */
@media (max-width: 380px){
  :root{
    --framePad: 8px;
  }

  .hero-overlay{
    padding: 8px 10px;
    gap: 5px;
  }

  .hero-badge,
  .hero-lines,
  .hero-cta{
    max-width: min(96%, 340px);
  }

  .hero-badge{
    padding: 2px 5px;
    font-size: 9px;
    background: linear-gradient(180deg, rgba(77, 75, 196, 0.95) 0%, rgba(45, 43, 120, 0.95) 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,.5);
  }

  .hero-lines{
    padding: 5px 8px;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 2px 8px rgba(0,0,0,.5);
  }

  .hero-line--intro{
    font-size: clamp(9px, 2.8vw, 12px);
  }

  .hero-line--big{ 
    font-size: clamp(14px, 3.8vw, 20px);
  }
  .hero-line--mid{ 
    font-size: clamp(12px, 3vw, 16px);
  }

  .hero-cta{
    padding: 7px 14px;
    font-size: 10px;
    border-radius: 12px;
    color:#ffffff;
    box-shadow:
      0 0 10px rgba(160, 158, 255, 0.4),
      0 0 20px rgba(120, 118, 255, 0.3),
      0 0 30px rgba(88, 86, 214, 0.25),
      0 4px 8px rgba(0,0,0,.5);
  }
  .hero-cta::before{
    inset: 2px;
    border-radius: 10px;
  }
  .hero-cta::after{
    inset: -4px;
    border-radius: 16px;
    filter: blur(6px);
    opacity: 0.6;
  }
}

/* ─────────────────────────────────────────────────────────
   MEDALLIONS
────────────────────────────────────────────────────────── */
/* ===== Chips (Sierra Casino style) ===== */
.chips{
  margin:16px auto 0;
  display:flex;
  align-items:center;
  gap:10px;

  justify-content:center;

  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;

  -webkit-overflow-scrolling:touch;
  scroll-behavior:smooth;

  padding:12px 14px;
  background:linear-gradient(180deg, rgba(26, 26, 46, 0.92), rgba(18, 18, 40, 0.96));
  border:1px solid rgba(88, 86, 214, 0.18);
  border-radius:14px;
  box-shadow:0 8px 28px rgba(0,0,0,.4), var(--ring);
  
  /* Скрываем scrollbar на десктопе */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE и Edge */
}

/* убираем «прилипание» к левому краю при скролле */
.chips::before,
.chips::after{
  content:"";
  flex:0 0 12px;
}

/* scrollbar - скрыт на десктопе, виден только на мобильных */

.chips::-webkit-scrollbar{ 
  height:0; 
  width:0;
  background:transparent;
}
.chips::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg, var(--primary-mid), var(--primary-dark));
  border-radius:999px;
}
.chips::-webkit-scrollbar-track{ 
  background:transparent; 
}

/* Показываем scrollbar только на мобильных устройствах */
@media (max-width:768px){
  .chips{
    scrollbar-width: thin; /* Firefox */
    -ms-overflow-style: auto; /* IE и Edge */
  }
  
  .chips::-webkit-scrollbar{ 
    height:3px; 
    width:3px;
    display:block;
  }
}

@media (max-width:520px){
  .chips::-webkit-scrollbar{ 
    height:2px; 
    width:2px;
    display:block;
  }
}

.chip{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:10px;

  height:36px;
  padding:0 14px;
  border-radius:12px;

  white-space:nowrap;
  text-decoration:none;

  /* system-ui первым — если Antonio грузится криво, подписи не «пропадают» */
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif,"Antonio";
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size:12px;

  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff;
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(88,86,214,.2), transparent 45%),
    linear-gradient(180deg, #1e1e36 0%, #12122a 100%);
  border:1px solid rgba(88,86,214,.22);

  box-shadow:
    0 0 0 1px rgba(0,0,0,.45) inset,
    0 4px 12px rgba(0,0,0,.4);

  transition:
    transform .18s ease,
    box-shadow .22s ease,
    background .22s ease,
    border-color .22s ease,
    color .22s ease;
}

/* Одинаковый URL /go/ у всех чипов — :visited иначе даёт тёмный/невидимый текст в Safari/Chrome */
.chip:link,
.chip:visited,
.chip:hover,
.chip:active,
.chip:focus-visible{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff;
}

/* ICON */
.chip-ico{
  width:18px;
  height:18px;
  display:grid;
  place-items:center;
  color:#ffffff;
  filter:
    drop-shadow(0 1px 2px rgba(0,0,0,.55))
    drop-shadow(0 0 8px rgba(88,86,214,.4));
}

.chip-ico svg{
  width:18px;
  height:18px;
  stroke:currentColor;
}

/* TEXT */
.chip-txt{
  line-height:1;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff;
}

/* HOVER — как в рефе */
@media (hover:hover){
  .chip:hover{
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff;
    border-color:rgba(130,128,255,.55);
    background:
      radial-gradient(120% 120% at 30% 20%, rgba(120,118,255,.22), transparent 45%),
      linear-gradient(180deg, #2a2848 0%, #16162e 100%);
    box-shadow:
      0 0 0 1px rgba(88,86,214,.35) inset,
      0 0 18px rgba(88,86,214,.3),
      0 8px 20px rgba(0,0,0,.5);
    transform: translateY(-1px);
  }
}

/* ACTIVE / TAP */
.chip:active{
  transform: translateY(1px);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.7) inset,
    0 4px 10px rgba(0,0,0,.6);
}

/* MOBILE — компактнее */
@media (max-width:768px){
  .chips{
    padding:8px 10px;
    gap:8px;
    margin-top:12px;
  }
  
  .chip{
    height:32px;
    padding:0 10px;
    font-size:10px;
    border-radius:10px;
    gap:6px;
  }
  
  .chip-ico,
  .chip-ico svg{
    width:14px;
    height:14px;
  }
}

@media (max-width:520px){
  .chips{
    padding:6px 8px;
    gap:6px;
    margin-top:10px;
  }
  
  .chip{
    height:30px;
    padding:0 8px;
    font-size:9px;
    border-radius:8px;
    gap:5px;
  }
  
  .chip-ico,
  .chip-ico svg{
    width:12px;
    height:12px;
  }
}

@media (max-width:380px){
  .chips{
    padding:5px 6px;
    gap:5px;
  }
  
  .chip{
    height:28px;
    padding:0 7px;
    font-size:8px;
    gap:4px;
  }
  
  .chip-ico,
  .chip-ico svg{
    width:11px;
    height:11px;
  }
}

/* На мобильных уменьшаем псевдо-элементы */
@media (max-width:768px){
  .chips::before,
  .chips::after{
    flex:0 0 8px;
  }
  
  .chips{
    justify-content:flex-start; /* важно для нормального скролла */
  }
}

@media (max-width:520px){
  .chips::before,
  .chips::after{
    flex:0 0 6px;
  }
}

/* ─────────────────────────────────────────────────────────
   CARDS GRID
────────────────────────────────────────────────────────── */
.grid{
  display:grid;
  gap:18px;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin-top:22px;
  min-width:0;
}
.card{
  display:block;
  text-decoration:none;
  color:inherit;
  background:#12122a;
  border:1px solid rgba(88, 86, 214, 0.15);
  border-radius:16px;
  overflow:hidden;
  box-shadow:var(--ring);
}
.media{
  position:relative;
  aspect-ratio:16/9;
  overflow:hidden;
}
.media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1);
  transition:transform .6s ease;
}
.card:hover .media img{ transform:scale(1.08); }
.play{
  position:absolute;
  inset:auto 50% 50% auto;
  transform:translate(50%,50%);
  padding:10px 22px;
  border-radius:14px;
  font-weight:800;
  color:#fff;
  background:
    radial-gradient(60% 120% at 30% 20%, rgba(180, 178, 255, 0.35), transparent 42%),
    linear-gradient(180deg, #7371ff 0%, var(--primary) 45%, var(--primary-dark) 100%);
  border:1px solid rgba(140, 138, 255, 0.45);
  box-shadow:0 0 22px rgba(88, 86, 214, 0.4), var(--ring);
  opacity:0;
  transition:opacity .25s ease, transform .25s ease;
}
.card:hover .play{
  opacity:1;
  transform:translate(50%,50%) scale(1.05);
}
.info{ padding:10px 12px 12px; }
.title{ margin:0 0 2px; font-weight:800; color:var(--text-heading); }
.vendor{ margin:0; color:var(--ink-muted); font-size:12px; }

/* ─────────────────────────────────────────────────────────
   TABLE OF CONTENTS
────────────────────────────────────────────────────────── */
.toc-nav{
  margin:24px 0 20px;
  padding:16px 20px;
  background:linear-gradient(180deg, rgba(24, 22, 23, 0.95), rgba(35, 33, 33, 0.95));
  border:1px solid rgba(140, 138, 255, 0.2);
  border-radius:14px;
  box-shadow:0 4px 12px rgba(0,0,0,.4);
}

.toc-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:12px 16px;
  justify-content:flex-start;
  align-items:center;
}

.toc-list li{
  margin:0;
  padding:0;
}

.toc-list a{
  display:inline-block;
  padding:6px 14px;
  font-size:13px;
  font-weight:600;
  color:var(--ink-bright);
  text-decoration:none;
  border-radius:8px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  transition:all .2s ease;
  white-space:nowrap;
}

.toc-list a:hover{
  background:rgba(140, 138, 255, 0.15);
  border-color:rgba(140, 138, 255, 0.4);
  color:#ffffff;
  transform:translateY(-1px);
}

@media (max-width:768px){
  .toc-nav{
    padding:12px 14px;
    margin:20px 0 16px;
  }
  
  .toc-list{
    gap:8px 12px;
  }
  
  .toc-list a{
    padding:5px 11px;
    font-size:12px;
  }
}

@media (max-width:480px){
  .toc-list{
    gap:6px 10px;
  }
  
  .toc-list a{
    padding:4px 9px;
    font-size:11px;
  }
}

/* ─────────────────────────────────────────────────────────
   FAQ SECTION
────────────────────────────────────────────────────────── */
.faq-item{
  margin-bottom:24px;
  padding:18px 20px;
  background:linear-gradient(180deg, rgba(24, 22, 23, 0.6), rgba(35, 33, 33, 0.6));
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  box-shadow:0 2px 8px rgba(0,0,0,.3);
}

.faq-item h3{
  margin:0 0 12px 0;
  font-size:18px;
  font-weight:800;
  color:var(--text-heading);
  line-height:1.3;
}

.faq-item p{
  margin:0;
  color:var(--ink);
  line-height:1.6;
}

.faq-item:last-child{
  margin-bottom:0;
}

@media (max-width:768px){
  .faq-item{
    padding:14px 16px;
    margin-bottom:18px;
  }
  
  .faq-item h3{
    font-size:16px;
    margin-bottom:10px;
  }
}

/* ─────────────────────────────────────────────────────────
   SECTIONS / CTA
────────────────────────────────────────────────────────── */
.section{
  margin-top:30px;
  margin-bottom:20px;
  line-height:1.6;
  color:#ffffff;
}

.intro p{
  max-width:900px;
  margin:0 auto;
  text-align:left;
  color:#ffffff;
}
.cta-center{
  display:flex;
  justify-content:center;
  margin-top:16px;
}
.pulse-btn{
  display:inline-block;
  padding:16px 32px;
  font-weight:900;
  font-size:18px;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#fff;
  text-decoration:none;
  border-radius:30px;
  position:relative;
  background:
    radial-gradient(ellipse at center top, rgba(180, 178, 255, 0.35) 0%, transparent 52%),
    linear-gradient(180deg, #9e9cff 0%, var(--primary) 38%, var(--primary-dark) 100%);
  border:2px solid rgba(160, 158, 255, 0.45);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.35) inset,
    0 4px 14px rgba(0,0,0,.5),
    0 8px 28px rgba(88, 86, 214, 0.4),
    0 0 36px rgba(88, 86, 214, 0.25);
  transition:all .3s ease;
  animation:pulse 1.8s infinite;
}

/* Глянцевый эффект */
.pulse-btn::before{
  content:"";
  position:absolute;
  inset:2px;
  border-radius:28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.25) 0%, rgba(255,255,255,.05) 50%, transparent 100%);
  pointer-events:none;
  z-index:1;
}

/* Адаптивные стили для мобильных */
@media (max-width:768px){
  .pulse-btn{
    padding:14px 26px;
    font-size:16px;
  }
}

@media (max-width:480px){
  .pulse-btn{
    padding:12px 22px;
    font-size:15px;
    border-radius:25px;
  }
}

/* ─────────────────────────────────────────────────────────
   PROVIDERS
────────────────────────────────────────────────────────── */
.prov-grid{
  display:grid;
  gap:16px;
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.prov{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-decoration:none;
  color:var(--ink-bright);
  background:rgba(18, 18, 42, 0.85);
  border:1px solid rgba(88, 86, 214, 0.2);
  border-radius:16px;
  padding:14px;
  box-shadow:var(--ring);
  transition:transform .2s ease, box-shadow .2s ease;
}
.prov:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(0,0,0,.35), var(--ring);
}
.prov-media{
  width:100%;
  aspect-ratio:16/9;
  background:#14142a;
  border-radius:10px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.prov-media img{
  width:80%;
  height:80%;
  object-fit:contain;
  filter:drop-shadow(0 2px 8px rgba(0,0,0,.35));
}
.prov-name{
  margin-top:10px;
  font-weight:800;
  letter-spacing:.2px;
  text-align:center;
  color:var(--text-heading);
}
.vmore-btn{
  display:inline-block;
  padding:12px 24px;
  font-weight:900;
  font-size:14px;
  letter-spacing:.04em;
  text-transform:uppercase;
  border-radius:999px;
  text-decoration:none;
  color:#fff;
  position:relative;
  background:
    radial-gradient(ellipse at center top, rgba(180, 178, 255, 0.3) 0%, transparent 52%),
    linear-gradient(180deg, #8b89ff 0%, var(--primary) 42%, #3432a0 100%);
  border:2px solid rgba(150, 148, 255, 0.45);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.35) inset,
    0 4px 12px rgba(0,0,0,.5),
    0 6px 22px rgba(88, 86, 214, 0.35),
    0 0 28px rgba(88, 86, 214, 0.22);
  transition:all .3s ease;
}

/* Глянцевый эффект */
.vmore-btn::before{
  content:"";
  position:absolute;
  inset:2px;
  border-radius:999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.25) 0%, rgba(255,255,255,.05) 50%, transparent 100%);
  pointer-events:none;
}

.vmore-btn:hover{ 
  transform:scale(1.05) translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.35) inset,
    0 6px 18px rgba(0,0,0,.55),
    0 8px 32px rgba(88, 86, 214, 0.45),
    0 0 40px rgba(120, 118, 255, 0.35);
  filter: brightness(1.08);
}

/* ─────────────────────────────────────────────────────────
   ТАБЛИЦЫ (ОБЩЕЕ)
────────────────────────────────────────────────────────── */
.table-wrapper{
  background:#2a292618;
  border:1px solid #0000007d;
  border-radius:16px;
  box-shadow:var(--ring);
  overflow:hidden; /* скругления без «утечек» */
}

/* Для таблиц с горизонтальным скроллом */
.table-wrapper--scroll{
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:rgba(140, 138, 255, 0.4) rgba(0,0,0,0.2);
}

.table-wrapper--scroll::-webkit-scrollbar{
  height:8px;
}

.table-wrapper--scroll::-webkit-scrollbar-track{
  background:rgba(0,0,0,0.2);
  border-radius:4px;
}

.table-wrapper--scroll::-webkit-scrollbar-thumb{
  background:rgba(140, 138, 255, 0.4);
  border-radius:4px;
}

.table-wrapper--scroll::-webkit-scrollbar-thumb:hover{
  background:rgba(140, 138, 255, 0.6);
}

/* Базовая таблица — всегда 100% внутри wrapper */
table{
  width:100%;
  border-collapse:collapse;
}

/* Стили для таблиц с заголовками (thead/th) */
table thead{
  background:linear-gradient(180deg, rgba(140, 138, 255, 0.15), rgba(88, 86, 214, 0.1));
  border-bottom:2px solid rgba(140, 138, 255, 0.3);
}

table th{
  padding:14px 12px;
  text-align:left;
  font-weight:800;
  color:var(--text-heading);
  font-size:15px;
  letter-spacing:.02em;
  text-transform:uppercase;
  border-bottom:2px solid rgba(140, 138, 255, 0.3);
}

table tbody tr{
  transition:background-color .2s ease;
}

table tbody tr:hover{
  background:rgba(140, 138, 255, 0.08);
}

table tbody td{
  padding:12px;
  color:#ffffff;
  line-height:1.5;
  font-size:15px;
  border-bottom:1px solid rgba(255,255,255,.08);
  vertical-align:middle;
}

table tbody tr:last-child td{
  border-bottom:0;
}

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

/* Адаптивность для многоколоночных таблиц */
@media (max-width:768px){
  table th,
  table tbody td{
    padding:10px 8px;
    font-size:14px;
  }
  
  table th{
    font-size:13px;
  }
}

@media (max-width:480px){
  table th,
  table tbody td{
    padding:8px 6px;
    font-size:13px;
  }
  
  table th{
    font-size:12px;
    letter-spacing:.01em;
  }
}

/* Универсальный фикс для 2-колоночных таблиц без правок HTML
   (используется в секциях #facts, #bonuses) */
:is(#facts, #bonuses){
  overflow-x:hidden;
}
:is(#facts, #bonuses) table{
  width:100% !important;
  min-width:0 !important;
  margin:0;
  border-collapse:collapse;
  table-layout:fixed; /* ровные колонки на мобайле */
}
:is(#facts, #bonuses) td{
  padding:12px 14px;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:break-word;
  hyphens:auto;
  vertical-align:top;
  border-bottom:1px solid rgba(255,255,255,.18);
  color:#ffffff;
  line-height:1.5;
  font-size:15px;
}
:is(#facts, #bonuses) tr:last-child td{ border-bottom:0; }

:is(#facts, #bonuses) td:first-child{
  width:42%;
  font-weight:700;
  color:#ffffff;
}
:is(#facts, #bonuses) td:last-child{ width:58%; }

:is(#facts, #bonuses) tr:nth-child(odd) td{
  background:rgba(255,255,255,.03);
}

@media (max-width:430px){
  :is(#facts, #bonuses) td{
    padding:10px 8px;
    font-size:14px;
  }
  :is(#facts, #bonuses) td:first-child{ width:46%; }
  :is(#facts, #bonuses) td:last-child{ width:54%; }
}

/* Стили для секции #payments с многоколоночной таблицей */
#payments .table-wrapper{
  overflow:hidden;
}

#payments table{
  width:100%;
  margin:0;
  border-collapse:collapse;
  table-layout:auto;
}

/* Мобильная адаптация для #payments */
@media (max-width:768px){
  #payments table th,
  #payments table tbody td{
    padding:10px 8px;
    font-size:13px;
  }
  
  #payments table th{
    font-size:12px;
    padding:10px 6px;
  }
  
  #payments table tbody td:last-child{
    font-size:12px;
  }
}

@media (max-width:480px){
  #payments table th,
  #payments table tbody td{
    padding:8px 6px;
    font-size:12px;
  }
  
  #payments table th{
    font-size:11px;
    padding:8px 5px;
    letter-spacing:0;
  }
  
  #payments table tbody td:first-child{
    font-size:12px;
  }
  
  #payments table tbody td:nth-child(2),
  #payments table tbody td:nth-child(3){
    text-align:center;
    font-size:12px;
  }
  
  #payments table tbody td:last-child{
    font-size:11px;
  }
}

/* ─────────────────────────────────────────────────────────
   FOOTER
────────────────────────────────────────────────────────── */
.site-footer{
  margin-top:40px;
  background:linear-gradient(180deg, #0a0a1f, #000000);
  border-top:1px solid rgba(88, 86, 214, 0.22);
  box-shadow:0 -12px 36px rgba(0,0,0,.45) inset;
}
.site-footer a{ color:#ffffff; text-decoration:none; }
.site-footer a:hover{ color:#ffffff; text-decoration:underline; text-underline-offset:2px; }

.ft-wrap{
  max-width:1320px;
  margin:0 auto;
  padding:28px 14px 32px;
  color:#ffffff;
}
.ft-head{
  display:flex;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
  justify-content:space-between;
  margin-bottom:16px;
}
.ft-logo img{ height:65px; display:block; }
.ft-cta-center{ flex:1; display:flex; justify-content:center; }

.ft-btn{
  display:inline-block;
  padding:14px 28px;
  font-weight:900;
  font-size:16px;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#fff;
  text-decoration:none;
  border-radius:30px;
  max-width:320px;
  position:relative;
  background:
    radial-gradient(ellipse at center top, rgba(180, 178, 255, 0.32) 0%, transparent 52%),
    linear-gradient(180deg, #9e9cff 0%, var(--primary) 40%, var(--primary-dark) 100%);
  border:2px solid rgba(160, 158, 255, 0.45);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.35) inset,
    0 4px 14px rgba(0,0,0,.5),
    0 8px 28px rgba(88, 86, 214, 0.38),
    0 0 34px rgba(88, 86, 214, 0.25);
  transition:all .3s ease;
}

/* Глянцевый эффект */
.ft-btn::before{
  content:"";
  position:absolute;
  inset:2px;
  border-radius:28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.25) 0%, rgba(255,255,255,.05) 50%, transparent 100%);
  pointer-events:none;
}

.ft-btn:hover{
  transform:scale(1.05) translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.35) inset,
    0 6px 18px rgba(0,0,0,.55),
    0 10px 34px rgba(88, 86, 214, 0.48),
    0 0 44px rgba(120, 118, 255, 0.32);
  filter: brightness(1.08);
}

.ft-trust{ display:flex; align-items:center; gap:18px; }
.ft-trust img{
  height:30px;
  width:auto;
  display:block;
  opacity:.9;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,.35));
}
.ft-trust a:hover img{ opacity:1; }

.ft-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  padding:16px 0;
  border-top:1px solid #140f3a4a;
  border-bottom:1px solid #120f3a67;
}
.ft-col{ display:flex; flex-direction:column; gap:8px; }
.ft-title{ font-weight:800; color:var(--text-heading); margin-bottom:6px; }

.ft-pay{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  margin:14px 0;
}
.ft-pay span{ opacity:.9; text-align:center; }
.ft-pay ul{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:14px;
  padding:0;
  margin:0;
  list-style:none;
}
.ft-pay img{
  height:26px;
  width:auto;
  display:block;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,.25));
}
/* ─────────────────────────────────────────────────────────
   FOOTER LANGUAGE BUTTONS
────────────────────────────────────────────────────────── */
.ft-lang{
  border-top:1px solid #0f2b3a;
  border-bottom:1px solid #0f2b3a;
  margin:16px 0;
  padding:16px 0;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
}

.ft-lang-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:10px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.15);
  color:var(--ink-bright);
  text-decoration:none;
  font-family:"Antonio", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size:12px;
  font-weight:600;
  transition:all .2s ease;
}

.ft-lang-btn:hover{
  border-color:rgba(255,255,255,.25);
  background:rgba(255,255,255,.12);
  color:#ffffff;
  transform:translateY(-1px);
}

.ft-lang-btn.is-active{
  background:rgba(88, 86, 214, 0.25);
  border-color:rgba(140, 138, 255, 0.55);
  color:#ffffff;
  cursor:default;
  pointer-events:none;
}

.ft-lang-btn .flag-emoji{
  font-size:18px;
  line-height:1;
  display:inline-flex;
  align-items:center;
}

.ft-legal{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:10px 18px;
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid rgba(88, 86, 214, 0.18);
  font-size:13px;
}
.ft-legal a{
  color:#ffffff;
  text-decoration:none;
  opacity:.92;
  border-bottom:1px solid rgba(255,255,255,.25);
  padding-bottom:1px;
  transition:opacity .2s ease, border-color .2s ease;
}
.ft-legal a:hover{
  opacity:1;
  border-bottom-color:rgba(140, 138, 255, 0.65);
}

.legal-doc{
  max-width:820px;
  margin:0 auto;
}
.legal-doc h2{
  margin:28px 0 12px;
  font-size:1.25rem;
  font-weight:800;
  color:var(--text-heading);
}
.legal-doc h2:first-of-type{
  margin-top:8px;
}
.legal-doc p,
.legal-doc li{
  color:var(--ink);
  line-height:1.65;
  margin:0 0 12px;
}
.legal-doc ul,
.legal-doc ol{
  margin:0 0 16px;
  padding-left:1.35em;
}
.legal-doc .legal-note{
  margin:20px 0;
  padding:14px 18px;
  border-radius:12px;
  border:1px solid rgba(140, 138, 255, 0.28);
  background:rgba(18, 18, 42, 0.65);
  font-size:14px;
}

.ft-bottom{
  border-top:1px solid rgba(88, 86, 214, 0.22);
  margin-top:12px;
  padding-top:12px;
  font-size:13px;
  color:var(--ink-muted);
  display:flex;
  justify-content:center;
  text-align:center;
}

/* ─────────────────────────────────────────────────────────
   FOOTER MOBILE RESPONSIVE
────────────────────────────────────────────────────────── */
@media (max-width:768px){
  .ft-head{
    flex-direction:column;
    align-items:center;
    gap:16px;
    justify-content:center;
  }
  
  .ft-logo img{
    height:50px;
  }
  
  .ft-cta-center{
    width:100%;
    justify-content:center;
  }
  
  .ft-btn{
    padding:10px 20px;
    font-size:13px;
    max-width:280px;
    width:auto;
  }
  
  .ft-trust{
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
  }
  
  .ft-trust img{
    height:26px;
  }
  
  .ft-grid{
    grid-template-columns:repeat(2,1fr);
    gap:16px;
  }
}

@media (max-width:520px){
  .ft-wrap{
    padding:20px 12px 24px;
  }
  
  .ft-head{
    gap:14px;
    margin-bottom:14px;
  }
  
  .ft-logo img{
    height:45px;
  }
  
  .ft-btn{
    padding:8px 18px;
    font-size:12px;
    max-width:240px;
  }
  
  .ft-trust{
    gap:10px;
  }
  
  .ft-trust img{
    height:24px;
  }
  
  .ft-grid{
    grid-template-columns:1fr;
    gap:14px;
    padding:14px 0;
  }
  
  .ft-col{
    gap:6px;
  }
  
  .ft-title{
    font-size:14px;
    margin-bottom:8px;
  }
  
  .ft-pay{
    margin:12px 0;
    gap:8px;
  }
  
  .ft-pay ul{
    gap:10px;
  }
  
  .ft-pay img{
    height:22px;
  }
  
  .ft-lang{
    margin:12px 0;
    padding:12px 0;
    gap:8px;
  }
  
  .ft-lang-btn{
    padding:6px 12px;
    font-size:11px;
    gap:6px;
  }
  
  .ft-lang-btn .flag-emoji{
    font-size:16px;
  }
  
  .ft-bottom{
    font-size:12px;
    padding-top:10px;
    margin-top:10px;
  }
}

@media (max-width:390px){
  .ft-wrap{
    padding:18px 10px 20px;
  }
  
  .ft-logo img{
    height:40px;
  }
  
  .ft-btn{
    padding:9px 18px;
    font-size:12px;
  }
  
  .ft-trust img{
    height:22px;
  }
  
  .ft-title{
    font-size:13px;
  }
  
  .ft-pay img{
    height:20px;
  }
  
  .ft-lang{
    margin:10px 0;
    padding:10px 0;
    gap:6px;
  }
  
  .ft-lang-btn{
    padding:5px 10px;
    font-size:10px;
    gap:5px;
  }
  
  .ft-lang-btn .flag-emoji{
    font-size:14px;
  }
  
  .ft-bottom{
    font-size:11px;
    line-height:1.5;
  }
}

/* Десктоп: ограничение высоты сайдбара при длинном меню */
@media (min-width:993px){
  .aside{
    max-height:calc(100vh - (var(--hdrH, 64px) + 24px));
    overflow:auto;
    -webkit-overflow-scrolling:touch;
  }
}

/* На мобилке drawer усиленно прячем «за пределы» */
@media (max-width:992px){
  .drawer{ transform:translateX(-110%); }
}

/* ─────────────────────────────────────────────────────────
   RESPONSIVE (СЕТКИ)
────────────────────────────────────────────────────────── */
@media (max-width:1200px){
  .prov-grid{ grid-template-columns:repeat(3,1fr); }
  .medals{ grid-template-columns:repeat(6,1fr); }
  .grid{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:992px){
  .shell{ grid-template-columns:1fr; }
  .aside{ display:none; }
  .burger{ display:inline-flex; }
  .search{ display:none; }
  .medals{ grid-template-columns:repeat(4,1fr); }
  .grid{ grid-template-columns:repeat(2,1fr); }
  
  .head .btn--login{
    margin-left:auto;
  }
}
@media (max-width:520px){
  .head{ gap:8px; }
  .medals{ grid-template-columns:repeat(3,1fr); }

  .head, .shell, .site-footer{
    padding-left:12px;
    padding-right:12px;
  }

  /* синхроним с переменной --framePad (см. выше) */
  .frame{ padding: var(--framePad); }
  .frame:before{ inset:6px; }
}
@media (max-width:390px){
  .medals{ grid-template-columns:repeat(2,1fr); }
  .grid{ grid-template-columns:1fr; }
}

/* ─────────────────────────────────────────────────────────
   (ОПЦИОНАЛЬНО) ASIDE FIXED — НА БУДУЩЕЕ
────────────────────────────────────────────────────────── */
.aside--fixed{
  position:fixed !important;
  top:var(--asideTop,74px);
  left:var(--asideLeft,14px);
  width:var(--asideWidth,260px);
  height:calc(100vh - (var(--asideTop,74px) + 14px));
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  z-index:90;
  transform:translateY(var(--asideShift,0px));
}

/* ─────────────────────────────────────────────────────────
   ПАК АНИМАЦИЙ/ЭФФЕКТОВ ДЛЯ CTA (без дублей)
   ВАЖНО: не ломаем transform у кнопок в хедере, поэтому
   применяем эффекты только там, где это уместно.
────────────────────────────────────────────────────────── */
:where(.pulse-btn, .hero-cta, .vmore-btn, .ft-btn, .btn--login, .btn--reg){
  position:relative;
  display:inline-block;
  transition: transform .2s ease, box-shadow .3s ease, filter .3s ease, background .3s ease;
  will-change: transform, box-shadow;
  transform: translateZ(0);
}

/* Hover: подъём и свечение */
.pulse-btn:hover{
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.4) inset,
    0 6px 16px rgba(0,0,0,.6),
    0 10px 30px rgba(88, 86, 214, 0.5),
    0 0 50px rgba(88, 86, 214, 0.4);
  filter: brightness(1.1) saturate(1.1);
}

.vmore-btn:hover,
.ft-btn:hover{
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.4) inset,
    0 6px 16px rgba(0,0,0,.6),
    0 8px 28px rgba(88, 86, 214, 0.4),
    0 0 35px rgba(88, 86, 214, 0.3);
  filter: brightness(1.1);
}

/* Для .btn--reg — только свечение */
.btn--reg:hover,
.btn--reg:focus-visible{
  box-shadow: 0 10px 24px rgba(55, 0, 255, 0.35), var(--ring);
  filter: saturate(1.06);
}

/* Active: эффект нажатия */
:where(.pulse-btn, .hero-cta, .vmore-btn, .ft-btn, .btn--login, .btn--reg):active{
  transform: translateY(0) scale(0.97);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  filter: saturate(1);
}

/* Фокус-обводка */
:where(.pulse-btn, .hero-cta, .vmore-btn, .ft-btn, .btn--login, .btn--reg):focus-visible{
  outline:0;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.424),
    0 0 0 5px rgba(0, 30, 255, 0.45),
    0 10px 24px rgba(72, 0, 255, 0.35);
}

/* Мягкая пульсация по классу .is-pulsing */
@keyframes pulse-glow2{
  0%   { box-shadow: 0 0 0 0 rgba(88, 86, 214, .45) }
  70%  { box-shadow: 0 0 0 14px rgba(88, 86, 214, 0) }
  100% { box-shadow: 0 0 0 0 rgba(88, 86, 214, 0) }
}
:where(.pulse-btn, .hero-cta, .vmore-btn, .ft-btn).is-pulsing{
  animation: pulse-glow2 2s infinite;
}

/* Лёгкий «ripple» без JS */
:where(.pulse-btn, .hero-cta, .vmore-btn, .ft-btn, .btn--login, .btn--reg)::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: radial-gradient(160px 160px at 50% 50%, rgba(255,255,255,0), transparent 60%);
  opacity:0;
  transition: opacity .35s ease;
}
:where(.pulse-btn, .hero-cta, .vmore-btn, .ft-btn, .btn--login, .btn--reg):hover::after{
  opacity:1;
}

/* Уважение prefers-reduced-motion */
@media (prefers-reduced-motion: reduce){
  :where(.pulse-btn, .hero-cta, .vmore-btn, .ft-btn, .btn--login, .btn--reg){
    transition:none;
    animation:none;
  }
  :where(.pulse-btn, .hero-cta, .vmore-btn, .ft-btn, .btn--login, .btn--reg):hover{
    transform:none;
    box-shadow:none;
    filter:none;
  }
}

/* Disabled-состояние */
:where(.pulse-btn, .hero-cta, .vmore-btn, .ft-btn, .btn--login, .btn--reg)[disabled]{
  opacity:.6;
  pointer-events:none;
  filter: grayscale(.2);
  box-shadow:none !important;
  transform:none !important;
}

/* ===== Language button (bottom of menus) ===== */
.aside-lang{ margin-top:12px; padding-top:10px; border-top:1px solid rgba(255,255,255,.06); }
.drawer-lang{ margin-top:10px; padding:10px 6px 0; border-top:1px solid rgba(255,255,255,.08); }

.lang-btn{
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 12px;
  border-radius:14px;
  background:
    radial-gradient(ellipse at center top, rgba(160, 158, 255, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, rgba(140, 138, 255, 0.2) 0%, rgba(88, 86, 214, 0.15) 100%);
  border:1.5px solid rgba(140, 138, 255, 0.4);
  color:#ffffff;
  cursor:pointer;
  font-family:"Antonio", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-transform:uppercase;
  letter-spacing:.06em;
  position:relative;
  box-shadow:
    0 0 8px rgba(140, 138, 255, 0.3),
    0 0 16px rgba(88, 86, 214, 0.2),
    0 4px 12px rgba(0,0,0,.4);
  transition:all .3s ease;
}
.lang-btn:hover{ 
  border-color:rgba(140, 138, 255, 0.8);
  background:
    radial-gradient(ellipse at center top, rgba(160, 158, 255, 0.25) 0%, transparent 50%),
    linear-gradient(180deg, rgba(140, 138, 255, 0.3) 0%, rgba(88, 86, 214, 0.25) 100%);
  box-shadow:
    0 0 12px rgba(140, 138, 255, 0.5),
    0 0 24px rgba(88, 86, 214, 0.3),
    0 6px 16px rgba(0,0,0,.5);
  transform: translateY(-1px);
}

.lang-flag{ 
  width:20px; 
  height:20px; 
  object-fit:contain; 
  border-radius:3px;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.4));
}

.lang-label-main{
  font-weight:800;
  font-size:14px;
  letter-spacing:.08em;
  color:var(--text-heading);
  text-shadow:0 0 8px rgba(140, 138, 255, 0.4);
}

.lang-label-sub{
  font-weight:500;
  font-size:11px;
  letter-spacing:.04em;
  color:var(--ink-muted);
  opacity:.95;
  margin-left:auto;
}

/* ===== Language modal ===== */
.lang-modal{
  position:fixed; inset:0;
  z-index:999;
  display:none;
}
.lang-modal.is-open{ display:block; }

.lang-backdrop{
  position:absolute; inset:0;
  background:rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
}

.lang-panel{
  position:absolute;
  left:50%; top:50%;
  transform:translate(-50%,-50%);
  width:min(520px, 92vw);
  max-height:min(78vh, 720px);
  overflow:auto;

  background:linear-gradient(180deg,#2b2b2b,#171717);
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  box-shadow:0 20px 60px rgba(0,0,0,.6);
}

.lang-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.lang-title{
  color:var(--text-heading);
  font-family:"Antonio", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:18px;
}
.lang-x{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
  color:var(--text-heading);
  border-radius:10px;
  padding:8px 10px;
  cursor:pointer;
}

.lang-list{ padding:14px; display:flex; flex-direction:column; gap:10px; }

.lang-item{
  width:100%;
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  border-radius:12px;

  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.10);
  color:var(--ink-bright);
  cursor:pointer;
  text-decoration:none;

  font-family:"Antonio", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  text-transform:uppercase;
  letter-spacing:.06em;
  transition: all 0.2s ease;
}
.lang-item img{ width:18px; height:18px; object-fit:contain; border-radius:3px; }
.lang-item:hover{ border-color:rgba(130, 128, 255, 0.5); background:rgba(88, 86, 214, 0.1); }

.lang-item.is-active,
.lang-item.is-current,
.lang-item[disabled]{
  background: linear-gradient(135deg, rgba(88, 86, 214, 0.2), rgba(45, 43, 120, 0.35));
  border-color: rgba(140, 138, 255, 0.45);
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(88, 86, 214, 0.25) inset, 0 2px 10px rgba(88, 86, 214, 0.2);
  cursor: default !important;
  pointer-events: none;
  text-decoration: none;
}
.lang-item.is-active:hover,
.lang-item.is-current:hover,
.lang-item[disabled]:hover{
  background: linear-gradient(135deg, rgba(88, 86, 214, 0.2), rgba(45, 43, 120, 0.35));
  border-color: rgba(140, 138, 255, 0.45);
}

/* ─────────────────────────────────────────────────────────
   LOGIN IMAGE HOVER EFFECTS
────────────────────────────────────────────────────────── */
#login img[src*="login/"] {
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

#login a:hover img[src*="login/"] {
  transform: scale(1.05);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(88, 86, 214, 0.45),
    0 0 40px rgba(120, 118, 255, 0.25);
  filter: brightness(1.08) drop-shadow(0 0 10px rgba(140, 138, 255, 0.35));
}

/* ─────────────────────────────────────────────────────────
   BANNER PROMO IMAGE HOVER EFFECTS (glow with slight zoom)
────────────────────────────────────────────────────────── */
.promo-img,
img[src*="bannerpromo/"] {
  border-radius: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

a:hover .promo-img,
a:hover img[src*="bannerpromo/"] {
  border-radius: 18px;
  transform: scale(1.005);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(88, 86, 214, 0.45),
    0 0 40px rgba(120, 118, 255, 0.25);
  filter: brightness(1.08) drop-shadow(0 0 10px rgba(140, 138, 255, 0.35));
}

/*
  Единый белый текст: body + main + футер. Без -webkit-text-fill на массовых селекторах (ломает картинки в ссылках в WebKit).
  Текстовые ссылки в секциях — белые + подчёркивание; ссылки-картинки — отдельно.
*/
body{
  color:#ffffff !important;
}
header,
.drawer,
.site-footer,
.shell,
.search input{
  color:#ffffff !important;
}

:is(.shell > main, main){
  color:#ffffff !important;
}

:is(.shell > main, main) :is(
  .page-title,
  .section,
  p, h1, h2, h3, h4, h5, h6,
  li, td, th, dt, dd,
  figcaption, blockquote,
  .intro, address, label,
  .hero-line, .hero-line--intro, .hero-line--big, .hero-line--mid,
  .hero-badge,
  strong, em, small,
  span
){
  color:#ffffff !important;
}

:is(.shell > main, main) .vendor{
  color:#ffffff !important;
}

:is(.shell > main, main) .section a:not(.pulse-btn):not(.vmore-btn):not(.card):not(.chip):not(.prov):not(.banner-link):not(.hero-cta):not(.play){
  color:#ffffff !important;
  text-decoration:underline;
  text-underline-offset:2px;
}
:is(.shell > main, main) .section a:not(.pulse-btn):not(.vmore-btn):not(.card):not(.chip):not(.prov):not(.banner-link):not(.hero-cta):not(.play):hover{
  color:#ffffff !important;
}

/* Ссылки с картинками (login, promo): WebKit */
:is(.shell > main, main) .section a:has(img),
:is(.shell > main, main) .section a:has(picture){
  -webkit-text-fill-color:unset;
  text-decoration:none;
}
:is(.shell > main, main) .section a:has(img) img,
:is(.shell > main, main) .section a:has(picture) img,
:is(.shell > main, main) .section a:has(picture) picture{
  opacity:1 !important;
  visibility:visible !important;
  -webkit-text-fill-color:unset;
}

:is(.shell > main, main) :is(.pulse-btn, .vmore-btn, .hero-cta, .play, .chip, .chip-txt){
  color:#ffffff !important;
  text-decoration:none;
}
:is(.shell > main, main) .chip-ico{
  color:#ffffff !important;
}

/* Чипы: отдельный «якорь» в конце файла (перебивает кэш/каскад/visited) */
.shell .chips a.chip,
.shell .chips a.chip:link,
.shell .chips a.chip:visited,
.shell .chips a.chip:hover,
.shell .chips a.chip:active,
.shell .chips a.chip:focus-visible{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}
.shell .chips a.chip .chip-txt,
main .chips a.chip span.chip-txt{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  opacity:1 !important;
  visibility:visible !important;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif !important;
  font-weight:600 !important;
}