/* ComparatorDeCote.ro — tema casino modern (dark / gold / green) */
:root {
  --bg: #0b1220;
  --bg-2: #101a2e;
  --card: #141f36;
  --card-2: #1a2743;
  --border: #24334f;
  --text: #e8edf6;
  --muted: #93a1ba;
  --gold: #f5b301;
  --gold-2: #ffd24d;
  --green: #22c55e;
  --green-dark: #14532d;
  --red: #ef4444;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(0, 0, 0, .35);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: radial-gradient(1200px 600px at 80% -10%, #16233f 0%, var(--bg) 55%) fixed;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: 76px; /* loc pentru nav mobil */
}
a { color: var(--gold-2); text-decoration: none; }
a:hover { text-decoration: underline; }
/* linkurile din interiorul textului sunt distincte și fără culoare (WCAG) */
p a, li a, dd a, .seo-text a, .footer-legal a, .static-page a, .wiki-body a,
.page-intro a, .empty-state a, .wh-answer a, .mw-guide-link a, .legal a { text-decoration: underline; }
img, svg { vertical-align: middle; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* ---------- banner 18+ ---------- */
.age-banner {
  background: #060a13;
  color: var(--muted);
  /* dimensiune dinamică: nu trece niciodată pe două rânduri, pe niciun ecran */
  font-size: clamp(8.5px, 2.9vw, 12px);
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
  padding: 5px 8px;
  letter-spacing: .2px;
}
.age-banner a { color: var(--gold-2); text-decoration: underline; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 18, 32, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 62px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-accent { color: var(--gold); }
.brand-tld { color: var(--muted); font-weight: 600; }
.main-nav { display: flex; gap: 4px; }
.main-nav a {
  color: var(--muted); font-weight: 600; font-size: 14.5px;
  padding: 8px 13px; border-radius: 9px; transition: .15s;
  display: inline-flex; align-items: center; gap: 6px;
}
.main-nav a:hover { color: var(--text); background: var(--card); text-decoration: none; }
.main-nav a.active { color: var(--gold); background: rgba(245, 179, 1, .1); }

/* ---------- live dot ---------- */
.live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); animation: pulse 1.4s infinite;
}
.live-dot.big { width: 12px; height: 12px; }
@keyframes pulse { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239,68,68,.5);} 50% { opacity: .7; box-shadow: 0 0 0 6px rgba(239,68,68,0);} }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 42px 8px 26px; }
.hero h1 {
  font-size: clamp(26px, 4.6vw, 42px); font-weight: 800; line-height: 1.2;
  background: linear-gradient(120deg, #fff 30%, var(--gold-2) 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { max-width: 720px; margin: 14px auto 0; color: var(--muted); font-size: 16.5px; }
.hero-sub strong { color: var(--green); }
.hero-stats { display: flex; justify-content: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.stat {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 26px; min-width: 130px; box-shadow: var(--shadow);
}
.stat strong { display: block; font-size: 26px; color: var(--gold); }
.stat span { font-size: 12.5px; color: var(--muted); }

/* ---------- secțiuni ---------- */
.section { margin: 34px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.section-head h2, .section h2 { font-size: 21px; font-weight: 800; display: flex; align-items: center; gap: 9px; }
.see-all { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.day-heading { font-size: 15px; color: var(--muted); font-weight: 700; margin-bottom: 10px; text-transform: capitalize; }
.page-intro { color: var(--muted); max-width: 820px; margin: 8px 0 20px; }
h1 { font-size: clamp(22px, 3.6vw, 32px); font-weight: 800; margin-top: 10px; }

/* ---------- breadcrumbs ---------- */
.breadcrumbs { font-size: 13px; color: var(--muted); margin: 14px 0 4px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs span { color: var(--text); }

/* ---------- listă meciuri ---------- */
.match-list { display: flex; flex-direction: column; gap: 18px; }
.match-row {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 14px; align-items: center;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 13px 16px; color: var(--text); transition: .15s; box-shadow: var(--shadow);
}
.match-row:hover { border-color: var(--gold); text-decoration: none; transform: translateY(-1px); }
.match-row.is-live { border-left: 3px solid var(--red); }
.match-meta { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--muted); }
.match-meta time { font-weight: 700; color: var(--text); }
.league-tag { font-size: 11.5px; text-transform: uppercase; letter-spacing: .4px; }
.flag { border-radius: 2px; vertical-align: -2px; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.live-badge {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--red);
  font-size: 12.5px; text-transform: uppercase;
}
.finished-badge { font-weight: 700; color: var(--muted); font-size: 12.5px; text-transform: uppercase; }
.match-teams { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.team { display: flex; align-items: center; gap: 9px; min-width: 0; }
.team-name { font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team .score { margin-left: auto; font-weight: 800; font-size: 16px; color: var(--gold); }
.team-logo { border-radius: 50%; flex-shrink: 0; }
.match-odds { display: flex; gap: 7px; }
.odd-chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  background: var(--card-2); border: 1px solid var(--border); border-radius: 10px;
  padding: 7px 10px; min-width: 88px; text-align: center;
}
.odd-chip em { font-style: normal; font-size: 10.5px; color: var(--muted); font-weight: 700; }
.odd-chip strong { font-size: 16px; color: var(--green); }
.odd-chip small { font-size: 11px; font-weight: 700; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.odd-chip.odd-empty strong { color: var(--muted); }

/* ---------- comparația inline din liste ---------- */
.match-item { display: flex; flex-direction: column; }
.match-item .match-row:has(+ .row-actions) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
/* bara de acțiuni sub meci: colaps comparație 1X2 + link către toate piețele */
.row-actions { display: flex; margin-top: -4px; }
.row-compare-btn, .row-all-bets {
  flex: 1; padding: 12px; min-height: 44px; /* zonă de tap confortabilă pe mobil */
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--bg-2); border: 1px solid var(--border); border-top: 1px dashed var(--border);
  color: var(--muted); font-family: var(--font);
  font-size: 13px; font-weight: 700; cursor: pointer; text-align: center; transition: .15s;
}
.row-compare-btn { border-radius: 0 0 0 12px; border-right: none; }
.row-all-bets { border-radius: 0 0 12px 0; }
.row-all-bets:hover { color: var(--gold); text-decoration: none; }
.row-compare-btn:active, .row-all-bets:active { background: var(--card-2); }
.row-compare-btn:hover { color: var(--gold); }
.row-compare-btn .rcb-arrow { display: inline-block; transition: .2s; }
.row-compare-btn.open .rcb-arrow { transform: rotate(180deg); }
.row-compare { margin-top: 6px; }
.rc-loading { padding: 12px; text-align: center; color: var(--muted); font-size: 13px; }
.rc-table {
  width: 100%; border-collapse: collapse; background: var(--card);
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.rc-table th {
  font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted);
  padding: 8px; background: var(--bg-2); border-bottom: 1px solid var(--border); text-align: center;
  white-space: nowrap;
}
.rc-table th:first-child { text-align: left; padding-left: 14px; }
.rc-table td { padding: 6px 8px; border-bottom: 1px solid var(--border); text-align: center; }
.rc-table tr:last-child td { border-bottom: none; }
.rc-table .rc-name { text-align: left; padding-left: 14px; font-weight: 800; font-size: 13.5px; white-space: nowrap; }
.rc-table .odd-btn { min-width: 54px; padding: 7px 8px; font-size: 14px; }
.rc-logo { background: #fff; padding: 3px 6px; border-radius: 6px; max-width: 92px; object-fit: contain; }
@media (max-width: 760px) {
  .rc-table .cta-cell, .rc-table td:last-child, .rc-table th:last-child { display: none; }
}

/* ---------- filtre ---------- */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.filter-chip {
  background: var(--card); border: 1px solid var(--border); color: var(--muted);
  border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; transition: .15s;
}
.filter-chip:hover { color: var(--text); text-decoration: none; }
.filter-chip.active { background: rgba(245, 179, 1, .12); border-color: var(--gold); color: var(--gold); }

/* ---------- toolbar liste (căutare + zile) ---------- */
.list-toolbar { margin: 16px 0 20px; display: flex; flex-direction: column; gap: 12px; }
.match-search {
  width: 100%; max-width: 480px; background: var(--card); border: 1px solid var(--border);
  color: var(--text); border-radius: 12px; padding: 12px 16px; font-size: 15px; font-family: var(--font);
  transition: .15s;
}
.match-search:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 179, 1, .15); }
.match-search::placeholder { color: var(--muted); }
.day-chips { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- grupuri pe competiții ---------- */
.league-group {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 10px; overflow: hidden; box-shadow: var(--shadow);
}
.league-group summary {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 13px 16px; cursor: pointer; list-style: none; user-select: none;
  font-weight: 700; font-size: 14.5px; transition: .15s;
}
.league-group summary::-webkit-details-marker { display: none; }
.league-group summary:hover { background: var(--card-2); }
.league-group summary::after { content: '▾'; color: var(--muted); transition: .2s; }
.league-group[open] summary::after { transform: rotate(180deg); }
.league-group[open] summary { border-bottom: 1px solid var(--border); }
/* nume în stânga, se trunchiază cu „…" ca să nu treacă niciodată pe 2 rânduri */
.lg-name { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-name .flag { flex-shrink: 0; }
/* contorul de meciuri fixat în dreapta, nu se micșorează niciodată */
.lg-count { font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; flex-shrink: 0; margin-left: auto; }
.league-group .match-list { padding: 12px; gap: 14px; }
.league-group .match-row { box-shadow: none; }
.other-leagues-heading { font-size: 15px; color: var(--muted); margin: 24px 0 10px; text-transform: uppercase; letter-spacing: .6px; }

/* ---------- selector linii (totals/handicap) ---------- */
.line-chips { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 10px; }
.line-chip { cursor: pointer; font-family: var(--font); }
.line-hidden { display: none; }

/* ---------- avancronică + H2H ---------- */
.match-desc {
  background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--gold);
  border-radius: var(--radius); padding: 20px 22px;
}
.match-desc h2 { font-size: 17px; margin-bottom: 10px; color: var(--gold); }
.match-desc p { color: #cfd8e6; font-size: 15px; margin-bottom: 10px; }
.match-desc p:last-child { margin-bottom: 0; }
.h2h-list { display: flex; flex-direction: column; gap: 8px; }
.h2h-row {
  display: grid; grid-template-columns: 84px 1fr 2fr; gap: 12px; align-items: center;
  background: var(--card); border: 1px solid var(--border); border-radius: 11px; padding: 11px 15px;
  font-size: 14px;
}
.h2h-date { color: var(--muted); font-size: 12.5px; }
.h2h-league { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h2h-teams strong { color: var(--gold); padding: 0 6px; }
@media (max-width: 640px) {
  .h2h-row { grid-template-columns: 1fr; gap: 3px; }
}

/* ---------- pagina meci ---------- */
.match-hero {
  background: linear-gradient(150deg, var(--card-2), var(--card));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 20px; margin-top: 16px; text-align: center; box-shadow: var(--shadow);
}
.match-hero.is-live { border-color: rgba(239, 68, 68, .5); }
.match-hero-league { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 18px; }
.match-hero-teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; max-width: 720px; margin: 0 auto; }
.mh-team h2 { font-size: 17px; margin-top: 10px; font-weight: 700; }
.mh-center { padding: 0 8px; }
.mh-vs { font-size: 22px; font-weight: 800; color: var(--muted); }
.mh-score { font-size: 38px; font-weight: 800; color: var(--gold); letter-spacing: 2px; }
.mh-status { margin-top: 6px; font-size: 13px; color: var(--muted); }
.mh-date { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.match-hero-title { font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 22px; }
.tz-note { color: #6b7a94; font-weight: 500; }

/* ---------- tabel cote ---------- */
.market-title { font-size: 18px; margin-bottom: 12px; }
.market-title small { color: var(--muted); font-weight: 500; font-size: 12.5px; }
.market-note { color: var(--muted); font-size: 12px; margin: -6px 0 10px; }
/* notă proeminentă pe meciurile încheiate: cotele sunt de arhivă */
.archived-note {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(245, 179, 1, .07); border: 1px solid rgba(245, 179, 1, .35);
  border-left: 4px solid var(--gold); border-radius: 12px;
  padding: 14px 18px; margin: 18px 0 4px; font-size: 14px; color: #d8e2f0;
}
.archived-note .an-icon { font-size: 22px; line-height: 1.2; }
.archived-note strong { color: var(--gold-2); }
/* pe meciurile încheiate cotele sunt vizual „stinse" — nu arată a butoane active */
.odds-archived .odd-btn { opacity: .75; }
.odds-archived .odd-btn.best { box-shadow: none; }
.odds-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
.odds-table { width: 100%; border-collapse: collapse; background: var(--card); min-width: 560px; }
.odds-table th {
  text-align: center; font-size: 12px; text-transform: uppercase; letter-spacing: .5px;
  color: var(--muted); padding: 11px 10px; border-bottom: 1px solid var(--border); background: var(--bg-2);
  white-space: nowrap; /* „Peste 2.5", „Gazde -1.5" etc. nu se rup pe două rânduri */
}
.odds-table th:first-child { text-align: left; padding-left: 16px; }
.odds-table td { padding: 9px 10px; border-bottom: 1px solid var(--border); text-align: center; }
.odds-table tr:last-child td { border-bottom: none; }
.odds-table .bm-cell { text-align: left; padding-left: 16px; }
/* coloana casei se strânge la lățimea conținutului — fără gol mare până la prima cotă */
.odds-table th:first-child, .odds-table .bm-cell { width: 1%; white-space: nowrap; padding-right: 14px; }
.rc-table th:first-child, .rc-table .rc-name { width: 1%; padding-right: 14px; }
.odd-btn {
  display: inline-block; min-width: 62px; padding: 9px 10px; border-radius: 10px;
  background: var(--card-2); border: 1px solid var(--border);
  font-weight: 800; font-size: 15px; color: var(--text); transition: .15s;
  white-space: nowrap; /* cota și săgeata de tendință rămân mereu pe același rând */
}
.odd-btn:hover { border-color: var(--gold); text-decoration: none; transform: scale(1.05); }
.odd-btn.best { background: var(--green-dark); border-color: var(--green); color: #6ef2a0; box-shadow: 0 0 12px rgba(34, 197, 94, .25); }
.odd-btn.up::after { content: '\00a0▲'; color: var(--green); font-size: 10px; }
.odd-btn.down::after { content: '\00a0▼'; color: var(--red); font-size: 10px; }
.odd-btn.odd-empty { color: var(--muted); }
.odd-btn.inline { min-width: auto; padding: 2px 8px; font-size: 12.5px; }
.odds-legend { font-size: 12.5px; color: var(--muted); margin-top: 9px; }
.cta-cell { white-space: nowrap; }

/* ---------- butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px; padding: 10px 20px; font-weight: 800; line-height: 1.2;
  font-size: 14px; transition: .15s; text-align: center; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: linear-gradient(180deg, #ffc61a 0%, #f2ab00 100%); color: #1a1405;
  border: none; letter-spacing: .2px;
  box-shadow: 0 2px 0 #a87c00, 0 6px 14px rgba(245, 179, 1, .22);
}
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 3px 0 #a87c00, 0 8px 18px rgba(245, 179, 1, .3); }
.btn-primary:active { transform: translateY(1px); box-shadow: 0 1px 0 #a87c00; filter: brightness(.97); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-small { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 13px 30px; font-size: 16px; }

/* ---------- carduri bookmakeri ---------- */
.bm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.bm-card {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 16px 16px; text-align: center;
  display: flex; flex-direction: column; gap: 10px; align-items: center; box-shadow: var(--shadow); transition: .15s;
}
.bm-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.bm-rank {
  position: absolute; top: 10px; left: 12px; font-size: 12px; font-weight: 800;
  color: var(--gold); background: rgba(245, 179, 1, .1); border-radius: 7px; padding: 2px 8px;
}
.bm-logo-text { font-weight: 800; font-size: 19px; color: var(--bm-color, var(--gold)); letter-spacing: .3px; }
img.bm-logo { border-radius: 6px; }
.rc-logo { border-radius: 4px; }
img.bm-logo { background: #fff; padding: 4px 9px; border-radius: 8px; max-width: 130px; object-fit: contain; }
.bm-rating { font-weight: 700; font-size: 14px; }
.bm-rating.big { font-size: 17px; }
.star { color: var(--gold); }
.bm-bonus { font-size: 13px; color: var(--green); font-weight: 600; }
.bm-bonus.big { font-size: 15.5px; margin-top: 10px; }
.bm-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 4px; }
.bm-card .bm-actions { flex-direction: column; width: 100%; flex-wrap: nowrap; }
.bm-card .bm-actions .btn { width: 100%; }
.bm-actions.center { justify-content: center; margin-top: 18px; }
.bm-terms { color: var(--muted); font-size: 10.5px; }

/* ---------- listă bookmakeri (pagina cazinouri) ---------- */
.bm-list { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.bm-row {
  display: grid; grid-template-columns: 46px 170px 1fr auto; gap: 16px; align-items: center;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 18px; box-shadow: var(--shadow); transition: .15s;
}
.bm-row:hover { border-color: var(--gold); }
.bm-row-rank { font-size: 20px; font-weight: 800; color: var(--gold); text-align: center; }
.bm-row-logo { text-align: center; }
.bm-row-info { min-width: 0; }
.bm-pros-mini { list-style: none; margin: 7px 0; font-size: 13px; color: var(--muted); }
.bm-pros-mini li::before { content: '✓ '; color: var(--green); font-weight: 700; }
.bm-row-meta { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 6px; }
.meta-chip {
  font-size: 11.5px; color: var(--muted); background: var(--bg-2);
  border: 1px solid var(--border); border-radius: 7px; padding: 2px 9px;
}
.bm-row-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 160px; text-align: center; }

/* ---------- pagina recenzie ---------- */
.review-hero {
  background: linear-gradient(155deg, var(--card-2), var(--card));
  border: 1px solid var(--border); border-top: 3px solid var(--bm-color, var(--gold));
  border-radius: var(--radius); padding: 30px 24px; margin-top: 16px; box-shadow: var(--shadow);
}
.review-hero h1 { font-size: clamp(20px, 3vw, 27px); margin: 12px 0 18px; }
.review-score { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin: 10px 0; }
.score-circle {
  width: 92px; height: 92px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(var(--gold) 0deg, var(--gold-2) 300deg, var(--card-2) 300deg);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  border: 4px solid var(--bg-2); box-shadow: var(--shadow);
}
.score-circle strong { font-size: 28px; color: #14100a; }
.score-circle span { font-size: 12px; color: #3a2e10; }
.score-bars { flex: 1; min-width: 240px; display: flex; flex-direction: column; gap: 8px; }
.score-bar-row { display: grid; grid-template-columns: 120px 1fr 34px; align-items: center; gap: 10px; font-size: 13px; }
.sb-label { color: var(--muted); }
.sb-track { height: 8px; border-radius: 5px; background: var(--bg-2); overflow: hidden; }
.sb-fill { height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--gold), var(--green)); }
.sb-val { font-weight: 700; text-align: right; }
.review-layout { display: grid; grid-template-columns: 1fr 300px; gap: 22px; margin-top: 22px; }
.review-content { min-width: 0; }
.review-summary {
  background: rgba(245, 179, 1, .06); border: 1px solid rgba(245, 179, 1, .25);
  border-radius: var(--radius); padding: 18px 20px; margin-bottom: 20px;
}
.review-summary h2 { font-size: 16px; color: var(--gold); margin-bottom: 8px; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.pros, .cons { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.pros h3 { color: var(--green); font-size: 15px; margin-bottom: 9px; }
.cons h3 { color: var(--red); font-size: 15px; margin-bottom: 9px; }
.pros ul, .cons ul { list-style: none; font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
.pros li::before { content: '✓ '; color: var(--green); font-weight: 800; }
.cons li::before { content: '✗ '; color: var(--red); font-weight: 800; }
.review-body h2 { font-size: 20px; margin: 26px 0 10px; }
.review-body h3 { font-size: 16.5px; margin: 18px 0 8px; }
.review-body p { margin-bottom: 12px; color: #cfd8e6; }
.review-body ul { margin: 0 0 12px 20px; color: #cfd8e6; }
.review-faq { margin-top: 28px; }
.review-faq h2 { font-size: 20px; margin-bottom: 12px; }
.faq-item {
  background: var(--card); border: 1px solid var(--border); border-radius: 11px;
  margin-bottom: 8px; overflow: hidden;
}
.faq-item summary { padding: 13px 16px; font-weight: 600; cursor: pointer; font-size: 14.5px; }
.faq-item summary:hover { color: var(--gold); }
.faq-item p { padding: 0 16px 14px; color: var(--muted); font-size: 14px; }
.review-sidebar { display: flex; flex-direction: column; gap: 14px; }
.fact-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow);
}
.fact-card h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .5px; color: var(--gold); margin-bottom: 10px; }
.fact-card dl { display: flex; flex-direction: column; gap: 2px; }
.fact-card dt { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; margin-top: 8px; }
.fact-card dd { font-size: 14px; font-weight: 600; }
.payment-list { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; }
.payment-list li {
  font-size: 12.5px; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 7px; padding: 4px 10px;
}
.cta-card { text-align: center; }
.cta-card .btn { width: 100%; margin-bottom: 7px; }
.cta-card small { color: var(--muted); font-size: 11px; }

/* ---------- ghid (wiki) ---------- */
.market-info {
  font-size: clamp(9px, 1.4vw, 10.5px); font-weight: 600; color: var(--muted); margin-left: 8px;
  border: 1px solid var(--border); border-radius: 7px; padding: 1px 7px; white-space: nowrap;
  vertical-align: 2px; flex-shrink: 0;
}
.market-title { display: flex; align-items: center; flex-wrap: nowrap; min-width: 0; }
.market-title > a { margin-left: auto; }
@media (max-width: 560px) {
  .market-info .mi-text { display: none; } /* pe ecrane mici rămâne doar ⓘ — niciodată pe 2 rânduri */
  .market-info { padding: 1px 8px; font-size: 12px; }
}
.market-info:hover { color: var(--gold); border-color: var(--gold); text-decoration: none; }
/* hero landing pe articolele din ghid */
.wiki-hero {
  background: linear-gradient(150deg, #1b2a4a 0%, var(--card) 55%, #172038 100%);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 24px 20px; margin-top: 16px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.wiki-hero::before {
  content: ''; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(245, 179, 1, .13) 0%, transparent 70%); pointer-events: none;
}
.wh-crumbs { margin: 0 0 14px; }
.wh-main { display: flex; gap: 18px; align-items: flex-start; }
.wh-icon {
  font-size: 34px; line-height: 1; flex-shrink: 0;
  background: rgba(245, 179, 1, .1); border: 1px solid rgba(245, 179, 1, .3);
  border-radius: 14px; padding: 12px;
}
.wh-text { min-width: 0; }
.wh-text h1 { margin-top: 0; font-size: clamp(21px, 3.4vw, 30px); }
.wh-answer {
  background: rgba(34, 197, 94, .07); border: 1px solid rgba(34, 197, 94, .3);
  border-radius: 12px; padding: 13px 16px; margin-top: 12px;
}
.wh-answer .wh-label {
  display: inline-block; font-size: 10.5px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .8px; color: var(--green); margin-bottom: 4px;
}
.wh-answer p { color: #d8e2f0; font-size: 15px; margin: 0; }
.wh-facts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.wh-fact {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 11px;
  padding: 8px 14px; display: flex; flex-direction: column; gap: 1px; min-width: 110px;
}
.wh-fact span { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.wh-fact strong { font-size: 13.5px; }
.wiki-updated { color: var(--muted); font-size: 12.5px; margin-top: 20px; }
@media (max-width: 600px) {
  .wh-main { gap: 12px; }
  .wh-icon { font-size: 26px; padding: 10px; }
  .wh-facts { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; }
  .wh-facts::-webkit-scrollbar { display: none; }
  .wh-fact { flex-shrink: 0; }
}

/* widget-uri contextuale: meciuri cu piața din ghid */
.mw-section .section-head h2 { font-size: 19px; }
.mw-intro { color: var(--muted); font-size: 14px; margin: -6px 0 14px; }
.mw-list { display: flex; flex-direction: column; gap: 16px; }
.mw-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.mw-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 16px; color: var(--text); border-bottom: 1px solid var(--border); transition: .15s;
}
.mw-head:hover { background: var(--card-2); text-decoration: none; }
.mw-teams { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
.mw-teams strong { font-size: 14px; }
.mw-vs { font-style: normal; color: var(--muted); font-size: 12px; }
.mw-score { font-style: normal; color: var(--gold); font-weight: 800; font-size: 15px; padding: 0 3px; }
.mw-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; text-align: right; }
.mw-meta time { font-size: 12.5px; font-weight: 700; }
.mw-meta small { font-size: 11px; color: var(--muted); max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mw-table { border: none; border-radius: 0; box-shadow: none; }
.mw-table .rc-table { border: none; border-radius: 0; }
.mw-cta { margin-top: 16px; }
.mw-guide-link { margin: 14px 0 6px; }
.mw-guide-link a { font-weight: 700; }
@media (max-width: 600px) {
  .mw-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .mw-meta { flex-direction: row; align-items: center; gap: 10px; }
}

.wiki-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin: 20px 0; }
.wiki-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 18px; color: var(--text); display: flex; flex-direction: column; gap: 8px;
  transition: .15s; box-shadow: var(--shadow);
}
.wiki-card:hover { border-color: var(--gold); transform: translateY(-2px); text-decoration: none; }
.wiki-card h2, .wiki-card h3 { font-size: 16px; font-weight: 700; }
.wiki-card p { font-size: 13.5px; color: var(--muted); }
.wiki-card .wiki-more { font-size: 13px; color: var(--gold); font-weight: 600; margin-top: auto; }
.wiki-card.small { padding: 14px 16px; }
.wiki-body h2 { font-size: 20px; margin: 24px 0 9px; }
.wiki-body h3 { font-size: 16.5px; margin: 16px 0 7px; }
.wiki-body p, .wiki-body li { color: #cfd8e6; font-size: 15px; }
.wiki-body ul { margin: 8px 0 12px 22px; }
.wiki-body table { width: 100%; border-collapse: collapse; margin: 14px 0; background: var(--card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; font-size: 14px; }
.wiki-body th { background: var(--bg-2); color: var(--muted); text-transform: uppercase; font-size: 11.5px; padding: 9px 12px; text-align: left; }
.wiki-body td { padding: 9px 12px; border-top: 1px solid var(--border); color: #cfd8e6; }
.wiki-cta { background: rgba(245,179,1,.06); border: 1px solid rgba(245,179,1,.25); border-radius: var(--radius); padding: 16px 20px; margin-top: 26px; }
.wiki-cta p { margin: 0; color: #cfd8e6; }

/* ---------- text SEO ---------- */
.seo-text { color: #cfd8e6; max-width: 860px; }
.seo-text h2 { font-size: 20px; margin: 22px 0 8px; color: var(--text); }
.seo-text h3 { font-size: 16.5px; margin: 16px 0 6px; color: var(--text); }
.seo-text p { margin-bottom: 10px; font-size: 15px; }

/* ---------- pagini statice / joc responsabil ---------- */
.static-page { max-width: 860px; margin-bottom: 40px; }
.static-page h2 { font-size: 20px; margin: 24px 0 9px; }
.static-page p, .static-page li { color: #cfd8e6; font-size: 15px; }
.static-page ul { margin: 8px 0 8px 22px; }
.rg-hero {
  display: flex; gap: 16px; align-items: center; background: var(--card);
  border: 1px solid var(--border); border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 18px 20px; margin: 18px 0;
}
.rg-list { list-style: none; margin: 10px 0 !important; display: flex; flex-direction: column; gap: 9px; }
.rg-list li { background: var(--card); border: 1px solid var(--border); border-radius: 11px; padding: 11px 15px; }
.rg-list li::before { content: '✓ '; color: var(--green); font-weight: 800; }
.rg-list.warn li::before { content: '⚠ '; }
.rg-resources { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 13px; margin: 14px 0; }
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid var(--red);
  color: var(--red); font-weight: 800; font-size: 13px; flex-shrink: 0;
}
.badge-18.big { width: 52px; height: 52px; font-size: 17px; }
.badge-rg {
  font-size: 11.5px; border: 1px solid var(--border); color: var(--muted);
  padding: 4px 10px; border-radius: 8px;
}
.rg-badges { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
.contact-email { font-size: 20px; margin: 12px 0; }

/* ---------- stare goală / 404 ---------- */
.empty-state {
  background: var(--card); border: 1px dashed var(--border); border-radius: var(--radius);
  padding: 26px; text-align: center; color: var(--muted);
}
.error-page { text-align: center; padding: 70px 10px; }
.error-page p { color: var(--muted); margin-top: 10px; }

/* ---------- footer ---------- */
.site-footer { background: #070c16; border-top: 1px solid var(--border); margin-top: 50px; padding: 36px 0 26px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.site-footer h3 { font-size: 13.5px; text-transform: uppercase; letter-spacing: .6px; color: var(--gold); margin-bottom: 10px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.site-footer li a { color: var(--muted); font-size: 13.5px; }
.site-footer li a:hover { color: var(--text); }
.footer-legal { border-top: 1px solid var(--border); margin-top: 26px; padding-top: 18px; }
.footer-legal p { font-size: 12px; color: #93a1ba; margin-bottom: 8px; max-width: 980px; }
.copyright { color: #8b99b3 !important; }

/* ---------- nav mobil (app-like) ---------- */
.mobile-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: rgba(9, 14, 25, .97); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.mobile-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: var(--muted); font-size: 10.5px; font-weight: 600; padding: 4px 0; border-radius: 9px;
}
.mobile-nav a:hover { text-decoration: none; }
.mobile-nav a.active { color: var(--gold); }
.mobile-nav svg { width: 22px; height: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .review-layout { grid-template-columns: 1fr; }
  .bm-row { grid-template-columns: 34px 1fr; grid-template-rows: auto auto; }
  .bm-row-logo { text-align: left; }
  .bm-row-info { grid-column: 1 / -1; }
  /* butoanele unul lângă altul, textul 18+ | T&C dedesubt, pe rândul lui */
  .bm-row-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .bm-row-actions .btn { flex: 1 1 40%; }
  .bm-row-actions .bm-terms { flex-basis: 100%; text-align: center; margin-top: 4px; }
}
@media (max-width: 760px) {
  body { padding-bottom: 84px; }
  .age-banner { text-align: left; }
  /* toate rândurile de chips-uri: o singură linie, scroll stânga-dreapta */
  .day-chips, .line-chips, .filter-bar {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding-bottom: 2px; margin-left: -16px; margin-right: -16px;
    padding-left: 16px; padding-right: 16px;
  }
  .day-chips::-webkit-scrollbar, .line-chips::-webkit-scrollbar, .filter-bar::-webkit-scrollbar { display: none; }
  .filter-chip { white-space: nowrap; flex-shrink: 0; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat { min-width: 0; padding: 10px 6px; }
  .stat strong { font-size: 20px; }
  .stat span { font-size: 10.5px; }
  .main-nav { display: none; }
  .mobile-nav { display: flex; }
  .match-row { grid-template-columns: 1fr; gap: 9px; padding: 12px 13px; }
  .match-meta { flex-direction: row; justify-content: space-between; align-items: center; }
  .match-odds { justify-content: stretch; }
  .odd-chip { flex: 1; }
  .pros-cons { grid-template-columns: 1fr; }
  .match-hero-teams { grid-template-columns: 1fr auto 1fr; gap: 6px; }
  .mh-team h2 { font-size: 13.5px; }
  .mh-score { font-size: 30px; }
  .hero { padding-top: 26px; }
  .score-bar-row { grid-template-columns: 96px 1fr 30px; }
}

/* ================= widget accesibilitate ================= */
.mobile-nav .a11y-open { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--muted); font-size: 10.5px; font-weight: 600; padding: 4px 0; background: none; border: none; cursor: pointer; font-family: var(--font); }
.mobile-nav .a11y-open svg { width: 22px; height: 22px; }
.a11y-fab { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 48px; height: 48px; border-radius: 50%; background: var(--card); border: 1px solid var(--border); color: var(--gold); cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: var(--shadow); transition: .15s; }
.a11y-fab:hover { border-color: var(--gold); transform: scale(1.06); }
@media (min-width: 761px) { .a11y-fab { display: flex; } }

.a11y-panel { position: fixed; inset: auto 12px 90px auto; z-index: 80; width: min(340px, calc(100vw - 24px)); background: var(--card); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 16px 50px rgba(0,0,0,.55); padding: 16px; }
@media (min-width: 761px) { .a11y-panel { bottom: 76px; } }
.a11y-panel h2 { font-size: 15px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.a11y-close { background: none; border: none; color: var(--muted); font-size: 20px; cursor: pointer; padding: 2px 8px; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-btn { background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-family: var(--font); font-size: 12px; font-weight: 600; padding: 9px 8px; cursor: pointer; text-align: center; transition: .15s; min-height: 44px; }
.a11y-btn:hover { border-color: var(--gold); }
.a11y-btn[aria-pressed="true"], .a11y-btn.lvl-1, .a11y-btn.lvl-2, .a11y-btn.lvl-3 { border-color: var(--gold); background: rgba(245,179,1,.14); color: var(--gold-2); }
.a11y-btn small { display: block; color: var(--muted); font-size: 10px; font-weight: 500; }
.a11y-reset { grid-column: 1 / -1; background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.4); color: #f0847e; }

/* efectele: niveluri de text */
html.a11y-fs-1 body { zoom: 1.1; } html.a11y-fs-2 body { zoom: 1.2; } html.a11y-fs-3 body { zoom: 1.35; }
html.a11y-ws-1 body { word-spacing: .16em; } html.a11y-ws-2 body { word-spacing: .32em; } html.a11y-ws-3 body { word-spacing: .5em; }
html.a11y-ls-1 body { letter-spacing: .05em; } html.a11y-ls-2 body { letter-spacing: .1em; } html.a11y-ls-3 body { letter-spacing: .16em; }
html.a11y-lh-1 body * { line-height: 1.8 !important; } html.a11y-lh-2 body * { line-height: 2.1 !important; } html.a11y-lh-3 body * { line-height: 2.5 !important; }

/* filtre vizuale — aplicate pe secțiunile de top, nu pe body (nu strică position:fixed) */
html { --a11y-inv: 0; --a11y-sat: 1; --a11y-gray: 0; }
html.a11y-invert { --a11y-inv: 1; }
html.a11y-sat { --a11y-sat: .3; }
html.a11y-gray { --a11y-gray: 1; }
html.a11y-invert, html.a11y-sat, html.a11y-gray { background: #fff; }
html:is(.a11y-invert, .a11y-sat, .a11y-gray) body { background: var(--bg); }
html:is(.a11y-invert, .a11y-sat, .a11y-gray) main { background: var(--bg); }
html:is(.a11y-invert, .a11y-sat, .a11y-gray) :is(.age-banner, .site-header, main, .site-footer, .mobile-nav) {
  filter: invert(var(--a11y-inv)) hue-rotate(calc(var(--a11y-inv) * 180deg)) saturate(var(--a11y-sat)) grayscale(var(--a11y-gray));
}
/* la contrast luminos, imaginile rămân naturale (re-inversate) */
html.a11y-invert :is(main, .site-header, .site-footer) img { filter: invert(1) hue-rotate(180deg); }

/* evidențieri */
html.a11y-links a { text-decoration: underline !important; background: rgba(245, 179, 1, .22); border-radius: 3px; }
html.a11y-titles :is(h1, h2, h3, h4) {
  background: rgba(34, 197, 94, .16); border-left: 4px solid var(--green);
  padding-left: 10px; border-radius: 4px;
  /* anulăm efectele de tip gradient-pe-text (hero h1) ca titlul să rămână vizibil */
  -webkit-background-clip: border-box !important; background-clip: border-box !important;
  color: var(--text) !important; -webkit-text-fill-color: var(--text) !important;
}
html.a11y-font body, html.a11y-font body * { font-family: Arial, Verdana, Helvetica, sans-serif !important; }

/* text SEO extins pe homepage — lizibil, coloane confortabile */
.home-seo { max-width: 900px; margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--border); }
.home-seo h2 { font-size: 20px; margin: 26px 0 8px; }
.home-seo h2:first-child { margin-top: 0; }
.home-seo h3 { font-size: 16.5px; margin: 18px 0 6px; color: var(--text); }
.home-seo p, .home-seo li { color: #cfd8e6; font-size: 15px; line-height: 1.7; }
.home-seo ul { margin: 8px 0 12px 22px; }
.home-seo strong { color: var(--text); }
.seo-byline { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }
.seo-byline strong { color: var(--text); }
