/* ─────────────────────────────────────────────────────────
   БАЗА / 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 2px rgba(0,0,0,.2)) drop-shadow(0 0 6px rgba(255,255,255,.35));
}
.nav-txt{ 
  line-height:1; 
  font-weight:500;
  letter-spacing:.02em;
}
.aside .nav a.is-active .nav-txt,
.drawer .nav a.is-active .nav-txt{
  font-weight:700;
  text-shadow:none;
  border-bottom:2px solid rgba(255,255,255,.5);
  padding-bottom:2px;
}

/* ─────────────────────────────────────────────────────────
   ПЕРЕМЕННЫЕ / ЦВЕТА
────────────────────────────────────────────────────────── */
:root{
  /* Betano: naranja + neutros cálidos, sin azules */
  --page-bg:#f5f0eb;
  --main-bg:#ffffff;
  --main-text:#292524;
  --main-heading:#1c1917;
  --main-muted:#78716c;
  --sidebar-blue-top:#ea580c;
  --sidebar-blue-bot:#7c2d12;
  --sidebar-pill:#292524;
  --sidebar-pill-hover:#44403c;
  --ink:#292524;
  --ink-bright:#1c1917;
  --ink-muted:#78716c;
  --line:rgba(234, 88, 12, 0.18);
  --max:1320px;

  --primary:#ff5a14;
  --primary-mid:#ff7a3d;
  --primary-dark:#c2410c;
  --primary-glow:rgba(255, 90, 20, 0.35);
  --secondary:#9a3412;
  --secondary-light:#ea580c;
  --text-heading:#1c1917;
  --on-lime:#000000;
  --accent-pink:#ff5a14;
  --accent-blue:#ea580c;
  --accent-blue-strong:#c2410c;

  --gold1:#fb923c;
  --gold2:#ea580c;
  --gold3:#ff7a3d;

  --ring:
    0 0 0 1px rgba(120, 113, 108, 0.28) inset,
    0 1px 0 rgba(255,255,255,.9) inset,
    0 8px 28px rgba(28, 25, 23, 0.06);

  --hdrH:64px;

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

/* ─────────────────────────────────────────────────────────
   ГЛОБАЛЬНЫЙ ФОН / ТИПОГРАФИКА
────────────────────────────────────────────────────────── */
html{
  color-scheme:light;
  background:var(--page-bg,#f5f0eb);
  min-height:100%;
}
html,body{
  color:var(--main-text,#292524);
  font-family:"Montserrat",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:1;
  background:
    radial-gradient(900px 520px at 0% 0%, rgba(255, 90, 20, 0.08), transparent 50%),
    radial-gradient(800px 480px at 100% 20%, rgba(251, 146, 60, 0.06), transparent 45%),
    linear-gradient(180deg, #faf8f6 0%, #f5f0eb 42%, #fff7ed 100%);
}

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

/* ─────────────────────────────────────────────────────────
   HEADER / TOPBAR
────────────────────────────────────────────────────────── */
header{
  position:sticky;
  top:0;
  z-index:100;
  background:linear-gradient(180deg, #ffffff 0%, #fafaf9 100%);
  border-bottom:1px solid #e7e5e4;
  backdrop-filter:saturate(120%) blur(8px);
}
header.scrolled{ box-shadow:0 4px 20px rgba(28, 25, 23, 0.08); }

.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:#f5f5f4;
  border:1px solid #e7e5e4;
  color:#1c1917;
  border-radius:10px;
  padding:8px 10px;
}

.logo{ flex:0 0 auto; }
.logo img{
  height:52px;
  width:auto;
  max-width:none;
  object-fit:contain;
  filter:drop-shadow(0 1px 3px rgba(28,25,23,.12));
}

/* Enlaces horizontales a la derecha del logo (estilo Betano; solo ≥993px) */
.head-nav{
  display:none;
  align-items:center;
  gap:clamp(10px, 2vw, 28px);
  flex:0 1 auto;
  min-width:0;
  margin-left:clamp(4px, 1vw, 14px);
}
@media (min-width: 993px){
  .head-nav{
    display:flex;
    flex:1 1 auto;
    justify-content:flex-start;
  }
  .offers-trigger{
    margin-left:0;
  }
}
.head-nav__link{
  font-family:"Antonio", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight:600;
  font-size:clamp(11px, 0.95vw, 14px);
  letter-spacing:.08em;
  text-transform:uppercase;
  color:inherit;
  text-decoration:none;
  white-space:nowrap;
  padding:10px 0 6px;
  border-bottom:3px solid transparent;
  transition:opacity .2s ease, border-color .2s ease, color .2s ease;
}
.head-nav__link:hover{
  opacity:.95;
  border-bottom-color:rgba(255,255,255,.4);
}
.head-nav__link--active{
  font-weight:700;
  border-bottom-color:#fff;
}
.head-nav__link:focus-visible{
  outline:2px solid currentColor;
  outline-offset:4px;
  border-radius:2px;
}

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

/* Icono búsqueda (enlace /go/) a la derecha del regalo */
.head-search-ico{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  padding:0;
  margin:0;
  border-radius:10px;
  border:1px solid #d6d3d1;
  background:#f5f5f4;
  color:#1c1917;
  text-decoration:none;
  transition:background .2s ease, border-color .2s ease, transform .2s ease;
}
.head-search-ico:hover{
  background:#e7e5e4;
  border-color:#a8a29e;
}
.head-search-ico:focus-visible{
  outline:2px solid #ea580c;
  outline-offset:2px;
}
.head-search-ico svg{
  display:block;
  flex:0 0 auto;
}
@media (max-width:520px){
  .head-search-ico{
    width:34px;
    height:34px;
  }
  .head-search-ico svg{
    width:18px;
    height:18px;
  }
}

/* Базовая кнопка (общая) */
.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:#1c1917;
  background:#f5f5f4;
  border:1px solid #e7e5e4;
  box-shadow:0 2px 8px rgba(28, 25, 23, 0.06);
}

/* ДЕФОЛТНЫЕ темы login/reg (если нужно где-то вне хедера) */
.btn--login{
  color:#ffffff;
  -webkit-text-fill-color:#ffffff;
  background:
    radial-gradient(60% 120% at 30% 20%, rgba(255, 255, 255, 0.2), transparent 45%),
    linear-gradient(180deg, #fb923c 0%, #ea580c 52%, #c2410c 100%);
  border:1px solid #9a3412;
}
.btn--reg{
  color:#ffffff;
  -webkit-text-fill-color:#ffffff;
  background:
    radial-gradient(60% 120% at 30% 20%, rgba(255, 255, 255, 0.25), transparent 45%),
    linear-gradient(180deg, #ff9ec8 0%, #ff4d7d 45%, #ff7a5c 100%);
  border:1px solid #be123c;
  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;
}

/* КНОПКИ В ХЕДЕРЕ — naranja / gradiente acción */
.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 transparent;
  box-shadow:0 2px 10px rgba(28, 25, 23, 0.1);
  animation:none;
  transform:none;
}

.head .btn--login{
  color:#ffffff;
  -webkit-text-fill-color:#ffffff;
  background:linear-gradient(180deg, #fb923c 0%, #ea580c 48%, #c2410c 100%);
  border:1px solid #9a3412;
  box-shadow:0 2px 0 #7c2d12, 0 4px 14px rgba(234, 88, 12, 0.32);
  text-shadow:none;
}

.head .btn--reg{
  background:linear-gradient(180deg, #ff9ec8 0%, #ff4d7d 42%, #ff7a5c 100%);
  border:1px solid #be123c;
  box-shadow:0 2px 0 #9f1239, 0 4px 16px rgba(225, 29, 72, 0.3);
  color:#ffffff;
  -webkit-text-fill-color:#ffffff;
  text-shadow:0 1px 0 rgba(0,0,0,.15);
}

.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.05);
    box-shadow:0 3px 0 #7c2d12, 0 8px 20px rgba(234, 88, 12, 0.36);
  }
  .head .btn--reg:hover{
    filter:brightness(1.06);
    box-shadow:0 3px 0 #9f1239, 0 8px 22px rgba(225, 29, 72, 0.38);
  }
}
.head .btn:active{
  filter:brightness(.96);
  box-shadow:0 1px 8px rgba(28, 25, 23, 0.14);
}

header.scrolled .head .btn--reg{
  background:linear-gradient(180deg, #ff9ec8 0%, #ff4d7d 42%, #ff7a5c 100%);
  border:1px solid #be123c;
  color:#ffffff;
  -webkit-text-fill-color:#ffffff;
  text-shadow:0 1px 0 rgba(0,0,0,.15);
  box-shadow:
    0 2px 0 #9f1239,
    0 6px 18px rgba(225, 29, 72, 0.35);
}

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

@media (hover:hover){
  header.scrolled .head .btn--reg:hover{
    filter:brightness(1.06);
    box-shadow:
      0 3px 0 #9f1239,
      0 10px 26px rgba(225, 29, 72, 0.42);
  }
  header.scrolled .head .btn--login{
    box-shadow:0 3px 0 #7c2d12, 0 8px 20px rgba(234, 88, 12, 0.36);
  }
}

/* Хедер-кнопки на мобилке */
@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:minmax(220px, 260px) minmax(0, 1fr);
  gap:20px;
  min-width:0;
  align-items:start;
}
.shell > *{ min-width:0; }
.shell > main{
  min-width:0;
  background:var(--main-bg,#fff);
  border-radius:18px;
  padding:12px 22px 36px;
  border:1px solid #e7e5e4;
  box-shadow:0 4px 28px rgba(28, 25, 23, 0.06);
}

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) + 2px);
  transform:translate3d(0, var(--asideDrift, 0px), 0);
  align-self:start;
  width:100%;
  max-width:260px;
  justify-self:stretch;
  box-sizing:border-box;
  background:linear-gradient(180deg, #ea580c 0%, #c2410c 48%, #9a3412 100%);
  border:1px solid rgba(255, 255, 255, 0.22);
  border-radius:20px;
  padding:14px;
  box-shadow:0 12px 40px rgba(154, 52, 18, 0.38);
  /* transform от скролла — без transition, иначе меню «тянется» и отстаёт */
  will-change:transform;
  overflow-x:hidden;
  overflow-y:visible;
  scrollbar-gutter:auto;
}
.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;
}
.aside .nav a{
  background:rgba(28, 25, 23, 0.45);
  border:1px solid rgba(255,255,255,.12);
  color:#ffffff;
}
.drawer .nav a{
  background:rgba(28, 25, 23, 0.4);
  border:1px solid rgba(255,255,255,.12);
  color:#ffffff;
}
.aside .nav a:hover{
  background:var(--sidebar-pill-hover,#44403c);
  border-color:rgba(255,255,255,.28);
}
.aside .nav a.is-active{
  background:linear-gradient(180deg, #1c1917 0%, #292524 100%);
  border:1.5px solid rgba(255,255,255,.35);
  box-shadow:
    0 4px 14px rgba(0,0,0,.2),
    inset 0 1px 0 rgba(255,255,255,.12);
  color:#ffffff;
}

.drawer .nav a:hover{
  background:rgba(68, 64, 60, 0.55);
  border-color:rgba(255,255,255,.22);
}
.drawer .nav a.is-active{
  background:linear-gradient(180deg, #1c1917 0%, #292524 100%);
  border:1.5px solid rgba(255,255,255,.35);
  box-shadow:0 4px 14px rgba(0,0,0,.25);
  color:#ffffff;
}

.aside .nav a.is-active::before,
.drawer .nav a.is-active::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:12px;
  background:linear-gradient(180deg, rgba(255,255,255,.08), transparent 55%);
  pointer-events:none;
  z-index:0;
}
.aside .nav a.is-active .nav-ico,
.aside .nav a.is-active svg,
.drawer .nav a.is-active .nav-ico,
.drawer .nav a.is-active svg{
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.45));
  position:relative;
  z-index:1;
}
.aside .nav a.is-active .nav-txt,
.drawer .nav a.is-active .nav-txt{
  position:relative;
  z-index:1;
}
.sep{
  height:10px;
  margin:8px 6px;
  border-top:1px solid rgba(255,255,255,.18);
  border-bottom:1px solid transparent;
  opacity:.9;
}
.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, #ea580c 0%, #c2410c 50%, #9a3412 100%);
  border-right:1px solid rgba(255, 255, 255, 0.2);
  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(255, 255, 255, 0.2);
  color:#ffffff;
  font-weight:800;
  letter-spacing:.04em;
}
.dclose{
  background:rgba(28, 25, 23, 0.35);
  border:1px solid rgba(255, 255, 255, 0.35);
  color:#ffffff;
  border-radius:10px;
  padding:8px 10px;
}
.dnav{ padding:10px 10px 16px; flex:1; display:flex; flex-direction:column; min-height:0; }
.dnav .nav{ flex:1; overflow-y:auto; }

/* ─────────────────────────────────────────────────────────
   OFFERS PANEL (promo desde el icono regalo)
────────────────────────────────────────────────────────── */
.offers-trigger{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  padding:0;
  margin:0;
  border-radius:10px;
  border:1px solid #d6d3d1;
  background:#f5f5f4;
  color:#1c1917;
  cursor:pointer;
  transition:background .2s ease, border-color .2s ease, transform .2s ease;
}
.offers-trigger:hover{
  background:#e7e5e4;
  border-color:#a8a29e;
}
.offers-trigger:focus-visible{
  outline:2px solid #ea580c;
  outline-offset:2px;
}
.offers-trigger__ico{
  display:block;
  width:22px;
  height:22px;
  pointer-events:none;
}
@media (max-width:520px){
  .offers-trigger{
    width:34px;
    height:34px;
  }
  .offers-trigger__ico{
    width:20px;
    height:20px;
  }
}

.offers-backdrop{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  top:calc(var(--hdrH, 64px) + env(safe-area-inset-top, 0px));
  z-index:125;
  background:rgba(15,23,42,.48);
  opacity:0;
  visibility:hidden;
  transition:opacity .28s ease, visibility .28s ease;
  pointer-events:none;
}
.offers-backdrop.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

/* Ancho natural del asset betano_offers.webp (280×501); ajustar --offers-img-max si cambia el archivo */
.offers-panel{
  --offers-img-max:280px;
  --offers-panel-pad-x:12px;
  position:fixed;
  /* Debajo del header sticky (--hdrH lo define main.js) */
  top:calc(var(--hdrH, 64px) + env(safe-area-inset-top, 0px));
  right:max(0px, env(safe-area-inset-right));
  left:auto;
  z-index:126;
  box-sizing:border-box;
  width:min(
    calc(var(--offers-img-max) + (var(--offers-panel-pad-x) * 2)),
    calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 10px)
  );
  max-width:100%;
  height:auto;
  max-height:calc(
    100dvh - var(--hdrH, 64px) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)
  );
  background:#fff;
  border-radius:18px 0 0 18px;
  box-shadow:-8px 0 36px rgba(0,0,0,.22);
  display:flex;
  flex-direction:column;
  transform:translateX(100%);
  transition:transform .32s cubic-bezier(.22,1,.36,1);
  overflow:hidden;
}
.offers-panel.is-open{
  transform:translateX(0);
}

.offers-panel__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  padding:12px 12px 10px;
  border-bottom:1px solid #e7e5e4;
  flex:0 0 auto;
  min-width:0;
}
.offers-panel__title{
  margin:0;
  flex:1;
  min-width:0;
  font-size:clamp(14px, 3.8vw, 17px);
  font-weight:800;
  color:#1c1917;
  letter-spacing:.02em;
  line-height:1.25;
  overflow-wrap:anywhere;
  hyphens:auto;
}
.offers-panel__close{
  flex:0 0 auto;
  width:36px;
  height:36px;
  border-radius:10px;
  border:1px solid #e7e5e4;
  background:#fafaf9;
  color:#1c1917;
  font-size:18px;
  line-height:1;
  cursor:pointer;
  padding:0;
  transition:background .2s ease, border-color .2s ease;
}
.offers-panel__close:hover{
  background:#f5f5f4;
  border-color:#d6d3d1;
}
.offers-panel__close:focus-visible{
  outline:2px solid #ff4f00;
  outline-offset:2px;
}

.offers-panel__body{
  flex:0 0 auto;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  padding:10px var(--offers-panel-pad-x) 12px;
  -webkit-overflow-scrolling:touch;
}
.offers-panel__link{
  display:block;
  line-height:0;
  text-decoration:none;
  border-radius:12px;
  outline-offset:2px;
  overflow:hidden;
}
.offers-panel__link:focus-visible{
  outline:2px solid #ff4f00;
}
@media (hover:hover){
  .offers-panel__link:hover .offers-panel__img{
    transform:scale(1.0225);
  }
}
.offers-panel__img{
  display:block;
  width:var(--offers-img-max);
  max-width:100%;
  height:auto;
  border-radius:12px;
  transform:scale(1);
  transform-origin:center center;
  transition:transform .28s ease;
}

@media (prefers-reduced-motion: reduce){
  .offers-backdrop,
  .offers-panel{
    transition-duration:.01ms;
  }
  .offers-panel__img{
    transition-duration:.01ms;
  }
}
@media (prefers-reduced-motion: reduce) and (hover:hover){
  .offers-panel__link:hover .offers-panel__img{
    transform:none;
  }
}

/* ─────────────────────────────────────────────────────────
   TITLE
────────────────────────────────────────────────────────── */
.page-title{
  text-align:center;
  margin:4px 0 14px;
  font-size:26px;
  font-weight:900;
  letter-spacing:.3px;
  color:#c2410c;
  text-shadow:none;
}

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

/* декоративная рамка */
.frame:before{
  content:"";
  position:absolute;
  inset:8px;
  border-radius:18px;
  border:1px solid rgba(168, 162, 158, 0.38);
  background:transparent;
  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;
    object-position: left center;
  }
}

/* Мобильный баннер: якорь слева, иначе cover режет оффер и кнопку по краям */
@media (max-width: 768px){
  .banner{
    aspect-ratio: 16 / 9;
    max-height: 280px;
    object-position: left center;
  }
}

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

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

/* ОВЕРЛЕЙ: позиционируем НЕ по всей .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:flex-start;
  text-align:left;

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

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

  pointer-events:none; /* CTA: .hero-banner-cta (pointer-events:auto) */
}

/* Баннер: старт текста ≈45% ширины; на десктопе CTA с тем же левым краем, что и текст */
.hero-overlay--bonus-banner{
  justify-content:center;
  align-items:stretch;
  text-align:left;
  padding:
    clamp(8px, 2vw, 20px)
    clamp(4vw, 7vw, 11%)
    clamp(8px, 2vw, 20px)
    clamp(40%, 44vw, 48%);
  gap:0;
}
.hero-banner__text-wrap{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  align-self:start;
  gap:clamp(6px, 1.4vw, 14px);
  width:max-content;
  max-width:min(52%, 500px);
  margin:0;
  pointer-events:none;
}

/* Референс: кикер ~¼–⅓ высоты двух нижних строк; «100%» и сумма — один масштаб, плотные интервалы */
.hero-banner-bonus{
  --hb-head:clamp(22px, 5.35vw, 48px);
  display:flex;
  flex-direction:column;
  align-self:stretch;
  align-items:flex-start;
  text-align:left;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  gap:0;
}
.hero-banner-bonus__kicker{
  font-family:"Montserrat",system-ui,sans-serif;
  font-weight:800;
  font-size:clamp(9px, calc(var(--hb-head) * 0.3), 13px);
  letter-spacing:.11em;
  text-transform:uppercase;
  color:#0a0a0a;
  line-height:1.05;
}
.hero-banner-bonus__pct{
  font-family:"Montserrat",system-ui,sans-serif;
  font-weight:900;
  font-size:var(--hb-head);
  letter-spacing:.015em;
  text-transform:uppercase;
  color:#0a0a0a;
  line-height:0.98;
  margin-top:clamp(2px, 0.35vw, 5px);
}
.hero-banner-bonus__amt{
  font-family:"Montserrat",system-ui,sans-serif;
  font-weight:900;
  font-size:var(--hb-head);
  letter-spacing:.015em;
  text-transform:uppercase;
  color:#ffffff;
  line-height:0.98;
  margin-top:clamp(1px, 0.2vw, 4px);
  -webkit-text-fill-color:#ffffff;
  text-shadow:0 1px 1px rgba(0,0,0,.18);
}

/* CTA: параллелограмм (skew), широкая плашка — одна строка на десктопе */
.hero-banner-cta{
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:clamp(8px, 1.5vw, 16px);
  padding:0;
  text-decoration:none;
  border:0;
  background:transparent;
  pointer-events:auto;
  align-self:stretch;
  width:100%;
  max-width:100%;
  min-height:44px;
  min-width:0;
  box-sizing:border-box;
}
.hero-banner-cta:focus-visible{
  outline:2px solid #fff;
  outline-offset:3px;
  border-radius:4px;
}
.hero-banner-cta__shape{
  display:inline-block;
  transform:skewX(-11deg);
  background:linear-gradient(180deg, #1a1816 0%, #0c0a09 100%);
  border:1px solid rgba(0,0,0,.55);
  box-shadow:0 6px 20px rgba(0,0,0,.4);
  padding:clamp(10px, 1.9vw, 14px) clamp(14px, 3.8vw, 38px);
  transition:filter .2s ease, box-shadow .2s ease;
}
@media (hover:hover){
  .hero-banner-cta:hover .hero-banner-cta__shape{
    filter:brightness(1.08);
    box-shadow:0 8px 26px rgba(0,0,0,.45);
  }
}
.hero-banner-cta__text{
  display:block;
  transform:skewX(11deg);
  font-family:"Montserrat",system-ui,sans-serif;
  font-weight:900;
  font-size:clamp(8px, 1.45vw, 12px);
  letter-spacing:.055em;
  text-transform:uppercase;
  line-height:1.25;
  text-align:center;
  white-space:normal;
  overflow-wrap:anywhere;
}
.hero-banner-cta__accent{
  color:#ff5a14;
  -webkit-text-fill-color:#ff5a14;
}
.hero-banner-cta__plain{
  color:#ffffff;
  -webkit-text-fill-color:#ffffff;
}

@media (prefers-reduced-motion: reduce){
  .hero-banner-cta__shape,
  .hero-banner-cta__text{
    transform:none;
  }
}

@media (min-width: 769px){
  .banner-wrap:has(.hero-overlay--bonus-banner) .banner{
    object-position:22% center;
  }
  .hero-overlay--bonus-banner .hero-banner-cta{
    align-self:flex-start;
    width:max-content;
    max-width:100%;
    justify-content:flex-start;
  }
  .hero-banner-cta__text{
    white-space:nowrap;
    font-size:clamp(7.5px, 1.22vw, 11.5px);
    letter-spacing:.045em;
  }
}
@media (max-width: 992px) and (min-width: 769px){
  .hero-banner__text-wrap{
    max-width:min(56%, 440px);
  }
  .hero-overlay--bonus-banner{
    padding-left:clamp(34%, 40vw, 46%);
  }
}

/* Центральный блок: ограничение ширины для переносов длинной строки */
.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, #292524 0%, #1c1917 100%);
  border: 1px solid rgba(255, 138, 180, 0.45);
  box-shadow:
    0 8px 18px rgba(0,0,0,.35),
    0 0 16px rgba(255, 77, 125, 0.25),
    0 1px 0 rgba(255,255,255,.2) inset;
}

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

/* Banner-Promo: fett, kursiv, weiß mit schwarzem Rand (Referenz-Screenshot) */
.hero-lines--promo .hero-line{
  font-style: italic;
  font-weight: 900;
  color: #ffffff;
  text-shadow:
    -1.5px -1.5px 0 #0a0a0c, 1.5px -1.5px 0 #0a0a0c, -1.5px 1.5px 0 #0a0a0c, 1.5px 1.5px 0 #0a0a0c,
    0 0 2px #0a0a0c,
    0 4px 16px rgba(0,0,0,.55);
}
.hero-lines--promo .hero-line--intro{
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: clamp(11px, 1.65vw, 16px);
}
.hero-lines--promo .hero-line--big{
  font-size: clamp(26px, 5vw, 48px);
  line-height: 1.04;
}
.hero-lines--promo .hero-line--mid{
  font-size: clamp(18px, 3.6vw, 34px);
  line-height: 1.06;
}

.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:flex-start;

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

  margin-top: 4px;
  padding: 16px 44px;
  border-radius: 10px;

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

  position: relative;
  isolation:isolate;

  max-width: 100%;

  background:linear-gradient(180deg, #ff9ec8 0%, #ff4d7d 42%, #ff7a5c 100%);
  
  border: 1px solid #be123c;
  box-shadow:
    0 2px 0 #9f1239,
    0 10px 28px rgba(225, 29, 72, 0.4);
  
  transition:all .3s ease;
}

/* Дополнительный слой для глянца */
.hero-cta::before{
  content:"";
  position:absolute;
  inset: 3px;
  border-radius: 8px;
  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: -6px;
  border-radius: 12px;
  background: radial-gradient(ellipse at center, rgba(255, 138, 148, 0.55) 0%, rgba(255, 138, 100, 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 28px rgba(255, 122, 160, 0.55),
      0 0 48px rgba(255, 122, 92, 0.35),
      0 10px 22px rgba(28, 25, 23, 0.2),
      0 14px 30px rgba(28, 25, 23, 0.12);
    filter: brightness(1.06);
  }
  .hero-cta:hover::after{
    opacity: 1;
    filter: blur(16px);
  }
  .hero-cta:active{ 
    transform: translateY(0px) scale(0.98);
    box-shadow:
      0 0 16px rgba(255, 122, 160, 0.4),
      0 0 28px rgba(255, 122, 92, 0.25),
      0 4px 14px rgba(28, 25, 23, 0.18);
  }
}

/* Планшеты */
@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 12px 18px;
    gap: 8px;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
  }

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

  /* Полупрозрачный фон для лучшей читаемости */
  .hero-badge{
    background: linear-gradient(180deg, #292524 0%, #1c1917 100%);
    backdrop-filter: blur(6px);
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 11px;
    align-self: flex-start;
    border: 1px solid rgba(255, 138, 180, 0.45);
    box-shadow: 0 4px 12px rgba(0,0,0,.35), 0 0 12px rgba(255, 77, 125, 0.2);
  }

  .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;
    -webkit-text-fill-color:#ffffff;
    box-shadow:
      0 0 18px rgba(255, 122, 160, 0.45),
      0 0 32px rgba(255, 122, 92, 0.3),
      0 6px 12px rgba(28, 25, 23, 0.2);
  }
  .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, #292524 0%, #1c1917 100%);
    box-shadow: 0 3px 10px rgba(0,0,0,.4), 0 0 10px rgba(255, 77, 125, 0.18);
  }

  .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;
    -webkit-text-fill-color:#ffffff;
    box-shadow:
      0 0 14px rgba(255, 122, 160, 0.4),
      0 0 26px rgba(255, 122, 92, 0.28),
      0 5px 10px rgba(28, 25, 23, 0.18);
  }
  .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, #292524 0%, #1c1917 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,.45), 0 0 8px rgba(255, 77, 125, 0.15);
  }

  .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;
    -webkit-text-fill-color:#ffffff;
    box-shadow:
      0 0 12px rgba(255, 122, 160, 0.38),
      0 0 22px rgba(255, 122, 92, 0.25),
      0 4px 8px rgba(28, 25, 23, 0.16);
  }
  .hero-cta::before{
    inset: 2px;
    border-radius: 10px;
  }
  .hero-cta::after{
    inset: -4px;
    border-radius: 16px;
    filter: blur(6px);
    opacity: 0.6;
  }
}

@media (max-width: 768px){
  /* Текст в правой зоне (как на десктопе), кадр смещён влево — не накрывает лицо */
  .hero-overlay.hero-overlay--bonus-banner{
    justify-content:center;
    align-items:stretch;
    text-align:left;
    padding-top:clamp(8px, 2.2vw, 16px);
    padding-right:clamp(10px, 3vw, 16px);
    padding-bottom:clamp(8px, 2.2vw, 16px);
    padding-left:clamp(36%, 40vw, 52%);
  }
  .hero-banner__text-wrap{
    align-self:start;
    margin:0;
    width:max-content;
    max-width:calc(100% - 4px);
  }
  .hero-banner-bonus{
    align-self:stretch;
    width:100%;
    max-width:100%;
    align-items:flex-start;
    text-align:left;
    --hb-head:clamp(15px, 4.6vw, 26px);
  }
  .banner-wrap:has(.hero-overlay--bonus-banner) .banner{
    object-position:clamp(12%, 18vw, 24%) center;
  }
}
@media (max-width: 480px){
  .hero-overlay.hero-overlay--bonus-banner{
    padding-top:8px;
    padding-right:10px;
    padding-bottom:8px;
    padding-left:clamp(32%, 38vw, 50%);
  }
  .hero-banner__text-wrap{
    max-width:calc(100% - 6px);
  }
  .hero-banner-bonus{
    --hb-head:clamp(14px, 4.2vw, 22px);
  }
  .banner-wrap:has(.hero-overlay--bonus-banner) .banner{
    object-position:clamp(10%, 16vw, 22%) center;
  }
}
@media (max-width: 380px){
  .hero-overlay.hero-overlay--bonus-banner{
    padding-top:6px;
    padding-right:8px;
    padding-bottom:6px;
    padding-left:clamp(28%, 36vw, 48%);
  }
  .hero-banner__text-wrap{
    max-width:calc(100% - 4px);
  }
  .hero-banner-bonus{
    --hb-head:clamp(13px, 4vw, 20px);
  }
}

/* ─────────────────────────────────────────────────────────
   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, #fafaf9 0%, #fff7ed 100%);
  border:1px solid #e7e5e4;
  border-radius:14px;
  box-shadow:0 2px 12px rgba(28, 25, 23, 0.06);
  
  /* Скрываем 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:#1c1917 !important;
  -webkit-text-fill-color:#1c1917;
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,.5), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #ffe4d4 45%, #ffdcc8 100%);
  border:1px solid #a8a29e;

  box-shadow:
    0 1px 0 rgba(255,255,255,.8) inset,
    0 2px 8px rgba(28, 25, 23, 0.08);

  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:#1c1917 !important;
  -webkit-text-fill-color:#1c1917;
}

/* ICON */
.chip-ico{
  width:18px;
  height:18px;
  display:grid;
  place-items:center;
  color:#c2410c;
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,.6));
}

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

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

/* HOVER — как в рефе */
@media (hover:hover){
  .chip:hover{
    color:#1c1917 !important;
    -webkit-text-fill-color:#1c1917;
    border-color:#ea580c;
    background:
      radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,.7), transparent 50%),
      linear-gradient(180deg, #ffffff 0%, #ffedd5 50%, #fed7aa 100%);
    box-shadow:
      0 0 0 1px rgba(234, 88, 12, 0.35) inset,
      0 4px 14px rgba(234, 88, 12, 0.2);
    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:#ffffff;
  border:1px solid #e7e5e4;
  border-radius:14px;
  overflow:hidden;
  box-shadow:
    0 4px 16px rgba(28, 25, 23, 0.08),
    0 0 0 1px rgba(255,255,255,.9) inset;
  transition:border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.card:hover{
  border-color:#fdba74;
  box-shadow:
    0 12px 28px rgba(234, 88, 12, 0.15),
    0 0 0 1px rgba(254, 215, 170, 0.65) inset;
  transform:translateY(-2px);
}
.media{
  position:relative;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#0a0a0a;
}
.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:#ffffff;
  -webkit-text-fill-color:#ffffff;
  background:
    radial-gradient(60% 120% at 30% 20%, rgba(255, 255, 255, 0.35), transparent 42%),
    linear-gradient(180deg, #ff9ec8 0%, #ff4d7d 45%, #ff7a5c 100%);
  border:1px solid #be123c;
  box-shadow:0 4px 16px rgba(225, 29, 72, 0.35);
  opacity:0;
  transition:opacity .25s ease, transform .25s ease;
}
.card:hover .play{
  opacity:1;
  transform:translate(50%,50%) scale(1.05);
}
.info{
  padding:12px 14px 14px;
  background:linear-gradient(180deg, #fafaf9 0%, #e7e5e4 100%);
  border-top:1px solid #e7e5e4;
}
.title{ margin:0 0 4px; font-weight:800; font-size:15px; line-height:1.2; color:#000000; }
.vendor{ margin:0; color:rgba(0,0,0,.68); font-size:12px; font-weight:600; }

/* ─────────────────────────────────────────────────────────
   TABLE OF CONTENTS
────────────────────────────────────────────────────────── */
.toc-nav{
  margin:24px 0 20px;
  padding:16px 20px;
  background:linear-gradient(180deg, #fafaf9, #fff7ed);
  border:1px solid #e7e5e4;
  border-radius:14px;
  box-shadow:0 2px 12px rgba(28, 25, 23, 0.06);
}

.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:#c2410c;
  text-decoration:none;
  border-radius:8px;
  background:#ffffff;
  border:1px solid #d6d3d1;
  transition:all .2s ease;
  white-space:nowrap;
}

.toc-list a:hover{
  background:#ffedd5;
  border-color:#ea580c;
  color:#9a3412;
  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:#fafaf9;
  border:1px solid #e7e5e4;
  border-radius:12px;
  box-shadow:0 2px 8px rgba(28, 25, 23, 0.05);
}

.faq-item h3{
  margin:0 0 12px 0;
  font-size:18px;
  font-weight:800;
  color:#1c1917;
  line-height:1.3;
}

.faq-item p{
  margin:0;
  color:#44403c;
  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:#44403c;
}

.shell > main .section h2,
.shell > main .section h3{
  color:var(--main-heading,#1c1917);
}

.intro p{
  max-width:900px;
  margin:0 auto;
  text-align:left;
  color:#44403c;
}
.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:#ffffff;
  -webkit-text-fill-color:#ffffff;
  text-decoration:none;
  border-radius:30px;
  position:relative;
  background:
    radial-gradient(ellipse at center top, rgba(255, 255, 255, 0.35) 0%, transparent 52%),
    linear-gradient(180deg, #ff9ec8 0%, #ff4d7d 38%, #ff7a5c 100%);
  border:1px solid #be123c;
  box-shadow:
    0 2px 0 #9f1239,
    0 6px 22px rgba(225, 29, 72, 0.35);
  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,
  .vmore-btn{
    white-space:nowrap;
  }
  .pulse-btn{
    padding:14px 22px;
    font-size:clamp(13px, 3.4vw, 16px);
  }
  .vmore-btn{
    padding:10px 18px;
    font-size:clamp(12px, 3vw, 14px);
  }
}

@media (max-width:480px){
  .pulse-btn{
    padding:11px 18px;
    font-size:clamp(12px, 3.2vw, 14px);
    border-radius:25px;
  }
}

@media (max-width:380px){
  .pulse-btn{
    padding:10px 14px;
    font-size:12px;
    letter-spacing:.03em;
  }
}

/* ─────────────────────────────────────────────────────────
   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:#1c1917;
  background:#ffffff;
  border:1px solid #e7e5e4;
  border-radius:14px;
  padding:14px;
  box-shadow:
    0 4px 14px rgba(28, 25, 23, 0.07),
    0 0 0 1px rgba(255,255,255,.9) inset;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.prov:hover{
  transform:translateY(-3px);
  border-color:#fdba74;
  box-shadow:
    0 12px 28px rgba(234, 88, 12, 0.12);
}
.prov-media{
  width:100%;
  aspect-ratio:16/9;
  background:#f5f5f4;
  border-radius:10px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #e7e5e4;
}
.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:12px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  font-size:13px;
  text-align:center;
  color:#9a3412;
}
.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:#ffffff;
  -webkit-text-fill-color:#ffffff;
  position:relative;
  background:
    radial-gradient(ellipse at center top, rgba(255, 255, 255, 0.25) 0%, transparent 52%),
    linear-gradient(180deg, #fb923c 0%, #c2410c 48%, #c2410c 100%);
  border:1px solid #9a3412;
  box-shadow:
    0 2px 0 #7c2d12,
    0 6px 18px rgba(234, 88, 12, 0.35);
  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 2px 0 #7c2d12,
    0 10px 26px rgba(234, 88, 12, 0.45);
  filter: brightness(1.05);
}

/* ─────────────────────────────────────────────────────────
   ТАБЛИЦЫ (ОБЩЕЕ)
────────────────────────────────────────────────────────── */
.table-wrapper{
  background:#fafaf9;
  border:1px solid #e7e5e4;
  border-radius:16px;
  box-shadow:0 2px 12px rgba(28, 25, 23, 0.06);
  overflow:hidden; /* скругления без «утечек» */
}

/* Для таблиц с горизонтальным скроллом */
.table-wrapper--scroll{
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:rgba(234, 88, 12, 0.55) #e7e5e4;
}

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

.table-wrapper--scroll::-webkit-scrollbar-track{
  background:#e7e5e4;
  border-radius:4px;
}

.table-wrapper--scroll::-webkit-scrollbar-thumb{
  background:rgba(234, 88, 12, 0.5);
  border-radius:4px;
}

.table-wrapper--scroll::-webkit-scrollbar-thumb:hover{
  background:rgba(234, 88, 12, 0.65);
}

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

/* Стили для таблиц с заголовками (thead/th) */
table thead{
  background:linear-gradient(180deg, #ffedd5, #fff7ed);
  border-bottom:2px solid #fdba74;
}

table th{
  padding:14px 12px;
  text-align:left;
  font-weight:800;
  color:#1c1917;
  font-size:15px;
  letter-spacing:.02em;
  text-transform:uppercase;
  border-bottom:2px solid #fdba74;
}

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

table tbody tr:hover{
  background:rgba(255, 237, 213, 0.55);
}

table tbody td{
  padding:12px;
  color:#44403c;
  line-height:1.5;
  font-size:15px;
  border-bottom:1px solid #e7e5e4;
  vertical-align:middle;
}

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

table tbody tr:nth-child(even){
  background:rgba(248, 250, 252, 0.9);
}

/* Адаптивность для многоколоночных таблиц */
@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 #e7e5e4;
  color:#44403c;
  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:#1c1917;
}
:is(#facts, #bonuses) td:last-child{ width:58%; }

:is(#facts, #bonuses) tr:nth-child(odd) td{
  background:rgba(241, 245, 249, 0.85);
}

@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{
  --ft-bg0:#12161c;
  --ft-bg1:#0b0e12;
  --ft-line:rgba(255,255,255,.1);
  --ft-text:rgba(255,255,255,.9);
  --ft-muted:rgba(255,255,255,.62);
  --ft-tile:rgba(255,255,255,.07);
  margin-top:40px;
  background:linear-gradient(180deg, var(--ft-bg0) 0%, var(--ft-bg1) 100%);
  border-top:1px solid var(--ft-line);
  box-shadow:0 -8px 40px rgba(0,0,0,.35);
}
.site-footer a{ color:var(--ft-text); text-decoration:none; }
.site-footer a:hover{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:3px;
}

.ft-wrap{
  max-width:1320px;
  margin:0 auto;
  padding:28px 14px 32px;
  color:var(--ft-muted);
}
.ft-head{
  display:flex;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
  justify-content:space-between;
  margin-bottom:16px;
}
.ft-logo img{ height:58px; 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:20px;
  letter-spacing:.1em;
  text-transform:uppercase;
  text-shadow:0 1px 0 rgba(0,0,0,.2);
  color:#ffffff;
  -webkit-text-fill-color:#ffffff;
  text-decoration:none;
  border-radius:12px;
  max-width:440px;
  position:relative;
  line-height:1.25;
  background:linear-gradient(180deg, #fb923c 0%, #ea580c 45%, #c2410c 100%);
  border:1px solid #9a3412;
  box-shadow:
    0 2px 0 #7c2d12,
    0 8px 28px rgba(234, 88, 12, 0.38);
  transition:all .3s ease;
}

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

.ft-btn:hover{
  transform:scale(1.03) translateY(-1px);
  box-shadow:
    0 3px 0 #7c2d12,
    0 12px 32px rgba(234, 88, 12, 0.45);
  filter: brightness(1.05);
}

.ft-trust{ display:flex; align-items:center; gap:18px; }
.ft-trust img{
  height:30px;
  width:auto;
  display:block;
  opacity:.92;
  filter:drop-shadow(0 2px 8px rgba(0,0,0,.5));
}
.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 var(--ft-line, rgba(255,255,255,.1));
  border-bottom:1px solid var(--ft-line, rgba(255,255,255,.1));
}
.ft-col{ display:flex; flex-direction:column; gap:8px; }
.ft-col a{
  font-size:14px;
  line-height:1.45;
}
.ft-title{
  font-weight:800;
  color:#fff;
  margin-bottom:6px;
  letter-spacing:.02em;
}

.ft-pay{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  margin:14px 0;
  padding:18px 14px;
  background:rgba(0,0,0,.22);
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
}
.ft-pay span{ opacity:.9; text-align:center; color:var(--ft-muted, rgba(255,255,255,.62)); }
.ft-pay ul{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
  padding:0;
  margin:0;
  list-style:none;
}
.ft-pay ul li{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:10px;
  background:var(--ft-tile, rgba(255,255,255,.07));
  border:1px solid rgba(255,255,255,.1);
}
.ft-pay img{
  height:26px;
  width:auto;
  display:block;
  filter:drop-shadow(0 1px 3px rgba(0,0,0,.4));
}
/* ─────────────────────────────────────────────────────────
   FOOTER LANGUAGE BUTTONS
────────────────────────────────────────────────────────── */
.ft-lang{
  border-top:1px solid var(--ft-line, rgba(255,255,255,.1));
  border-bottom:1px solid var(--ft-line, rgba(255,255,255,.1));
  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,.12);
  color:rgba(255,255,255,.88);
  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(251, 146, 60, 0.65);
  background:rgba(255, 90, 20, 0.12);
  color:#fff;
  transform:translateY(-1px);
}

.ft-lang-btn.is-active{
  background:rgba(234, 88, 12, 0.2);
  border-color:#ea580c;
  color:#ffedd5;
  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 var(--ft-line, rgba(255,255,255,.1));
  font-size:13px;
  color:var(--ft-muted, rgba(255,255,255,.62));
}
.ft-legal a{
  color:rgba(255,255,255,.88);
  text-decoration:none;
  opacity:.95;
  border-bottom:1px solid rgba(255,255,255,.22);
  padding-bottom:1px;
  transition:opacity .2s ease, border-color .2s ease, color .2s ease;
}
.ft-legal a:hover{
  opacity:1;
  color:#fff;
  border-bottom-color:#fdba74;
}

.legal-doc{
  max-width:820px;
  margin:0 auto;
}
.legal-doc h2{
  margin:28px 0 12px;
  font-size:1.25rem;
  font-weight:800;
  color:#1c1917;
}
.legal-doc h2:first-of-type{
  margin-top:8px;
}
.legal-doc p,
.legal-doc li{
  color:#44403c;
  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 #fed7aa;
  background:#fff7ed;
  font-size:14px;
  color:#7c2d12;
}

.ft-bottom{
  border-top:1px solid var(--ft-line, rgba(255,255,255,.1));
  margin-top:12px;
  padding-top:12px;
  font-size:13px;
  color:rgba(255,255,255,.52);
  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;
  }
}

/* Десктоп: ограничение высоты сайдбара при длинном меню + запас под вертикальный drift */
@media (min-width:993px){
  .aside{
    max-height:none;
    overflow-y:visible;
    overflow-x:hidden;
    -webkit-overflow-scrolling:auto;
    overscroll-behavior:auto;
  }
}

/* Средние десктопы: сетка и сайдбар без горизонтального скролла страницы */
@media (min-width:993px) and (max-width:1199px){
  .shell{
    grid-template-columns:minmax(200px, 240px) minmax(0, 1fr);
    gap:16px;
    padding:16px 12px;
  }
  .aside{
    max-width:240px;
    padding:12px 10px;
    border-radius:16px;
  }
  .nav a{
    padding:10px 10px;
    font-size:13px;
    gap:8px;
  }
  .nav-ico,
  .nav-ico svg,
  svg.nav-ico{
    width:16px;
    height:16px;
    flex:0 0 16px;
  }
}

/* Широкие экраны: стабильная колонка меню */
@media (min-width:1200px){
  .shell{
    grid-template-columns:260px minmax(0, 1fr);
    gap:20px;
  }
  .aside{
    max-width:260px;
  }
}

/* На мобилке 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){
  header{
    position:fixed;
    top:0;
    left:0;
    right:0;
  }
  body{
    padding-top:var(--hdrH, 64px);
  }

  .shell{ grid-template-columns:1fr; }
  .aside{ display:none; }
  .burger{ display:inline-flex; }
  .medals{ grid-template-columns:repeat(4,1fr); }
  .grid{ grid-template-columns:repeat(2,1fr); }

  .offers-trigger{
    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:var(--asideHeight,calc(100vh - (var(--asideTop,74px) + 14px)));
  max-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 2px 0 #9f1239,
    0 8px 28px rgba(225, 29, 72, 0.45),
    0 0 40px rgba(255, 77, 125, 0.35);
  filter: brightness(1.06) saturate(1.05);
}

.vmore-btn:hover{
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 2px 0 #7c2d12,
    0 10px 28px rgba(234, 88, 12, 0.4);
  filter: brightness(1.06);
}
.ft-btn:hover{
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 3px 0 #7c2d12,
    0 12px 32px rgba(234, 88, 12, 0.45);
  filter: brightness(1.05);
}

/* Для .btn--reg — только свечение */
.btn--reg:hover,
.btn--reg:focus-visible{
  box-shadow: 0 8px 22px rgba(225, 29, 72, 0.35);
  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 #ffffff,
    0 0 0 5px rgba(234, 88, 12, 0.45),
    0 8px 20px rgba(28, 25, 23, 0.15);
}

/* Мягкая пульсация по классу .is-pulsing */
@keyframes pulse-glow2{
  0%   { box-shadow: 0 0 0 0 rgba(255, 77, 125, .45) }
  70%  { box-shadow: 0 0 0 14px rgba(255, 77, 125, 0) }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 125, 0) }
}
@keyframes pulse-glow-ft{
  0%   { box-shadow: 0 0 0 0 rgba(255, 90, 20, .48) }
  70%  { box-shadow: 0 0 0 14px rgba(255, 90, 20, 0) }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 20, 0) }
}
:where(.pulse-btn, .hero-cta, .vmore-btn).is-pulsing{
  animation: pulse-glow2 2s infinite;
}
.ft-btn.is-pulsing{
  animation: pulse-glow-ft 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) ===== */
.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(251, 146, 60, 0.35) 0%, transparent 55%),
    linear-gradient(180deg, rgba(194, 65, 12, 0.45) 0%, rgba(28, 25, 23, 0.55) 100%);
  border:1.5px solid rgba(253, 186, 116, 0.55);
  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 10px rgba(234, 88, 12, 0.35),
    0 4px 12px rgba(0,0,0,.35);
  transition:all .3s ease;
}
.lang-btn:hover{ 
  border-color:rgba(254, 215, 170, 0.9);
  background:
    radial-gradient(ellipse at center top, rgba(254, 215, 170, 0.4) 0%, transparent 55%),
    linear-gradient(180deg, rgba(234, 88, 12, 0.5) 0%, rgba(28, 25, 23, 0.6) 100%);
  box-shadow:
    0 0 14px rgba(234, 88, 12, 0.45),
    0 6px 16px rgba(0,0,0,.45);
  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(253, 186, 116, 0.5);
}

.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(234, 88, 12, 0.55); background:rgba(234, 88, 12, 0.12); }

.lang-item.is-active,
.lang-item.is-current,
.lang-item[disabled]{
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.22), rgba(28, 25, 23, 0.45));
  border-color: rgba(253, 186, 116, 0.5);
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(234, 88, 12, 0.3) inset, 0 2px 10px rgba(28, 25, 23, 0.35);
  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(234, 88, 12, 0.22), rgba(28, 25, 23, 0.45));
  border-color: rgba(253, 186, 116, 0.5);
}

/* ─────────────────────────────────────────────────────────
   LOGIN SECTION — float + wrap
────────────────────────────────────────────────────────── */
#login .login-shot{
  float:right;
  width:300px;
  max-width:min(45%, 100%);
  margin:0 0 1.25rem 1.5rem;
  display:block;
  line-height:0;
}
#login .login-shot img{
  width:100%;
  height:auto;
  border-radius:10px;
  display:block;
  vertical-align:middle;
  transition:transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  cursor:pointer;
}
#login .login-cta{
  clear:both;
  margin-top:20px;
}
@media (max-width:640px){
  #login .login-shot{
    float:none;
    width:100%;
    max-width:280px;
    margin:0 auto 1.25rem;
  }
}

#login .login-shot:hover img{
  transform:scale(1.05);
  box-shadow:
    0 8px 24px rgba(28, 25, 23, 0.12),
    0 0 24px rgba(234, 88, 12, 0.2);
  filter:brightness(1.04) drop-shadow(0 0 8px rgba(234, 88, 12, 0.25));
}

/* ─────────────────────────────────────────────────────────
   APP SECTION — mismo esquema float + wrap que #login
────────────────────────────────────────────────────────── */
#app-access .app-shot{
  float:right;
  width:360px;
  max-width:min(54%, 100%);
  margin:0 0 1.25rem 1.5rem;
  display:block;
  line-height:0;
}
#app-access .app-shot img{
  width:100%;
  height:auto;
  border-radius:10px;
  display:block;
  vertical-align:middle;
  transition:transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  cursor:pointer;
}
#app-access .app-cta{
  clear:both;
  margin-top:20px;
}
@media (max-width:640px){
  #app-access .app-shot{
    float:none;
    width:100%;
    max-width:336px;
    margin:0 auto 1.25rem;
  }
}
#app-access .app-shot:hover img{
  transform:scale(1.05);
  box-shadow:
    0 8px 24px rgba(28, 25, 23, 0.12),
    0 0 24px rgba(234, 88, 12, 0.2);
  filter:brightness(1.04) drop-shadow(0 0 8px rgba(234, 88, 12, 0.25));
}

/* ─────────────────────────────────────────────────────────
   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(28, 25, 23, 0.1),
    0 0 28px rgba(255, 79, 0, 0.18);
  filter: brightness(1.03) drop-shadow(0 0 8px rgba(0, 195, 142, 0.15));
}

/* Thème clair : texte principal dans main ; bannière garde overlays lisibles */
body{
  color:var(--main-text,#44403c) !important;
}
header .head{
  color:#1c1917 !important;
}
.drawer,
.drawer .nav a,
.aside .nav a{
  color:#ffffff !important;
}
.drawer .dclose{
  color:#ffffff !important;
}

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

:is(.shell > main, main) :is(
  .section,
  p, li, td, dt, dd,
  figcaption, blockquote,
  .intro, address, label,
  strong, em, small
){
  color:#44403c !important;
}

:is(.shell > main, main) :is(h1, h2, h3, h4, h5, h6){
  color:#1c1917 !important;
}

:is(.shell > main, main) .page-title{
  color:#c2410c !important;
}

/* Lignes promo sur le visuel bannière — restent claires */
:is(.shell > main, main) :is(
  .hero-line, .hero-line--intro, .hero-line--big, .hero-line--mid,
  .hero-badge
){
  color:#ffffff !important;
}

:is(.shell > main, main) .vendor{
  color:rgba(28, 25, 23, 0.65) !important;
}

/* Cartes jeu : bandeau info */
:is(.shell > main, main) a.card .info,
:is(.shell > main, main) a.card .info :is(p, .title, .vendor, span){
  color:#1c1917 !important;
  -webkit-text-fill-color:#1c1917 !important;
}
:is(.shell > main, main) a.card .info .vendor{
  color:rgba(15,23,42,.65) !important;
  -webkit-text-fill-color:rgba(15,23,42,.65) !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:#c2410c !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:#9a3412 !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, .hero-cta, .play){
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  text-decoration:none;
}
:is(.shell > main, main) .vmore-btn{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  text-decoration:none;
}
:is(.shell > main, main) :is(.chip, .chip-txt){
  color:#1c1917 !important;
  -webkit-text-fill-color:#1c1917 !important;
  text-decoration:none;
}
:is(.shell > main, main) .chip-ico{
  color:#c2410c !important;
}

/* Чипы: якорь каскада */
.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:#1c1917 !important;
  -webkit-text-fill-color:#1c1917 !important;
}
.shell .chips a.chip .chip-txt,
main .chips a.chip span.chip-txt{
  color:#1c1917 !important;
  -webkit-text-fill-color:#1c1917 !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;
}

/* ═══════════════════════════════════════════════════════════
   Betano Casino MX — tema claro (cabecera naranja, lobby claro)
   Paleta tipo app: naranja #ff4f00, acción teal #00c38e, fondo #f0f2f5.
   Sobrescribe estilos anteriores sin tocar la estructura HTML.
═══════════════════════════════════════════════════════════ */
:root{
  --page-bg:#f0f2f5;
  --main-bg:#ffffff;
  --main-text:#292524;
  --main-heading:#1c1917;
  --main-muted:#78716c;
  --sidebar-blue-top:#f8f9fc;
  --sidebar-blue-bot:#eceff3;
  --sidebar-pill:#ebeff5;
  --sidebar-pill-hover:#e2e7ef;
  --ink:#292524;
  --ink-bright:#1c1917;
  --ink-muted:#78716c;
  --line:rgba(28,25,23,.08);
  --primary:#ff4f00;
  --primary-mid:#ff6a2e;
  --primary-dark:#d94300;
  --primary-glow:rgba(255, 79, 0, 0.22);
  --accent-teal:#00c38e;
  --accent-teal-dark:#009b72;
  --text-heading:#1c1917;
}

html{
  color-scheme:light !important;
  background:#f0f2f5 !important;
}
body:before{
  background:
    radial-gradient(900px 520px at 0% 0%, rgba(255, 79, 0, 0.06), transparent 50%),
    radial-gradient(800px 480px at 100% 20%, rgba(0, 195, 142, 0.05), transparent 45%),
    linear-gradient(180deg, #f7f8fb 0%, #f0f2f5 45%, #eef0f4 100%) !important;
}
html,body{
  color:#292524 !important;
}

header .head{
  color:#fff !important;
}
header .head-nav__link{
  color:rgba(255,255,255,.96) !important;
  -webkit-text-fill-color:rgba(255,255,255,.96) !important;
}
header .head-nav__link:hover{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
header .head-nav__link--active{
  border-bottom-color:#fff !important;
}

header{
  background:linear-gradient(180deg, #ff5a14 0%, #ff4f00 42%, #e84700 100%) !important;
  border-bottom:1px solid rgba(0,0,0,.12) !important;
  backdrop-filter:none !important;
}
header.scrolled{
  box-shadow:0 4px 18px rgba(0,0,0,.18) !important;
}
.burger{
  background:rgba(255,255,255,.18) !important;
  border:1px solid rgba(255,255,255,.45) !important;
  color:#fff !important;
}
.logo img{
  height:46px;
  filter:drop-shadow(0 1px 4px rgba(0,0,0,.25));
}
.ft-logo img{
  filter:drop-shadow(0 1px 3px rgba(28,25,23,.15));
}
@media (max-width:520px){ .logo img{ height:34px; } }
@media (max-width:390px){ .logo img{ height:28px; } }

.head .head-search-ico{
  background:rgba(255,255,255,.18) !important;
  border:1px solid rgba(255,255,255,.45) !important;
  color:#fff !important;
  box-shadow:none !important;
}
.head .head-search-ico:hover{
  background:rgba(255,255,255,.28) !important;
  border-color:rgba(255,255,255,.65) !important;
}
.head .head-search-ico:focus-visible{
  outline:2px solid #fff !important;
  outline-offset:2px;
}
.head .head-search-ico svg path{
  stroke:currentColor !important;
}

.head .offers-trigger{
  background:rgba(255,255,255,.18) !important;
  border:1px solid rgba(255,255,255,.45) !important;
  color:#fff !important;
}
.head .offers-trigger:hover{
  background:rgba(255,255,255,.28) !important;
  border-color:rgba(255,255,255,.65) !important;
}
.head .offers-trigger:focus-visible{
  outline:2px solid #fff !important;
  outline-offset:2px;
}
.head .offers-trigger__ico{
  filter:brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0,0,0,.2));
}

.head .btn--login{
  background:linear-gradient(180deg, #10ddb0 0%, #00c38e 48%, #00a97c 100%) !important;
  border:1px solid #009b72 !important;
  box-shadow:0 2px 0 #007a5c, 0 4px 16px rgba(0, 195, 142, 0.35) !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
.head .btn--reg{
  background:#ffffff !important;
  border:2px solid #ff4f00 !important;
  box-shadow:0 2px 8px rgba(0,0,0,.12) !important;
  color:#c2410c !important;
  -webkit-text-fill-color:#c2410c !important;
  animation:none !important;
}
.head .btn--reg::before{ opacity:0 !important; }
@media (hover:hover){
  .head .btn--reg:hover{
    background:#fff7ed !important;
    filter:none !important;
    box-shadow:0 4px 14px rgba(0,0,0,.15) !important;
  }
  .head .btn--login:hover{
    filter:brightness(1.05);
    box-shadow:0 3px 0 #007a5c, 0 8px 22px rgba(0,195,142,.4) !important;
  }
}

.aside{
  background:linear-gradient(180deg, #f8f9fc 0%, #eceff3 100%) !important;
  border:1px solid rgba(15,23,42,.1) !important;
  box-shadow:0 8px 28px rgba(15,23,42,.08) !important;
}
.drawer{
  background:linear-gradient(180deg, #f8f9fc 0%, #e8ebf0 100%) !important;
  border-right:1px solid rgba(15,23,42,.1) !important;
  box-shadow:0 16px 48px rgba(15,23,42,.2) !important;
}
.drawer .dhead{
  color:#1c1917 !important;
  border-bottom:1px solid rgba(15,23,42,.1) !important;
}
.dclose{
  background:#fff !important;
  border:1px solid rgba(15,23,42,.15) !important;
  color:#1c1917 !important;
}

.aside .nav a,
.drawer .nav a{
  background:#ebeff5 !important;
  border:1px solid rgba(15,23,42,.08) !important;
  color:#292524 !important;
  -webkit-text-fill-color:#292524 !important;
}
.aside .nav a:hover,
.drawer .nav a:hover{
  background:#e2e7ef !important;
  border-color:rgba(15,23,42,.15) !important;
}
.aside .nav a.is-active,
.drawer .nav a.is-active{
  background:#e8eaf6 !important;
  border:1.5px solid rgba(99,102,241,.35) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9), 0 2px 10px rgba(99,102,241,.12) !important;
  color:#1c1917 !important;
  -webkit-text-fill-color:#1c1917 !important;
}
.aside .nav a.is-active::before,
.drawer .nav a.is-active::before{
  background:linear-gradient(180deg, rgba(255,255,255,.65), transparent 55%) !important;
}
.aside .nav a.is-active .nav-ico,
.aside .nav a.is-active svg,
.drawer .nav a.is-active .nav-ico,
.drawer .nav a.is-active svg{
  filter:drop-shadow(0 1px 2px rgba(15,23,42,.15)) !important;
}
.aside .nav a:hover .nav-ico,
.drawer .nav a:hover .nav-ico{
  filter:drop-shadow(0 1px 2px rgba(15,23,42,.25)) !important;
  opacity:1 !important;
}

.sep{
  border-top-color:rgba(15,23,42,.1) !important;
}

.shell > main{
  background:#ffffff !important;
  border:1px solid rgba(15,23,42,.08) !important;
  box-shadow:0 6px 28px rgba(15,23,42,.06) !important;
}

.page-title{
  color:#ff4f00 !important;
  text-shadow:none;
}
:is(.shell > main, main) .page-title{
  color:#ff4f00 !important;
}

.frame{
  background:#fff !important;
  border:1px solid rgba(15,23,42,.1) !important;
  box-shadow:0 4px 20px rgba(15,23,42,.06) !important;
}
.frame:before{
  border-color:rgba(15,23,42,.1) !important;
}

.section{
  color:#44403c !important;
}
.shell > main .section h2,
.shell > main .section h3{
  color:#1c1917 !important;
}
.intro p{
  color:#57534e !important;
}

.pulse-btn{
  background:
    radial-gradient(ellipse at center top, rgba(255, 255, 255, 0.35) 0%, transparent 52%),
    linear-gradient(180deg, #ff6a2e 0%, #ff4f00 45%, #e04200 100%) !important;
  border:1px solid #c2410c !important;
  box-shadow:
    0 2px 0 #9a3412,
    0 6px 22px rgba(255, 79, 0, 0.28) !important;
}

.hero-cta{
  background:linear-gradient(180deg, #10ddb0 0%, #00c38e 50%, #00a97c 100%) !important;
  border:1px solid #009b72 !important;
  box-shadow:0 2px 0 #007a5c, 0 6px 18px rgba(0,195,142,.35) !important;
}

.vmore-btn{
  background:linear-gradient(180deg, #ff6a2e 0%, #ff4f00 48%, #e04200 100%) !important;
  border:1px solid #c2410c !important;
  box-shadow:0 2px 0 #9a3412, 0 6px 18px rgba(255,79,0,.28) !important;
}

.chip{
  background:#fff !important;
  border:1px solid rgba(15,23,42,.15) !important;
  color:#1c1917 !important;
}
.chip-ico{ color:#ff4f00 !important; }
.chip-txt,
.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,
.shell .chips a.chip .chip-txt,
main .chips a.chip span.chip-txt{
  color:#1c1917 !important;
  -webkit-text-fill-color:#1c1917 !important;
}

.site-footer{
  margin-top:40px;
  background:linear-gradient(180deg, #12161c 0%, #0b0e12 100%) !important;
  border-top:1px solid rgba(255,255,255,.1) !important;
  box-shadow:0 -8px 40px rgba(0,0,0,.35) !important;
}
.site-footer a{ color:rgba(255,255,255,.9) !important; }
.site-footer a:hover{ color:#fff !important; }
.ft-wrap{ color:rgba(255,255,255,.62) !important; }
.ft-title{ color:#fff !important; }
.ft-grid{
  border-top-color:rgba(255,255,255,.1) !important;
  border-bottom-color:rgba(255,255,255,.1) !important;
}
.ft-pay{
  background:rgba(0,0,0,.22) !important;
  border:1px solid rgba(255,255,255,.08) !important;
}
.ft-legal{
  border-top-color:rgba(255,255,255,.1) !important;
}
.ft-legal a{
  color:rgba(255,255,255,.88) !important;
  border-bottom-color:rgba(255,255,255,.22) !important;
}
.ft-legal a:hover{
  color:#fff !important;
  border-bottom-color:#fdba74 !important;
}
.ft-bottom{
  border-top-color:rgba(255,255,255,.1) !important;
  color:rgba(255,255,255,.52) !important;
}

.ft-btn{
  padding:12px 26px !important;
  font-size:clamp(13px, 2.6vw, 17px) !important;
  letter-spacing:.12em !important;
  line-height:1.35 !important;
  max-width:min(100%, 420px) !important;
  word-break:break-word !important;
  white-space:normal !important;
  text-align:center !important;
  background:linear-gradient(180deg, #fb923c 0%, #ea580c 45%, #c2410c 100%) !important;
  border:1px solid #9a3412 !important;
  box-shadow:0 2px 0 #7c2d12, 0 8px 28px rgba(234, 88, 12, 0.38) !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
.ft-btn:hover{
  filter:brightness(1.05);
  box-shadow:0 3px 0 #7c2d12, 0 12px 32px rgba(234, 88, 12, 0.45) !important;
}

.prov{
  background:#fafaf9 !important;
  border:1px solid rgba(15,23,42,.1) !important;
  color:#292524 !important;
}
.prov-name{ color:#ea580c !important; }
.prov-media{
  background:#f5f5f4 !important;
  border-color:rgba(15,23,42,.1) !important;
}

.table-wrapper table{
  background:#fff !important;
  border:1px solid rgba(15,23,42,.1) !important;
  color:#292524 !important;
}
.table-wrapper td,
.table-wrapper th{
  border-color:rgba(15,23,42,.1) !important;
  color:#292524 !important;
}

.card{
  background:#fff !important;
  border:1px solid rgba(15,23,42,.1) !important;
  box-shadow:0 2px 12px rgba(15,23,42,.05);
}
.card .info .title{ color:#1c1917 !important; }
.card .info .vendor{ color:#78716c !important; }

.legal-doc h2{ color:#1c1917 !important; }
.legal-doc p,
.legal-doc li{ color:#57534e !important; }
.legal-doc .legal-note{
  border-color:rgba(255,79,0,.35) !important;
  background:rgba(255,79,0,.08) !important;
  color:#7c2d12 !important;
}

.aside .nav a.is-active .nav-txt,
.drawer .nav a.is-active .nav-txt{
  border-bottom-color:#ff4f00 !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:#c2410c !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):hover{
  color:#9a3412 !important;
}
:is(.shell > main, main) :is(.chip, .chip-txt){
  color:#1c1917 !important;
  -webkit-text-fill-color:#1c1917 !important;
}
:is(.shell > main, main) .chip-ico{
  color:#ff4f00 !important;
}