/* Orobet EC — стили кластера. Айдентика с orobet.ec: светлая база #F2F3F5,
   чёрные пилюли/плитки (#171717→#121212, обводка #242424), фирменный жёлтый
   #FFFF00 на тёмном, циановая CTA Registrarse, градиентные категор-баннеры
   (тил/фиолет/синий), крупные скругления. Archivo + Inter. */

:root {
  --bg: #f2f3f5;
  --panel: #ffffff;
  --ink: #131416;
  --muted: #6a7076;
  --line: #e4e6ea;
  --dark: #151515;
  --dark-2: #1f1f1f;
  --dark-line: #2c2c2c;
  --oro: #ffff00;
  --oro-deep: #d8b900;
  --cyan: #5bc8f5;
  --cyan-deep: #0b2530;
  --green: #23a55a;
  --red: #d94848;
  --r: 12px;
  --r-lg: 18px;
  --shadow: 0 8px 26px rgba(15, 18, 24, 0.08);
  --font: "Inter", "Segoe UI", Arial, sans-serif;
  --font-h: "Archivo", "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
.wrap { max-width: 1220px; margin: 0 auto; padding: 0 22px; }

h1, h2, h3 { font-family: var(--font-h); line-height: 1.15; font-weight: 800; }
h1 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.01em; }
h2 { font-size: clamp(23px, 3vw, 32px); margin-bottom: 12px; }
h3 { font-size: 18px; }
p { margin-bottom: 14px; }
.lead { color: var(--muted); font-size: 17px; max-width: 780px; }
.sec { padding: 46px 0; }
.sec--dark { background: var(--dark); color: #d6d6d2; }
.sec--dark h2, .sec--dark h3 { color: #fff; }
.kick {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oro-deep);
  margin-bottom: 8px;
}
.sec--dark .kick { color: var(--oro); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 70; padding: 12px 0; background: var(--bg); }
.header-pill {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 16px;
}
.brand {
  background: linear-gradient(120deg, #171717, #121212);
  border: 1px solid #242424;
  border-radius: 999px;
  padding: 8px 20px;
  font-family: var(--font-h);
  font-weight: 800;
  font-style: italic;
  font-size: 21px;
  letter-spacing: 0.02em;
  color: #f6f6f6;
  white-space: nowrap;
}
.brand em { font-style: italic; color: var(--oro); }
.main-nav { display: flex; gap: 2px; margin: 0 auto; }
.main-nav a {
  font-size: 14px;
  font-weight: 600;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--ink);
}
.main-nav a:hover { background: var(--bg); }
.main-nav a.active { background: var(--dark); color: #fff; }
.header-cta { display: flex; gap: 8px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 11px 22px;
  cursor: pointer;
  border: 0;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--cyan { background: var(--cyan); color: var(--cyan-deep); box-shadow: 0 6px 18px rgba(91, 200, 245, 0.45); }
.btn--cyan:hover { background: #74d2f8; color: var(--cyan-deep); }
.btn--light { background: var(--panel); color: var(--ink); border: 1px solid var(--line); }
.btn--light:hover { border-color: #c9cdd3; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { color: var(--oro); }
.btn--lg { font-size: 15px; padding: 15px 30px; }

.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 9px 12px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }
.mobile-menu { display: none; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); margin-top: 8px; padding: 8px 18px 16px; box-shadow: var(--shadow); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 11px 4px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu a.active { color: var(--oro-deep); }
.mobile-menu .btn { margin-top: 14px; width: 100%; }

/* ---------- H1-блок (по ТЗ владельца: H1 сразу после меню) ---------- */
.h1-block { padding: 26px 0 6px; }
.h1-block p { color: var(--muted); max-width: 820px; margin: 8px 0 0; }

/* ---------- категор-баннеры ---------- */
.cat-banners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0 8px; }
.cat-banner {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 108px;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  color: #fff;
  isolation: isolate;
}
.cat-banner img { position: absolute; left: 6px; top: 50%; transform: translateY(-50%); height: 92%; width: auto; z-index: 0; }
.cat-banner span {
  margin-left: auto;
  font-family: var(--font-h);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(19px, 2vw, 26px);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.cat-banner--casino { background: linear-gradient(100deg, #123c3f 0%, #0d2b31 55%, #0a2126 100%); }
.cat-banner--live { background: linear-gradient(100deg, #7d2cc9 0%, #4a1a82 60%, #331060 100%); }
.cat-banner--sport { background: linear-gradient(100deg, #2946e8 0%, #1830b4 55%, #101f86 100%); }
.cat-banner:hover span { color: var(--oro); }

/* ---------- витрина игр ---------- */
.games-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.games-row.cols-4 { grid-template-columns: repeat(4, 1fr); }
.game-tile {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: linear-gradient(160deg, #191919, #111);
  border: 1px solid #242424;
  display: block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.game-tile:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(15, 18, 24, 0.25); }
.game-tile img { width: 100%; aspect-ratio: 3 / 3.4; object-fit: cover; }
.game-tile figcaption { padding: 8px 10px 10px; }
.game-tile figcaption b {
  display: block;
  color: #f2f2ef;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-tile figcaption small { color: #8f9296; font-size: 11px; }
.gtags { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.gtag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 9px;
  color: #fff;
  width: fit-content;
}
.gtag--mes { background: #1f6b3d; }
.gtag--vip { background: #b98a00; }
.gtag--hot { background: #c93b3b; }
.gtag--jp { background: #a12d84; }
.gtag--new { background: #23a55a; }
.gtag--x5k { background: #2946e8; }

/* ---------- спорт-карточки (в манере live-виджета бренда) ---------- */
.match-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.match-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px 14px 12px;
  box-shadow: var(--shadow);
}
.match-card .league { font-size: 11.5px; color: var(--muted); font-weight: 600; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.match-card .teams { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.match-card .teams b { font-size: 14px; font-weight: 600; }
.match-card .when { font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.odds3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.odds3 a {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
  padding: 7px 2px 6px;
  transition: border-color 0.14s ease;
}
.odds3 a:hover { border-color: var(--cyan); }
.odds3 a small { display: block; font-size: 10px; color: var(--muted); font-weight: 700; }
.odds3 a b { font-size: 14.5px; font-variant-numeric: tabular-nums; }
.odds3 a.fav b { color: var(--green); }
.odds-note { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* ---------- live-казино столы ---------- */
.tables-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.table-card {
  border-radius: var(--r-lg);
  padding: 20px 18px;
  color: #fff;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.table-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.table-card h3 { color: #fff; margin-bottom: 4px; }
.table-card small { color: rgba(255, 255, 255, 0.75); font-size: 12.5px; }
.table-card--1 { background: linear-gradient(140deg, #7d2cc9, #3a1166); }
.table-card--2 { background: linear-gradient(140deg, #123c3f, #0a2126); }
.table-card--3 { background: linear-gradient(140deg, #2946e8, #101f86); }
.table-card--4 { background: linear-gradient(140deg, #8a6d1a, #4d3a06); }

/* ---------- чипы / шаги / карточки ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--panel); color: var(--muted); border-radius: 999px; font-size: 12.5px; font-weight: 600; padding: 6px 14px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: st; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 22px 18px 18px; }
.step::before {
  counter-increment: st;
  content: counter(st);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--oro);
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 12px;
}
.step h3 { margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 22px 20px;
}
.card h3 { margin: 8px 0 8px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.card .btn { margin-top: 14px; }
.vip-tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.vip-tier { border-radius: var(--r); padding: 16px 12px; text-align: center; border: 1px solid var(--line); background: var(--panel); }
.vip-tier b { font-family: var(--font-h); display: block; font-size: 15px; }
.vip-tier small { color: var(--muted); font-size: 11.5px; }
.vip-tier--top { background: var(--dark); border-color: var(--dark); color: var(--oro); box-shadow: 0 8px 22px rgba(20, 20, 20, 0.35); }
.vip-tier--top small { color: #b9b98a; }

.callout {
  background: var(--panel);
  border-left: 4px solid var(--oro-deep);
  border-radius: 0 var(--r) var(--r) 0;
  box-shadow: var(--shadow);
  padding: 15px 18px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 14.5px;
}
.callout b { color: var(--ink); }

.article { max-width: 860px; }
.article h2 { margin-top: 30px; }
.article p, .article li { color: #3d4349; }
.article ul, .article ol { margin: 0 0 16px 22px; }

.table-scroll { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); }
table.data { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 14px; }
table.data th { background: var(--dark); color: var(--oro); text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; padding: 11px 14px; }
table.data td { padding: 11px 14px; border-top: 1px solid var(--line); }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 15px 46px 15px 18px; font-weight: 700; font-size: 15.5px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 800; color: var(--oro-deep); }
.faq details[open] summary::after { content: "–"; }
.faq .faq-body { padding: 0 18px 15px; color: var(--muted); font-size: 14.5px; }

/* ---------- CTA-бэнд ---------- */
.cta-band {
  background: linear-gradient(120deg, #171717, #101010);
  border-radius: 22px;
  text-align: center;
  padding: 46px 26px;
  color: #d6d6d2;
}
.cta-band h2 { color: #fff; font-style: italic; text-transform: uppercase; }
.cta-band h2 em { font-style: italic; color: var(--oro); }
.cta-band p { max-width: 620px; margin: 8px auto 22px; }

/* ---------- страницы: заголовок ---------- */
.page-head { padding: 26px 0 8px; }
.page-head p { color: var(--muted); max-width: 800px; margin-top: 8px; }

/* ---------- opiniones ---------- */
.rating-summary { display: grid; grid-template-columns: 210px 1fr; gap: 26px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 24px; }
.rating-score { text-align: center; }
.rating-score b { font-size: 52px; line-height: 1; font-family: var(--font-h); font-weight: 800; }
.rating-score .stars { color: var(--oro-deep); font-size: 19px; letter-spacing: 2px; margin: 6px 0; }
.rating-score span { color: var(--muted); font-size: 13px; }
.rating-bars { display: flex; flex-direction: column; gap: 8px; }
.rbar { display: grid; grid-template-columns: 46px 1fr 40px; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.rbar .track { height: 9px; border-radius: 6px; background: var(--bg); overflow: hidden; }
.rbar .fill { height: 100%; border-radius: 6px; background: var(--dark); }
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.review { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px 18px; }
.review header { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.review b { font-size: 14.5px; }
.review .stars { color: var(--oro-deep); font-size: 13px; white-space: nowrap; }
.review p { color: var(--muted); font-size: 14px; margin: 0; }
.review .brand-reply { margin-top: 10px; border-left: 3px solid var(--oro-deep); padding: 8px 12px; background: var(--bg); border-radius: 0 8px 8px 0; font-size: 13.5px; color: var(--muted); }

/* ---------- футер ---------- */
.site-footer { background: var(--dark); color: #9b9b96; margin-top: 46px; padding: 42px 0 26px; border-radius: 26px 26px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; margin-bottom: 26px; }
.footer-grid h4 { color: var(--oro); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.footer-grid a { display: block; color: #b9b9b3; font-size: 14px; padding: 3px 0; }
.footer-grid a:hover { color: var(--oro); }
.footer-about p { font-size: 13.5px; }
.footer-bottom { border-top: 1px solid #2a2a2a; padding-top: 18px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; }
.age-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--oro); color: var(--oro); font-weight: 800; font-size: 13px; }

/* ---------- sticky CTA ---------- */
.fab {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 140%);
  width: min(560px, 100% - 32px);
  background: var(--dark);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(15, 18, 24, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 10px 9px 22px;
  z-index: 80;
  transition: transform 0.3s ease;
}
.fab.show { transform: translate(-50%, 0); }
.fab b { font-size: 14px; }
.fab b em { font-style: normal; color: var(--oro); }

/* ---------- адаптив ---------- */
@media (max-width: 960px) {
  .main-nav, .header-cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .cat-banners { grid-template-columns: 1fr; }
  .cat-banner { min-height: 88px; }
  .games-row { grid-template-columns: repeat(4, 1fr); }
  .games-row.cols-4 { grid-template-columns: repeat(3, 1fr); }
  .match-cards, .tables-row { grid-template-columns: repeat(2, 1fr); }
  .steps, .cards3 { grid-template-columns: 1fr; }
  .vip-tiers { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .rating-summary { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .sec { padding: 36px 0; }
  .games-row, .games-row.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .match-cards, .tables-row { grid-template-columns: 1fr; }
  .vip-tiers { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .fab { border-radius: 18px 18px 0 0; bottom: 0; width: 100%; }
  .brand { font-size: 18px; padding: 7px 16px; }
}
