/*
Theme Name: Gambling.cz
Theme URI: https://www.gambling.cz/
Author: Gambling.cz
Description: Datová a affiliate šablona pro český srovnávač legálních online casin a sázkových kanceláří.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: gambling-cz
*/

:root {
  --bg: #06111c;
  --bg-deep: #030a11;
  --panel: #0b1a28;
  --panel-2: #102232;
  --line: #22374a;
  --line-soft: rgba(145, 173, 196, .14);
  --text: #f4f7f9;
  --muted: #9eb0bd;
  --lime: #98dc2b;
  --lime-dark: #6aaa0b;
  --yellow: #ffc82e;
  --danger: #ff5d6c;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 18% -10%, rgba(29, 74, 96, .24), transparent 35rem),
    linear-gradient(180deg, #06111c 0%, #071522 64%, #040c14 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: min(1480px, calc(100% - 36px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.section-anchor { scroll-margin-top: 92px; }

.responsible-bar { background: #02070c; border-bottom: 1px solid rgba(255,255,255,.07); color: #b6c0c8; font-size: 11px; letter-spacing: .04em; }
.responsible-inner { min-height: 30px; display: flex; align-items: center; justify-content: space-between; }
.responsible-inner span { display: flex; align-items: center; gap: 7px; }
.responsible-inner strong { color: #d4dbe0; font-weight: 600; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(3, 11, 18, .91); border-bottom: 1px solid rgba(255,255,255,.09); backdrop-filter: blur(16px); }
.header-inner { height: 76px; display: flex; align-items: center; gap: 34px; }
.logo { display: inline-block; color: #fff; font-size: 23px; line-height: .92; font-weight: 950; letter-spacing: -1.2px; white-space: nowrap; }
.logo span { color: var(--lime); }
.logo small { display: block; color: #7f929f; font-size: 8px; font-weight: 500; letter-spacing: .02em; margin-top: 7px; }
.nav { display: flex; align-items: stretch; align-self: stretch; margin-left: auto; }
.nav a { display: flex; align-items: center; position: relative; padding: 0 17px; color: #dbe2e6; font-size: 12px; font-weight: 750; text-transform: uppercase; }
.nav a::after { content: ""; position: absolute; inset: auto 17px 0; height: 2px; background: var(--lime); transform: scaleX(0); transition: transform .18s ease; }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.mobile-menu { display: none; background: transparent; border: 0; padding: 9px; }

.button { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 5px; padding: 0 20px; font-size: 12px; font-weight: 800; letter-spacing: .015em; text-transform: uppercase; cursor: pointer; transition: transform .16s ease, border-color .16s ease, background .16s ease; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.button-primary { color: #0d1b0a; background: linear-gradient(180deg, #aeea3d, #83c917); box-shadow: 0 8px 24px rgba(112, 187, 16, .16); }
.button-primary:hover { background: linear-gradient(180deg, #b7ef4a, #91d720); }
.button-outline { border-color: #617182; color: #fff; background: rgba(255,255,255,.02); }
.button-outline:hover { border-color: var(--lime); }
.button-ghost { border-color: #344b5d; color: #dce6ec; background: rgba(6,17,28,.52); }
.button svg { width: 15px; height: 15px; }
.full { width: 100%; }

.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 338px; gap: 18px; padding-block: 18px; }
.main-column { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.panel, .side-panel { border: 1px solid var(--line); background: linear-gradient(145deg, rgba(13,30,44,.98), rgba(8,22,34,.98)); box-shadow: inset 0 1px 0 rgba(255,255,255,.02), 0 15px 48px rgba(0,0,0,.11); }
.panel { border-radius: 9px; }

.hero { min-height: 430px; display: grid; grid-template-columns: minmax(330px, .94fr) minmax(440px, 1.06fr); gap: 26px; padding: 36px; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 21% 45%, rgba(18, 85, 107, .2), transparent 31rem); }
.hero > * { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 15px; color: #a6bfca; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { width: 18px; height: 2px; background: var(--lime); box-shadow: 0 0 12px rgba(152,220,43,.6); }
.hero-copy { align-self: center; }
.hero h1 { max-width: 610px; margin: 0; font-size: clamp(38px, 4vw, 61px); line-height: 1.03; letter-spacing: -2.2px; }
.hero h1 em { color: var(--lime); font-style: normal; display: block; }
.hero-lead { max-width: 650px; margin: 19px 0 0; color: #bac7cf; font-size: 15px; line-height: 1.65; }
.check-list { list-style: none; padding: 0; margin: 22px 0 25px; display: grid; gap: 11px; color: #e5eaed; font-size: 13px; }
.check-list li { display: flex; align-items: center; gap: 10px; }
.check-list svg { color: var(--lime); padding: 3px; border: 1px solid #547724; border-radius: 50%; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-self: stretch; }
.category-card { isolation: isolate; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; min-height: 352px; padding: 24px; border: 1px solid #2a4051; border-radius: 9px; background-color: #091623; background-position: 60% center; background-size: cover; text-align: left; cursor: pointer; }
.category-card::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(3,9,15,.15) 0%, rgba(3,10,16,.35) 43%, rgba(3,10,16,.98) 100%); }
.category-card::after { content: ""; position: absolute; z-index: -1; inset: 0; border: 1px solid rgba(255,255,255,.02); border-radius: inherit; transition: border-color .2s ease; }
.category-card:hover::after { border-color: rgba(152,220,43,.55); }
.casino-card { background-image: url('assets/casino-card.png'); }
.sportsbook-card { background-image: url('assets/sportsbook-card.png'); }
.category-kicker { color: var(--lime); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.category-kicker.yellow { color: var(--yellow); }
.category-card strong { margin-top: 8px; font-size: 24px; letter-spacing: -.5px; }
.category-card small { margin-top: 7px; color: #c3cdd3; font-size: 11px; }
.category-link { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding: 10px 12px; background: var(--lime); color: #0a1607; font-size: 10px; font-weight: 900; text-transform: uppercase; border-radius: 4px; }
.category-link.yellow-link { background: var(--yellow); color: #211800; }

.comparison { overflow: hidden; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; padding: 25px 25px 20px; }
.section-heading.compact { align-items: center; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2, .methodology h2, .partner-section h2 { margin: 0; font-size: 25px; letter-spacing: -.6px; }
.data-stamp { display: flex; align-items: center; gap: 8px; color: #9db0bb; font-size: 11px; white-space: nowrap; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(152,220,43,.09); }
.toolbar { min-height: 57px; display: flex; align-items: center; gap: 15px; padding: 9px 18px; border-block: 1px solid var(--line-soft); background: rgba(2,9,15,.28); }
.segmented { display: flex; padding: 3px; background: #07131e; border: 1px solid #203649; border-radius: 5px; }
.segmented button { min-height: 31px; border: 0; border-radius: 3px; padding: 0 13px; background: transparent; color: #91a4b1; font-size: 10px; font-weight: 800; text-transform: uppercase; cursor: pointer; }
.segmented button.active { background: rgba(152,220,43,.14); color: var(--lime); box-shadow: inset 0 0 0 1px rgba(152,220,43,.18); }
.search-box { width: 185px; display: flex; align-items: center; gap: 8px; margin-left: auto; padding: 0 10px; border: 1px solid #263b4c; border-radius: 4px; color: #78909f; background: #07131e; }
.search-box input { width: 100%; height: 34px; border: 0; outline: 0; background: transparent; color: #fff; font-size: 11px; }
.search-box input::placeholder { color: #708491; }
.toggle-label { display: flex; align-items: center; gap: 8px; color: #adbbc4; font-size: 11px; cursor: pointer; white-space: nowrap; }
.toggle-label input { position: absolute; opacity: 0; }
.toggle { width: 30px; height: 17px; border-radius: 99px; background: #263a49; position: relative; transition: background .18s; }
.toggle::after { content: ""; position: absolute; width: 11px; height: 11px; left: 3px; top: 3px; border-radius: 50%; background: #aebbc4; transition: transform .18s; }
.toggle-label input:checked + .toggle { background: var(--lime-dark); }
.toggle-label input:checked + .toggle::after { transform: translateX(13px); background: #fff; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; min-width: 900px; border-collapse: collapse; }
th { padding: 13px 16px; color: #7f95a4; background: rgba(3,11,18,.38); font-size: 9px; letter-spacing: .075em; text-transform: uppercase; text-align: left; }
td { padding: 16px; border-top: 1px solid var(--line-soft); color: #dce3e7; font-size: 12px; vertical-align: middle; }
tbody tr { transition: background .15s ease; }
tbody tr:hover { background: rgba(255,255,255,.022); }
td:first-child { min-width: 150px; }
td:nth-child(2) { min-width: 190px; }
.operator-mark { display: inline-flex; align-items: center; gap: 8px; color: #f4f7f9; font-size: 13px; font-weight: 850; white-space: nowrap; }
.operator-mark > span { width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 5px; color: #071108; background: linear-gradient(145deg, #b7ef4b, #73b70e); font-size: 12px; font-weight: 950; }
.vertical-tags { display: flex; gap: 4px; margin: 7px 0 0 36px; }
.vertical-tags small { padding: 2px 5px; border: 1px solid #2f4556; border-radius: 3px; color: #8ea2af; font-size: 8px; }
.cell-note { display: block; max-width: 230px; margin-top: 5px; color: #788e9c; font-size: 9px; line-height: 1.35; }
.status { display: inline-flex; align-items: center; min-height: 22px; padding: 0 7px; border-radius: 3px; font-size: 9px; font-weight: 850; text-transform: uppercase; }
.status.verified { color: #b9f45b; background: rgba(152,220,43,.1); border: 1px solid rgba(152,220,43,.22); }
.status.pending { color: #e1b95e; background: rgba(255,200,46,.08); border: 1px solid rgba(255,200,46,.18); }
.source-link { display: inline-flex; align-items: center; gap: 6px; color: #bcd679; font-size: 10px; font-weight: 750; white-space: nowrap; }
.source-link:hover { color: var(--lime); }
.empty-state { margin: 0; padding: 25px; color: #8fa1ac; text-align: center; }
.disclosure { margin: 0; padding: 14px 18px; border-top: 1px solid var(--line-soft); background: rgba(152,220,43,.035); color: #91a4b0; font-size: 10px; line-height: 1.55; }
.disclosure strong { color: #d8e2e7; }

.methodology { padding-bottom: 25px; }
.text-link { display: flex; align-items: center; gap: 8px; color: #bbd97f; font-size: 11px; font-weight: 750; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-inline: 25px; border: 1px solid var(--line-soft); background: var(--line-soft); }
.method-grid article { position: relative; min-height: 180px; padding: 26px; background: #0a1926; }
.method-grid article > span { position: absolute; top: 17px; right: 19px; color: #294052; font-size: 26px; font-weight: 900; }
.method-grid article > svg { width: 30px; height: 30px; color: var(--lime); }
.method-grid h3 { margin: 20px 0 9px; font-size: 14px; }
.method-grid p { margin: 0; color: #8fa3af; font-size: 11px; line-height: 1.55; }

.partner-section { display: grid; grid-template-columns: 1.4fr .8fr; gap: 30px; padding: 32px; background:
  linear-gradient(120deg, rgba(9,27,39,.96), rgba(11,32,36,.97)),
  radial-gradient(circle at 85% 50%, rgba(152,220,43,.12), transparent 24rem); }
.partner-section > div:first-child > p:not(.eyebrow) { max-width: 720px; margin: 16px 0 20px; color: #9eb0bb; font-size: 13px; line-height: 1.65; }
.partner-points { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.partner-points span { display: flex; align-items: center; gap: 7px; color: #ccd6dc; font-size: 10px; }
.partner-points svg { color: var(--lime); }
.partner-card { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 24px; border: 1px solid #35513f; border-radius: 7px; background: rgba(3,15,17,.48); }
.partner-card > small { color: #849a96; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.partner-card > a:not(.button) { margin: 8px 0 12px; color: var(--lime); font-size: clamp(17px, 1.7vw, 23px); font-weight: 800; }
.partner-card p { margin: 0 0 17px; color: #91a6a4; font-size: 10px; line-height: 1.55; }

.sidebar { display: flex; flex-direction: column; gap: 14px; }
.side-panel { border-radius: 9px; overflow: hidden; }
.side-heading { min-height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--line-soft); }
.side-heading p { margin: 0; font-size: 13px; font-weight: 850; text-transform: uppercase; }
.side-heading > span { color: #728a99; font-size: 9px; text-transform: uppercase; }
.top-row { min-height: 69px; display: grid; grid-template-columns: 30px 1fr 22px; align-items: center; gap: 7px; padding: 0 15px; border-bottom: 1px solid var(--line-soft); }
.top-row:hover { background: rgba(255,255,255,.025); }
.top-row b { color: #708696; font-size: 12px; }
.top-row > span:last-child { color: var(--lime); }
.side-footnote { margin: 0; padding: 13px 16px; color: #758a97; font-size: 9px; line-height: 1.45; }
.checker-card { padding: 21px; text-align: left; background:
  radial-gradient(circle at 50% 60%, rgba(108,181,22,.12), transparent 12rem),
  linear-gradient(145deg, #0d2030, #081723); }
.checker-card .eyebrow { margin-bottom: 9px; }
.checker-card h2 { margin: 0; font-size: 23px; }
.checker-card > p:not(.eyebrow) { margin: 10px 0 0; color: #91a5b1; font-size: 11px; line-height: 1.55; }
.checker-visual { width: 138px; height: 78px; margin: 25px auto; padding-top: 13px; border: 12px solid rgba(152,220,43,.16); border-bottom-color: var(--lime); border-radius: 90px 90px 20px 20px; text-align: center; }
.checker-visual span { display: block; font-size: 27px; line-height: 1; font-weight: 900; }
.checker-visual small { color: #8296a2; font-size: 9px; }
.changelog article { margin: 0 17px; padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.changelog article:last-child { border-bottom: 0; }
.changelog time { color: var(--lime); font-size: 9px; font-weight: 750; }
.changelog h3 { margin: 5px 0; font-size: 12px; }
.changelog p { margin: 0; color: #8397a4; font-size: 10px; line-height: 1.45; }

.trust-strip { border-block: 1px solid var(--line); background: #091725; }
.trust-grid { min-height: 105px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.trust-grid article { min-height: 55px; display: flex; align-items: center; gap: 15px; padding: 0 25px; border-right: 1px solid var(--line-soft); }
.trust-grid article:last-child { border-right: 0; }
.trust-grid svg { width: 31px; height: 31px; color: var(--lime); }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { font-size: 11px; text-transform: uppercase; }
.trust-grid span { margin-top: 4px; color: #7f94a2; font-size: 9px; }

footer { background: #040b12; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .7fr .7fr 1.2fr; gap: 50px; padding-block: 45px 33px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-logo { font-size: 21px; }
.footer-grid > div:first-child p { max-width: 270px; color: #80929e; font-size: 10px; line-height: 1.55; }
.footer-grid strong { margin-bottom: 5px; color: #dbe2e6; font-size: 10px; text-transform: uppercase; }
.footer-grid a:not(.logo) { color: #8699a6; font-size: 10px; }
.footer-grid a:not(.logo):hover { color: var(--lime); }
.legal-copy p { margin: 0; color: #8b9ba5; font-size: 9px; line-height: 1.45; }
.footer-bottom { display: flex; justify-content: space-between; padding-block: 16px; border-top: 1px solid rgba(255,255,255,.07); color: #536976; font-size: 9px; }

.modal-backdrop { position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(1,5,9,.82); backdrop-filter: blur(9px); }
.modal { position: relative; width: min(570px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 30px; border: 1px solid #334c5f; border-radius: 9px; background: linear-gradient(145deg, #102536, #081722); box-shadow: 0 30px 100px rgba(0,0,0,.55); }
.modal h2 { margin: 0 0 25px; font-size: 28px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid #344b5c; border-radius: 4px; background: #0a1722; cursor: pointer; }
.form-group { margin-top: 18px; }
.form-group > label { display: block; margin-bottom: 9px; color: #9fb1bc; font-size: 10px; font-weight: 750; text-transform: uppercase; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice-grid button { min-height: 46px; border: 1px solid #324858; border-radius: 5px; background: #0a1824; color: #adbbc4; cursor: pointer; }
.choice-grid button.selected { border-color: var(--lime); color: #eef7df; background: rgba(152,220,43,.09); }
.form-group select { width: 100%; height: 46px; border: 1px solid #324858; border-radius: 5px; padding: 0 12px; background: #0a1824; color: #d9e1e5; }
.result-list { margin-top: 24px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.result-list > small { display: block; padding: 10px 13px; color: #718794; background: rgba(1,7,11,.24); font-size: 9px; text-transform: uppercase; }
.result-list > a { min-height: 65px; display: grid; grid-template-columns: 135px 1fr 20px; align-items: center; gap: 12px; padding: 10px 13px; border-top: 1px solid var(--line-soft); }
.result-list > a > span:nth-child(2) { color: #dbe4e8; font-size: 11px; font-weight: 750; }
.result-list > a > span:nth-child(2) small { display: block; margin-top: 4px; color: #7f929e; font-size: 9px; font-weight: 400; }
.result-list > a > svg { color: var(--lime); }
.modal-note { margin: 15px 0 0; color: #778d99; font-size: 9px; }

@media (max-width: 1180px) {
  .page-grid { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; }
  .hero { grid-template-columns: 1fr; }
  .category-card { min-height: 280px; }
  .nav a { padding-inline: 10px; }
}

@media (max-width: 860px) {
  .shell { width: min(100% - 24px, 720px); }
  .header-inner { height: 64px; }
  .mobile-menu { display: grid; place-items: center; margin-left: auto; }
  .header-cta { display: none; }
  .nav { position: absolute; top: 64px; right: 12px; left: 12px; display: none; flex-direction: column; align-items: stretch; padding: 7px; border: 1px solid var(--line); border-radius: 6px; background: #081722; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
  .nav.open { display: flex; }
  .nav a { min-height: 45px; padding-inline: 14px; }
  .hero { padding: 27px; }
  .hero h1 { letter-spacing: -1.5px; }
  .category-grid { margin-top: 5px; }
  .sidebar { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .partner-section { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; padding-block: 16px; }
  .trust-grid article:nth-child(2) { border-right: 0; }
  .footer-grid { grid-template-columns: 1.25fr 1fr; }
}

@media (max-width: 590px) {
  .responsible-inner { justify-content: center; }
  .responsible-inner strong { display: none; }
  .page-grid { padding-block: 12px; gap: 12px; }
  .main-column, .sidebar { gap: 12px; }
  .hero { padding: 23px 18px 18px; }
  .hero h1 { font-size: 40px; }
  .hero-lead { font-size: 13px; }
  .hero-actions .button { width: 100%; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 240px; }
  .section-heading { align-items: flex-start; flex-direction: column; padding: 21px 17px 16px; }
  .section-heading h2, .methodology h2, .partner-section h2 { font-size: 22px; }
  .toolbar { align-items: stretch; flex-direction: column; padding: 12px; }
  .segmented { width: 100%; }
  .segmented button { flex: 1; }
  .search-box { width: 100%; margin: 0; }
  .toggle-label { padding: 4px 2px; }
  .method-grid { margin-inline: 17px; }
  .partner-section { padding: 23px 18px; }
  .partner-card > a:not(.button) { font-size: 18px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid article { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .trust-grid article:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 25px; }
  .footer-bottom { flex-direction: column; gap: 7px; }
  .modal { padding: 25px 17px; }
  .choice-grid { grid-template-columns: 1fr; }
  .result-list > a { grid-template-columns: 115px 1fr 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
