/*
Theme Name: 1xbetix
Theme URI: https://1xbet-registro.lat/
Author: 1xbetix
Description: Review-site theme for 1xbet-registro.lat. Root contour = neutral English hub for Latin America (lang="en"); country contours are added as rows in the contour registry (functions.php). All CTAs route through /go/1xbet/.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 7.0
License: GPLv2 or later
Text Domain: 1xbetix
*/

/* ============================================================ палитра
   Фирменные цвета 1xBet — ПРЕДВАРИТЕЛЬНЫЕ: точные значения берутся
   из бренд-кита партнёрского кабинета и меняются здесь в одном месте.
   Национальные цвета контура подставляются из реестра (--nat-*).
   ============================================================ */
:root{
  --brand:#1a5c9c;
  --brand-deep:#071a30;
  --brand-dark:#0c2340;
  --bg:#0f2745;
  --card:#143156;
  --card-2:#102a4a;
  --line:#245285;
  --txt:#ffffff;
  --muted:#b9cbe4;
  --accent:#2e8bd6;
  --cta:#1fa34a;
  --cta-hover:#178f3f;
  --hot:#e63946;
  --hot-hover:#cf2d3a;
  --star:#f5b301;

  --nat-1:#b31942;   /* контурные: US red  */
  --nat-2:#ffffff;   /*            white   */
  --nat-3:#0a3161;   /*            US blue */

  --wrap:1180px;
  --radius:8px;
}

*,*::before,*::after{box-sizing:border-box}
/* overflow-x гасится и на html, и на body: одного body мало — если внутри
   окажется элемент шире экрана, прокрутку подхватит корневой элемент, и
   страница поедет вбок. Так было на телефоне из-за шапки. */
html{-webkit-text-size-adjust:100%;overflow-x:hidden}
body{
  margin:0;background:var(--bg);color:var(--txt);
  font:16px/1.65 "Segoe UI",Roboto,-apple-system,Arial,sans-serif;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ============================================================ кнопки */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:13px 30px;border-radius:30px;border:0;cursor:pointer;
  font-weight:700;font-size:15px;letter-spacing:.4px;text-transform:uppercase;
  color:#fff;text-decoration:none;transition:background .15s ease,transform .15s ease;
}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn-green{background:var(--cta)}      .btn-green:hover{background:var(--cta-hover)}
.btn-red{background:var(--hot)}        .btn-red:hover{background:var(--hot-hover)}
.btn-blue{background:var(--accent)}    .btn-blue:hover{background:#2276b6}
.btn-ghost{background:transparent;border:1px solid var(--line);color:var(--muted)}
.btn-lg{padding:16px 46px;font-size:17px}

/* ============================================================ шапка
   Смешение фирменного синего 1xBet и национальных цветов контура:
   фон — бренд, верхняя полоса — флаг страны.                       */
.top-flag{height:4px;display:flex}
.top-flag i{flex:1;display:block}
.top-flag i:nth-child(1){background:var(--nat-1)}
.top-flag i:nth-child(2){background:var(--nat-2)}
.top-flag i:nth-child(3){background:var(--nat-3)}

.site-header{background:var(--brand-deep);position:relative}
.site-header::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:1px;
  background:linear-gradient(90deg,var(--nat-1),var(--brand),var(--nat-3));
  opacity:.85;
}
.hd{display:flex;align-items:center;gap:20px;padding:14px 20px;flex-wrap:wrap}
/* Боковые 20px обязаны быть ЗДЕСЬ. У .hd тот же вес селектора, что у .wrap,
   и она идёт ниже по файлу — короткая запись `padding:14px 0` затирала
   горизонтальные отступы обёртки. На широком экране это не видно (полоса
   центрируется с большими полями), а на телефоне логотип прилипал к самому
   краю экрана. */
.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}
/* Логотип 1xBet. Файл 347×76, показ 173×38 — ровно двойная плотность.
   Размеры заданы и в разметке: без них строка шапки дёргается, пока
   грузится PNG.                                                       */
.brand-logo-img{width:173px;height:38px;display:block}
/* .brand-logo (текстовая надпись «1xbetix») удалён вместе с разметкой:
   в шапке и на заглушке стоит логотип 1xBet, а в футере имя сайта названо
   прямо в тексте соседней колонки.                                      */
.hd-tag{color:var(--muted);font-size:15px;flex:1 1 220px;min-width:0}
.hd-actions{display:flex;align-items:center;gap:12px;margin-left:auto}
.hd-bonus{display:inline-flex;align-items:center;gap:8px;color:#fff;font-weight:700;
  text-transform:uppercase;font-size:15px;letter-spacing:.4px}
.hd-bonus:hover{color:var(--accent);text-decoration:none}
.hd-bonus svg{width:20px;height:20px;fill:var(--accent)}

/* переключатель ГЕО */
/* Переключатель языка ES/EN — только на корне и /en/. Высота совпадает
   с кнопкой стран (44 px), чтобы в шапке не появлялось второй линии. */
.lang-switch{
  display:flex;align-items:center;height:44px;overflow:hidden;
  border:2px solid var(--line);border-radius:22px;background:var(--card);
}
.lang-item{
  display:flex;align-items:center;height:100%;padding:0 12px;
  font-size:13px;font-weight:700;letter-spacing:.04em;text-decoration:none;
  color:var(--muted);white-space:nowrap;
}
.lang-item.is-current{background:var(--brand);color:#fff}
a.lang-item:hover{color:var(--txt)}

.geo{position:relative}
.geo-btn{
  width:44px;height:44px;border-radius:50%;border:2px solid var(--line);
  background:var(--card);cursor:pointer;padding:0;overflow:hidden;
  display:flex;align-items:center;justify-content:center;font-size:20px;line-height:1;
}
/* Выпадающий список стран: флаг + название, в одну колонку.
   Стран много, поэтому список прокручивается, а не растёт на весь экран. */
.geo-list{
  position:absolute;right:0;top:52px;z-index:60;display:none;
  width:268px;max-height:min(70vh,520px);overflow-y:auto;padding:8px;
  background:var(--brand-dark);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:0 14px 40px rgba(0,0,0,.45);
}
.geo.open .geo-list{display:block}
.geo-item{
  display:flex;align-items:center;gap:12px;padding:9px 12px;border-radius:6px;
  color:#fff;font-size:15px;line-height:1.2;text-decoration:none;
}
a.geo-item:hover{background:var(--card);text-decoration:none}
.geo-flag{font-size:21px;line-height:1;flex-shrink:0;width:26px;text-align:center}
.geo-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.geo-item.is-current{background:var(--card);box-shadow:inset 3px 0 0 var(--accent)}
/* страна без своего контента — видна в списке, но не ведёт никуда */
.geo-item.is-soon{color:var(--muted);opacity:.55;cursor:default}
.geo-list::-webkit-scrollbar{width:8px}
.geo-list::-webkit-scrollbar-thumb{background:var(--line);border-radius:4px}

/* спорт-навигация */
.sports{background:var(--brand-dark);border-top:1px solid rgba(255,255,255,.05)}
.sports ul{display:flex;margin:0;padding:0;list-style:none}
.sports li{flex:1;border-right:1px solid rgba(255,255,255,.07)}
.sports li:first-child{border-left:1px solid rgba(255,255,255,.07)}
.sports a{
  display:flex;align-items:center;justify-content:center;gap:10px;
  padding:18px 8px;color:#fff;font-size:16px;
}
.sports a:hover{background:rgba(46,139,214,.16);text-decoration:none}
/* Иконки навигации — PNG из бренд-пакета партнёра (были свои SVG).
   30 px: у 26 px рисунок читался хуже подписи рядом. Файлы обрезаны по
   видимой части, поэтому 30 px здесь — это 30 px самого значка.       */
.sports img{width:30px;height:30px;object-fit:contain;flex-shrink:0}
/* Пунктов шесть, а не пять: подписи вроде «Ice Hockey» переносились
   в две строки на средних экранах и ломали высоту полосы.            */
.sports a{white-space:nowrap}

/* ============================================================ герой */
.hero{padding:44px 0 10px}
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:34px;align-items:center}
/* Вид как у заголовка, но это абзац: у референса герой-h2 стоит выше h1
   и документ начинается со второго уровня. Мы сохраняем вид, не иерархию. */
.hero .hero-title{
  font-size:clamp(30px,4.4vw,50px);line-height:1.08;margin:0 0 26px;
  text-transform:uppercase;font-weight:800;
}
.hero .hero-title em{font-style:normal;color:var(--accent)}

/* слайдер */
.slider{position:relative;border-radius:var(--radius);overflow:hidden;min-height:280px;
  background:linear-gradient(115deg,var(--brand) 0%,var(--brand-dark) 62%,var(--card) 100%)}
.slide{display:none;min-height:280px;padding:38px 40px;
  align-items:center;justify-content:flex-start;position:relative}
.slide.is-active{display:flex}
.slide-txt{max-width:60%}
.slide-txt strong{display:block;font-size:clamp(20px,2.6vw,30px);line-height:1.15;
  text-transform:uppercase;font-weight:800;margin-bottom:8px}
.slide-txt span{color:var(--muted);font-size:15px}
/* Картинка слайда лежит фоном, текст поверх. Пустой слот виден так же. */
.slide .slide-bg{position:absolute;inset:0;border-radius:0;z-index:0}
.slide .slide-bg.is-empty{border-width:0 0 0 0;background:
  repeating-linear-gradient(45deg,rgba(255,255,255,.05) 0 14px,transparent 14px 28px)}
.slide .slide-bg.is-filled img{height:100%}
.slide-txt{position:relative;z-index:2}
.slide::after{content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(90deg,rgba(7,26,48,.88) 0%,rgba(7,26,48,.35) 62%,transparent 100%)}
.slider-dots{position:absolute;right:16px;bottom:14px;display:flex;gap:9px;z-index:3}
.slider-dots button{
  width:11px;height:11px;padding:0;border-radius:50%;border:0;cursor:pointer;
  background:rgba(255,255,255,.42)
}
.slider-dots button[aria-current="true"]{background:#fff}

/* ============================================================ слоты картинок
   Пустой слот виден и подписан кодом; заполненный — обычная картинка.       */
.img-slot{margin:0;border-radius:var(--radius);overflow:hidden;width:100%}
.img-slot.is-filled img{width:100%;height:100%;object-fit:cover;display:block}
.img-slot.is-empty{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;
  min-height:170px;padding:18px;text-align:center;
  background:repeating-linear-gradient(45deg,var(--card-2) 0 14px,var(--card) 14px 28px);
  border:2px dashed var(--line);
}
.img-slot-code{
  font-weight:800;font-size:19px;letter-spacing:2px;color:var(--accent);
  font-family:"Consolas",ui-monospace,monospace;
}
.img-slot-hint{color:var(--muted);font-size:12.5px;letter-spacing:.3px}

/* ============================================================ секции */
.section{padding:40px 0}
.section-title{
  text-align:center;text-transform:uppercase;font-weight:800;
  font-size:clamp(24px,3.4vw,40px);line-height:1.12;margin:0 0 6px;
}
.rule{height:1px;background:var(--line);margin:16px 0 26px;position:relative}
.rule::after{
  content:"";position:absolute;left:50%;transform:translateX(-50%);top:-1px;
  width:min(420px,46%);height:3px;background:var(--accent);
}
.lead{margin:0 0 16px}
p{margin:0 0 15px}

.list{margin:0 0 18px;padding:0;list-style:none}
.list li{position:relative;padding-left:28px;margin-bottom:9px}
.list li::before{
  content:"";position:absolute;left:0;top:12px;width:16px;height:2px;background:var(--accent)
}

/* промо-баннер */
.promo{
  position:relative;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);
  background:linear-gradient(100deg,var(--card) 0%,var(--brand-dark) 100%);
  padding:40px 44px;margin:8px 0 26px;
}
.promo h2{margin:0 0 6px;font-size:clamp(22px,3vw,34px);text-transform:uppercase;font-weight:800}
.promo h2 em{font-style:normal;color:var(--hot)}
.promo h2 i{font-style:normal;color:var(--accent)}
.promo p{color:var(--muted);max-width:640px}
.promo .btn{margin-top:14px}
/* Картинка — ФОН блока: уходит под текст.
   Позиционированный элемент по умолчанию рисуется поверх статичного,
   поэтому z-index задаём обоим явно, иначе коробка накрывает заголовок. */
.promo-art{position:absolute;right:-10px;top:-20px;bottom:-20px;width:38%;
  opacity:.9;pointer-events:none;z-index:0}
.promo-art svg{width:100%;height:100%}
.promo > h2,
.promo > p,
.promo > .btn{position:relative;z-index:2}
/* и текст не заезжает на картинку */
.promo > h2,
.promo > p{max-width:62%}
/* Здесь лежит PNG с прозрачным фоном: его нельзя обрезать под контейнер,
   иначе от объекта останется полоса. contain вместо общего cover. */
.promo-art .img-slot{height:100%;background:none;border:0}
.promo-art .img-slot.is-filled img{object-fit:contain;object-position:center right}

/* шаги-шевроны */
.steps{display:flex;gap:0;margin:0 0 34px;padding:0;list-style:none;flex-wrap:wrap}
.steps li{
  flex:1 1 220px;display:flex;align-items:center;justify-content:center;gap:12px;
  background:var(--card);padding:20px 26px;font-weight:700;font-size:17px;
  clip-path:polygon(0 0,calc(100% - 22px) 0,100% 50%,calc(100% - 22px) 100%,0 100%,22px 50%);
  margin-right:-14px;
}
.steps li:first-child{clip-path:polygon(0 0,calc(100% - 22px) 0,100% 50%,calc(100% - 22px) 100%,0 100%)}
.steps li:last-child{background:var(--cta);margin-right:0;
  clip-path:polygon(0 0,100% 0,100% 100%,0 100%,22px 50%)}
.steps svg{width:26px;height:26px;fill:none;stroke:#fff;stroke-width:1.8;flex-shrink:0}

/* блоки преимуществ */
.feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:34px;
  align-items:center;margin-bottom:34px}
.feature.rev .feature-media{order:2}
.feature-media{
  border-radius:var(--radius);overflow:hidden;min-height:250px;
  background:linear-gradient(135deg,var(--brand) 0%,var(--brand-dark) 100%);
  display:flex;align-items:center;justify-content:center;
}
.feature-media svg{width:64%;height:auto;opacity:.92}
.feature h3{font-size:clamp(21px,2.6vw,30px);margin:0 0 14px;display:flex;align-items:center;gap:12px}
.feature h3 .ic{width:38px;height:38px;flex-shrink:0}

/* карточки */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px;margin-bottom:10px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.card-head{background:var(--card-2);padding:18px 22px;text-align:center}
.card-head h3{margin:0;font-size:21px}
.card-body{padding:20px 22px}
.card-body p:last-child{margin-bottom:0}

/* карточки игр */
/* Ровно две карточки в ряд: баннер вдвое уже полосы, текст под ним.
   На узких экранах — одна колонка (правило в медиазапросе ниже). */
.games{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin:0 0 34px}
.game{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;display:flex;flex-direction:column}
.game .img-slot{border-radius:0}
.game .img-slot.is-empty{border-width:0 0 2px 0;min-height:150px}
/* нижний отступ крупнее верхнего: кнопка не должна упираться в следующий баннер */
.game-body{padding:20px 22px 28px;display:flex;flex-direction:column;flex:1}
.game-body h3{margin:0 0 12px;font-size:21px;line-height:1.25}
.game-body p{color:#dbe8f7;font-size:15.3px}
.game-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto;padding-top:18px}
.game-cta .btn{padding:11px 22px;font-size:14px}

/* «Показать ещё» в карточке игры — появляется только на телефоне */
.game-more{
  display:none;align-self:flex-start;margin-top:10px;padding:0;border:0;
  background:none;color:var(--accent);font:inherit;font-size:14.5px;
  font-weight:700;cursor:pointer;text-decoration:underline;
}

/* сетка бонусов */
.bonus-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:0;
  border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.bonus{border:1px solid var(--line);margin:-1px 0 0 -1px;padding:24px 22px 28px;text-align:center;
  display:flex;flex-direction:column}
.bonus-art{
  border-radius:6px;margin-bottom:18px;min-height:170px;
  background:linear-gradient(140deg,var(--brand-dark),var(--card));
  display:flex;align-items:center;justify-content:center;
}
.bonus-art svg{width:52%;height:auto}
.bonus h2,.bonus h3{font-size:20px;line-height:1.25;text-transform:uppercase;margin:0 0 12px}
.bonus p{color:var(--muted);flex:1}
.bonus .btn{align-self:center}

/* FAQ */
.faq{border-radius:var(--radius);overflow:hidden}
.faq-item{margin-bottom:10px}
.faq-q{
  width:100%;display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer;
  background:var(--card);border:1px solid var(--line);border-radius:6px;
  padding:16px 20px;color:#fff;font:inherit;font-size:17px;
}
.faq-q .star{color:var(--star);flex-shrink:0}
.faq-q .state{margin-left:auto;color:var(--muted);font-size:14px;text-transform:uppercase}
.faq-q[aria-expanded="true"]{border-color:var(--accent)}
.faq-a{display:none;padding:14px 22px 6px}
.faq-a.is-open{display:block}
.faq-a p:last-child{margin-bottom:0}

/* ============================================================ страновые страницы
   Тело приходит готовым HTML из контента страны, поэтому стили вешаются
   на обычные теги, а не на классы шаблона.                                  */
.geo-page{padding:8px 0 20px}
.geo-page h1{font-size:clamp(26px,3.6vw,42px);line-height:1.14;margin:26px 0 14px;text-transform:uppercase}
.geo-page h2{font-size:clamp(21px,2.6vw,30px);line-height:1.2;margin:34px 0 12px}
.geo-page h3{font-size:clamp(18px,2.1vw,23px);line-height:1.25;margin:24px 0 10px;color:#e6f0fb}
.geo-page p{color:#dbe8f7;margin:0 0 14px}
.geo-page ul,.geo-page ol{color:#dbe8f7;margin:0 0 18px;padding-left:22px}
.geo-page li{margin-bottom:8px}
.geo-page a{text-decoration:underline}
.geo-page section{margin-bottom:6px}
.geo-page .eyebrow{color:var(--accent);text-transform:uppercase;letter-spacing:1px;
  font-size:13px;font-weight:700;margin-bottom:6px}

/* Герой страны — две колонки, как на корне: слева текст и CTA, справа картинка.
   Раньше картинка шла лентой над заголовком и занимала весь экран. */
.geo-hero{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
  gap:34px;align-items:center;padding:30px 0 10px;margin-bottom:14px;
}
.geo-hero .hero-title{
  font-size:clamp(28px,4vw,46px);line-height:1.08;margin:0 0 18px;
  text-transform:uppercase;font-weight:800;color:#fff;
}
.geo-hero-txt p{color:var(--muted);margin-bottom:20px}
.geo-hero-img .img-slot{border-radius:var(--radius);margin:0}
.geo-page .button--hot{background:var(--hot)}
.geo-page .button--hot:hover{background:var(--hot-hover)}

/* Карточки игр — сетка по две в ряд, как на англоязычной главной,
   вместо ленты полноэкранных блоков. */
.games-geo .games-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin-top:6px;
}
.games-geo .games-grid article{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:0 0 22px;margin:0;overflow:hidden;display:flex;flex-direction:column;
}
.games-geo .games-grid article .img-slot{margin:0 0 16px;border-radius:0}
.games-geo .games-grid article h3,
.games-geo .games-grid article p{padding:0 22px}
.games-geo .games-grid article h3{margin:0 0 10px}
.games-geo .games-grid article p{flex:1}
.games-geo .games-grid article .button{margin:6px 22px 0}

/* Картинки внутри обычных секций не должны занимать всю полосу:
   на корне их место — колонка рядом с текстом, а не лента во весь экран. */
.geo-page section > .img-slot,
.geo-page > .img-slot{max-width:760px;margin-left:auto;margin-right:auto}

/* кнопки внутри странового HTML */
.geo-page .button{
  display:inline-flex;align-items:center;justify-content:center;
  padding:13px 30px;border-radius:30px;background:var(--cta);color:#fff;
  font-weight:700;font-size:15px;letter-spacing:.4px;text-transform:uppercase;
  text-decoration:none;margin:6px 0 18px;
}
.geo-page .button:hover{background:var(--cta-hover);text-decoration:none}

/* карточки: три в ряд */
.geo-page .feature-cards,
.geo-page .benefits-grid,
.geo-page .bonus-cards{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:22px;margin:0 0 30px;
}
.geo-page .feature-cards article,
.geo-page .benefits-grid article,
.geo-page .bonus-cards article{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:20px 22px;
}
.geo-page .feature-cards h2,
.geo-page .bonus-cards h2{font-size:20px;margin:10px 0 10px;text-transform:none}

/* Четыре этапа бонуса — ровно четыре в ряд.
   Общая сетка требует минимум 300 px на карточку, а в контейнере 1180 px
   помещается только три: четвёртая уезжала на вторую строку и висела там
   одна. Ставится вместе с .benefits-grid, поэтому фон, рамки и отступы
   наследуются, меняется только число колонок. */
.geo-page .bonus-stages{grid-template-columns:repeat(4,1fr)}
.geo-page .benefits-grid h3{margin-top:0}

/* блок предупреждения регулятора — комплаенс, контраст намеренно высокий */
.geo-page .notice{
  background:var(--card-2);border:1px solid var(--line);border-left:4px solid var(--hot);
  border-radius:var(--radius);padding:18px 22px;margin:22px 0 26px;
}
.geo-page .notice p{margin:0;color:#e8f1fb}

/* таблицы бонусов */
.geo-page .table-responsive{overflow-x:auto;margin:0 0 22px;
  border:1px solid var(--line);border-radius:var(--radius)}
.geo-page table{border-collapse:collapse;width:100%;min-width:520px;font-size:15px}
.geo-page th,.geo-page td{padding:12px 16px;text-align:left;
  border-bottom:1px solid var(--line)}
.geo-page thead th{background:var(--card-2);color:#fff;font-weight:700;white-space:nowrap}
.geo-page tbody tr:last-child td{border-bottom:0}
.geo-page tbody tr:nth-child(even){background:rgba(255,255,255,.02)}

/* карточки игр внутри странового HTML */
.geo-page section > article{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:20px 22px;margin-bottom:18px;
}
.geo-page section > article h3{margin-top:0}

/* хлебные крошки страны */
.geo-page .breadcrumbs{color:var(--muted);margin:6px 0 4px;font-weight:700}

/* картинка, вставленная из комментария-слота */
.geo-page .geo-shot{margin:0 0 20px}
.geo-page .geo-shot.is-empty{min-height:150px}

@media (max-width:900px){
  .geo-hero{grid-template-columns:1fr;gap:22px;padding-top:18px}
}
@media (max-width:960px){
  .geo-page .bonus-stages{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:760px){
  .games-geo .games-grid{grid-template-columns:1fr;gap:22px}
}
@media (max-width:640px){
  .geo-page .feature-cards,
  .geo-page .benefits-grid,
  .geo-page .bonus-stages,
  .geo-page .bonus-cards{grid-template-columns:1fr}
  .geo-page table{font-size:14px}
  .geo-page th,.geo-page td{padding:10px 12px}
}

/* ============================================================ полоса офферов
   Блок с бонусами первым экраном страны, сразу под шапкой.

   ПРО КАННИБАЛИЗАЦИЮ. Здесь намеренно НЕТ заголовков: блок стоит выше h1
   страницы, и второй заголовок перед ним ломал бы иерархию, а повтор
   заголовков бонусной страницы стравливал бы две страницы по одним запросам.
   Только метка абзацем, короткая цифра и две ссылки.

   ССЫЛКА ОДНА — кнопка на партнёрку (решение владельца). Мелкая ссылка на
   условия стояла здесь до 11.08 и убрана по его же просьбе: путь к условиям
   остался в карточке «Бонусы» ниже по странице и в разделе про промокод.

   ПОДЧЁРКИВАНИЯ. У страновых страниц есть общее правило
   `.geo-page a{text-decoration:underline}` — оно и рисовало чёрточки под
   всеми надписями карточки. Здесь оно погашено точечно.
   ============================================================ */
.geo-page .offer-strip{margin:0 0 24px}
.offer-strip-label{
  margin:0 0 12px;color:var(--muted);font-size:12.5px;font-weight:800;
  text-transform:uppercase;letter-spacing:.09em;
}
.offer-strip-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}

.offer{
  position:relative;overflow:hidden;isolation:isolate;
  display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;
  padding:16px 18px;border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.22);
  /* яркий фирменный градиент вместо ровной карточной заливки */
  background:linear-gradient(135deg,#12467e 0%,#2e8bd6 52%,#12467e 100%);
  /* задняя подсветка: цветная тень наружу + светлая линия по верхней кромке */
  box-shadow:0 10px 30px rgba(46,139,214,.32), inset 0 1px 0 rgba(255,255,255,.20);
  transition:transform .18s ease, box-shadow .18s ease;
}
.offer--sport{background:linear-gradient(135deg,#0f3f6f 0%,#1fa34a 52%,#0f3f6f 100%);
  box-shadow:0 10px 30px rgba(31,163,74,.30), inset 0 1px 0 rgba(255,255,255,.20)}

/* мягкое свечение внутри карточки, под текстом */
.offer::before{
  content:"";position:absolute;inset:-50% -15%;z-index:0;pointer-events:none;
  background:radial-gradient(55% 55% at 18% 0%,rgba(255,255,255,.30),transparent 72%);
}
/* перелив: светлая полоса проходит по карточке. Анимация идёт сама, а не
   только по наведению, — на телефоне наведения нет, и эффекта бы не было. */
.offer::after{
  content:"";position:absolute;top:-25%;bottom:-25%;left:0;width:38%;z-index:0;
  pointer-events:none;
  background:linear-gradient(100deg,transparent 0%,rgba(255,255,255,.40) 50%,transparent 100%);
  transform:translateX(-190%) skewX(-14deg);
  animation:x1-sheen 6s ease-in-out infinite;
}
@keyframes x1-sheen{
  0%,70%{transform:translateX(-190%) skewX(-14deg)}
  100%  {transform:translateX(380%)  skewX(-14deg)}
}
.offer > *{position:relative;z-index:1}
.offer:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 40px rgba(46,139,214,.48), inset 0 1px 0 rgba(255,255,255,.28);
}
.offer--sport:hover{box-shadow:0 16px 40px rgba(31,163,74,.46), inset 0 1px 0 rgba(255,255,255,.28)}
.offer:hover::after{animation-duration:1.8s}
/* уважение к системной настройке «меньше движения» */
@media (prefers-reduced-motion:reduce){ .offer::after{animation:none} }

.offer-tag{
  flex:0 0 auto;font-size:11.5px;font-weight:800;letter-spacing:.07em;
  text-transform:uppercase;color:#fff;
  background:rgba(0,0,0,.30);border:1px solid rgba(255,255,255,.38);
  border-radius:20px;padding:4px 11px;
}
.offer-sum{
  flex:1 1 200px;min-width:0;color:#fff;font-size:16px;font-weight:800;
  line-height:1.3;text-shadow:0 1px 2px rgba(0,0,0,.35);
}
.offer-cta{
  flex:0 0 auto;margin-left:auto;
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 20px;border-radius:24px;
  background:#fff;color:#0f2745;
  font-size:13.5px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;
  white-space:nowrap;box-shadow:0 4px 14px rgba(0,0,0,.28);
}
.offer-cta:hover{background:#eaf3fd;color:#0f2745}

/* Гасим общее подчёркивание страновых страниц — иначе чёрточки появляются
   под каждой надписью карточки. */
.geo-page .offer,
.geo-page .offer a,
.geo-page .offer a:hover{text-decoration:none}

@media (max-width:760px){
  .offer-strip-grid{grid-template-columns:1fr;gap:12px}
  .offer{padding:14px;gap:10px 12px}
  .offer-tag{order:1}
  .offer-sum{order:2;flex:1 1 100%;font-size:17px}
  .offer-cta{order:3;flex:1 1 100%;margin-left:0;padding:12px 18px}
}

/* ============================================================ юр. страницы */
.legal{max-width:880px}
.legal h2{font-size:clamp(20px,2.4vw,27px);margin:30px 0 10px;line-height:1.25}
.legal h3{font-size:clamp(17px,2vw,21px);margin:22px 0 8px;color:#e6f0fb}
.legal p{color:#dbe8f7}
.legal p a{text-decoration:underline}
.legal-updated{color:var(--muted);font-size:14px;margin-bottom:22px}
.legal-updated strong{color:#fff}

/* хлебные крошки */
.crumbs{padding:18px 0 0;text-align:center;color:var(--muted);font-weight:700}
.crumbs a{color:#fff}
.crumbs span{color:var(--accent);margin:0 6px}

/* ============================================================ футер */
.site-footer{background:var(--brand-deep);margin-top:30px;padding:30px 0 26px;
  border-top:1px solid var(--line)}

/* блок ответственной игры — контраст намеренно высокий:
   это комплаенс-текст, приглушать его нельзя */
.rg{
  display:flex;align-items:center;gap:20px;flex-wrap:wrap;
  background:var(--card-2);border:1px solid var(--line);border-radius:var(--radius);
  padding:18px 22px;margin:0 0 28px;
}
.rg-age{
  flex-shrink:0;width:52px;height:52px;border-radius:50%;
  border:2px solid var(--hot);color:#fff;background:rgba(230,57,70,.12);
  display:flex;align-items:center;justify-content:center;
  font-weight:800;font-size:17px;letter-spacing:.5px;
}
.rg-txt{flex:1 1 260px;min-width:0;line-height:1.45}
.rg-txt strong{display:block;color:#fff;font-size:15.5px}
.rg-txt span{color:#cfe0f3;font-size:13.5px}
.rg-badges{display:flex;gap:12px;flex-wrap:wrap}
.rg-badge{
  display:inline-flex;align-items:center;gap:10px;
  background:var(--card);border:1px solid var(--line);border-radius:6px;
  padding:10px 16px;color:#fff;font-size:13.5px;font-weight:700;line-height:1.2;
  max-width:230px;
}
.rg-badge:hover{border-color:var(--accent);text-decoration:none}
.rg-badge svg{width:22px;height:22px;flex-shrink:0;color:var(--accent)}
@media (max-width:640px){
  .rg{gap:14px;padding:16px}
  .rg-badges{width:100%}
  .rg-badge{flex:1 1 100%;max-width:none}
}
.ft-top{display:grid;grid-template-columns:280px minmax(0,1fr);gap:34px}
.ft-about{color:var(--muted);font-size:15px}
.ft-nav{display:flex;flex-wrap:wrap;gap:10px 26px;margin:22px 0 0;padding:0;list-style:none}
.ft-nav a{color:var(--muted);font-size:14px}
.ft-pay{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.ft-pay a{display:flex;align-items:center;justify-content:center;height:34px;padding:0 14px;
  background:var(--card);border:1px solid var(--line);border-radius:5px;
  color:var(--muted);font-size:13px;font-weight:700}
.ft-social{display:flex;gap:12px;margin-top:20px}
.ft-social a{width:38px;height:38px;border-radius:50%;background:var(--card);
  border:1px solid var(--line);display:flex;align-items:center;justify-content:center}
.ft-social svg{width:19px;height:19px;fill:var(--muted)}
.ft-legal{margin-top:26px;padding-top:18px;border-top:1px solid var(--line);
  color:#d6e4f5;font-size:13.5px}
.ft-legal strong{color:#fff}
.ft-copy{margin-top:12px;color:var(--muted);font-size:13px}

/* ============================================================ наверх */
.to-top{
  position:fixed;right:22px;bottom:22px;width:52px;height:52px;border-radius:50%;
  border:0;cursor:pointer;background:var(--cta);display:none;z-index:70;
  align-items:center;justify-content:center;box-shadow:0 6px 20px rgba(0,0,0,.4);
}
.to-top.show{display:flex}
.to-top svg{width:24px;height:24px;stroke:#fff;stroke-width:2.4;fill:none}

/* ============================================================ адаптив */
@media (max-width:960px){
  .hero-grid,.feature{grid-template-columns:1fr}
  .feature.rev .feature-media{order:0}
  .ft-top{grid-template-columns:1fr}
  .hd-tag{display:none}
  /* Полоса спорта сжимается, но остаётся одной строкой без прокрутки.
     Раньше здесь стоял overflow-x:auto — получался слайдер, и на телефоне
     половина пунктов уезжала за экран незамеченной. */
  .sports a{padding:15px 6px;font-size:14.5px;gap:8px}
  .sports img{width:26px;height:26px}
}

/* ============================================================ шапка на телефоне
   Задача: убрать горизонтальную прокрутку и не дать подписям кнопок
   ломаться на две строки.

   .hd-actions превращается в display:contents — её дети становятся прямыми
   элементами .hd, и порядок можно задать свободно. Иначе переключатели языка
   и страны заперты в одной строке с кнопками, и строка не влезает в 360 px.

   Раскладка: первая строка — логотип, язык, флаг; вторая — «Бонусы» и две
   кнопки. Подписи кнопок принудительно в одну строку (white-space:nowrap):
   «INICIAR SESIÓN» и «SIGN UP» переносились по словам и ломали высоту шапки. */
@media (max-width:760px){
  .hd{gap:10px 6px;padding:12px 16px}
  .hd-actions{display:contents}
  .brand{order:1;margin-right:auto}
  .lang-switch{order:2}
  .geo{order:3}
  .hd-bonus{order:4;font-size:14px;gap:6px}
  .hd-bonus svg{width:18px;height:18px}
  /* Кегль и отступы подобраны так, чтобы «Бонусы» и обе кнопки уложились
     в ОДНУ строку на 375 px. При 13.5px и отступах 15px «Iniciar sesión»
     перевешивало строку на пару пикселей и уезжало на третью — шапка
     вырастала до 175px. */
  .hd .btn{order:5;padding:11px 12px;font-size:13px;letter-spacing:.2px;
    white-space:nowrap;flex:0 1 auto;min-width:0}
  .brand-logo-img{width:146px;height:32px}
  .lang-switch{height:38px}
  .geo-btn{width:38px;height:38px;font-size:18px}

  /* Полоса спорта: сетка 3×2 вместо строки. Значок над подписью — так
     «Baloncesto» и «Automovilismo» помещаются в треть экрана, а слайдер
     не нужен: видны сразу все шесть пунктов. */
  /* justify-content:center — на случай, когда пунктов не шесть. У Перу их
     пять (нет иконки волейбола), и без центрирования вторая строка липла
     к левому краю с пустой третью справа. */
  .sports ul{flex-wrap:wrap;justify-content:center}
  .sports li{flex:0 0 33.333%;border-right:1px solid rgba(255,255,255,.07);
    border-bottom:1px solid rgba(255,255,255,.07)}
  .sports li:first-child{border-left:0}
  .sports a{flex-direction:column;gap:5px;padding:11px 4px;
    font-size:12.5px;line-height:1.25;text-align:center;white-space:normal}
  .sports img{width:24px;height:24px}
}
@media (max-width:760px){
  .games{grid-template-columns:1fr;gap:22px}

  /* Карточка игры должна помещаться в экран телефона целиком.
     Описание сворачивается до 5 строк, полный текст остаётся в HTML —
     он никуда не девается ни для поиска, ни для ИИ-краулеров, просто
     раскрывается по кнопке. */
  .game-body{padding:16px 18px 20px}
  .game-body h3{font-size:19px;margin-bottom:9px}
  .game-body p{font-size:14.6px;line-height:1.5;margin-bottom:0;
    display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
  .game.is-open .game-body p{display:block;-webkit-line-clamp:unset;overflow:visible}
  .game-more{display:inline-block}
  .game-cta{padding-top:14px}
  .game-cta .btn{padding:10px 20px}
}
@media (max-width:640px){
  .section{padding:28px 0}
  .promo{padding:26px 22px}
  .promo-art{display:none}
  .slide{padding:26px 22px}
  .slide-txt{max-width:100%}
  .slide-art{display:none}
  .steps li{margin-right:0;clip-path:none;border-radius:6px;margin-bottom:8px}
  /* на телефоне список во всю ширину экрана, а не узкой колонкой у края */
  .geo{position:static}
  .geo-list{left:12px;right:12px;width:auto;top:auto;margin-top:8px}
  .hd{gap:12px}
}
