/*
Theme Name: Slotorado Review
Description: Тема огляду slotoradocasino.info — темна синьо-графітова, акцент золотий.
Version: 1.0.0
Author: prgvs
Text Domain: slotorado-review
*/

:root {
  --bg: #12161f; --bg2: #171d29; --card: #1c2333; --navy: #1b2a44; --line: #2a3348;
  --text: #e6e9ef; --muted: #9aa4b5; --gold: #e0b54a; --gold2: #b88a1e; --gold-soft: rgba(224,181,74,.12);
  --ok: #6fcf97; --bad: #f08a7a; --r: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--font); overflow-x: clip; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #f4d27a; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Шапка */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(18,22,31,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; font-size: 20px; letter-spacing: .2px; white-space: nowrap; }
.logo b { color: var(--gold); font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: 24px; flex: 1; }
.menu, .menu ul { list-style: none; margin: 0; padding: 0; }
.menu { display: flex; gap: 4px; flex: 1; }
.menu > li { position: relative; }
.menu a { display: block; padding: 10px 14px; color: var(--text); text-decoration: none; border-radius: 8px; font-size: 15.5px; }
.menu a:hover, .menu .current-menu-item > a, .menu .current-menu-ancestor > a { color: var(--gold); background: var(--gold-soft); }
.menu .menu-item-has-children > a::after { content: ""; display: inline-block; margin-left: 7px; width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); }
.menu .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 14px 34px rgba(0,0,0,.4); }
.menu .sub-menu .sub-menu { top: 0; left: 100%; }
.menu li:hover > .sub-menu, .menu li:focus-within > .sub-menu { display: block; }
.sub-toggle { display: none; }
.head-tools { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: 13px; font-weight: 600; }
.lang a, .lang .cur { padding: 5px 11px; text-decoration: none; }
.lang a { color: var(--muted); }
.lang .cur { background: var(--gold-soft); color: var(--gold); }
.btn { display: inline-block; padding: 11px 20px; border-radius: 10px; font-weight: 700; text-decoration: none; text-align: center; line-height: 1.2; }
.btn-gold { background: linear-gradient(180deg, #f0c75d, var(--gold2)); color: #1a1405; }
.btn-gold:hover { color: #000; filter: brightness(1.06); }
.btn-wide { display: block; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--text); content: ""; }
.nav-toggle span:first-child { top: 21px; }
.nav-toggle span:first-child::before { left: 0; top: -6px; }
.nav-toggle span:first-child::after { left: 0; top: 6px; }

/* Перший екран і шапка сторінки */
.hero { background: radial-gradient(1000px 360px at 85% 0%, rgba(224,181,74,.14), transparent 60%), linear-gradient(180deg, var(--navy), var(--bg)); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
h1 { font-size: 34px; line-height: 1.2; margin: 0 0 16px; letter-spacing: -.3px; }
.bonus-banner { background: linear-gradient(160deg, #22355a, #141b2a); border: 1px solid rgba(224,181,74,.45); border-radius: 18px; padding: 22px; text-align: center; box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.bonus-art { width: 190px; display: block; margin: 0 auto 6px; }
.bonus-kicker { margin: 0; text-transform: uppercase; letter-spacing: 2px; font-size: 12.5px; color: var(--muted); }
.bonus-big { margin: 4px 0 0; font-size: 30px; font-weight: 800; color: var(--gold); line-height: 1.15; }
.bonus-sub { margin: 4px 0 16px; color: var(--text); }
.page-head { background: linear-gradient(180deg, var(--navy), var(--bg)); border-bottom: 1px solid var(--line); padding: 22px 0 26px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs .sep { opacity: .5; }

/* Автор */
.author-box { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--muted); }
.author-ava { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #1a1405; background: linear-gradient(135deg, #f4d27a, var(--gold2)); }
.author-meta { display: flex; flex-direction: column; line-height: 1.35; }
.author-name a { color: var(--text); font-weight: 600; text-decoration: none; }
.author-name a:hover { color: var(--gold); }

/* Сторінка + зміст */
.with-toc { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; align-items: start; }
.no-toc .entry { max-width: 820px; }
.entry { padding: 34px 0 60px; min-width: 0; overflow-wrap: break-word; }
.toc-side { position: sticky; top: 90px; padding-top: 34px; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; font-size: 14.5px; }
.toc-title { margin: 0 0 8px; font-weight: 700; color: var(--gold); text-transform: uppercase; font-size: 12.5px; letter-spacing: 1.5px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 5px 0; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--gold); }
.toc-mobile { display: none; margin-bottom: 22px; }

/* Вміст */
.entry h2 { font-size: 26px; line-height: 1.25; margin: 42px 0 14px; padding-top: 4px; }
.entry h2::before { content: ""; display: block; width: 44px; height: 3px; background: var(--gold); border-radius: 2px; margin-bottom: 12px; }
.entry h3 { font-size: 20px; margin: 28px 0 10px; color: #f1e3bd; }
.entry p { margin: 0 0 16px; }
.entry ul, .entry ol { margin: 0 0 18px; padding-left: 22px; }
.entry li { margin: 6px 0; }
.entry ul li::marker { color: var(--gold); }
.entry ol.steps { counter-reset: s; list-style: none; padding-left: 0; }
.entry ol.steps > li { counter-increment: s; position: relative; padding-left: 42px; }
.entry ol.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--gold-soft); color: var(--gold); font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.intro > p:first-child { font-size: 18.5px; color: #f2f4f8; }
.table-wrap { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--navy); color: var(--gold); font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: rgba(255,255,255,.02); }

/* Плюси / мінуси */
.sec-proscons { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 24px 18px; margin-top: 36px; }
.sec-proscons h2 { margin-top: 22px; }
.pc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pc-col { background: var(--bg2); border-radius: var(--r); padding: 16px 18px; border-top: 3px solid var(--ok); }
.pc-col + .pc-col { border-top-color: var(--bad); }
.pc-title { font-weight: 800; margin-bottom: 8px !important; }
.pc-col ul { list-style: none; padding-left: 0; }
.pc-col li { padding-left: 26px; position: relative; }
.pc-col li::before { content: "+"; position: absolute; left: 4px; color: var(--ok); font-weight: 800; }
.pc-col + .pc-col li::before { content: "−"; color: var(--bad); }

/* Сітка ігор */
.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 8px 0 26px; }
.game-tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.game-art { display: grid; place-items: center; aspect-ratio: 4 / 3; font-size: 30px; font-weight: 800; color: rgba(255,255,255,.85); background: linear-gradient(135deg, #24365a, #3b2f12); letter-spacing: 1px; }
.game-tile:nth-child(3n+2) .game-art { background: linear-gradient(135deg, #3a2a52, #1d3b4a); }
.game-tile:nth-child(3n) .game-art { background: linear-gradient(135deg, #1f4a3c, #2a2f4f); }
.game-name { padding: 10px 12px 0; font-weight: 700; font-size: 15px; line-height: 1.3; }
.game-cat { padding: 2px 12px 12px; color: var(--muted); font-size: 13px; }

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.faq-item summary { cursor: pointer; list-style: none; padding: 15px 48px 15px 18px; font-weight: 700; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 11px; font-size: 24px; color: var(--gold); line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-a { padding: 0 18px 4px; color: #d4d9e3; }

/* Футер */
.site-foot { border-top: 1px solid var(--line); background: #0e1219; padding: 38px 0 26px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: start; }
.logo-foot { margin: 0 0 8px; }
.foot-note { color: var(--muted); margin: 0; max-width: 460px; }
.foot-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: flex-end; }
.foot-menu a { color: var(--text); text-decoration: none; }
.foot-menu a:hover { color: var(--gold); }
.foot-menu .sub-menu { list-style: none; padding: 0; margin: 4px 0 0; font-size: 14px; }
.disclaimer { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.disclaimer p { margin: 0 0 8px; }
.copy { opacity: .8; }

/* Адаптив */
@media (max-width: 1020px) {
  .with-toc { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc-side { display: none; }
  .toc-mobile { display: block; }
  .toc-mobile summary { cursor: pointer; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); font-weight: 700; }
  .toc-mobile .toc { border-top: 0; border-radius: 0 0 var(--r) var(--r); }
  .toc-mobile .toc-title { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .bonus-banner { max-width: 440px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .head-row { flex-wrap: wrap; gap: 0; }
  .main-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 14px; padding: 8px 0 18px; max-height: calc(100vh - 70px); overflow-y: auto; }
  .site-head.open .main-nav { display: flex; }
  .menu { flex-direction: column; }
  .menu li { position: relative; }
  .menu a { padding: 12px 10px; }
  .menu .sub-menu { position: static; display: none; box-shadow: none; border: 0; border-left: 2px solid var(--gold); border-radius: 0; margin: 0 0 6px 12px; padding: 0 0 0 6px; background: transparent; min-width: 0; }
  .menu li:hover > .sub-menu, .menu li:focus-within > .sub-menu { display: none; }
  .menu li.sub-open > .sub-menu { display: block; }
  .menu .menu-item-has-children > a { padding-right: 52px; }
  .menu .menu-item-has-children > a::after { display: none; }
  .sub-toggle { display: block; position: absolute; right: 0; top: 2px; width: 44px; height: 42px; border: 0; background: transparent; color: var(--gold); cursor: pointer; }
  .sub-toggle::before { content: ""; display: inline-block; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
  .sub-open > .sub-toggle::before { transform: rotate(-135deg); }
  .head-tools { justify-content: space-between; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-menu { justify-content: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  h1 { font-size: 28px; }
  .entry h2 { font-size: 23px; }
  .pc-cols { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sec-proscons { padding: 4px 16px 14px; }
  .bonus-big { font-size: 26px; }
  th { white-space: normal; }
}
