/*
Theme Name: Slotorado Guide
Description: Theme for slotoradocasino.live — dark, teal accent, step-by-step guides.
Version: 1.0.0
Author: prgvs
Text Domain: slotorado-guide
*/

:root {
  --bg: #0c1415; --panel: #122022; --panel2: #172a2c; --edge: #234044;
  --tx: #e7f2f0; --dim: #95aeab; --teal: #2dd4bf; --teal2: #14a898; --teal-a: rgba(45,212,191,.12);
  --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: 76px; }
body { margin: 0; background: var(--bg); color: var(--tx); font: 17px/1.7 var(--font); overflow-x: clip; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: #7ff0e0; }
.frame { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 20px; }
.bar .frame { max-width: 1120px; }

/* Bar */
.bar { position: sticky; top: 0; z-index: 60; background: rgba(12,20,21,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--edge); }
.bar-in { display: flex; align-items: center; gap: 26px; min-height: 62px; }
.mark { display: inline-flex; align-items: center; gap: 10px; color: var(--tx); text-decoration: none; font-weight: 800; font-size: 19px; white-space: nowrap; }
.mark span { color: var(--teal); }
.mark-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px var(--teal-a); }
.gd-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.gd-menu, .gd-menu ul { list-style: none; margin: 0; padding: 0; }
.gd-menu { display: flex; gap: 2px; }
.gd-menu li { position: relative; }
.gd-menu a { display: block; padding: 8px 13px; color: var(--tx); text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 999px; }
.gd-menu a:hover, .gd-menu .current-menu-item > a, .gd-menu .current-menu-ancestor > a { background: var(--teal-a); color: var(--teal); }
.gd-menu .menu-item-has-children > a::after { content: " ▾"; font-size: 12px; }
.gd-menu .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; margin-top: 4px; padding: 6px; background: var(--panel); border: 1px solid var(--edge); border-radius: 14px; box-shadow: 0 16px 30px rgba(0,0,0,.45); }
.gd-menu .sub-menu .sub-menu { left: 100%; top: 0; margin: 0; }
.gd-menu .sub-menu a { border-radius: 10px; }
.gd-menu li:hover > .sub-menu, .gd-menu li:focus-within > .sub-menu { display: block; }
.gd-menu .menu-item-has-children::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 6px; }
.sub-tg { display: none; }
.lang-sw { font-size: 13.5px; color: var(--dim); text-decoration: none; border: 1px solid var(--edge); padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.lang-sw b { color: var(--teal); }
.menu-btn { display: none; margin-left: auto; padding: 8px 14px; border: 1px solid var(--edge); border-radius: 999px; background: transparent; color: var(--tx); font: 600 15px var(--font); cursor: pointer; }
.steps-progress { height: 3px; background: transparent; }
.steps-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal2), var(--teal)); transition: width .15s; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 12px; font-weight: 800; text-decoration: none; text-align: center; line-height: 1.2; }
.btn-teal { background: var(--teal); color: #052421; }
.btn-teal:hover { background: #5fe6d4; color: #052421; }

/* Page */
.page { padding: 30px 0 70px; }
.title { margin-bottom: 24px; }
.back { display: inline-block; font-size: 14px; color: var(--dim); text-decoration: none; margin-bottom: 10px; }
.back:hover { color: var(--teal); }
h1 { font-size: 33px; line-height: 1.2; margin: 0 0 16px; letter-spacing: -.3px; }
.author-box { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--dim); padding-bottom: 18px; border-bottom: 1px dashed var(--edge); }
.author-ava { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: var(--teal-a); color: var(--teal); border: 1px solid var(--teal2); }
.author-meta { display: flex; flex-direction: column; line-height: 1.35; }
.author-name a { color: var(--tx); font-weight: 700; text-decoration: none; }

/* Home tiles + bonus */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 18px; }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--edge); text-decoration: none; color: var(--tx); transition: border-color .15s, transform .15s; }
.tile:hover { border-color: var(--teal); transform: translateY(-2px); color: var(--tx); }
.tile-n { width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: #052421; font-weight: 800; display: grid; place-items: center; font-size: 15px; margin-bottom: 6px; }
.tile-h { font-weight: 800; font-size: 18px; }
.tile-p { color: var(--dim); font-size: 14.5px; line-height: 1.45; }
.bonus { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px; margin: 0 0 30px; border-radius: 16px; background: linear-gradient(120deg, #0f3b3a, #13282a 60%); border: 1px solid var(--teal2); }
.bonus p { margin: 0; }
.bonus-k { font-size: 13px; text-transform: uppercase; letter-spacing: 2px; color: var(--dim); }
.bonus-v { font-size: 24px; font-weight: 800; color: var(--teal); line-height: 1.25; }

/* Body */
.body { overflow-wrap: break-word; }
.body h2 { font-size: 25px; line-height: 1.25; margin: 40px 0 12px; }
.body h3 { font-size: 19.5px; margin: 26px 0 8px; color: #c9f5ee; }
.body p { margin: 0 0 16px; }
.body ul { margin: 0 0 18px; padding-left: 22px; }
.body li { margin: 6px 0; }
.body ul li::marker { color: var(--teal); }
.intro p:first-child { font-size: 18.5px; }

/* Нумеровані кроки */
.body ol.steps { list-style: none; counter-reset: st; padding: 0; margin: 4px 0 22px; position: relative; }
.body ol.steps > li { counter-increment: st; position: relative; padding: 12px 16px 12px 62px; margin: 0 0 10px; background: var(--panel); border: 1px solid var(--edge); border-radius: 14px; }
.body ol.steps > li::before { content: counter(st); position: absolute; left: 14px; top: 11px; width: 32px; height: 32px; border-radius: 50%; background: var(--panel2); border: 2px solid var(--teal); color: var(--teal); font-weight: 800; display: grid; place-items: center; font-size: 15px; z-index: 1; }
.body ol.steps > li:not(:last-child)::after { content: ""; position: absolute; left: 29px; top: 43px; bottom: -11px; width: 2px; background: var(--edge); }
.body ol.steps > li.done::before { background: var(--teal); color: #052421; }

.table-wrap { overflow-x: auto; margin: 0 0 20px; border-radius: 14px; border: 1px solid var(--edge); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--edge); vertical-align: top; }
th { background: var(--panel2); color: var(--teal); }
tr:last-child td { border-bottom: 0; }

.sec-proscons .pc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pc-col { background: var(--panel); border-radius: 14px; padding: 14px 16px 4px; border: 1px solid var(--edge); }

/* FAQ */
.faq-list { display: grid; gap: 8px; }
.faq-item { border: 1px solid var(--edge); border-radius: 14px; background: var(--panel); }
.faq-item summary { cursor: pointer; list-style: none; padding: 14px 46px 14px 18px; font-weight: 700; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "›"; position: absolute; right: 18px; top: 9px; font-size: 26px; color: var(--teal); transition: transform .15s; }
.faq-item[open] summary::after { transform: rotate(90deg); }
.faq-a { padding: 0 18px 4px; color: #cfe2df; }

/* Footer */
.end { border-top: 1px solid var(--edge); padding: 32px 0 30px; background: #091011; font-size: 15px; }
.end-menu { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.end-menu a { color: var(--tx); text-decoration: none; }
.end-menu a:hover { color: var(--teal); }
.end-menu .sub-menu { list-style: none; padding: 0; margin: 4px 0 0; font-size: 14px; }
.end-note { color: var(--dim); font-size: 14px; border-top: 1px solid var(--edge); padding-top: 16px; }
.end-note p { margin: 0 0 8px; }
.sticky-cta { display: none; }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .bar-in { flex-wrap: wrap; gap: 0; }
  .gd-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 12px; padding: 6px 0 16px; }
  .bar.open .gd-nav { display: flex; }
  .gd-menu { flex-direction: column; }
  .gd-menu a { padding: 12px 10px; border-radius: 10px; }
  .gd-menu .menu-item-has-children > a { padding-right: 52px; }
  .gd-menu .menu-item-has-children > a::after, .gd-menu .menu-item-has-children::after { display: none; }
  .gd-menu .sub-menu { position: static; display: none; box-shadow: none; border: 0; background: transparent; margin: 0 0 4px 14px; padding: 0; border-left: 2px solid var(--teal2); border-radius: 0; min-width: 0; }
  .gd-menu li:hover > .sub-menu, .gd-menu li:focus-within > .sub-menu { display: none; }
  .gd-menu li.tg-open > .sub-menu { display: block; }
  .sub-tg { display: block; position: absolute; right: 0; top: 3px; width: 44px; height: 40px; border: 0; background: transparent; color: var(--teal); font-size: 18px; cursor: pointer; }
  .lang-sw { align-self: flex-start; }
  .tiles { grid-template-columns: 1fr; }
  .tile { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; }
  .tile-n { margin: 0; }
  .tile-p { flex-basis: 100%; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; padding-bottom: 76px; }
  h1 { font-size: 27px; }
  .body h2 { font-size: 22.5px; }
  .bonus { flex-direction: column; align-items: stretch; text-align: center; }
  .sec-proscons .pc-cols { grid-template-columns: 1fr; }
  .body ol.steps > li { padding-left: 56px; }
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(12,20,21,.96); border-top: 1px solid var(--edge); transition: transform .2s; }
  .sticky-cta .btn { display: block; }
  .sticky-cta.hide { transform: translateY(110%); }
}
