:root{
  --bg:#0b0d12;
  --bg2:#0f1320;
  --card:#111829;
  --muted:#9aa4b2;
  --text:#e6e8ee;
  --accent:#7b61ff;
  --accent2:#63ccff;
  --good:#3ddc97;
  --warn:#ffd369;
  --bad:#ff6b6b;
  --border:rgba(255,255,255,.08);
  --shadow: 0 12px 40px rgba(0,0,0,.35);
  --radius:18px;
  --max:1100px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  background: radial-gradient(1200px 800px at 20% 10%, rgba(123,97,255,.22), transparent 60%),
              radial-gradient(900px 600px at 90% 20%, rgba(99,204,255,.18), transparent 55%),
              linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  color:var(--text);
}
a{color:inherit; text-decoration:none}
a:hover{opacity:.92}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}
.header{
  position:sticky; top:0; z-index:20;
  backdrop-filter: blur(14px);
  background: rgba(11,13,18,.7);
  border-bottom: 1px solid var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:12px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:700; letter-spacing:.2px;
}
.brand img{width:34px; height:34px}
.navlinks{display:flex; align-items:center; gap:14px; flex-wrap:wrap}
.navlinks a{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid transparent;
  color:var(--muted);
}
.navlinks a.active, .navlinks a:hover{
  border-color:var(--border);
  color:var(--text);
  background: rgba(255,255,255,.03);
}
.button{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 14px; border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color:var(--text);
  cursor:pointer;
  user-select:none;
}
.button:hover{background: rgba(255,255,255,.06)}
.hero{
  padding:34px 0 10px;
}
.heroGrid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:stretch;
}
@media (max-width: 900px){
  .heroGrid{grid-template-columns:1fr}
}
.card{
  border:1px solid var(--border);
  background: rgba(17,24,41,.74);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.cardPad{padding:22px}
.heroImg{
  width:100%; height:100%;
  min-height:260px;
  background: url("/assets/img/hero.png") center/cover no-repeat;
}
.badgeRow{display:flex; flex-wrap:wrap; gap:10px; margin-top:14px}
.badge{
  font-size:13px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  color:var(--muted);
  background: rgba(255,255,255,.02);
}
h1{font-size:38px; line-height:1.08; margin:0 0 10px}
@media (max-width: 520px){ h1{font-size:32px} }
h2{font-size:24px; margin:0 0 12px}
h3{font-size:18px; margin:0 0 8px}
p{color:var(--muted); line-height:1.7; margin:10px 0}
.section{padding:18px 0}
.grid2{display:grid; grid-template-columns:1fr 1fr; gap:14px}
@media (max-width: 900px){ .grid2{grid-template-columns:1fr} }
.kpi{
  display:flex; gap:12px; align-items:flex-start;
  padding:16px;
  border-radius:16px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.02);
}
.kpiIcon{
  width:38px; height:38px; border-radius:14px;
  background: radial-gradient(circle at 30% 30%, rgba(99,204,255,.35), rgba(123,97,255,.28));
  border:1px solid var(--border);
}
.kpi b{color:var(--text)}
.tableWrap{
  overflow:auto;
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: rgba(255,255,255,.02);
}
table{
  width:100%;
  border-collapse: collapse;
  min-width: 760px;
}
th,td{
  padding:14px 14px;
  border-bottom:1px solid var(--border);
  vertical-align:top;
}
th{
  text-align:left;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--muted);
  background: rgba(255,255,255,.02);
  position:sticky; top:0;
}
tr:hover td{background: rgba(255,255,255,.02)}
.pill{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  font-size:13px;
  color:var(--text);
  background: rgba(255,255,255,.02);
  white-space:nowrap;
}
.pill.good{border-color: rgba(61,220,151,.35); color: var(--good)}
.pill.warn{border-color: rgba(255,211,105,.35); color: var(--warn)}
.small{font-size:13px}
.hr{height:1px; background:var(--border); margin:18px 0}
.callout{
  padding:16px;
  border-radius: var(--radius);
  border:1px solid rgba(255,211,105,.25);
  background: rgba(255,211,105,.06);
  color:var(--muted);
}
.callout b{color:var(--text)}
.faq{
  display:grid;
  gap:10px;
}
.faqItem{
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: rgba(255,255,255,.02);
  overflow:hidden;
}
.faqQ{
  width:100%;
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 16px;
  cursor:pointer;
  background: transparent;
  border:none;
  color:var(--text);
  font-size:16px;
  text-align:left;
}
.faqA{
  padding:0 16px 14px;
  color:var(--muted);
  line-height:1.7;
  display:none;
}
.faqItem.open .faqA{display:block}
.footer{
  padding:28px 0 38px;
  border-top:1px solid var(--border);
  margin-top:20px;
}
.footer p{margin:6px 0}
.tagRow{display:flex; gap:10px; flex-wrap:wrap}
.tagRow a{color:var(--muted); border:1px solid var(--border); padding:8px 10px; border-radius:999px; background:rgba(255,255,255,.02)}
.tagRow a:hover{color:var(--text)}
.note{
  font-size:12px;
  color: rgba(154,164,178,.85);
}

/* --- Table upgrades: casino cell + primary button --- */
.tableWrap{background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));}
table{min-width: 860px;}
td.tdMut{color: var(--muted);}
.casinoCell{display:flex; gap:12px; align-items:center;}
.casinoLogo{
  width:42px; height:42px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  font-weight:800; letter-spacing:.02em;
  color: rgba(255,255,255,.92);
  background: radial-gradient(circle at 30% 30%, rgba(99,204,255,.35), rgba(123,97,255,.32));
  border:1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  flex: 0 0 auto;
}
.casinoName{font-weight:750; color: var(--text); line-height:1.2;}
.btnPrimary{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(123,97,255,.55);
  background: linear-gradient(135deg, rgba(123,97,255,.95), rgba(99,204,255,.55));
  color:#0b0d12;
  font-weight:800;
  box-shadow: 0 12px 30px rgba(123,97,255,.22);
}
.btnPrimary:hover{filter: brightness(1.03); transform: translateY(-1px);}
.btnPrimary:active{transform: translateY(0px); filter: brightness(.98);}
/* ===== HERO GRID (общие) ===== */
.heroGrid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}
.card.heroMedia {
  padding: 0;                     /* Убираем внутренние паддинги */
  overflow: hidden;               /* Чтобы ничего не вылазило */
  border-radius: 20px;            /* Скругление как у остальных карточек */
  background: #000;               /* Если изображение не загрузилось */

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

  min-height: 420px;              /* Десктоп высота */
  position: relative;
}

/* Само изображение — всегда в пропорциях */
.card.heroMedia img {
  width: 100%;
  height: 100%;
  object-fit: contain;            /* Важно: contain — сохраняет всё целиком */
  object-position: center center; /* Центрируем картинку */
  display: block;
}

/* Адаптив для планшетов/мобилок */
@media (max-width: 992px) {
  .card.heroMedia {
    min-height: 260px;
  }
}

/* Поддержка больших экранов */
@media (min-width: 1600px) {
  .card.heroMedia {
    min-height: 540px;
  }
}