/* ─────────────────────────────────────────────────────────
   БАЗА / RESET
────────────────────────────────────────────────────────── */
html, body{
  margin:0;
  max-width:100%;
  overflow-x:clip;
}
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:0 1px 2px rgba(0,0,0,.2);
  border-bottom:none;
  padding-bottom:0;
}

/* ─────────────────────────────────────────────────────────
   ПЕРЕМЕННЫЕ / ЦВЕТА
────────────────────────────────────────────────────────── */
:root{
  /* Casoola Italy — burgundy + gold + royal blue accent */
  --mx-green:#3d5a9e;
  --mx-green-bright:#5b7fd4;
  --mx-red:#d4af5a;
  --mx-red-deep:#b8923f;
  --page-bg:#3d0a18;
  --main-bg:#4a0e1a;
  --main-text:#f5ebe8;
  --main-heading:#fff8f0;
  --main-muted:#c9a8b0;
  --sidebar-blue-top:#5c1020;
  --sidebar-blue-bot:#3d0814;
  --sidebar-pill:rgba(255,255,255,.1);
  --sidebar-pill-hover:rgba(255,255,255,.17);
  --ink:#e8eaef;
  --ink-bright:#f8fafc;
  --ink-muted:#94a8c4;
  --line:rgba(212, 175, 90, 0.35);
  --max:1320px;

  --primary:#3d5a9e;
  --primary-mid:#5b7fd4;
  --primary-dark:#2a4070;
  --primary-glow:rgba(61, 90, 158, 0.38);
  --secondary:#d4af5a;
  --secondary-light:#f0d78c;
  --text-heading:#fff8f0;
  --on-lime:#2d0610;
  --accent-pink:#d4af5a;
  --accent-blue:#3d5a9e;
  --accent-blue-strong:#2a4070;

  --gold1:#f5e6b8;
  --gold2:#d4af5a;
  --gold3:#c8a44a;

  --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);

  --hdr-bg-top:#5c1218;
  --hdr-bg-mid:#4a0e16;
  --hdr-bg-bot:#2b080d;
  --casoola-grad:linear-gradient(90deg, #2b080d 0%, #4a0e16 32%, #5c1218 50%, #4a0e16 68%, #2b080d 100%);
  --btn-gold1:#e8d092;
  --btn-gold2:#c5a059;
  --btn-gold3:#a8843f;
  --btn-chamfer:7px;
  --casea-clip:polygon(
    7px 0,
    calc(100% - 7px) 0,
    100% 7px,
    100% calc(100% - 7px),
    calc(100% - 7px) 100%,
    7px 100%,
    0 calc(100% - 7px),
    0 7px
  );
  --casea-clip-sm:polygon(
    5px 0,
    calc(100% - 5px) 0,
    100% 5px,
    100% calc(100% - 5px),
    calc(100% - 5px) 100%,
    5px 100%,
    0 calc(100% - 5px),
    0 5px
  );
  --casea-btn-blue:
    linear-gradient(180deg, rgba(255,255,255,.08) 0%, transparent 38%),
    linear-gradient(180deg, #6b1a2e 0%, #4a0e1a 48%, #3d0814 58%, #2d0610 100%);
  --casea-btn-gold:linear-gradient(160deg, #f5e6b0 0%, #e8d092 22%, #c5a059 55%, #a8843f 85%, #6e5a28 100%);
  --casea-btn-border:3px;
  --casea-btn-frame:-3px;
  --casea-clip-inner:polygon(
    4px 0,
    calc(100% - 4px) 0,
    100% 4px,
    100% calc(100% - 4px),
    calc(100% - 4px) 100%,
    4px 100%,
    0 calc(100% - 4px),
    0 4px
  );
  --casea-clip-sm-inner:polygon(
    2px 0,
    calc(100% - 2px) 0,
    100% 2px,
    100% calc(100% - 2px),
    calc(100% - 2px) 100%,
    2px 100%,
    0 calc(100% - 2px),
    0 2px
  );
  --casea-btn-face:var(--casea-btn-blue);

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

/* ─────────────────────────────────────────────────────────
   ГЛОБАЛЬНЫЙ ФОН / ТИПОГРАФИКА
────────────────────────────────────────────────────────── */
html{
  color-scheme:dark;
  background:var(--page-bg,#14161f);
  min-height:100%;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
html,body{
  color:var(--main-text,#e8eaef);
  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-color:#1c354d;
  background-image:
    repeating-linear-gradient(60deg, rgba(0,0,0,.06) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(-60deg, rgba(0,0,0,.06) 0 1px, transparent 1px 14px),
    linear-gradient(180deg, #1e3a56 0%, #1c354d 50%, #172d42 100%);
}

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

/* ─────────────────────────────────────────────────────────
   HEADER / TOPBAR
────────────────────────────────────────────────────────── */
header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:100;
  background:var(--casoola-grad);
  border-bottom:none;
  box-shadow:none;
}
header.scrolled{
  box-shadow:none;
  background:var(--casoola-grad);
}
body{
  padding-top:var(--hdrH, 64px);
}

.head{
  max-width:var(--max);
  margin:0 auto;
  padding:12px 16px;
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  color:var(--main-text,#e7ece9);
}

.burger{
  display:none;
  align-items:center;
  justify-content:center;
  min-width:44px;
  min-height:44px;
  background:#151918;
  border:1px solid rgba(255,255,255,.12);
  color:#f8fafc;
  border-radius:10px;
  padding:8px 10px;
}

.logo{ flex:0 0 auto; }
.logo img{
  height:52px;
  width:auto;
  max-width:220px;
  object-fit:contain;
  filter:none;
}

/* Enlaces horizontales a la derecha del logo (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:700;
  font-size:clamp(11px, 0.95vw, 13px);
  letter-spacing:.1em;
  text-transform:uppercase;
  color:rgba(255,255,255,.88);
  text-decoration:none;
  white-space:nowrap;
  padding:10px 0 8px;
  border-bottom:3px solid transparent;
  transition:opacity .2s ease, border-color .2s ease, color .2s ease;
}
.head-nav__link--active{
  font-weight:800;
  border-bottom-color:var(--btn-gold2,#c5a059);
  color:#fff;
}
.head-nav__link:hover{
  opacity:1;
  color:#fff;
  border-bottom-color:#4a90e2;
}
.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 rgba(255,255,255,.12);
  background:#151918;
  color:#e7ece9;
  text-decoration:none;
  transition:background .2s ease, border-color .2s ease, transform .2s ease;
}

@media (hover: hover) and (min-width: 993px){
  a[data-go],
  a[data-go]:hover,
  a[data-go]:focus,
  a[data-go]:focus-visible,
  a[data-go] *,
  a[data-go]:hover *,
  a[data-go] img,
  a[data-go]:hover img,
  a[data-go] .promo-img,
  a[data-go]:hover .promo-img{
    cursor: default !important;
  }
}
.head-search-ico:hover{
  background:#1a221e;
  border-color:rgba(0, 179, 104, 0.45);
}
.head-search-ico:focus-visible{
  outline:2px solid var(--mx-green-bright,#00b368);
  outline-offset:2px;
}
.head-search-ico svg{
  display:block;
  flex:0 0 auto;
}
@media (max-width:520px){
  .head-search-ico{
    width:44px;
    height:44px;
    min-width:44px;
    min-height:44px;
  }
  .head-search-ico svg{
    width:20px;
    height:20px;
  }
}

/* Базовая кнопка (общая) */
.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,
.btn--reg{
  color:#ffffff;
  -webkit-text-fill-color:#ffffff;
  text-shadow:0 1px 2px rgba(0,0,0,.45);
  border:none;
  border-radius:0;
  background:var(--casea-btn-face);
  clip-path:var(--casea-clip);
  box-shadow:0 4px 14px rgba(0,0,0,.4);
  position:relative;
  z-index:0;
  isolation:isolate;
}
.btn--login::before,
.btn--reg::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  clip-path:var(--casea-clip);
  background:linear-gradient(180deg, rgba(255,255,255,.22) 0%, transparent 38%);
  opacity:.85;
}
.btn--login::after,
.btn--reg::after{
  content:"";
  position:absolute;
  inset:var(--casea-btn-frame, -3px);
  z-index:-1;
  pointer-events:none;
  clip-path:var(--casea-clip);
  background:var(--casea-btn-gold);
  box-shadow:0 0 8px rgba(197,160,89,.35);
}
.btn--reg{
  animation:casea-btn-pulse 2.4s infinite;
}

/* КНОПКИ В ХЕДЕРЕ — chamfered gold frame + glossy blue (ref. Casea) */
.head .btn{
  position:relative;
  z-index:0;
  isolation:isolate;
  height:40px;
  padding:0 22px;
  min-width:132px;
  border-radius:0;
  border:none;
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#ffffff;
  -webkit-text-fill-color:#ffffff;
  text-shadow:0 1px 2px rgba(0,0,0,.45);
  box-shadow:0 4px 14px rgba(0,0,0,.4);
  animation:none;
  transform:none;
  clip-path:var(--casea-clip);
  background:var(--casea-btn-face);
}

.head .btn::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.04) 38%, transparent 55%);
  clip-path:var(--casea-clip);
  opacity:.9;
}

.head .btn::after{
  content:"";
  position:absolute;
  inset:var(--casea-btn-frame, -3px);
  z-index:-1;
  pointer-events:none;
  background:var(--casea-btn-gold);
  clip-path:var(--casea-clip);
  box-shadow:0 0 8px rgba(197,160,89,.35);
}

@media (hover:hover){
  .head .btn:hover{
    filter:brightness(1.08) saturate(1.05);
    box-shadow:0 6px 18px rgba(74,144,226,.35), 0 4px 14px rgba(0,0,0,.45);
  }
  .head .btn--login:hover,
  .head .btn--reg:hover{
    filter:brightness(1.08) saturate(1.05);
    box-shadow:0 6px 18px rgba(74,144,226,.35), 0 4px 14px rgba(0,0,0,.45);
  }
}
.head .btn:active{
  filter:brightness(.94);
  transform:translateY(1px);
  box-shadow:0 2px 8px rgba(0,0,0,.45);
}

header.scrolled .head .btn--login,
header.scrolled .head .btn--reg{
  background:var(--casea-btn-face);
}

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

@media (hover:hover){
  header.scrolled .head .btn--reg:hover,
  header.scrolled .head .btn--login:hover{
    filter:brightness(1.08) saturate(1.05);
    box-shadow:0 6px 18px rgba(74,144,226,.35), 0 4px 14px rgba(0,0,0,.45);
  }
}

/* Хедер-кнопки на мобилке — читаемый текст и зона касания */
@media (max-width:520px){
  .head .btn{
    min-height:44px;
    height:auto;
    padding:10px 10px;
    min-width:0;
    flex:1 1 0;
    max-width:calc(50% - 4px);
    font-size:clamp(10px, 2.9vw, 12px);
    letter-spacing:.04em;
    line-height:1.2;
    white-space:normal;
    text-align:center;
  }
}

/* Очень маленькие экраны - ещё более компактные кнопки */
@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; }
}

/* Language switcher (header): gold frame wrapper + dark blue inner face */
.head .lang-switch{
  position:relative;
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
  z-index:999;
  margin-left:8px;
}
.head .lang-switch::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:100%;
  height:0;
}
.head .lang-switch.open::before{ height:10px; }
.head .lang-switch__btn{
  -webkit-appearance:none;
  appearance:none;
  display:block;
  flex:0 0 auto;
  padding:3px;
  border:none;
  border-radius:0;
  cursor:pointer;
  height:40px;
  min-width:52px;
  background:var(--casea-btn-gold);
  clip-path:var(--casea-clip-sm);
  box-shadow:0 0 8px rgba(197,160,89,.35), 0 4px 14px rgba(0,0,0,.4);
  transition:filter .15s ease, transform .15s ease, box-shadow .15s ease;
}
.head .lang-switch__inner{
  display:flex;
  align-items:center;
  justify-content:center;
  height:100%;
  padding:0 11px;
  color:#ffffff;
  -webkit-text-fill-color:#ffffff;
  font-family:"Antonio", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight:800;
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-shadow:0 1px 2px rgba(0,0,0,.45);
  background:var(--casea-btn-face);
  clip-path:var(--casea-clip-sm-inner);
  position:relative;
  isolation:isolate;
}
.head .lang-switch__inner::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  clip-path:var(--casea-clip-sm-inner);
  background:linear-gradient(180deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.04) 38%, transparent 55%);
  opacity:.9;
}
@media (hover:hover){
  .head .lang-switch__btn:hover{
    filter:brightness(1.08) saturate(1.05);
    box-shadow:0 0 10px rgba(197,160,89,.45), 0 6px 18px rgba(74,144,226,.35);
  }
}
.head .lang-switch__btn:active{
  filter:brightness(.94);
  transform:translateY(1px);
}
.head .lang-switch .lang-menu{
  display:none;
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  min-width:148px;
  margin:0;
  padding:6px 0;
  list-style:none;
  background:linear-gradient(180deg, #1a3149 0%, #14283a 100%);
  border:1px solid rgba(197,160,89,.45);
  border-radius:0;
  clip-path:var(--casea-clip-sm);
  box-shadow:0 12px 30px rgba(0,0,0,.55), 0 0 8px rgba(197,160,89,.2);
}
.head .lang-switch.open .lang-menu{ display:block; }
.head .lang-switch .lang-menu li{ padding:0; }
.head .lang-switch .lang-menu a{
  display:flex;
  align-items:center;
  padding:10px 14px;
  color:rgba(255,255,255,.92);
  text-decoration:none;
  font-family:"Antonio", system-ui, sans-serif;
  font-size:13px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  white-space:nowrap;
}
.head .lang-switch .lang-menu a:hover,
.head .lang-switch .lang-menu li:hover{ background:rgba(197,160,89,.14); color:#fff; }
@media (max-width:520px){
  .head .lang-switch__btn{
    height:44px;
    min-width:44px;
  }
  .head .lang-switch__inner{
    padding:0 8px;
    font-size:11px;
  }
  .head .btn{
    max-width:calc(50% - 26px);
  }
}

/* ─────────────────────────────────────────────────────────
   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:linear-gradient(180deg, rgba(74,14,26,.94) 0%, rgba(61,10,24,.9) 50%, rgba(45,6,16,.92) 100%);
  border-radius:14px;
  padding:14px 22px 38px;
  border:1px solid rgba(197,160,89,.28);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

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{
  align-self:start;
  position:relative;
  width:100%;
  max-width:260px;
  justify-self:stretch;
  box-sizing:border-box;
  background:linear-gradient(180deg, #5c1020 0%, #4a0e1a 50%, #3d0814 100%);
  border:2px solid #c5a059;
  border-radius:16px;
  padding:14px;
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(232, 208, 146, 0.22),
    0 0 0 1px rgba(80, 60, 20, 0.35);
  overflow-x:hidden;
  max-height:none;
  overflow-y:visible;
}
.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:transparent;
  border:none;
  color:#ffffff;
  isolation:isolate;
  overflow:hidden;
}
.drawer .nav a{
  background:transparent;
  border:none;
  color:#ffffff;
  isolation:isolate;
  overflow:hidden;
}
.aside .nav a::after,
.drawer .nav a::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:12px;
  background:var(--casea-btn-gold);
  z-index:-2;
  pointer-events:none;
}
.aside .nav a::before,
.drawer .nav a::before{
  content:"";
  position:absolute;
  inset:2px;
  border-radius:10px;
  background:var(--casea-btn-blue);
  z-index:-1;
  pointer-events:none;
}
.aside .nav a .nav-ico,
.aside .nav a .nav-txt,
.drawer .nav a .nav-ico,
.drawer .nav a .nav-txt{
  position:relative;
  z-index:1;
}

/* Iconos del menú lateral como <img src="*.svg"> (rellenos #334155 etc.) → blanco */
.aside .nav a img.nav-ico,
.drawer .nav a img.nav-ico{
  filter:brightness(0) invert(1);
  opacity:.93;
}
.aside .nav a:hover img.nav-ico,
.drawer .nav a:hover img.nav-ico{
  filter:brightness(0) invert(1) drop-shadow(0 0 5px rgba(255,255,255,.28));
  opacity:1;
}
.aside .nav a.is-active img.nav-ico,
.drawer .nav a.is-active img.nav-ico{
  filter:brightness(0) invert(1) drop-shadow(0 0 6px rgba(255,255,255,.42));
  opacity:1;
}
.aside .nav a svg.nav-ico,
.drawer .nav a svg.nav-ico{
  color:#fff;
}

.aside .nav a:hover{
  filter:brightness(1.08);
}
.aside .nav a.is-active{
  background:transparent;
  border:none;
  box-shadow:none;
  color:#ffffff;
  filter:brightness(1.1);
}

.drawer .nav a:hover{
  filter:brightness(1.08);
}
.drawer .nav a.is-active{
  background:transparent;
  border:none;
  box-shadow:none;
  color:#ffffff;
  filter:brightness(1.1);
}

.aside .nav a.is-active::before,
.drawer .nav a.is-active::before{
  background:
    linear-gradient(180deg, rgba(255,255,255,.1) 0%, transparent 42%),
    linear-gradient(180deg, #3a7dbd 0%, #25639a 48%, #16304d 58%, #0c1f35 100%);
  box-shadow:inset 0 0 10px rgba(74,144,226,.22);
}
.aside .nav a.is-active::after,
.drawer .nav a.is-active::after{
  box-shadow:0 0 10px rgba(197,160,89,.4);
}
.aside .nav a.is-active svg.nav-ico,
.drawer .nav a.is-active svg.nav-ico{
  filter:drop-shadow(0 0 4px rgba(255,255,255,.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(197,160,89,.35);
  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, #0f2238 0%, #0a1a30 55%, #071525 100%);
  border-right:2px solid #c5a059;
  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{
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin:0;
  padding:10px 14px 10px 12px;
  min-height:44px;
  border-radius:999px;
  font-family:inherit;
  font-size:13px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:none;
  color:#fff;
  background:rgba(6, 46, 32, 0.92);
  border:1px solid rgba(94, 233, 176, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 4px 14px rgba(0, 0, 0, 0.25);
  transition:background .2s ease, border-color .2s ease, transform .15s ease;
}
.dclose:hover{
  background:rgba(8, 58, 40, 0.98);
  border-color:rgba(126, 232, 196, 0.65);
}
.dclose:active{
  transform:scale(0.97);
}
.dclose:focus-visible{
  outline:2px solid #5ee9b0;
  outline-offset:2px;
}
/* Крестик (две линии), как в референсе */
.dclose__icon{
  position:relative;
  width:16px;
  height:16px;
  flex:0 0 16px;
  display:block;
}
.dclose__icon::before,
.dclose__icon::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:14px;
  height:2px;
  border-radius:1px;
  background:currentColor;
  box-shadow:0 0 1px rgba(0, 0, 0, 0.35);
}
.dclose__icon::before{
  transform:translate(-50%, -50%) rotate(45deg);
}
.dclose__icon::after{
  transform:translate(-50%, -50%) rotate(-45deg);
}
.dclose__label{
  line-height:1;
  font-weight:700;
}
.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 rgba(255,255,255,.14);
  background:#1f2433;
  color:#e8eaef;
  cursor:pointer;
  transition:background .2s ease, border-color .2s ease, transform .2s ease;
}
.offers-trigger:hover{
  background:#252a3a;
  border-color:rgba(18,160,110,.45);
}
.offers-trigger:focus-visible{
  outline:2px solid #12a06e;
  outline-offset:2px;
}
.offers-trigger__ico{
  display:block;
  width:22px;
  height:22px;
  pointer-events:none;
}
@media (max-width:520px){
  .offers-trigger{
    width:44px;
    height:44px;
    min-width:44px;
    min-height:44px;
  }
  .offers-trigger__ico{
    width:22px;
    height:22px;
  }
}

.offers-backdrop{
  position:fixed;
  inset:0;
  z-index:125;
  background:rgba(20, 4, 8, .78);
  opacity:0;
  visibility:hidden;
  transition:opacity .36s ease, visibility .36s ease;
  pointer-events:none;
}
.offers-backdrop.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  -webkit-backdrop-filter:blur(14px) saturate(1.12);
  backdrop-filter:blur(14px) saturate(1.12);
}

/* Panel regalo: lightbox centrado, imagen compacta */
.offers-panel{
  --offers-panel-pad-x:18px;
  --offers-modal-max-w:min(90vw, 520px);
  position:fixed;
  left:50%;
  top:50%;
  right:auto;
  z-index:126;
  box-sizing:border-box;
  width:min(
    calc(var(--offers-modal-max-w) + (var(--offers-panel-pad-x) * 2)),
    calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 16px)
  );
  max-width:100%;
  height:auto;
  max-height:min(
    90dvh,
    calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px)
  );
  background:
    radial-gradient(100% 80% at 50% 0%, rgba(184, 146, 63, .18), transparent 55%),
    radial-gradient(90% 60% at 100% 100%, rgba(45, 8, 20, .45), transparent 50%),
    linear-gradient(180deg, #5c1218 0%, #4a0e16 52%, #3d0814 100%);
  border-radius:20px;
  border:1px solid rgba(197,160,89,.28);
  box-shadow:
    0 0 0 1px rgba(45, 8, 20, .55),
    0 0 80px rgba(120, 30, 42, .22),
    0 28px 80px rgba(0,0,0,.62),
    inset 0 1px 0 rgba(255,255,255,.08);
  display:flex;
  flex-direction:column;
  transform:translate(-50%, -50%) scale(.92);
  opacity:0;
  pointer-events:none;
  overflow:hidden;
  transition:
    transform .42s cubic-bezier(.22,1,.36,1),
    opacity .32s ease,
    box-shadow .4s ease;
}
.offers-panel.is-open{
  transform:translate(-50%, -50%) scale(1);
  opacity:1;
  pointer-events:auto;
  transition:
    transform .42s cubic-bezier(.22,1,.36,1),
    opacity .34s ease .05s,
    box-shadow .4s ease;
}
@media (max-width:640px){
  .offers-panel{
    --offers-panel-pad-x:12px;
    --offers-modal-max-w:min(92vw, 480px);
    border-radius:16px;
  }
  .offers-panel__head{
    padding:10px 10px 8px;
  }
  .offers-panel__head::after{
    left:12px;
    right:12px;
  }
  .offers-panel__title{
    font-size:clamp(11px, 3.4vw, 15px);
    letter-spacing:.08em;
    padding:0 44px;
  }
  .offers-panel__title::before{
    width:26px;
    height:3px;
    margin-bottom:5px;
  }
  .offers-panel__close{
    width:38px;
    height:38px;
    font-size:18px;
    right:8px;
  }
  .offers-panel__foot{
    margin-left:calc(-1 * var(--offers-panel-pad-x));
    margin-right:calc(-1 * var(--offers-panel-pad-x));
    margin-bottom:calc(-1 * 16px);
    padding:10px 12px 12px;
    border-radius:0 0 14px 14px;
  }
}

.offers-panel__head{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:14px 14px 12px;
  border-bottom:none;
  background:
    radial-gradient(140% 200% at 50% 0%, rgba(184, 146, 63, .16), transparent 55%),
    radial-gradient(80% 120% at 100% 0%, rgba(45, 8, 20, .35), transparent 45%),
    linear-gradient(180deg, rgba(92, 18, 24, .98), rgba(61, 8, 20, .92));
  flex:0 0 auto;
  min-width:0;
}
.offers-panel__head::after{
  content:"";
  position:absolute;
  left:16px;
  right:16px;
  bottom:0;
  height:1px;
  background:linear-gradient(
    90deg,
    transparent 0%,
    rgba(120, 30, 42, .4) 18%,
    rgba(197,160,89,.5) 50%,
    rgba(120, 30, 42, .4) 82%,
    transparent 100%
  );
  opacity:.95;
}
.offers-panel__title{
  margin:0 auto;
  width:100%;
  max-width:100%;
  padding:0 44px;
  box-sizing:border-box;
  font-family:Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size:clamp(13px, 2.8vw, 17px);
  font-weight:800;
  color:#f8fafc;
  letter-spacing:.1em;
  line-height:1.25;
  text-transform:uppercase;
  text-align:center;
  overflow-wrap:anywhere;
  hyphens:auto;
  text-shadow:
    0 1px 0 rgba(0,0,0,.45),
    0 2px 14px rgba(0,0,0,.35),
    0 0 20px rgba(184, 146, 63, .18);
}
.offers-panel__title::before{
  content:"";
  display:block;
  width:32px;
  height:3px;
  border-radius:999px;
  margin:0 auto 8px;
  background:linear-gradient(90deg, #5c1218, #742020, #c5a059, rgba(197,160,89,.85));
  box-shadow:0 0 12px rgba(184, 146, 63, .28);
}
.offers-panel__close{
  position:absolute;
  top:50%;
  right:12px;
  z-index:2;
  width:36px;
  height:36px;
  border-radius:10px;
  border:1px solid rgba(212,175,90,.22);
  background:linear-gradient(165deg, rgba(255,255,255,.1), rgba(61, 8, 20, .94));
  color:#f1f5f9;
  font-size:0;
  line-height:0;
  font-weight:300;
  cursor:pointer;
  padding:0;
  display:grid;
  place-items:center;
  transform:translateY(-50%);
  box-shadow:
    0 2px 10px rgba(0,0,0,.3),
    inset 0 1px 0 rgba(255,255,255,.08);
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    background .22s ease,
    color .22s ease;
}
.offers-panel__close:hover{
  border-color:rgba(197,160,89,.45);
  background:linear-gradient(165deg, rgba(120, 30, 42, .42), rgba(45, 8, 20, .96));
  color:#fff;
  box-shadow:
    0 4px 22px rgba(120, 30, 42, .32),
    inset 0 1px 0 rgba(255,255,255,.12);
  transform:translateY(-50%) scale(1.06);
}
.offers-panel__close:active{
  transform:translateY(-50%) scale(.94);
}
.offers-panel__close:focus-visible{
  outline:2px solid #c5a059;
  outline-offset:3px;
}
.offers-panel__close-ico{
  width:18px;
  height:18px;
  display:block;
  pointer-events:none;
}

.offers-panel__body{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  padding:12px var(--offers-panel-pad-x) 4px;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none; /* Firefox: sin barra visible en el modal regalo */
  -ms-overflow-style:none; /* IE / Edge legacy */
}
.offers-panel__body::-webkit-scrollbar{
  width:0 !important;
  height:0 !important;
  display:none; /* Chrome, Safari, Edge */
  background:transparent;
}
.offers-panel__body::-webkit-scrollbar-thumb,
.offers-panel__body::-webkit-scrollbar-track{
  background:transparent;
}
.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 #c5a059;
  outline-offset:3px;
}
.offers-panel__figure{
  margin:0;
  padding:3px;
  border-radius:16px;
  background:linear-gradient(
    145deg,
    #742020 0%,
    #5c1218 38%,
    #4a0e16 68%,
    #3d0814 100%
  );
  box-shadow:
    0 0 0 1px rgba(197,160,89,.28),
    0 16px 48px rgba(0,0,0,.5),
    0 0 56px rgba(120, 30, 42, .22),
    inset 0 1px 0 rgba(255,255,255,.12);
  opacity:0;
  transform:scale(.94) translateY(16px);
  transition:
    opacity .44s ease .1s,
    transform .52s cubic-bezier(.22,1,.36,1) .1s,
    box-shadow .4s ease;
}
.offers-panel__figure picture{
  display:block;
  width:100%;
  line-height:0;
}
.offers-panel.is-open .offers-panel__figure{
  opacity:1;
  transform:scale(1) translateY(0);
}

.offers-panel__foot{
  position:relative;
  flex:0 0 auto;
  margin-top:8px;
  margin-left:calc(-1 * var(--offers-panel-pad-x));
  margin-right:calc(-1 * var(--offers-panel-pad-x));
  margin-bottom:calc(-1 * 18px);
  padding:12px 16px 16px;
  text-align:center;
  border-radius:0 0 18px 18px;
  background:
    linear-gradient(180deg, rgba(120, 30, 42, .14) 0%, transparent 42%),
    linear-gradient(180deg, rgba(74, 14, 22, .95) 0%, rgba(45, 8, 20, .98) 100%);
  border-top:1px solid rgba(255,255,255,.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 -12px 40px rgba(0,0,0,.25);
}
.offers-panel__foot::before{
  content:"";
  position:absolute;
  left:10%;
  right:10%;
  top:0;
  height:1px;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(120, 30, 42, .45) 25%,
    rgba(197,160,89,.55) 50%,
    rgba(120, 30, 42, .45) 75%,
    transparent
  );
}
.offers-panel__hint{
  margin:0;
  font-size:12px;
  line-height:1.5;
  color:rgba(236,240,250,.82);
  text-align:center;
  letter-spacing:.03em;
  font-weight:500;
}
.offers-panel__hint::before{
  content:"";
  display:block;
  width:5px;
  height:5px;
  margin:0 auto 8px;
  border-radius:50%;
  background:radial-gradient(circle at 30% 30%, #c5a059, #742020 55%, #3d0814);
  box-shadow:0 0 14px rgba(184, 146, 63, .35);
}
.offers-panel__img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  margin:0 auto;
  object-fit:contain;
  object-position:center;
  border-radius:13px;
  transform:scale(1);
  transform-origin:center center;
  transition:transform .3s ease, filter .3s ease;
  filter:saturate(1.05) contrast(1.03);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);
}
@media (hover:hover){
  .offers-panel__link:hover .offers-panel__img{
    transform:scale(1.012);
    filter:saturate(1.08) contrast(1.03);
  }
  .offers-panel.is-open .offers-panel__link:hover .offers-panel__figure{
    box-shadow:
      0 0 0 1px rgba(197,160,89,.22),
      0 20px 56px rgba(0,0,0,.6),
      0 0 88px rgba(184, 146, 63, .22),
      inset 0 1px 0 rgba(255,255,255,.28);
  }
}

@media (prefers-reduced-motion: reduce){
  .offers-backdrop,
  .offers-panel{
    transition-duration:.01ms;
  }
  .offers-panel__img,
  .offers-panel__figure{
    transition-duration:.01ms;
  }
  .offers-panel{
    transform:translate(-50%, -50%) scale(1);
  }
  .offers-panel.is-open .offers-panel__figure,
  .offers-panel__figure{
    opacity:1;
    transform:none;
  }
}
@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:.02em;
  color:#e8d092;
  text-shadow:0 2px 14px rgba(212,175,90,.35), 0 1px 2px rgba(0,0,0,.45);
}

/* ─────────────────────────────────────────────────────────
   HOME — hero neón (solo index: body.page-home)
────────────────────────────────────────────────────────── */
body.page-home .home-hero{
  position:relative;
  max-width:min(1180px, 100%);
  margin:0 auto 4px;
  padding:0 2px;
}
body.page-home .home-hero__bar{
  height:3px;
  width:min(140px, 26%);
  margin:0 auto 14px;
  border-radius:999px;
  background:linear-gradient(
    90deg,
    transparent 0%,
    rgba(168,132,63,.35) 15%,
    #b8923f 50%,
    rgba(168,132,63,.35) 85%,
    transparent 100%
  );
  box-shadow:0 0 22px rgba(184,146,63,.55), 0 0 48px rgba(154,120,48,.28);
}
body.page-home .frame.frame--home-hero{
  --bannerRad:18px;
  padding:16px;
  background:
    radial-gradient(120% 85% at 50% -15%, rgba(94,233,176,.18), transparent 58%),
    radial-gradient(80% 55% at 100% 100%, rgba(212,0,42,.08), transparent 50%),
    linear-gradient(185deg,#161c28 0%,#0b0e14 55%,#06080c 100%);
  border:1px solid rgba(94,233,176,.38);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.55) inset,
    0 26px 70px rgba(0,0,0,.52),
    0 0 90px rgba(18,160,110,.16),
    0 0 1px rgba(94,233,176,.3);
}
body.page-home .frame.frame--home-hero::before{
  inset:10px;
  border-radius:15px;
  border:1px solid rgba(255,255,255,.08);
  opacity:1;
}
body.page-home .page-title{
  margin:6px 0 18px;
  font-size:clamp(22px, 3.5vw, 32px);
  letter-spacing:.045em;
  color:#e8d092;
  -webkit-text-fill-color:#e8d092;
  background:none;
  animation:none;
  text-shadow:
    0 2px 14px rgba(212,175,90,.45),
    0 1px 2px rgba(0,0,0,.55);
  filter:none;
}
@keyframes home-title-shimmer{
  0%, 100%{ background-position:0% 50%; }
  50%{ background-position:100% 50%; }
}
@media (prefers-reduced-motion: reduce){
  body.page-home .page-title{
    animation:none;
    background-position:50% 50%;
  }
}
body.page-home .home-hero__link:focus-visible{
  outline:2px solid #5ee9b0;
  outline-offset:4px;
  border-radius:14px;
}
body.page-home .home-hero__link picture{
  display:block;
  width:100%;
  line-height:0;
}
body.page-home .banner.banner--promo-hero{
  border-radius:14px;
  box-shadow:
    0 0 0 1px rgba(0,0,0,.5) inset,
    0 16px 48px rgba(0,0,0,.42),
    0 0 56px rgba(18,160,110,.14);
  max-height:min(54vw, 540px);
}
@media (max-width:992px){
  body.page-home .banner.banner--promo-hero{ max-height:min(58vw, 420px); }
}
@media (max-width:768px){
  body.page-home .banner.banner--promo-hero{ max-height:min(62vw, 360px); }
}
@media (max-width:480px){
  body.page-home .banner.banner--promo-hero{ max-height:min(68vw, 300px); }
}
@media (max-width:380px){
  body.page-home .banner.banner--promo-hero{ max-height:min(72vw, 260px); }
}
@media (max-width:768px){
  body.page-home .frame.frame--home-hero{ padding:12px; }
  body.page-home .home-hero__bar{ margin-bottom:12px; }
}
@media (max-width:480px){
  body.page-home .frame.frame--home-hero{ padding:10px; }
}

/* ─────────────────────────────────────────────────────────
   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;
  }
}

/* Hero principal: imagen completa (1024×499 JPEG) */
.banner-wrap--image-only .hero-overlay{
  display:none;
}
.banner.banner--promo-hero{
  aspect-ratio: 1024 / 499;
  object-fit: cover;
  object-position: center center;
  max-height: min(52vw, 520px);
}
@media (max-width:992px){
  .banner.banner--promo-hero{ max-height:min(58vw,400px); }
}
@media (max-width:768px){
  .banner.banner--promo-hero{ max-height:min(62vw,340px); }
}
@media (max-width:480px){
  .banner.banner--promo-hero{ max-height:min(68vw,280px); }
}
@media (max-width:380px){
  .banner.banner--promo-hero{ max-height:min(72vw,240px); }
}

/* Index: banner programa VIP al pie (1024×528, distinto del hero 1024×499) */
body.page-home .home-vip-promo .banner-link picture{
  display:block;
  width:100%;
  line-height:0;
}
body.page-home .banner.banner--promo-hero.banner--vip-promo{
  aspect-ratio:1024 / 528;
  max-height:min(54vw, 520px);
}
@media (max-width:992px){
  body.page-home .banner.banner--promo-hero.banner--vip-promo{ max-height:min(58vw, 420px); }
}
@media (max-width:768px){
  body.page-home .banner.banner--promo-hero.banner--vip-promo{ max-height:min(62vw, 360px); }
}
@media (max-width:480px){
  body.page-home .banner.banner--promo-hero.banner--vip-promo{ max-height:min(68vw, 300px); }
}
@media (max-width:380px){
  body.page-home .banner.banner--promo-hero.banner--vip-promo{ max-height:min(72vw, 260px); }
}

/* ОВЕРЛЕЙ: позиционируем НЕ по всей .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):not(.banner-wrap--image-only) .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:none;
  border-radius:0;
  font-weight:800;
  font-size:16px;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-decoration:none;
  color:#ffffff;
  -webkit-text-fill-color:#ffffff;
  text-shadow:0 1px 2px rgba(0,0,0,.45);
  position:relative;
  z-index:0;
  isolation:isolate;
  max-width:100%;
  clip-path:var(--casea-clip);
  background:var(--casea-btn-face);
  box-shadow:0 4px 14px rgba(0,0,0,.4);
  transition:transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.hero-cta::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  clip-path:var(--casea-clip);
  background:linear-gradient(180deg, rgba(255,255,255,.26) 0%, rgba(255,255,255,.04) 36%, transparent 58%);
  opacity:.9;
}

.hero-cta::after{
  content:"";
  position:absolute;
  inset:var(--casea-btn-frame, -3px);
  z-index:-1;
  pointer-events:none;
  clip-path:var(--casea-clip);
  background:var(--casea-btn-gold);
  box-shadow:0 0 10px rgba(197,160,89,.35);
}

/* Ховер для CTA (только десктоп) */
@media (hover:hover){
  .hero-cta:hover{
    filter:brightness(1.08) saturate(1.05);
    box-shadow:0 6px 18px rgba(74,144,226,.35), 0 4px 14px rgba(0,0,0,.45);
  }
  .hero-cta:hover::after{
    box-shadow:0 0 14px rgba(197,160,89,.45);
  }
  .hero-cta:active{
    filter:brightness(.94);
    transform:translateY(1px);
    box-shadow:0 2px 8px rgba(0,0,0,.45);
  }
}

/* Планшеты */
@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;
    margin-top: 4px;
  }
}

/* Средние мобилки (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;
  }
}

/* Очень узкие экраны (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;
  }
}

@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):not(.banner-wrap--image-only) .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):not(.banner-wrap--image-only) .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:7px;
  justify-content:center;
  flex-wrap:wrap;
  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scroll-behavior:smooth;
  padding:10px 10px;
  background:rgba(45,6,16,.92);
  border:1px solid rgba(212,175,90,.22);
  border-radius:14px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04), 0 4px 16px rgba(0,0,0,.28);
  scrollbar-width:none;
  -ms-overflow-style:none;
}

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

/* 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; 
}

.chip{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  height:32px;
  padding:0 12px;
  box-sizing:border-box;
  border-radius:10px;
  white-space:nowrap;
  text-decoration:none;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif,"Antonio";
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.05em;
  font-size:11px;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff;
  background:transparent;
  border:none;
  box-shadow:none;
  transition:transform .18s ease, filter .22s ease;
}
.chip::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:10px;
  background:var(--casea-btn-gold);
  z-index:-2;
  pointer-events:none;
}
.chip::before{
  content:"";
  position:absolute;
  inset:2px;
  border-radius:8px;
  background:linear-gradient(180deg, #5c1020 0%, #4a0e1a 55%, #3d0814 100%);
  z-index:-1;
  pointer-events:none;
}

/* Одинаковый URL /go/ у всех чипов — :visited иначе даёт тёмный/невидимый текст в Safari/Chrome */
.chip:link,
.chip:visited,
.chip:hover,
.chip:active,
.chip:focus-visible{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff;
}
.chip-ico{
  width:16px;
  height:16px;
  display:grid;
  place-items:center;
  color:#ffffff;
  position:relative;
  z-index:1;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.35));
}
.chip-txt{
  line-height:1.15;
  align-self:center;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff;
  position:relative;
  z-index:1;
}
@media (hover:hover){
  .chip:hover{
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff;
    filter:brightness(1.08);
    transform:translateY(-1px);
  }
}
.chip-ico svg{
  width:16px;
  height:16px;
  stroke:currentColor;
}
.chip:active{
  transform:translateY(1px);
  filter:brightness(.94);
}

/* MOBILE — чипы в несколько рядов, все подписи видны; скроллбар скрыт */
@media (max-width:768px){
  .chips{
    padding:8px 10px;
    gap:6px 8px;
    margin-top:12px;
    scrollbar-width:none;
    -ms-overflow-style:none;
    flex-wrap:wrap;
    justify-content:center;
    align-content:center;
    overflow-x:visible;
    overflow-y:visible;
    row-gap:6px;
  }
  .chips::-webkit-scrollbar{
    height:0;
    width:0;
    display:none;
  }
  .chips::before,
  .chips::after{
    display:none;
  }
  
  .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:5px 6px;
    margin-top:10px;
    row-gap:5px;
  }
  
  .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:4px 5px;
    row-gap:4px;
  }
  
  .chip{
    height:28px;
    padding:0 7px;
    font-size:8px;
    gap:4px;
  }
  
  .chip-ico,
  .chip-ico svg{
    width:11px;
    height:11px;
  }
}

/* ─────────────────────────────────────────────────────────
   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;
  top:50%;
  left:50%;
  right:auto;
  bottom:auto;
  transform:translate(-50%,-50%);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 22px;
  font-weight:800;
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#ffffff;
  -webkit-text-fill-color:#ffffff;
  text-shadow:0 1px 2px rgba(0,0,0,.45);
  border:none;
  border-radius:0;
  z-index:2;
  isolation:isolate;
  clip-path:var(--casea-clip-sm);
  background:var(--casea-btn-face);
  box-shadow:0 4px 14px rgba(0,0,0,.45);
  opacity:0;
  transition:opacity .25s ease, transform .25s ease, filter .2s ease;
}
.play::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  clip-path:var(--casea-clip-sm);
  background:linear-gradient(180deg, rgba(255,255,255,.24) 0%, transparent 42%);
  opacity:.9;
}
.play::after{
  content:"";
  position:absolute;
  inset:var(--casea-btn-frame, -3px);
  z-index:-1;
  pointer-events:none;
  clip-path:var(--casea-clip-sm);
  background:var(--casea-btn-gold);
}
.card:hover .play{
  opacity:1;
  transform:translate(-50%,-50%) scale(1.04);
  filter:brightness(1.06);
}
.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;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:12px 16px;
  margin-top:16px;
}
.pulse-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:16px 32px;
  font-weight:800;
  font-size:18px;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-decoration:none;
  color:#ffffff;
  -webkit-text-fill-color:#ffffff;
  text-shadow:0 1px 2px rgba(0,0,0,.45);
  border:none;
  border-radius:0;
  position:relative;
  z-index:0;
  isolation:isolate;
  clip-path:var(--casea-clip);
  background:var(--casea-btn-face);
  box-shadow:0 4px 14px rgba(0,0,0,.4);
  transition:transform .2s ease, filter .2s ease, box-shadow .2s ease;
  animation:casea-btn-pulse 2.4s infinite;
}

.pulse-btn::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  clip-path:var(--casea-clip);
  background:linear-gradient(180deg, rgba(255,255,255,.26) 0%, rgba(255,255,255,.04) 36%, transparent 58%);
  opacity:.9;
}

.pulse-btn::after{
  content:"";
  position:absolute;
  inset:var(--casea-btn-frame, -3px);
  z-index:-1;
  pointer-events:none;
  clip-path:var(--casea-clip);
  background:var(--casea-btn-gold);
  box-shadow:0 0 10px rgba(197,160,89,.35);
}

/* Адаптивные стили для мобильных */
@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:0;
  }
}

@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-flex;
  align-items:center;
  justify-content:center;
  padding:12px 24px;
  font-weight:800;
  font-size:14px;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-decoration:none;
  color:#ffffff;
  -webkit-text-fill-color:#ffffff;
  text-shadow:0 1px 2px rgba(0,0,0,.45);
  border:none;
  border-radius:0;
  position:relative;
  z-index:0;
  isolation:isolate;
  clip-path:var(--casea-clip);
  background:var(--casea-btn-face);
  box-shadow:0 4px 14px rgba(0,0,0,.4);
  transition:transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.vmore-btn::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  clip-path:var(--casea-clip);
  background:linear-gradient(180deg, rgba(255,255,255,.26) 0%, rgba(255,255,255,.04) 36%, transparent 58%);
  opacity:.9;
}

.vmore-btn::after{
  content:"";
  position:absolute;
  inset:var(--casea-btn-frame, -3px);
  z-index:-1;
  pointer-events:none;
  clip-path:var(--casea-clip);
  background:var(--casea-btn-gold);
  box-shadow:0 0 10px rgba(197,160,89,.35);
}

.vmore-btn:hover{
  filter:brightness(1.08) saturate(1.05);
  box-shadow:0 6px 18px rgba(74,144,226,.35), 0 4px 14px rgba(0,0,0,.45);
}

/* ─────────────────────────────────────────────────────────
   ТАБЛИЦЫ (ОБЩЕЕ)
────────────────────────────────────────────────────────── */
.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 rgba(212,175,90,.14);
  color:#fff;
  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:#fff;
}
:is(#facts, #bonuses) td:last-child{ width:58%; }

:is(#facts, #bonuses) tr:nth-child(odd) td{
  background:transparent;
}

@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:#5c1218;
  --ft-bg-mid:#4a0e16;
  --ft-bg1:#2b080d;
  --ft-line:rgba(212,175,90,.18);
  --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:var(--casoola-grad);
  border-top:none;
  box-shadow:none;
}
.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-flex;
  align-items:center;
  justify-content:center;
  padding:14px 28px;
  font-weight:800;
  font-size:17px;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-shadow:0 1px 2px rgba(0,0,0,.45);
  color:#ffffff;
  -webkit-text-fill-color:#ffffff;
  text-decoration:none;
  border:none;
  border-radius:0;
  max-width:440px;
  position:relative;
  z-index:0;
  isolation:isolate;
  line-height:1.25;
  clip-path:var(--casea-clip);
  background:var(--casea-btn-face);
  box-shadow:0 4px 14px rgba(0,0,0,.4);
  transition:transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.ft-btn::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  clip-path:var(--casea-clip);
  background:linear-gradient(180deg, rgba(255,255,255,.26) 0%, rgba(255,255,255,.04) 36%, transparent 58%);
  opacity:.9;
}

.ft-btn::after{
  content:"";
  position:absolute;
  inset:var(--casea-btn-frame, -3px);
  z-index:-1;
  pointer-events:none;
  clip-path:var(--casea-clip);
  background:var(--casea-btn-gold);
  box-shadow:0 0 10px rgba(197,160,89,.35);
}

.ft-btn:hover{
  filter:brightness(1.08) saturate(1.05);
  box-shadow:0 6px 18px rgba(74,144,226,.35), 0 4px 14px rgba(0,0,0,.45);
}

.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-page{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:10px 20px;
  margin:4px 0 0;
  padding:14px 12px 16px;
  border-bottom:1px solid var(--ft-line, rgba(255,255,255,.1));
  font-size:13px;
  color:var(--ft-muted, rgba(255,255,255,.62));
}
.ft-page 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-page a:hover{
  opacity:1;
  color:#fff;
  border-bottom-color:#fdba74;
}
.ft-page + .ft-grid{
  border-top:none;
  padding-top:20px;
}

.ft-grid{
  display:grid;
  grid-template-columns:repeat(5,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;
  min-width:72px;
  min-height:44px;
  padding:8px 12px;
  border-radius:10px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
}
.ft-pay img{
  height:24px;
  width:auto;
  max-width:64px;
  object-fit:contain;
  display:block;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.35));
}
@media (max-width:1100px){
  .ft-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
/* ─────────────────────────────────────────────────────────
   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;
  }

  .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:0;
  }
  .head .lang-switch{
    margin-left:auto;
  }
}
@media (max-width:520px){
  .head{ gap:8px; }
  .medals{ grid-template-columns:repeat(3,1fr); }

  .head, .shell, .site-footer{
    padding-left:max(12px, env(safe-area-inset-left, 0px));
    padding-right:max(12px, env(safe-area-inset-right, 0px));
  }

  /* синхроним с переменной --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; }
  .prov-grid{ grid-template-columns:1fr; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE — типографика, main, таблицы, касания (все страницы)
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px){
  main .table-wrapper,
  #facts .table-wrapper,
  #bonuses .table-wrapper,
  #payments .table-wrapper,
  main .legal-doc .table-wrapper{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
  }
}
@media (max-width: 640px){
  .shell > main{
    padding-top:12px;
    padding-bottom:max(28px, env(safe-area-inset-bottom, 0px));
    padding-left:max(10px, env(safe-area-inset-left, 0px));
    padding-right:max(10px, env(safe-area-inset-right, 0px));
    border-radius:12px;
  }
  .page-title{
    font-size:clamp(19px, 5.2vw, 24px);
    line-height:1.2;
    padding-left:4px;
    padding-right:4px;
  }
  .section{
    margin-top:22px;
    margin-bottom:16px;
  }
  .shell > main .section h2,
  .shell > main .section h3{
    font-size:clamp(1.05rem, 4vw, 1.3rem);
    line-height:1.28;
  }
  .shell > main p,
  .shell > main li,
  main .legal-doc p,
  main .legal-doc li{
    font-size:clamp(15px, 3.6vw, 16px);
    line-height:1.62;
  }
  .legal-doc h2{
    font-size:clamp(1.08rem, 4vw, 1.22rem);
  }
  .shell > main .pulse-btn,
  .shell > main .hero-cta,
  .shell > main .vmore-btn,
  .site-footer .ft-btn{
    min-height:48px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding-left:22px;
    padding-right:22px;
  }
  .shell > main .cta-center .pulse-btn{
    width:100%;
    max-width:min(340px, 100%);
  }
  /* Чипы: компактная полоса, без min-height 44px (оно давало «коробки» и съезжало содержимое) */
  .chips{
    padding:8px max(8px, env(safe-area-inset-left, 0px)) 8px max(8px, env(safe-area-inset-right, 0px));
    gap:8px;
    align-items:center;
  }
  .chips .chip{
    min-height:0;
    height:36px;
    max-height:36px;
    padding:0 12px;
    font-size:10px;
    letter-spacing:.05em;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    gap:6px;
  }
  .drawer{
    padding-bottom:env(safe-area-inset-bottom, 0px);
    width:min(86vw, 320px);
  }
  .drawer .nav a{
    padding-top:14px;
    padding-bottom:14px;
    min-height:48px;
  }
  .dhead{
    padding-left:max(12px, env(safe-area-inset-left, 0px));
    padding-right:max(12px, env(safe-area-inset-right, 0px));
  }
  .prov-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:12px;
  }
}
/* ─────────────────────────────────────────────────────────
   (ОПЦИОНАЛЬНО) 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: единый стиль Casea */
.pulse-btn:hover,
.hero-cta:hover,
.vmore-btn:hover,
.ft-btn:hover{
  filter:brightness(1.08) saturate(1.05);
  box-shadow:0 6px 18px rgba(74,144,226,.35), 0 4px 14px rgba(0,0,0,.45);
}

/* Active: эффект нажатия */
:where(.pulse-btn, .hero-cta, .vmore-btn, .ft-btn, .btn--login, .btn--reg):active{
  transform:translateY(1px);
  filter:brightness(.94);
  box-shadow:0 2px 8px rgba(0,0,0,.45);
}

/* Фокус-обводка */
:where(.pulse-btn, .hero-cta, .vmore-btn, .ft-btn, .btn--login, .btn--reg):focus-visible{
  outline:0;
  box-shadow:
    0 0 0 2px #f8fafc,
    0 0 0 5px rgba(74,144,226,.45),
    0 8px 24px rgba(0,0,0,.35);
}

@keyframes casea-btn-pulse{
  0%{ box-shadow:0 4px 14px rgba(0,0,0,.4), 0 0 0 0 rgba(74,144,226,.35) }
  70%{ box-shadow:0 4px 14px rgba(0,0,0,.4), 0 0 0 14px rgba(74,144,226,0) }
  100%{ box-shadow:0 4px 14px rgba(0,0,0,.4), 0 0 0 0 rgba(74,144,226,0) }
}
@keyframes casea-btn-pulse-ft{
  0%{ box-shadow:0 4px 14px rgba(0,0,0,.4), 0 0 0 0 rgba(74,144,226,.42) }
  70%{ box-shadow:0 4px 14px rgba(0,0,0,.4), 0 0 0 14px rgba(74,144,226,0) }
  100%{ box-shadow:0 4px 14px rgba(0,0,0,.4), 0 0 0 0 rgba(74,144,226,0) }
}
:where(.pulse-btn, .hero-cta, .vmore-btn).is-pulsing,
:where(.pulse-btn, .hero-cta, .vmore-btn).pulse{
  animation:casea-btn-pulse 2.4s infinite;
}
.ft-btn.is-pulsing,
.ft-btn.pulse{
  animation:casea-btn-pulse-ft 2.4s infinite;
}

/* Лёгкий «ripple» отключён — золотая рамка через ::after у CTA-кнопок */

/* Уважение 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;
}

.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 — texto + captura a la derecha (compacta)
────────────────────────────────────────────────────────── */
.login-section{
  overflow:hidden;
}
#login .login-shot{
  float:right !important;
  width:min(240px, 32vw);
  max-width:100%;
  margin:6px 0 1rem 1.35rem;
  display:block;
  line-height:0;
  border-radius:14px;
  overflow:hidden;
  background:linear-gradient(180deg, #5c1218 0%, #4a0e16 55%, #3d0814 100%);
  border:1px solid rgba(212,175,90,.35);
  box-shadow:0 10px 32px rgba(0,0,0,.4), 0 0 0 1px rgba(200,164,74,.16) inset;
  text-decoration:none !important;
  transition:transform .25s ease, box-shadow .25s ease;
  shape-outside:inset(0 round 14px);
}
#login .login-shot:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 40px rgba(0,0,0,.48), 0 0 0 1px rgba(212,175,90,.24) inset, 0 0 20px rgba(184,146,63,.18);
}
#login .login-shot img{
  width:100%;
  height:auto;
  display:block;
  vertical-align:middle;
  border-radius:13px;
  cursor:pointer;
  transition:filter .25s ease;
}
#login .login-shot:hover img{
  filter:brightness(1.04);
}
#login p,
#login h3,
#login .login-steps{
  max-width:none;
}
#login .login-steps{
  margin:10px 0 0;
  padding-left:1.25rem;
  line-height:1.58;
}
#login .login-steps li{
  margin:0 0 8px;
}
#login .login-note{
  margin:14px 0 0;
  padding:12px 14px;
  border-radius:10px;
  font-size:14px;
  line-height:1.5;
  background:rgba(8,47,36,.32);
  border:1px solid rgba(94,233,176,.18);
}
#login .login-cta{
  clear:both;
  margin-top:22px;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px 14px;
}
@media (max-width:480px){
  #login .login-shot{
    float:none !important;
    width:100%;
    max-width:260px;
    margin:0 auto 1.1rem;
  }
}

/* ─────────────────────────────────────────────────────────
   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));
}

/* Dedicated App page image wrap */
.app-shot--float{
  float:right;
  width:360px;
  max-width:min(54%, 100%);
  margin:0 0 1.25rem 1.5rem;
  display:block;
  line-height:0;
}
.app-shot--float img{
  width:100%;
  height:auto;
  border-radius:10px;
  display:block;
  vertical-align:middle;
}
.app-guide .app-cta{
  clear:both;
}
@media (max-width:640px){
  .app-shot--float{
    float:none;
    width:100%;
    max-width:336px;
    margin:0 auto 1.25rem;
  }
}

/* ─────────────────────────────────────────────────────────
   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;
}

.promo-banner-figure{
  max-width:min(1024px, 100%);
  margin-left:auto;
  margin-right:auto;
}
.promo-banner-figure .promo-img{
  width:100%;
  height:auto;
  display:block;
}

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:#e2e6f0 !important;
}

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

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

:is(.shell > main, main) .page-title{
  color:#f0fdf7 !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:#f1f5f9 !important;
  -webkit-text-fill-color:#f1f5f9 !important;
}
:is(.shell > main, main) a.card .info .vendor{
  color:rgba(226,232,240,.72) !important;
  -webkit-text-fill-color:rgba(226,232,240,.72) !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:#7ee8c4 !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:#fda4af !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:#f1f5f9 !important;
  -webkit-text-fill-color:#f1f5f9 !important;
  text-decoration:none;
}
:is(.shell > main, main) .chip-ico{
  color:#5ee9b0 !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:#f1f5f9 !important;
  -webkit-text-fill-color:#f1f5f9 !important;
}
.shell .chips a.chip .chip-txt,
main .chips a.chip span.chip-txt{
  color:#f1f5f9 !important;
  -webkit-text-fill-color:#f1f5f9 !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;
}

/* ═══════════════════════════════════════════════════════════
   Bet Mexico Casino — tema oficial MX (verde / blanco / rojo)
   Carta oscura legible, acentos vivos, sin aspecto apagado.
═══════════════════════════════════════════════════════════ */
:root{
  --page-bg:#1c354d;
  --main-bg:#1a3149;
  --main-text:#e2e6f0;
  --main-heading:#f8fafc;
  --main-muted:#a8b0c4;
  --sidebar-blue-top:#0d7a52;
  --sidebar-blue-bot:#082f24;
  --sidebar-pill:rgba(255,255,255,.1);
  --sidebar-pill-hover:rgba(255,255,255,.17);
  --ink:#e8eaef;
  --ink-bright:#f8fafc;
  --ink-muted:#a8b0c4;
  --line:rgba(18,160,110,.25);
  --primary:#12a06e;
  --primary-mid:#1fb87e;
  --primary-dark:#065a3f;
  --primary-glow:rgba(18, 160, 110, 0.35);
  --accent-teal:#12a06e;
  --accent-teal-dark:#0d7a52;
  --text-heading:#f8fafc;
}

html{
  color-scheme:dark !important;
  background:#1c354d !important;
}
body:before{
  background-color:#1c354d !important;
  background-image:
    repeating-linear-gradient(60deg, rgba(0,0,0,.06) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(-60deg, rgba(0,0,0,.06) 0 1px, transparent 1px 14px),
    linear-gradient(180deg, #1e3a56 0%, #1c354d 50%, #172d42 100%) !important;
}
html,body{
  color:#e2e6f0 !important;
}

header .head{
  color:#f1f5f9 !important;
}
header .head-nav__link{
  color:rgba(241,245,249,.95) !important;
  -webkit-text-fill-color:rgba(241,245,249,.95) !important;
}
header .head-nav__link:hover{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
header .head-nav__link--active{
  border-bottom-color:#c5a059 !important;
}

header{
  background:var(--casoola-grad) !important;
  border-bottom:none !important;
  backdrop-filter:none !important;
  box-shadow:none !important;
}
header.scrolled{
  box-shadow:none !important;
  background:var(--casoola-grad) !important;
  border-bottom:none !important;
}
.burger{
  background:#4a0e1a !important;
  border:1px solid rgba(197,160,89,.35) !important;
  color:#f8fafc !important;
}
.logo img{
  height:48px;
  width:auto;
  max-width:min(220px, 42vw);
  object-fit:contain;
  filter:none;
  display:block;
}
.ft-logo img{
  height:52px;
  width:auto;
  max-width:240px;
  object-fit:contain;
  filter:none;
  display:block;
}
@media (max-width:520px){ .logo img{ height:36px; } }
@media (max-width:390px){ .logo img{ height:28px; } }

.head .head-search-ico{
  background:transparent !important;
  border:none !important;
  color:#e7ece9 !important;
  box-shadow:none !important;
}
.head .head-search-ico:hover{
  background:transparent !important;
  border-color:transparent !important;
}
.head .head-search-ico:focus-visible{
  outline:2px solid #d4af5a !important;
  outline-offset:2px;
}
.head .head-search-ico svg path{
  stroke:currentColor !important;
}

.head .offers-trigger{
  background:transparent !important;
  border:none !important;
  color:#e8eaef !important;
}
.head .offers-trigger:hover{
  background:transparent !important;
  border-color:transparent !important;
}
.head .offers-trigger:focus-visible{
  outline:2px solid #d4af5a !important;
  outline-offset:2px;
}
.head .offers-trigger__ico{
  filter:brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0,0,0,.25));
}

.head .btn--login,
.head .btn--reg{
  border:none !important;
  border-radius:0 !important;
  animation:none !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  background:transparent !important;
  box-shadow:0 4px 14px rgba(0,0,0,.4) !important;
  clip-path:var(--casea-clip) !important;
}
.head .btn--reg::before,
.head .btn--login::before{
  inset:var(--casea-btn-border, 3px) !important;
  z-index:-1 !important;
  opacity:1 !important;
  clip-path:var(--casea-clip-inner) !important;
  background:var(--casea-btn-blue) !important;
}
.head .btn--reg::after,
.head .btn--login::after{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  z-index:-2 !important;
  clip-path:var(--casea-clip) !important;
  background:var(--casea-btn-gold) !important;
}
@media (hover:hover){
  .head .btn--reg:hover,
  .head .btn--login:hover{
    filter:brightness(1.08) saturate(1.05) !important;
    box-shadow:0 6px 18px rgba(74,144,226,.35), 0 4px 14px rgba(0,0,0,.45) !important;
  }
}

.aside{
  background:linear-gradient(180deg, #5c1020 0%, #4a0e1a 50%, #3d0814 100%) !important;
  border:2px solid #c5a059 !important;
  box-shadow:
    0 12px 40px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(232,208,146,.22),
    0 0 0 1px rgba(80,60,20,.35) !important;
}
.drawer{
  background:linear-gradient(180deg, #5c1020 0%, #4a0e1a 55%, #3d0814 100%) !important;
  border-right:2px solid #c5a059 !important;
  box-shadow:0 20px 60px rgba(0,0,0,.65), inset 0 1px 0 rgba(232,208,146,.15) !important;
}
.drawer .dhead{
  color:#fff !important;
  border-bottom:1px solid rgba(197,160,89,.35) !important;
}
.dclose{
  background:linear-gradient(180deg, #6b1a2e 0%, #4a0e1a 100%) !important;
  border:2px solid #c5a059 !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
.dclose:hover{
  background:linear-gradient(180deg, #8b2540 0%, #6b1a2e 100%) !important;
  border-color:#e8d092 !important;
  filter:brightness(1.06);
}

.aside .nav a,
.drawer .nav a{
  background:transparent !important;
  border:none !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  isolation:isolate !important;
  overflow:hidden !important;
}
.aside .nav a::after,
.drawer .nav a::after{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  border-radius:12px !important;
  background:var(--casea-btn-gold) !important;
  z-index:-2 !important;
  pointer-events:none !important;
}
.aside .nav a::before,
.drawer .nav a::before{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  inset:2px !important;
  border-radius:10px !important;
  background:var(--casea-btn-blue) !important;
  z-index:-1 !important;
  pointer-events:none !important;
  opacity:1 !important;
}
.aside .nav a .nav-ico,
.aside .nav a .nav-txt,
.drawer .nav a .nav-ico,
.drawer .nav a .nav-txt{
  position:relative !important;
  z-index:1 !important;
}
.aside .nav a:hover,
.drawer .nav a:hover{
  background:transparent !important;
  border:none !important;
  filter:brightness(1.08) !important;
}
.aside .nav a.is-active,
.drawer .nav a.is-active{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  filter:brightness(1.1) !important;
}
.aside .nav a.is-active::before,
.drawer .nav a.is-active::before{
  background:
    linear-gradient(180deg, rgba(255,255,255,.1) 0%, transparent 42%),
    linear-gradient(180deg, #8b2540 0%, #6b1a2e 48%, #4a0e1a 58%, #2d0610 100%) !important;
  box-shadow:inset 0 0 10px rgba(91,127,212,.18) !important;
}
.aside .nav a.is-active::after,
.drawer .nav a.is-active::after{
  box-shadow:0 0 10px rgba(197,160,89,.45) !important;
}
.aside .nav a.is-active svg.nav-ico,
.drawer .nav a.is-active svg.nav-ico{
  filter:drop-shadow(0 0 4px rgba(255,255,255,.45)) !important;
}
.aside .nav a.is-active img.nav-ico,
.drawer .nav a.is-active img.nav-ico{
  filter:brightness(0) invert(1) drop-shadow(0 0 4px rgba(255,255,255,.45)) !important;
  opacity:1 !important;
}
.aside .nav a:hover svg.nav-ico,
.drawer .nav a:hover svg.nav-ico{
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.25)) !important;
  opacity:1 !important;
}
.aside .nav a:hover img.nav-ico,
.drawer .nav a:hover img.nav-ico{
  filter:brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0,0,0,.25)) drop-shadow(0 0 5px rgba(255,255,255,.25)) !important;
  opacity:1 !important;
}

.sep{
  border-top-color:rgba(197,160,89,.35) !important;
}

.shell > main{
  background:linear-gradient(180deg, rgba(74,14,26,.94) 0%, rgba(61,10,24,.9) 50%, rgba(45,6,16,.92) 100%) !important;
  border:1px solid rgba(197,160,89,.28) !important;
  box-shadow:
    0 12px 40px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.04) !important;
}

.page-title{
  color:#f0fdf7 !important;
  font-weight:800;
  letter-spacing:.02em;
  text-shadow:0 2px 14px rgba(212,175,90,.35), 0 1px 2px rgba(0,0,0,.45);
}
:is(.shell > main, main) .page-title{
  color:#e8d092 !important;
  -webkit-text-fill-color:#e8d092 !important;
  background:none !important;
  animation:none !important;
}

.frame{
  background:#121816 !important;
  border:1px solid rgba(255,255,255,.1) !important;
  box-shadow:0 8px 28px rgba(0,0,0,.4) !important;
}
.frame:before{
  border-color:rgba(0,179,104,.22) !important;
}

.section{
  color:#d1d6e6 !important;
}
.shell > main .section h2,
.shell > main .section h3{
  color:#f8fafc !important;
}
.intro p{
  color:#cbd5e1 !important;
}

.chip{
  background:transparent !important;
  border:none !important;
  color:#fff !important;
  isolation:isolate !important;
  overflow:hidden !important;
}
.chip::after{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  border-radius:10px !important;
  background:var(--casea-btn-gold) !important;
  z-index:-2 !important;
  pointer-events:none !important;
}
.chip::before{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  inset:2px !important;
  border-radius:8px !important;
  background:var(--casea-btn-blue) !important;
  z-index:-1 !important;
  pointer-events:none !important;
}
.chip-ico{
  color:#fff !important;
  position:relative !important;
  z-index:1 !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:#fff !important;
  -webkit-text-fill-color:#fff !important;
  position:relative !important;
  z-index:1 !important;
}
.shell .chips,
main .chips{
  background:rgba(45,6,16,.94) !important;
  border:1px solid rgba(212,175,90,.22) !important;
  border-radius:14px !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04), 0 4px 16px rgba(0,0,0,.28) !important;
}
@media (hover:hover){
  main .chips a.chip:hover,
  .shell .chips a.chip:hover{
    background:transparent !important;
    border:none !important;
    filter:brightness(1.08) !important;
    box-shadow:none !important;
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
  }
}

.site-footer{
  margin-top:40px;
  background:var(--casoola-grad) !important;
  border-top:none !important;
  box-shadow:none !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-page{
  border-bottom-color:rgba(255,255,255,.1) !important;
}
.ft-page a{
  color:rgba(255,255,255,.88) !important;
  border-bottom-color:rgba(255,255,255,.22) !important;
}
.ft-page a:hover{
  color:#fff !important;
  border-bottom-color:#5ee9b0 !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:#5ee9b0 !important;
}
.ft-bottom{
  border-top-color:rgba(255,255,255,.1) !important;
  color:rgba(255,255,255,.52) !important;
}

.ft-btn{
  padding:14px 32px !important;
  font-size:clamp(13px, 2.6vw, 17px) !important;
  font-weight:800 !important;
  letter-spacing:.08em !important;
  line-height:1.3 !important;
  max-width:min(100%, 440px) !important;
  word-break:break-word !important;
  white-space:normal !important;
  text-align:center !important;
  font-family:"Antonio", system-ui, sans-serif !important;
  border-radius:0 !important;
  border:none !important;
  clip-path:var(--casea-clip) !important;
  background:var(--casea-btn-face) !important;
  box-shadow:0 4px 14px rgba(0,0,0,.4) !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  text-shadow:0 1px 2px rgba(0,0,0,.45) !important;
}
.ft-btn::before{
  clip-path:var(--casea-clip) !important;
  border-radius:0 !important;
}
.ft-btn::after{
  clip-path:var(--casea-clip) !important;
  background:var(--casea-btn-gold) !important;
}
.ft-btn:hover{
  filter:brightness(1.08) saturate(1.05) !important;
  box-shadow:0 6px 18px rgba(74,144,226,.35), 0 4px 14px rgba(0,0,0,.45) !important;
}

.prov{
  background:linear-gradient(180deg, #a8843f 0%, #8f6e32 42%, #6e5528 100%) !important;
  border:1px solid rgba(168,132,63,.42) !important;
  color:#fff !important;
}
.prov-name{ color:#fff !important; -webkit-text-fill-color:#fff !important; text-shadow:0 1px 2px rgba(0,0,0,.45); }
.prov-media{
  background:linear-gradient(180deg, #5c1218 0%, #4a0e16 55%, #3d0814 100%) !important;
  border:1px solid rgba(43,8,13,.65) !important;
  box-shadow:inset 0 2px 10px rgba(0,0,0,.5) !important;
}

/* Tablas: estilo homepage — columna izquierda dorada, datos burdeos, texto blanco */
#facts .table-wrapper,
#bonuses .table-wrapper,
#payments .table-wrapper,
main .legal-doc .table-wrapper,
main .table-wrapper,
.table-wrapper{
  background:transparent !important;
  border:1px solid rgba(212,175,90,.32) !important;
  border-radius:16px !important;
  box-shadow:0 8px 28px rgba(0,0,0,.35) !important;
  padding:0 !important;
  overflow:hidden !important;
}
#facts .table-wrapper table,
#bonuses .table-wrapper table,
#payments .table-wrapper table,
main .legal-doc .table-wrapper table,
main .table-wrapper table,
.table-wrapper table{
  background:transparent !important;
  border:none !important;
  border-radius:0 !important;
  overflow:hidden !important;
  width:100% !important;
  border-collapse:collapse !important;
}
#facts .table-wrapper thead,
#bonuses .table-wrapper thead,
#payments .table-wrapper thead,
main .legal-doc .table-wrapper thead,
main .table-wrapper thead,
.table-wrapper thead{
  background:transparent !important;
  border-bottom:none !important;
}
#facts .table-wrapper thead th,
#bonuses .table-wrapper thead th,
#payments .table-wrapper thead th,
main .legal-doc .table-wrapper thead th,
main .table-wrapper thead th,
.table-wrapper thead th{
  border:0 !important;
  border-bottom:1px solid rgba(212,175,90,.14) !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  font-weight:700 !important;
  font-size:15px !important;
  line-height:1.55 !important;
  padding:13px 16px !important;
  vertical-align:top !important;
  text-transform:none !important;
  letter-spacing:normal !important;
}
#facts .table-wrapper thead th:first-child,
#bonuses .table-wrapper thead th:first-child,
#payments .table-wrapper thead th:first-child,
main .legal-doc .table-wrapper thead th:first-child,
main .table-wrapper thead th:first-child,
.table-wrapper thead th:first-child{
  background:linear-gradient(180deg, #b8923f 0%, #9a7830 45%, #7a5e24 100%) !important;
  text-shadow:0 1px 2px rgba(0,0,0,.45);
  border-bottom:1px solid rgba(80,60,20,.32) !important;
}
#facts .table-wrapper thead th:not(:first-child),
#bonuses .table-wrapper thead th:not(:first-child),
#payments .table-wrapper thead th:not(:first-child),
main .legal-doc .table-wrapper thead th:not(:first-child),
main .table-wrapper thead th:not(:first-child),
.table-wrapper thead th:not(:first-child){
  background:linear-gradient(180deg, #5c1218 0%, #4a0e16 50%, #3d0814 100%) !important;
  font-weight:600 !important;
}
#facts .table-wrapper tbody tr,
#bonuses .table-wrapper tbody tr,
#payments .table-wrapper tbody tr,
main .legal-doc .table-wrapper tbody tr,
main .table-wrapper tbody tr,
.table-wrapper tbody tr{
  background:transparent !important;
}
#facts .table-wrapper tbody tr:nth-child(even),
#bonuses .table-wrapper tbody tr:nth-child(even),
#payments .table-wrapper tbody tr:nth-child(even),
main .legal-doc .table-wrapper tbody tr:nth-child(even),
main .table-wrapper tbody tr:nth-child(even),
.table-wrapper tbody tr:nth-child(even){
  background:transparent !important;
}
#facts .table-wrapper :is(td,th),
#bonuses .table-wrapper :is(td,th),
#payments .table-wrapper :is(td,th),
main .legal-doc .table-wrapper :is(td,th),
main .table-wrapper :is(td,th),
.table-wrapper :is(td,th){
  border:0 !important;
  border-bottom:1px solid rgba(212,175,90,.14) !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  font-size:15px !important;
  line-height:1.55 !important;
  padding:13px 16px !important;
  vertical-align:top !important;
  text-transform:none !important;
  letter-spacing:normal !important;
}
#facts .table-wrapper tbody th[scope="row"],
#bonuses .table-wrapper tbody th[scope="row"],
#payments .table-wrapper tbody th[scope="row"],
main .legal-doc .table-wrapper tbody th[scope="row"],
main .table-wrapper tbody th[scope="row"],
.table-wrapper tbody th[scope="row"],
#facts .table-wrapper tbody :is(td,th):first-child,
#bonuses .table-wrapper tbody :is(td,th):first-child,
#payments .table-wrapper tbody :is(td,th):first-child,
main .legal-doc .table-wrapper tbody :is(td,th):first-child,
main .table-wrapper tbody :is(td,th):first-child,
.table-wrapper tbody :is(td,th):first-child{
  background:linear-gradient(180deg, #b8923f 0%, #9a7830 45%, #7a5e24 100%) !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  font-weight:700 !important;
  text-align:left !important;
  text-shadow:0 1px 2px rgba(0,0,0,.45);
  border-bottom:1px solid rgba(80,60,20,.32) !important;
}
#facts .table-wrapper :is(td,th):first-child,
#payments .table-wrapper :is(td,th):first-child,
main .legal-doc .table-wrapper table:not(:has(thead)) tbody th[scope="row"],
main .table-wrapper table:not(:has(thead)) tbody th[scope="row"],
.table-wrapper table:not(:has(thead)) tbody th[scope="row"]{
  width:34% !important;
  min-width:min(140px,34%) !important;
}
#facts .table-wrapper td,
#bonuses .table-wrapper td,
#payments .table-wrapper td,
main .legal-doc .table-wrapper td,
main .table-wrapper td,
.table-wrapper td{
  background:linear-gradient(180deg, #5c1218 0%, #4a0e16 50%, #3d0814 100%) !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  font-weight:400 !important;
}
#facts .table-wrapper tbody tr:hover th[scope="row"],
#bonuses .table-wrapper tbody tr:hover th[scope="row"],
#payments .table-wrapper tbody tr:hover th[scope="row"],
main .legal-doc .table-wrapper tbody tr:hover th[scope="row"],
main .table-wrapper tbody tr:hover th[scope="row"],
.table-wrapper tbody tr:hover th[scope="row"],
#facts .table-wrapper tbody tr:hover :is(td,th):first-child,
#bonuses .table-wrapper tbody tr:hover :is(td,th):first-child,
#payments .table-wrapper tbody tr:hover :is(td,th):first-child,
main .legal-doc .table-wrapper tbody tr:hover :is(td,th):first-child,
main .table-wrapper tbody tr:hover :is(td,th):first-child,
.table-wrapper tbody tr:hover :is(td,th):first-child{
  filter:brightness(1.06) !important;
}
#facts .table-wrapper tbody tr:hover td,
#bonuses .table-wrapper tbody tr:hover td,
#payments .table-wrapper tbody tr:hover td,
main .legal-doc .table-wrapper tbody tr:hover td,
main .table-wrapper tbody tr:hover td,
.table-wrapper tbody tr:hover td{
  background:linear-gradient(180deg, #6b1a2e 0%, #4a0e16 50%, #3d0814 100%) !important;
}

#facts .table-wrapper tbody tr:last-child :is(td,th),
#bonuses .table-wrapper tbody tr:last-child :is(td,th),
#payments .table-wrapper tbody tr:last-child :is(td,th),
main .legal-doc .table-wrapper tbody tr:last-child :is(td,th),
main .table-wrapper tbody tr:last-child :is(td,th),
.table-wrapper tbody tr:last-child :is(td,th){
  border-bottom:0 !important;
}

.card{
  background:linear-gradient(180deg, #5c1218 0%, #4a0e16 100%) !important;
  border:1px solid rgba(212,175,90,.28) !important;
  box-shadow:0 4px 18px rgba(0,0,0,.35);
}
/* Banda .info: золото + белый текст */
.card .info,
:is(.shell > main, main) a.card .info{
  background:linear-gradient(180deg, #b8923f 0%, #9a7830 45%, #7a5e24 100%) !important;
  border-top:1px solid rgba(168,132,63,.38) !important;
}
.card .info .title{ color:#fff !important; -webkit-text-fill-color:#fff !important; text-shadow:0 1px 2px rgba(0,0,0,.4); }
.card .info .vendor{ color:#fff !important; -webkit-text-fill-color:#fff !important; text-shadow:0 1px 2px rgba(0,0,0,.35); }

/* Popular games block like reference */
.popular-games{
  background:transparent;
  border-radius:0;
  padding:0;
}
.popular-games h2{
  margin:0 0 14px;
  color:#f8fafc;
  font-size:30px;
  line-height:1.2;
}
.popular-games__grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  max-width:100%;
}
.popular-games__card{
  display:flex;
  flex-direction:column;
  border-radius:12px;
  overflow:hidden;
  background:#0f172a;
  text-decoration:none !important;
  box-shadow:0 6px 20px rgba(0,0,0,.4);
  position:relative;
}
.popular-games__media{
  overflow:hidden;
  aspect-ratio:1/1;
  flex:0 0 auto;
  background:linear-gradient(180deg, #1a3d5c 0%, #142f47 100%);
  position:relative;
}
.popular-games__card img{
  width:100%;
  height:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  object-position:center;
  display:block;
  transition:transform .28s ease;
}
/* Banner horizontal (Burning Cash): riempie il tile come le altre slot */
.popular-games__media img.popular-games__img--wide{
  object-fit:cover;
  object-position:center;
  padding:0;
  background:none;
}
.popular-games__card:hover img{
  transform:scale(1.06);
}
.popular-games__card:hover img.popular-games__img--wide{
  transform:scale(1.06);
}
.popular-games__media::after{
  content:none;
  display:none;
}
.popular-games__card:hover .popular-games__media::after{
  content:none;
  display:none;
  opacity:0;
}
.popular-games__meta{
  flex:1 1 auto;
  background:linear-gradient(180deg, #1a3d5c 0%, #142f47 100%);
  padding:10px 10px 11px;
  position:relative;
  z-index:2;
  border-top:1px solid rgba(197,160,89,.22);
  min-height:44px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.popular-games__title{
  margin:0;
  font-size:13px;
  font-weight:700;
  color:#fff;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  line-height:1.25;
}
.popular-games__vendor{
  display:none;
}
@media (max-width:1100px){
  .popular-games__grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:640px){
  .popular-games{ padding:0; }
  .popular-games h2{ font-size:24px; }
  .popular-games__grid{ grid-template-columns:1fr; }
}

.legal-doc h2{ color:#f8fafc !important; }
.legal-doc p,
.legal-doc li{ color:#cbd5e1 !important; }
.legal-doc .legal-note{
  margin: 0 0 1.25rem !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #cbd5e1 !important;
  font-size: inherit;
  line-height: 1.65;
}

/* FAQ — domande h3, risposte p (tema scuro del sito) */
:is(.shell > main, main) .faq-item{
  margin-bottom: 24px;
  padding: 18px 20px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(94, 233, 176, 0.14);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
:is(.shell > main, main) .faq-item h3{
  display: block;
  margin: 0 0 12px !important;
  font-size: 18px;
  font-weight: 800;
  color: #f8fafc !important;
  line-height: 1.35;
}
:is(.shell > main, main) .faq-item p{
  display: block;
  margin: 0 !important;
  color: #cbd5e1 !important;
  line-height: 1.65;
}
:is(.shell > main, main) .faq-item:last-child{
  margin-bottom: 0;
}
@media (max-width: 768px){
  :is(.shell > main, main) .faq-item{
    padding: 14px 16px;
    margin-bottom: 18px;
  }
  :is(.shell > main, main) .faq-item h3{
    font-size: 16px;
    margin-bottom: 10px !important;
  }
}

.aside .nav a.is-active .nav-txt,
.drawer .nav a.is-active .nav-txt{
  border-bottom:none !important;
  padding-bottom:0 !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:#7ee8c4 !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:#fda4af !important;
}
:is(.shell > main, main) :is(.chip, .chip-txt){
  color:#f1f5f9 !important;
  -webkit-text-fill-color:#f1f5f9 !important;
}
:is(.shell > main, main) .chip-ico{
  color:#5ee9b0 !important;
}

/* ═══════════════════════════════════════════════════════════
   APP PAGE — landing premium (app.html + body.app-page)
═══════════════════════════════════════════════════════════ */
body.app-page{
  background:
    radial-gradient(ellipse 100% 70% at 50% -15%, rgba(18, 160, 110, .22), transparent 52%),
    linear-gradient(180deg, #0c0e14 0%, var(--page-bg, #14161f) 38%);
}

body.app-page .shell > main{
  padding: 14px 0 40px;
  overflow: visible;
  border: 1px solid rgba(94, 233, 176, .12);
  box-shadow:
    0 4px 32px rgba(0, 0, 0, .4),
    0 0 0 1px rgba(200, 164, 74, .08) inset;
}

/* App / Login page — intro + banner float (50% right, text wraps) */
body.app-page .app-float-layout,
body.acceso-page .app-float-layout{
  position: relative;
  width: 100%;
}
body.app-page .app-float-layout::after,
body.acceso-page .app-float-layout::after{
  content: "";
  display: table;
  clear: both;
}
body.app-page .app-float-banner{
  float: right;
  width: min(380px, 46%);
  max-width: min(380px, 46%);
  margin: 0 0 1.25rem 1.75rem;
  padding: 0;
  border: 0;
  line-height: 0;
}
body.acceso-page .app-float-banner{
  float: right;
  width: min(320px, 42%);
  max-width: min(320px, 42%);
  margin: 0 0 1.25rem 1.75rem;
  padding: 0;
  border: 0;
  line-height: 0;
}
body.app-page .app-float-banner__link,
body.acceso-page .app-float-banner__link{
  display: block;
  border-radius: 16px;
  overflow: hidden;
  line-height: 0;
  background: linear-gradient(180deg, #5c1218 0%, #4a0e16 55%, #3d0814 100%);
  border: 1px solid rgba(212, 175, 90, .35);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, .45),
    0 0 0 1px rgba(200, 164, 74, .18) inset;
  transition: transform .25s ease, box-shadow .25s ease;
}
body.app-page .app-float-banner__link:hover,
body.acceso-page .app-float-banner__link:hover{
  transform: translateY(-2px);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, .5),
    0 0 0 1px rgba(212, 175, 90, .28) inset,
    0 0 24px rgba(184, 146, 63, .22);
}
body.app-page .app-float-banner__img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 682 / 1024;
  object-fit: contain;
  object-position: center;
}
body.acceso-page .app-float-banner__img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 545 / 1006;
  object-fit: contain;
  object-position: center top;
}
@media (max-width: 900px){
  body.app-page .app-float-banner,
  body.acceso-page .app-float-banner{
    float: none;
    width: 100%;
    max-width: min(400px, 100%);
    margin: 0 auto 1.25rem;
  }
}

/* App / Login — wider article column + text wrap around portrait banner */
body.app-page .legal-doc,
body.acceso-page .legal-doc{
  max-width: min(1100px, 100%);
}
body.app-page .app-float-layout .legal-note,
body.acceso-page .app-float-layout .legal-note{
  margin-top: 0;
}
body.app-page .app-float-layout :is(.table-wrapper, .sub-mid-cta, .cta-center, .faq-item),
body.acceso-page .app-float-layout :is(.table-wrapper, .sub-mid-cta, .cta-center, .faq-item){
  clear: both;
}
body.app-page .app-float-layout > h2,
body.acceso-page .app-float-layout > h2{
  clear: none;
}

body.app-page .app-hero{
  position: relative;
  margin: 0;
  padding: 0 clamp(12px, 3.5vw, 28px);
}

body.app-page .app-hero--balanced{
  max-width: min(1100px, 100%);
  margin-inline: auto;
}

body.app-page .app-hero__glow{
  pointer-events: none;
  position: absolute;
  inset: -18% -6% auto;
  height: 70%;
  background: radial-gradient(ellipse 72% 52% at 50% 0%, rgba(18, 160, 110, .38), transparent 72%);
  opacity: .75;
  z-index: 0;
}

body.app-page .app-hero__frame{
  position: relative;
  z-index: 1;
  margin: 0;
  padding: clamp(10px, 2vw, 18px);
  border-radius: 22px;
  overflow: hidden;
  line-height: 0;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(18, 160, 110, .14), transparent 55%),
    linear-gradient(165deg, rgba(22, 28, 38, .98) 0%, rgba(8, 10, 16, .99) 100%);
  border: 1px solid rgba(94, 233, 176, .22);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, .5),
    0 0 0 1px rgba(200, 164, 74, .18) inset,
    0 0 0 1px rgba(255, 255, 255, .05) inset,
    0 0 48px rgba(18, 160, 110, .12);
}

body.app-page .app-hero__img{
  width: 100%;
  display: block;
  vertical-align: middle;
  line-height: 0;
}
body.app-page .app-hero__frame picture{
  display: block;
  width: 100%;
  line-height: 0;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(ellipse 100% 100% at 50% 40%, rgba(0, 0, 0, .35), rgba(6, 8, 12, .92));
}

/* Sin recorte: imagen completa (p. ej. 1024×682 WebP/PNG); letterboxing suave */
body.app-page .app-hero__img.banner.banner--promo-hero{
  aspect-ratio: auto;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: min(78vh, 780px);
  object-fit: contain;
  object-position: center center;
  border-radius: 14px;
}
@media (max-width: 992px){
  body.app-page .app-hero__img.banner.banner--promo-hero{
    max-height: min(74vh, 700px);
  }
}
@media (max-width: 768px){
  body.app-page .app-hero__img.banner.banner--promo-hero{
    max-height: min(64vh, 560px);
  }
}
@media (max-width: 480px){
  body.app-page .app-hero__img.banner.banner--promo-hero{
    max-height: min(58vh, 480px);
  }
}
@media (max-width: 380px){
  body.app-page .app-hero__img.banner.banner--promo-hero{
    max-height: min(52vh, 420px);
  }
}

body.app-page .app-hero__bar{
  height: 3px;
  width: 100%;
  margin: 14px 0 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(200, 164, 74, .25) 15%,
    var(--gold2, #c8a44a) 50%,
    rgba(200, 164, 74, .25) 85%,
    transparent 100%
  );
  box-shadow: 0 0 20px rgba(200, 164, 74, .22);
}

body.app-page .app-landing{
  max-width: min(1100px, 100%);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 40px) clamp(16px, 3.5vw, 28px) 0;
}

body.app-page .app-landing__intro{
  display: block;
  max-width: 52rem;
  margin: 0 auto;
  padding: clamp(8px, 2vw, 16px) clamp(8px, 2vw, 20px) 4px;
  text-align: center;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, rgba(15, 18, 26, .35) 0%, transparent 100%);
}

body.app-page .app-landing__eyebrow{
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(200, 164, 74, .95);
  margin: 0 auto 10px;
}

body.app-page .app-landing__title{
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: .02em;
  color: #f8fafc !important;
  margin: 0 auto 14px;
  text-shadow:
    0 2px 24px rgba(0, 0, 0, .45),
    0 0 42px rgba(18, 160, 110, .22);
}

body.app-page .app-landing__lead{
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #c8d0e0 !important;
  margin: 0 auto;
  max-width: 58ch;
}

body.app-page .app-landing__guide{
  margin-top: 20px;
  padding-top: 16px;
}

body.app-page .app-landing__guide > h2:first-of-type{
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(148, 163, 184, .15);
}

body.app-page .app-landing__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 36px !important;
  margin-bottom: 10px;
}

@media (max-width: 480px){
  body.app-page .app-landing__actions{
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  body.app-page .app-landing__actions .pulse-btn{
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px){
  body.app-page .app-landing{
    padding-top: 22px;
  }
}

/* Banner bono (modal regalo / icono regalo) */
.offers-panel:has(.offers-panel__img--bono){
  --offers-modal-max-w:min(94vw, 560px);
}
.offers-panel:has(.offers-panel__img--bono) .offers-panel__body{
  flex:0 1 auto;
  min-height:auto;
  overflow:visible;
  padding:8px var(--offers-panel-pad-x) 0;
}
.offers-panel:has(.offers-panel__img--bono) .offers-panel__foot{
  margin-top:6px;
  padding:8px 14px 14px;
}
.offers-panel__img--bono{
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  max-height:min(calc(90dvh - 172px), calc(94vw - 36px), 560px);
  aspect-ratio:1020 / 1024;
  object-fit:contain;
  object-position:center;
  margin:0 auto;
  border-radius:14px !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .12),
    0 0 0 1px rgba(0, 0, 0, .35),
    0 20px 56px rgba(0, 0, 0, .55),
    0 0 72px rgba(184, 146, 63, .18) !important;
}
@media (max-width:640px){
  .offers-panel:has(.offers-panel__img--bono){
    --offers-modal-max-w:min(96vw, 520px);
  }
  .offers-panel__img--bono{
    max-height:min(calc(90dvh - 156px), calc(96vw - 28px), 520px);
  }
}
@media (hover:hover){
  .offers-panel__link:hover .offers-panel__img--bono{
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, .16),
      0 0 0 1px rgba(197, 160, 89, .35),
      0 24px 64px rgba(0, 0, 0, .6),
      0 0 88px rgba(184, 146, 63, .24) !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   BONUS PAGE — hero banda horizontal (bonus.html + body.bonus-page)
═══════════════════════════════════════════════════════════ */
body.bonus-page{
  background:
    radial-gradient(ellipse 100% 70% at 50% -15%, rgba(0, 179, 104, .12), transparent 52%),
    linear-gradient(180deg, #0c0f0d 0%, var(--page-bg, #0a0c0b) 38%);
}
body.bonus-page .shell > main{
  padding: clamp(10px, 2.5vw, 20px) clamp(14px, 3.5vw, 28px) 40px;
  overflow: hidden;
  border: 1px solid rgba(94, 233, 176, .1);
  box-shadow:
    0 4px 32px rgba(0, 0, 0, .4),
    0 0 0 1px rgba(200, 164, 74, .06) inset;
}
/* Título separado del hero: evita solaparse con el resplandor */
body.bonus-page :is(.shell > main, main) > .page-title{
  position: relative;
  z-index: 2;
  margin: 6px auto 22px;
  padding: 0 clamp(8px, 2vw, 16px);
  max-width: min(1100px, 100%);
}
body.bonus-page .bonus-hero{
  position: relative;
  z-index: 1;
  margin: 0 auto 6px;
  padding: 0;
  max-width: min(1100px, 100%);
  overflow: hidden;
  border-radius: 22px;
}
body.bonus-page .bonus-hero__glow{
  pointer-events: none;
  position: absolute;
  left: -4%;
  right: -4%;
  top: 0;
  height: 55%;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(18, 160, 110, .28), transparent 72%);
  opacity: .55;
  z-index: 0;
}
body.bonus-page .bonus-hero--image-only > .frame{
  position: relative;
  z-index: 1;
  margin: 0;
  padding: clamp(10px, 2vw, 16px);
  border-radius: 18px;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(18, 160, 110, .1), transparent 55%),
    linear-gradient(180deg, rgba(22, 28, 38, .98) 0%, rgba(10, 12, 18, .99) 100%);
  border: 1px solid rgba(94, 233, 176, .22);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, .48),
    0 0 0 1px rgba(200, 164, 74, .12) inset,
    0 0 0 1px rgba(255, 255, 255, .05) inset;
}
body.bonus-page .bonus-hero .frame::before{
  border-color: rgba(94, 233, 176, .16);
  opacity: .55;
}
body.bonus-page .bonus-hero .banner-link picture{
  display: block;
  width: 100%;
  line-height: 0;
  border-radius: var(--bannerRad, 12px);
  overflow: hidden;
  background: radial-gradient(ellipse 100% 100% at 50% 40%, rgba(0, 0, 0, .28), rgba(10, 12, 18, .94));
}
/* Hero bonus: 1024×682 WebP/PNG — sin recorte forzado por ratio 1024×499 global */
body.bonus-page .bonus-hero .banner.banner--promo-hero{
  aspect-ratio: auto;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: min(68vh, 640px);
  object-fit: contain;
  object-position: center center;
}
@media (max-width: 992px){
  body.bonus-page .bonus-hero .banner.banner--promo-hero{
    max-height: min(64vh, 520px);
  }
}
@media (max-width: 768px){
  body.bonus-page .bonus-hero .banner.banner--promo-hero{
    max-height: min(58vh, 440px);
  }
}
@media (max-width: 480px){
  body.bonus-page .bonus-hero .banner.banner--promo-hero{
    max-height: min(52vh, 380px);
  }
}

body.bonus-page .bonus-hero__bar{
  height: 3px;
  margin: 14px auto 0;
  max-width: min(1100px, 100%);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(200, 164, 74, .25) 18%,
    var(--gold2, #c8a44a) 50%,
    rgba(200, 164, 74, .25) 82%,
    transparent 100%
  );
  box-shadow: 0 0 16px rgba(200, 164, 74, .2);
}
body.bonus-page .shell > main > .section.intro.legal-doc{
  padding-top: clamp(18px, 3vw, 28px);
  margin-top: 4px;
  max-width: min(1100px, 100%);
  margin-inline: auto;
}

/* ═══════════════════════════════════════════════════════════
   CÓDIGOS PROMOCIONALES — hero + pilares (codigos-promocionales.html)
═══════════════════════════════════════════════════════════ */
body.codigos-page{
  background:
    radial-gradient(ellipse 90% 55% at 50% -12%, rgba(200, 164, 74, .1), transparent 55%),
    radial-gradient(ellipse 70% 40% at 85% 20%, rgba(0, 179, 104, .07), transparent 50%),
    linear-gradient(180deg, #0c0f0d 0%, var(--page-bg, #0a0c0b) 42%);
}
body.codigos-page .shell > main{
  padding: clamp(10px, 2.5vw, 20px) clamp(14px, 3.5vw, 28px) 44px;
  overflow: hidden;
  border: 1px solid rgba(200, 164, 74, .12);
  box-shadow:
    0 4px 36px rgba(0, 0, 0, .45),
    0 0 0 1px rgba(18, 160, 110, .06) inset;
}
body.codigos-page :is(.shell > main, main) > .page-title{
  position: relative;
  z-index: 2;
  margin: 6px auto 18px;
  padding: 0 clamp(8px, 2vw, 16px);
  max-width: min(1100px, 100%);
}
body.codigos-page .codigos-hero-frame{
  max-width: min(1100px, 100%);
  margin: 0 auto 4px;
  padding: clamp(10px, 2vw, 16px);
  border-radius: 18px;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(18, 160, 110, .1), transparent 55%),
    linear-gradient(180deg, rgba(22, 28, 38, .98) 0%, rgba(10, 12, 18, .99) 100%);
  border: 1px solid rgba(94, 233, 176, .2);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, .42),
    0 0 0 1px rgba(200, 164, 74, .1) inset,
    0 0 0 1px rgba(255, 255, 255, .05) inset;
}
body.codigos-page .codigos-hero-frame::before{
  border-color: rgba(94, 233, 176, .14);
  opacity: .5;
}
body.codigos-page .codigos-hero-frame .banner-wrap{
  position: relative;
  z-index: 1;
}
body.codigos-page .codigos-hero-frame .banner-link picture{
  display: block;
  width: 100%;
  line-height: 0;
  border-radius: var(--bannerRad, 12px);
  overflow: hidden;
  background: radial-gradient(ellipse 100% 100% at 50% 40%, rgba(0, 0, 0, .28), rgba(10, 12, 18, .94));
}
/* Hero códigos: 1024×628 WebP/PNG — sin recorte forzado por ratio global 1024×499 */
body.codigos-page .codigos-hero-frame .banner.banner--promo-hero{
  aspect-ratio: auto;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: min(68vh, 620px);
  object-fit: contain;
  object-position: center center;
}
@media (max-width: 992px){
  body.codigos-page .codigos-hero-frame .banner.banner--promo-hero{
    max-height: min(62vh, 520px);
  }
}
@media (max-width: 768px){
  body.codigos-page .codigos-hero-frame .banner.banner--promo-hero{
    max-height: min(56vh, 440px);
  }
}
@media (max-width: 480px){
  body.codigos-page .codigos-hero-frame .banner.banner--promo-hero{
    max-height: min(50vh, 380px);
  }
}
body.codigos-page .codigo-pillars{
  padding: clamp(22px, 3vw, 32px) clamp(14px, 2.5vw, 28px) clamp(8px, 1.5vw, 14px);
  background: linear-gradient(180deg, rgba(20, 22, 30, .6) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
body.codigos-page .codigo-pillars__inner{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 20px);
  max-width: 1100px;
  margin: 0 auto;
}
body.codigos-page .codigo-pillar{
  padding: clamp(16px, 2vw, 22px) clamp(14px, 1.8vw, 20px);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(200, 164, 74, .15);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .25);
}
body.codigos-page .codigo-pillar__label{
  display: block;
  margin-bottom: 8px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold1, #f0d78c);
}
body.codigos-page .codigo-pillar p{
  margin: 0;
  font-size: clamp(0.78rem, 0.35vw + 0.7rem, 0.86rem);
  line-height: 1.55;
  color: rgba(203, 213, 225, .95);
}
body.codigos-page .shell > main > .section.intro.legal-doc{
  padding-top: clamp(18px, 2.5vw, 26px);
}
@media (max-width: 900px){
  body.codigos-page .codigo-pillars__inner{
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════
   GIROS GRATIS — layout main (giros-gratis.html)
═══════════════════════════════════════════════════════════ */
body.giros-page .shell > main{
  padding: clamp(10px, 2.5vw, 20px) clamp(14px, 3.5vw, 28px) 44px;
  overflow: hidden;
  border: 1px solid rgba(200, 164, 74, .12);
  box-shadow:
    0 4px 36px rgba(0, 0, 0, .45),
    0 0 0 1px rgba(18, 160, 110, .06) inset;
}
body.giros-page :is(.shell > main, main) > .page-title{
  position: relative;
  z-index: 2;
  margin: 6px auto 18px;
  padding: 0 clamp(8px, 2vw, 16px);
  max-width: min(1100px, 100%);
}
body.giros-page .giros-hero-frame{
  max-width: min(1100px, 100%);
  margin: 0 auto 4px;
  padding: clamp(10px, 2vw, 16px);
  border-radius: 18px;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(18, 160, 110, .12), transparent 55%),
    linear-gradient(180deg, rgba(22, 28, 38, .98) 0%, rgba(10, 12, 18, .99) 100%);
  border: 1px solid rgba(94, 233, 176, .2);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, .42),
    0 0 0 1px rgba(200, 164, 74, .1) inset,
    0 0 0 1px rgba(255, 255, 255, .05) inset;
}
body.giros-page .giros-hero-frame:before{
  border-color: rgba(94, 233, 176, .14);
  opacity: .5;
}
body.giros-page .giros-hero-frame .banner-wrap{
  position: relative;
  z-index: 1;
}
body.giros-page .giros-hero-frame .banner-link picture{
  display: block;
  width: 100%;
  line-height: 0;
  border-radius: var(--bannerRad, 12px);
  overflow: hidden;
  background: radial-gradient(ellipse 100% 100% at 50% 40%, rgba(0, 0, 0, .28), rgba(10, 12, 18, .94));
}
/* Hero giros: 1024×510 WebP/PNG — sin recorte forzado por ratio 1024×511 global */
body.giros-page .giros-hero-frame .banner.banner--promo-hero{
  aspect-ratio: auto;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: min(68vh, 600px);
  object-fit: contain;
  object-position: center center;
}
@media (max-width: 992px){
  body.giros-page .giros-hero-frame .banner.banner--promo-hero{
    max-height: min(62vh, 500px);
  }
}
@media (max-width: 768px){
  body.giros-page .giros-hero-frame .banner.banner--promo-hero{
    max-height: min(56vh, 420px);
  }
}
@media (max-width: 480px){
  body.giros-page .giros-hero-frame .banner.banner--promo-hero{
    max-height: min(50vh, 360px);
  }
}
body.giros-page .shell > main > .section.intro.legal-doc{
  padding-top: clamp(18px, 2.5vw, 26px);
}

/* ═══════════════════════════════════════════════════════════
   ACCESO / INICIAR SESIÓN — tarjeta centrada + banner (iniciar-sesion.html)
═══════════════════════════════════════════════════════════ */
body.acceso-page .shell > main{
  padding: 12px 18px 40px;
  overflow: visible;
}
body.acceso-page .page-title{
  margin-bottom: clamp(14px, 2.2vw, 22px);
}
body.acceso-page .acceso-panel{
  max-width: min(960px, 100%);
  margin: 0 auto;
}
body.acceso-page .acceso-panel__inner{
  padding: clamp(20px, 3.2vw, 32px);
  border-radius: 22px;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(30, 82, 120, .18), transparent 52%),
    radial-gradient(80% 70% at 100% 12%, rgba(11, 20, 29, .28), transparent 45%),
    linear-gradient(165deg, rgba(26, 61, 92, .97), rgba(11, 20, 29, .94));
  border: 1px solid rgba(197, 160, 89, .22);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, .42),
    0 0 0 1px rgba(255, 255, 255, .05) inset,
    inset 0 1px 0 rgba(255, 255, 255, .07);
}
body.acceso-page .acceso-panel__grid{
  display: block;
}
body.acceso-page .acceso-panel__copy{
  overflow: hidden;
}
body.acceso-page .acceso-panel__copy::after{
  content:"";
  display:table;
  clear:both;
}
body.acceso-page .acceso-panel__eyebrow{
  margin: 0 0 10px;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #c5a059;
}
body.acceso-page .acceso-panel__lead{
  margin: 0 0 20px;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.65;
  color: #e8edf7 !important;
}
body.acceso-page .acceso-panel__h{
  margin: 22px 0 10px;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: clamp(15px, 1.25vw, 17px);
  font-weight: 800;
  color: #f8fafc !important;
  letter-spacing: .02em;
}
body.acceso-page .acceso-panel__h:first-of-type{
  margin-top: 0;
}
body.acceso-page .acceso-panel__p{
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.65;
  color: #d1d6e6 !important;
}
body.acceso-page .acceso-panel__list{
  margin: 0;
  padding-left: 1.2rem;
  color: #d1d6e6 !important;
  line-height: 1.62;
}
body.acceso-page .acceso-panel__list li{
  margin: 0 0 10px;
}
body.acceso-page .acceso-panel__note{
  margin: 20px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.55;
  background: rgba(11, 20, 29, .55);
  border: 1px solid rgba(197, 160, 89, .22);
  color: #e2e8f0 !important;
}
body.acceso-page .acceso-panel__links{
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(226, 232, 240, .88) !important;
}
body.acceso-page .acceso-panel__links a{
  color: #c5a059 !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(197, 160, 89, .35);
}
body.acceso-page .acceso-panel__links a:hover{
  color: #f0d48a !important;
  border-bottom-color: rgba(240, 212, 138, .45);
}
body.acceso-page .acceso-panel__cta{
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}
body.acceso-page .acceso-panel__cta .pulse-btn{
  text-transform: none;
  letter-spacing: .04em;
  font-size: 15px;
  padding: 14px 26px;
}
body.acceso-page .acceso-panel__cta-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 20px;
  border:none;
  border-radius:0;
  font-family:Montserrat, system-ui, sans-serif;
  font-weight:800;
  font-size:14px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  text-decoration:none !important;
  text-shadow:0 1px 2px rgba(0,0,0,.45);
  position:relative;
  z-index:0;
  isolation:isolate;
  clip-path:var(--casea-clip);
  background:var(--casea-btn-face);
  box-shadow:0 4px 14px rgba(0,0,0,.4);
  transition:filter .2s ease, box-shadow .2s ease;
}
body.acceso-page .acceso-panel__cta-secondary::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  clip-path:var(--casea-clip);
  background:linear-gradient(180deg, rgba(255,255,255,.22) 0%, transparent 40%);
  opacity:.85;
}
body.acceso-page .acceso-panel__cta-secondary::after{
  content:"";
  position:absolute;
  inset:var(--casea-btn-frame, -3px);
  z-index:-1;
  pointer-events:none;
  clip-path:var(--casea-clip);
  background:var(--casea-btn-gold);
}
body.acceso-page .acceso-panel__cta-secondary:hover{
  filter:brightness(1.08) saturate(1.05);
  color:#fff !important;
  box-shadow:0 6px 18px rgba(74,144,226,.35), 0 4px 14px rgba(0,0,0,.45);
}
body.acceso-page .acceso-panel__visual{
  float: right;
  width: min(320px, 36%);
  max-width: 100%;
  margin: 0 0 12px 24px;
  shape-outside: inset(0 round 18px);
  shape-margin: 12px;
}
body.acceso-page .acceso-panel__banner-link{
  display: block;
  line-height: 0;
  text-decoration: none !important;
  border-radius: 18px;
  transition: transform .28s ease, box-shadow .28s ease;
}
body.acceso-page .acceso-panel__banner-link:hover{
  transform: translateY(-2px);
}
body.acceso-page .acceso-panel__banner-link:focus-visible{
  outline: 2px solid #c5a059;
  outline-offset: 3px;
}
body.acceso-page .acceso-panel__banner-frame{
  display: block;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(197, 160, 89, .28);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, .45),
    0 0 0 1px rgba(255, 255, 255, .06) inset,
    0 0 40px rgba(30, 82, 120, .18);
}
body.acceso-page .acceso-panel__banner-link:hover .acceso-panel__banner-frame{
  box-shadow:
    0 20px 56px rgba(0, 0, 0, .5),
    0 0 0 1px rgba(197, 160, 89, .22) inset,
    0 0 48px rgba(30, 82, 120, .24);
}
body.acceso-page .acceso-panel__banner-frame picture{
  display: block;
  width: 100%;
  line-height: 0;
}
body.acceso-page .acceso-panel__banner{
  width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
}
body.acceso-page .acceso-panel__trust{
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
  clear: both;
  width: 100%;
}
body.acceso-page .acceso-panel__trust li{
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(241, 245, 249, .9) !important;
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .1);
}
body.acceso-page .acceso-panel__caption{
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
  color: rgba(203, 213, 225, .72) !important;
  clear: both;
  width: 100%;
}
@media (max-width: 860px){
  body.acceso-page .acceso-panel__visual{
    width: min(300px, 42%);
    margin: 4px 0 14px 18px;
  }
}
@media (max-width: 560px){
  body.acceso-page .acceso-panel__visual{
    float: none;
    width: 100%;
    max-width: min(420px, 100%);
    margin: 0 auto 18px;
  }
}
@media (max-width: 640px){
  body.acceso-page .shell > main{
    padding: 10px 12px 32px;
  }
  body.acceso-page .acceso-panel__inner{
    padding: 18px 16px 20px;
    border-radius: 18px;
  }
  body.acceso-page .acceso-panel__cta{
    flex-direction: column;
    align-items: stretch;
  }
  body.acceso-page .acceso-panel__cta .pulse-btn,
  body.acceso-page .acceso-panel__cta-secondary{
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   MÓVIL GLOBAL — refuerzo (safe area, shell, cabecera, footer)
   Aplica a todas las páginas con el layout estándar
═══════════════════════════════════════════════════════════ */
@media (max-width: 992px){
  html{
    overflow-x: hidden;
  }
  .shell{
    padding:
      max(10px, env(safe-area-inset-top, 0px))
      max(10px, env(safe-area-inset-right, 0px))
      max(12px, env(safe-area-inset-bottom, 0px))
      max(10px, env(safe-area-inset-left, 0px));
    gap: 12px;
  }
  header .head{
    padding-left: max(10px, env(safe-area-inset-left, 0px));
    padding-right: max(10px, env(safe-area-inset-right, 0px));
    position: relative;
    flex-wrap: wrap;
    row-gap: 8px;
    column-gap: 8px;
  }
  /* Fila 1 móvil: menú | logo centrado | regalo + búsqueda a la derecha */
  header .head::after{
    content:"";
    order:9;
    flex-basis:100%;
    width:0;
    height:0;
  }
  .head .burger{
    order:1;
    position: relative;
    z-index: 2;
  }
  .head .logo{
    order:2;
    position: absolute;
    left: 50%;
    top: 12px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    height: 44px;
    z-index: 1;
  }
  .head .head-nav{ display: none; }
  .head .offers-trigger{
    order:3;
    margin-left: auto;
  }
  .head .head-search-ico{ order:4; }
  .head .btn--login{ order:10; }
  .head .btn--reg{ order:11; }
  .head .btn{
    min-width: 0;
    flex: 1 1 calc(50% - 34px);
    min-height: 44px;
    padding: 0 10px;
    font-size: clamp(10px, 2.8vw, 12px);
    letter-spacing: 0.05em;
  }
  main picture,
  main .banner-wrap,
  main .banner-link{
    max-width: 100%;
  }
}

@media (max-width: 560px){
  .head .btn{
    flex: 1 1 100%;
    max-width: none;
  }
}

@media (max-width: 640px){
  .ft-page{
    justify-content: flex-start;
    row-gap: 10px;
    column-gap: 12px;
    padding-left: max(6px, env(safe-area-inset-left, 0px));
    padding-right: max(6px, env(safe-area-inset-right, 0px));
    font-size: 12px;
    line-height: 1.45;
  }
  .ft-page a{
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 10px;
    border-bottom: none;
    background: rgba(255, 255, 255, .05);
  }
  .ft-page a:hover{
    background: rgba(255, 255, 255, .1);
  }
}

@media (max-width: 520px){
  .ft-grid .ft-col{
    padding-bottom: 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }
  .ft-grid .ft-col:last-child{
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}

@media (max-width: 480px){
  .shell > main{
    border-radius: 10px;
  }
  body.bonus-page .shell > main,
  body.codigos-page .shell > main,
  body.giros-page .shell > main,
  body.app-page .shell > main{
    padding-left: max(8px, env(safe-area-inset-left, 0px));
    padding-right: max(8px, env(safe-area-inset-right, 0px));
  }
}

@media (hover: none) and (pointer: coarse){
  body.acceso-page .acceso-panel__banner-link:hover{
    transform: none;
  }
}

@media (max-width: 420px){
  header .logo img{
    max-width: min(148px, 48vw);
  }
}

button,
.btn,
.pulse-btn,
.ft-btn,
.offers-trigger,
.burger,
.head-search-ico{
  touch-action: manipulation;
}

/* ═══ CASEA — тёмно-синие кнопки + золотая обводка ═══ */
:is(
  .pulse-btn,
  .vmore-btn,
  .ft-btn,
  .hero-cta,
  .btn--login,
  .btn--reg,
  .head .btn,
  .play,
  body.acceso-page .acceso-panel__cta .pulse-btn,
  body.acceso-page .acceso-panel__cta-secondary
){
  position:relative !important;
  z-index:0 !important;
  isolation:isolate !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:none !important;
  border-radius:0 !important;
  clip-path:var(--casea-clip) !important;
  background:transparent !important;
  box-shadow:0 4px 14px rgba(0,0,0,.45) !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  text-shadow:none !important;
  font-weight:800 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
  text-decoration:none !important;
  line-height:1 !important;
}
.play{
  clip-path:var(--casea-clip-sm) !important;
}
:is(
  .pulse-btn,
  .vmore-btn,
  .ft-btn,
  .hero-cta,
  .btn--login,
  .btn--reg,
  .head .btn,
  .play,
  body.acceso-page .acceso-panel__cta .pulse-btn,
  body.acceso-page .acceso-panel__cta-secondary
)::before{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  inset:var(--casea-btn-border, 3px) !important;
  z-index:-1 !important;
  pointer-events:none !important;
  border-radius:0 !important;
  clip-path:var(--casea-clip-inner) !important;
  background:var(--casea-btn-blue) !important;
  opacity:1 !important;
}
.play::before{
  clip-path:var(--casea-clip-sm-inner) !important;
}
:is(
  .pulse-btn,
  .vmore-btn,
  .ft-btn,
  .hero-cta,
  .btn--login,
  .btn--reg,
  .head .btn,
  .play,
  body.acceso-page .acceso-panel__cta .pulse-btn,
  body.acceso-page .acceso-panel__cta-secondary
)::after{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  z-index:-2 !important;
  pointer-events:none !important;
  border-radius:0 !important;
  clip-path:var(--casea-clip) !important;
  background:var(--casea-btn-gold) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,236,180,.35),
    0 0 0 1px rgba(80,60,20,.45) !important;
  opacity:1 !important;
}
.play::after{
  clip-path:var(--casea-clip-sm) !important;
}
.head .btn,
.head .btn--login,
.head .btn--reg{
  animation:none !important;
  font-size:13px !important;
  min-width:132px !important;
  height:40px !important;
  padding:0 22px !important;
}
:is(.pulse-btn, .vmore-btn, .ft-btn, .hero-cta, .btn--reg, .ft-btn.pulse, .ft-btn.is-pulsing, .pulse){
  animation:casea-btn-pulse 2.4s infinite;
}
@media (hover:hover){
  :is(.pulse-btn, .vmore-btn, .ft-btn, .hero-cta, .btn--login, .btn--reg, .head .btn, .play):hover{
    filter:brightness(1.06) !important;
    box-shadow:0 6px 16px rgba(0,0,0,.5), 0 0 12px rgba(197,160,89,.45) !important;
  }
}

/* Кнопки в тексте контента — чуть компактнее */
:is(.shell > main, main) :is(.pulse-btn, .vmore-btn),
body.acceso-page .acceso-panel__cta .pulse-btn,
body.acceso-page .acceso-panel__cta-secondary{
  padding:11px 22px !important;
  font-size:14px !important;
  min-height:40px !important;
  letter-spacing:.06em !important;
}
@media (max-width:768px){
  :is(.shell > main, main) :is(.pulse-btn, .vmore-btn),
  body.acceso-page .acceso-panel__cta .pulse-btn,
  body.acceso-page .acceso-panel__cta-secondary{
    padding:10px 18px !important;
    font-size:13px !important;
    min-height:38px !important;
  }
  :is(.shell > main, main) .cta-center .pulse-btn{
    max-width:min(300px, 100%) !important;
  }
}
@media (max-width:480px){
  :is(.shell > main, main) :is(.pulse-btn, .vmore-btn),
  body.acceso-page .acceso-panel__cta .pulse-btn,
  body.acceso-page .acceso-panel__cta-secondary{
    padding:9px 16px !important;
    font-size:12px !important;
    min-height:36px !important;
  }
}

/* Боковое меню скроллится вместе со страницей */
@media (min-width:993px){
  .aside{
    position:relative !important;
    top:auto !important;
    align-self:start !important;
    max-height:none !important;
    overflow-y:visible !important;
    -webkit-overflow-scrolling:auto;
  }
}

/* Фон страницы + чипы Casoola */
html{
  background:#3d0a18 !important;
}
body:before{
  background-color:#3d0a18 !important;
  background-image:
    repeating-linear-gradient(60deg, rgba(0,0,0,.06) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(-60deg, rgba(0,0,0,.06) 0 1px, transparent 1px 14px),
    linear-gradient(180deg, #4a0e1a 0%, #3d0a18 50%, #2d0610 100%) !important;
}
.shell .chips,
main .chips{
  background:rgba(45,6,16,.94) !important;
  border:1px solid rgba(212,175,90,.22) !important;
  border-radius:14px !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04), 0 4px 16px rgba(0,0,0,.28) !important;
}
.chip,
.shell .chips a.chip{
  background:transparent !important;
  border:none !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
.chip::after,
.shell .chips a.chip::after{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  border-radius:10px !important;
  background:var(--casea-btn-gold) !important;
  z-index:-2 !important;
}
.chip::before,
.shell .chips a.chip::before{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  inset:2px !important;
  border-radius:8px !important;
  background:linear-gradient(180deg, #5c1020 0%, #4a0e1a 55%, #3d0814 100%) !important;
  z-index:-1 !important;
}
:is(.chip-ico, .chip-ico svg){
  color:#e8c872 !important;
  stroke:currentColor !important;
  position:relative !important;
  z-index:1 !important;
}
:is(.chip-txt){
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  position:relative !important;
  z-index:1 !important;
}
#login .login-note,
.login-note{
  display:none !important;
}
.home-vip-promo{
  display:none !important;
}
.table-wrapper{
  background:transparent !important;
  border:1px solid rgba(212,175,90,.32) !important;
  border-radius:16px !important;
  box-shadow:0 8px 28px rgba(0,0,0,.35) !important;
  overflow:hidden !important;
}
.table-wrapper table{
  background:transparent !important;
}
.table-wrapper thead th:first-child{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  background:linear-gradient(180deg, #b8923f 0%, #9a7830 45%, #7a5e24 100%) !important;
  border-bottom:1px solid rgba(80,60,20,.35) !important;
  text-transform:none !important;
}
.table-wrapper thead th:not(:first-child){
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  background:linear-gradient(180deg, #5c1218 0%, #4a0e16 50%, #3d0814 100%) !important;
  border-bottom:1px solid rgba(212,175,90,.14) !important;
  text-transform:none !important;
  font-weight:600 !important;
}
.table-wrapper tbody tr,
.table-wrapper tbody tr:nth-child(even){
  background:transparent !important;
}
.table-wrapper tbody tr:hover{
  background:transparent !important;
}
.table-wrapper tbody th[scope="row"],
.table-wrapper tbody :is(td,th):first-child,
#facts .table-wrapper tbody th[scope="row"],
#facts .table-wrapper :is(td,th):first-child,
#bonuses .table-wrapper tbody th[scope="row"],
#bonuses .table-wrapper :is(td,th):first-child,
#payments .table-wrapper tbody th[scope="row"],
#payments .table-wrapper :is(td,th):first-child,
main .table-wrapper tbody th[scope="row"],
main .table-wrapper :is(td,th):first-child,
main .legal-doc .table-wrapper tbody th[scope="row"],
main .legal-doc .table-wrapper :is(td,th):first-child{
  background:linear-gradient(180deg, #b8923f 0%, #9a7830 45%, #7a5e24 100%) !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  font-weight:700 !important;
  text-shadow:0 1px 2px rgba(0,0,0,.45);
  border-bottom:1px solid rgba(80,60,20,.32) !important;
}
.table-wrapper tbody td,
#facts .table-wrapper tbody td,
#bonuses .table-wrapper tbody td,
#payments .table-wrapper tbody td,
main .table-wrapper tbody td,
main .legal-doc .table-wrapper tbody td{
  background:linear-gradient(180deg, #5c1218 0%, #4a0e16 50%, #3d0814 100%) !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  font-weight:400 !important;
  border-bottom:1px solid rgba(212,175,90,.14) !important;
}
.table-wrapper tbody tr:hover th[scope="row"],
.table-wrapper tbody tr:hover :is(td,th):first-child{
  filter:brightness(1.06) !important;
}
.table-wrapper tbody tr:hover td{
  background:linear-gradient(180deg, #6b1a2e 0%, #4a0e16 50%, #3d0814 100%) !important;
}
.popular-games__meta{
  background:linear-gradient(180deg, #b8923f 0%, #9a7830 45%, #7a5e24 100%) !important;
  border-top:1px solid rgba(168,132,63,.38) !important;
}
.popular-games__title,
.popular-games__vendor{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  text-shadow:0 1px 2px rgba(0,0,0,.4);
}
.popular-games__card{
  background:linear-gradient(180deg, #5c1218 0%, #4a0e16 100%) !important;
  border:1px solid rgba(212,175,90,.22) !important;
}
.popular-games__media::after{
  content:none !important;
  display:none !important;
}
.popular-games__card:hover .popular-games__media::after{
  content:none !important;
  display:none !important;
  opacity:0 !important;
  visibility:hidden !important;
}
.popular-games__card:hover .popular-games__media::before{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  background:rgba(10,22,38,.45) !important;
  z-index:1 !important;
  pointer-events:none !important;
}
/* Game tiles — GIOCA on hover (blue fill + gold frame, not global .play) */
:is(.popular-games__media, .card .media) .game-play-btn{
  position:absolute !important;
  top:50% !important;
  left:50% !important;
  right:auto !important;
  bottom:auto !important;
  transform:translate(-50%,-50%) !important;
  z-index:5 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 !important;
  padding:7px 16px !important;
  font-size:11px !important;
  font-weight:800 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
  line-height:1 !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  white-space:nowrap !important;
  pointer-events:none !important;
  opacity:0 !important;
  visibility:hidden !important;
  transition:opacity .22s ease, visibility .22s ease, transform .22s ease !important;
  isolation:isolate !important;
  clip-path:var(--casea-clip-sm) !important;
  background:transparent !important;
  border:none !important;
  border-radius:0 !important;
  box-shadow:0 4px 14px rgba(0,0,0,.5) !important;
  text-shadow:none !important;
}
:is(.popular-games__media, .card .media) .game-play-btn::before{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  inset:2px !important;
  z-index:-1 !important;
  pointer-events:none !important;
  clip-path:var(--casea-clip-sm-inner) !important;
  background:var(--casea-btn-blue) !important;
  border-radius:0 !important;
}
:is(.popular-games__media, .card .media) .game-play-btn::after{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  z-index:-2 !important;
  pointer-events:none !important;
  clip-path:var(--casea-clip-sm) !important;
  background:var(--casea-btn-gold) !important;
  border-radius:0 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,236,180,.35),
    0 0 0 1px rgba(80,60,20,.45) !important;
}
.card:hover .media::before,
.grid .card:hover .media::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  background:rgba(10,22,38,.45) !important;
  z-index:1 !important;
  pointer-events:none !important;
}
@media (hover: hover){
  .popular-games__card:hover .popular-games__media .game-play-btn,
  .card:hover .media .game-play-btn,
  .grid .card:hover .media .game-play-btn{
    opacity:1 !important;
    visibility:visible !important;
    transform:translate(-50%,-50%) scale(1.04) !important;
  }
}

/* Casoola brand — pulse CTA giallo + LIVE CHAT leggibile */
.pulse-btn{
  color:#2d0610 !important;
  -webkit-text-fill-color:#2d0610 !important;
  text-shadow:0 1px 0 rgba(255,255,255,.35) !important;
  background:linear-gradient(180deg, #ffe566 0%, #ffd43b 45%, #f5c518 100%) !important;
  box-shadow:0 4px 18px rgba(245,197,24,.45), 0 4px 14px rgba(0,0,0,.4) !important;
}
.pulse-btn::after{
  background:linear-gradient(160deg, #f5e6b0 0%, #e8d092 22%, #c5a059 55%, #a8843f 85%, #6e5a28 100%) !important;
  box-shadow:0 0 12px rgba(212,175,90,.5) !important;
}
.pulse-btn::before{
  background:linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,.08) 40%, transparent 60%) !important;
}
.ft-btn{
  font-size:15px !important;
  font-weight:900 !important;
  letter-spacing:.1em !important;
  padding:14px 24px !important;
  color:#fff8f0 !important;
  -webkit-text-fill-color:#fff8f0 !important;
  text-shadow:0 1px 3px rgba(0,0,0,.55), 0 0 12px rgba(212,175,90,.25) !important;
  background:linear-gradient(180deg, #8b2540 0%, #6b1a2e 48%, #4a0e1a 100%) !important;
  box-shadow:0 4px 18px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.12) !important;
}
.ft-btn::after{
  box-shadow:0 0 14px rgba(212,175,90,.55) !important;
}
.ft-btn:hover{
  filter:brightness(1.1) saturate(1.08) !important;
  box-shadow:0 6px 22px rgba(91,127,212,.28), 0 4px 16px rgba(0,0,0,.5) !important;
}

/* Logo — только прозрачный PNG, без рамки и подложки */
.logo,
.ft-logo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  margin:0;
  border:none;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  outline:none;
}
.logo img,
.ft-logo img,
header .logo img,
.site-footer .ft-logo img{
  display:block;
  filter:none !important;
  box-shadow:none !important;
  border:none !important;
  outline:none !important;
  background:transparent !important;
  vertical-align:middle;
}
.ft-head{
  background:transparent !important;
}

/* Подарок и лупа — золотая рамка (chamfer) */
.head .offers-trigger,
.head .head-search-ico{
  position:relative !important;
  isolation:isolate !important;
  border:none !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  clip-path:var(--casea-clip-sm) !important;
  overflow:visible !important;
}
.head .offers-trigger::before,
.head .head-search-ico::before{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  inset:3px !important;
  z-index:0 !important;
  pointer-events:none !important;
  clip-path:var(--casea-clip-sm-inner) !important;
  background:linear-gradient(180deg, #4a0e1a 0%, #2d0610 100%) !important;
  border-radius:0 !important;
}
.head .offers-trigger::after,
.head .head-search-ico::after{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  z-index:-1 !important;
  pointer-events:none !important;
  clip-path:var(--casea-clip-sm) !important;
  background:var(--casea-btn-gold) !important;
  box-shadow:0 0 10px rgba(212,175,90,.4) !important;
  border-radius:0 !important;
}
.head .offers-trigger:hover,
.head .head-search-ico:hover{
  filter:brightness(1.08) !important;
  border-color:transparent !important;
  background:transparent !important;
}
.head .offers-trigger:hover::before,
.head .head-search-ico:hover::before{
  background:linear-gradient(180deg, #6b1a2e 0%, #4a0e1a 100%) !important;
}
.head .offers-trigger__ico,
.head .head-search-ico svg{
  position:relative !important;
  z-index:1 !important;
}
.head .lang-switch{
  display:none !important;
}

/* Casoola — tabella oro/bordeaux, giochi e provider dorati (override finale) */
:is(.shell > main, main) a.card .info,
:is(.shell > main, main) a.card .info :is(p, .title, .vendor, span),
.card .info .title,
.card .info .vendor{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  text-shadow:0 1px 2px rgba(0,0,0,.4);
}
:is(.shell > main, main) a.card .info{
  background:linear-gradient(180deg, #b8923f 0%, #9a7830 45%, #7a5e24 100%) !important;
  border-top:1px solid rgba(168,132,63,.38) !important;
}
:is(.shell > main, main) a.prov,
.prov{
  background:linear-gradient(180deg, #a8843f 0%, #8f6e32 42%, #6e5528 100%) !important;
  border:1px solid rgba(168,132,63,.42) !important;
  color:#fff !important;
}
:is(.shell > main, main) a.prov .prov-name,
.prov-name{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  text-shadow:0 1px 2px rgba(0,0,0,.45);
}
.prov-media{
  background:linear-gradient(180deg, #5c1218 0%, #4a0e16 55%, #3d0814 100%) !important;
  border:1px solid rgba(43,8,13,.65) !important;
  box-shadow:inset 0 2px 10px rgba(0,0,0,.5) !important;
}
.popular-games__meta{
  background:linear-gradient(180deg, #b8923f 0%, #9a7830 45%, #7a5e24 100%) !important;
  border-top:1px solid rgba(168,132,63,.38) !important;
}
.popular-games__media{
  background:linear-gradient(180deg, #5c1218 0%, #4a0e16 100%) !important;
}

/* ═══════════════════════════════════════════════════════════
   SUB PAGES — hero, perks, CTA strips (games, bonus, login…)
═══════════════════════════════════════════════════════════ */
body:is(.sub-page, .games-page, .payments-page, .legal-page){
  background:
    radial-gradient(ellipse 100% 70% at 50% -15%, rgba(0, 179, 104, .1), transparent 52%),
    linear-gradient(180deg, #0c0f0d 0%, var(--page-bg, #0a0c0b) 38%);
}
body:is(.sub-page, .games-page, .payments-page, .legal-page) .shell > main,
body.bonus-page .shell > main{
  padding: clamp(10px, 2.5vw, 20px) clamp(14px, 3.5vw, 28px) 40px;
  overflow: hidden;
  border: 1px solid rgba(94, 233, 176, .1);
  box-shadow:
    0 4px 32px rgba(0, 0, 0, .4),
    0 0 0 1px rgba(200, 164, 74, .06) inset;
}
body.app-page .shell > main,
body.acceso-page .shell > main{
  overflow: visible;
}
body:is(.sub-page, .games-page, .payments-page, .legal-page, .bonus-page, .app-page, .acceso-page) :is(.shell > main, main) > .page-title{
  position: relative;
  z-index: 2;
  margin: 6px auto 18px;
  padding: 0 clamp(8px, 2vw, 16px);
  max-width: min(1100px, 100%);
}

.sub-hero{
  position: relative;
  z-index: 1;
  margin: 0 auto 8px;
  padding: 0;
  max-width: min(1100px, 100%);
  overflow: hidden;
  border-radius: 22px;
}
.sub-hero__glow{
  pointer-events: none;
  position: absolute;
  left: -4%;
  right: -4%;
  top: 0;
  height: 55%;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(18, 160, 110, .28), transparent 72%);
  opacity: .55;
  z-index: 0;
}
.sub-hero__frame{
  position: relative;
  z-index: 1;
  margin: 0;
  padding: clamp(10px, 2vw, 16px);
  border-radius: 18px;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(18, 160, 110, .1), transparent 55%),
    linear-gradient(180deg, rgba(22, 28, 38, .98) 0%, rgba(10, 12, 18, .99) 100%);
  border: 1px solid rgba(94, 233, 176, .22);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, .48),
    0 0 0 1px rgba(200, 164, 74, .12) inset,
    0 0 0 1px rgba(255, 255, 255, .05) inset;
}
.sub-hero__frame .banner-link{
  display: block;
  border-radius: var(--bannerRad, 12px);
  overflow: hidden;
  line-height: 0;
}
.sub-hero__frame .banner.banner--promo-hero{
  aspect-ratio: auto;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: min(52vh, 420px);
  object-fit: contain;
  object-position: center center;
}
.sub-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
  padding: 0 8px 4px;
}
.sub-hero__bar{
  height: 3px;
  margin: 14px auto 0;
  max-width: min(1100px, 100%);
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, rgba(200, 164, 74, .25) 18%, var(--gold2, #c8a44a) 50%, rgba(200, 164, 74, .25) 82%, transparent 100%);
  box-shadow: 0 0 16px rgba(200, 164, 74, .2);
}

.sub-perks{
  margin: 0 auto 16px;
  max-width: min(1100px, 100%);
  padding: 0 clamp(4px, 1vw, 8px);
}
.sub-perks__inner{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 2vw, 16px);
}
.sub-perk{
  padding: clamp(14px, 2vw, 20px) clamp(12px, 1.5vw, 18px);
  border-radius: 14px;
  text-align: center;
  background: linear-gradient(165deg, rgba(92, 18, 24, .85) 0%, rgba(61, 8, 20, .92) 100%);
  border: 1px solid rgba(200, 164, 74, .22);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .04) inset;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
@media (hover: hover){
  .sub-perk:hover{
    transform: translateY(-3px);
    border-color: rgba(212, 175, 90, .4);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .42), 0 0 20px rgba(184, 146, 63, .15);
  }
}
.sub-perk__value{
  display: block;
  font-family: "Antonio", "Montserrat", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--gold1, #f0d78c);
  text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}
.sub-perk__label{
  display: block;
  margin-top: 6px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(0.68rem, 0.3vw + 0.62rem, 0.78rem);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(203, 213, 225, .9);
}

.sub-cta-strip{
  margin: 0 auto 20px;
  max-width: min(1100px, 100%);
  padding: clamp(14px, 2.5vw, 20px) clamp(16px, 3vw, 24px);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(18, 160, 110, .18) 0%, rgba(92, 18, 24, .55) 50%, rgba(61, 8, 20, .75) 100%);
  border: 1px solid rgba(94, 233, 176, .25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .38), 0 0 0 1px rgba(200, 164, 74, .1) inset;
}
.sub-cta-strip__inner{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
}
.sub-cta-strip__text strong{
  display: block;
  font-family: "Antonio", "Montserrat", system-ui, sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
}
.sub-cta-strip__text span{
  display: block;
  margin-top: 4px;
  font-size: clamp(0.82rem, 0.35vw + 0.74rem, 0.92rem);
  color: rgba(203, 213, 225, .95);
}
.sub-cta-strip__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sub-mid-cta{
  margin: 28px auto;
  padding: clamp(18px, 3vw, 26px) clamp(16px, 3vw, 28px);
  max-width: 100%;
  border-radius: 16px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 100% at 50% 0%, rgba(200, 164, 74, .12), transparent 65%),
    linear-gradient(180deg, rgba(30, 36, 48, .75) 0%, rgba(14, 16, 22, .9) 100%);
  border: 1px solid rgba(200, 164, 74, .2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .3);
}
.sub-mid-cta__title{
  margin: 0 0 14px;
  font-family: "Antonio", "Montserrat", system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--gold1, #f0d78c);
}
.sub-mid-cta__btns{
  margin: 0 !important;
}

.pulse-btn--ghost{
  background: transparent !important;
  color: var(--gold1, #f0d78c) !important;
  border: 2px solid rgba(200, 164, 74, .55) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(255, 255, 255, .06) !important;
}
.pulse-btn--ghost::before,
.pulse-btn--ghost::after{
  opacity: .35;
}
@media (hover: hover){
  .pulse-btn--ghost:hover{
    background: rgba(200, 164, 74, .12) !important;
    border-color: rgba(212, 175, 90, .75) !important;
    color: #fff !important;
  }
}

body:is(.sub-page, .bonus-page, .games-page, .app-page, .acceso-page, .payments-page) .legal-doc > .legal-note{
  margin-bottom: 22px;
  padding: clamp(14px, 2.5vw, 20px) clamp(16px, 3vw, 24px);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(18, 160, 110, .1) 0%, rgba(92, 18, 24, .35) 100%);
  border: 1px solid rgba(94, 233, 176, .2);
  border-left: 4px solid var(--gold2, #c8a44a);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
  font-size: clamp(0.88rem, 0.35vw + 0.8rem, 0.96rem);
  line-height: 1.65;
}

body:is(.sub-page, .bonus-page, .games-page, .app-page, .acceso-page, .payments-page) .cta-center{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.sub-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 auto 18px;
  max-width: min(1100px, 100%);
  padding: 0 4px;
}
.sub-chips .chip{
  flex: 0 1 auto;
}

@media (max-width: 900px){
  .sub-perks__inner{ grid-template-columns: 1fr; }
  .sub-cta-strip__inner{ flex-direction: column; text-align: center; }
  .sub-cta-strip__actions{ justify-content: center; width: 100%; }
  .sub-hero__actions .pulse-btn,
  .sub-cta-strip__actions .pulse-btn{
    flex: 1 1 140px;
    min-width: 0;
  }
}
@media (max-width: 480px){
  .sub-hero:not(.sub-hero--portrait) .sub-hero__frame .banner.banner--promo-hero{ max-height: min(48vh, 280px); }
}

/* Portrait banners — login (545×1006) & app (682×1024) */
.sub-hero--portrait .sub-hero__frame .banner-wrap{
  max-width: min(480px, 92vw);
  margin-inline: auto;
  background: radial-gradient(ellipse 100% 100% at 50% 40%, rgba(0, 0, 0, .28), rgba(10, 12, 18, .94));
  border-radius: var(--bannerRad, 12px);
}
.sub-hero--portrait .sub-hero__frame .banner.banner--promo-hero{
  aspect-ratio: auto;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center top;
}
body.acceso-page .sub-hero--login .sub-hero__frame .banner-wrap{
  max-width: min(400px, 88vw);
}
body.acceso-page .sub-hero--login .banner--portrait-login{
  aspect-ratio: 545 / 1006;
  max-height: min(78vh, 720px);
}
body.app-page .sub-hero--app .sub-hero__frame .banner-wrap{
  max-width: min(480px, 90vw);
}
body.app-page .sub-hero--app .banner--portrait-app{
  aspect-ratio: 682 / 1024;
  max-height: min(78vh, 760px);
}
@media (max-width: 768px){
  body.acceso-page .sub-hero--login .banner--portrait-login{
    max-height: min(70vh, 640px);
  }
  body.app-page .sub-hero--app .banner--portrait-app{
    max-height: min(68vh, 600px);
  }
}
@media (max-width: 480px){
  body.acceso-page .sub-hero--login .banner--portrait-login{
    max-height: min(62vh, 520px);
  }
  body.app-page .sub-hero--app .banner--portrait-app{
    max-height: min(60vh, 500px);
  }
}
