/* ============================================================
   smetop.sk — platený rebríček. Prémiový tmavý dizajn.
   Súťaž o pozíciu: pohyb nahor, hodnota, ticker feel.
   ============================================================ */
:root {
    --bg:        #0a0c10;
    --bg-2:      #0d1015;
    --surface:   #12161d;
    --surface-2: #171c24;
    --surface-3: #1e242e;
    --line:      #212936;
    --line-2:    #2c3644;
    --line-hi:   #384556;
    --text:      #eaeef3;
    --text-2:    #b6c0cd;
    --muted:     #7b8798;
    --muted-2:   #55606f;
    --accent:    #34e4c4;
    --accent-hi: #6ff3db;
    --accent-dk: #12a58c;
    --accent-dim:rgba(52,228,196,.12);
    --violet:    #8b7ff5;
    --violet-dim:rgba(139,127,245,.12);
    --gold:      #f2c14e;
    --gold-hi:   #ffd875;
    --silver:    #cbd3de;
    --bronze:    #d38a54;
    --danger:    #f0655a;
    --success:   #3fca94;
    --radius:    18px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,.3);
    --shadow:    0 8px 24px rgba(0,0,0,.4);
    --shadow-lg: 0 24px 64px rgba(0,0,0,.55);
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body:    'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.tnum { font-variant-numeric: tabular-nums; }

body::before {
    content:''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background:
        radial-gradient(1100px 520px at 72% -8%, rgba(52,228,196,.08), transparent 62%),
        radial-gradient(760px 420px at 12% 4%, rgba(139,127,245,.05), transparent 58%),
        linear-gradient(180deg, var(--bg-2), var(--bg) 40%);
}
body::after {
    content:''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 55%);
    mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 55%);
    opacity: .06;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10,12,16,.72);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-size: 1.28rem; font-weight: 700; letter-spacing: -.02em; }
.brand-text { display: inline-flex; }
.brand .mark {
    width: 34px; height: 34px; border-radius: 10px;
    background: linear-gradient(140deg, var(--accent-hi), var(--accent-dk));
    display: flex; align-items: center; justify-content: center;
    color: #04201b; font-size: .95rem;
    box-shadow: 0 4px 18px rgba(52,228,196,.35), inset 0 1px 0 rgba(255,255,255,.3);
    transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.brand:hover .mark { transform: rotate(-6deg) scale(1.06); }
.brand .dot { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { position: relative; padding: 8px 14px; font-size: .92rem; color: var(--muted); font-weight: 500; border-radius: 9px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a.active { color: var(--accent); }
.nav a.nav-cta { background: var(--accent); color: #04201b; font-weight: 600; margin-left: 6px; }
.nav a.nav-cta:hover { background: var(--accent-hi); color: #04201b; }

/* ---------- Tlačidlá ---------- */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; font-family: var(--font-body); font-size: .94rem; font-weight: 600;
    border: none; border-radius: 11px; cursor: pointer; overflow: hidden; white-space: nowrap;
    transition: transform .16s cubic-bezier(.34,1.4,.64,1), box-shadow .25s, background .2s, border-color .2s;
}
.btn-accent { background: linear-gradient(135deg, var(--accent-hi), var(--accent)); color: #04201b; box-shadow: 0 4px 18px rgba(52,228,196,.28), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(52,228,196,.45), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-accent:active { transform: translateY(0); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--line-hi); background: var(--surface-2); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Live counter ---------- */
.counter-bar { display: flex; justify-content: center; margin: 34px 0 2px; }
.counter {
    display: inline-flex; align-items: stretch;
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line-2); border-radius: 100px; overflow: hidden;
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.03);
}
.counter .seg { display: flex; align-items: center; gap: 9px; padding: 12px 24px; }
.counter .seg + .seg { border-left: 1px solid var(--line); }
.counter .seg .n { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--text); font-variant-numeric: tabular-nums; }
.counter .seg .l { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; font-weight: 600; }
.counter .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100%{opacity:1; box-shadow:0 0 12px var(--accent)} 50%{opacity:.5; box-shadow:0 0 4px var(--accent)} }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 40px 0 18px; }
.hero .eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
    padding: 7px 16px; border: 1px solid var(--line-2); border-radius: 100px;
    background: var(--surface); color: var(--accent);
    text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; font-weight: 600;
}
.hero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.02; margin-bottom: 8px; }
.hero h1 .pos { background: linear-gradient(135deg, var(--accent-hi) 20%, var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .sub-h1 { color: var(--text-2); font-size: 1.08rem; max-width: 520px; margin: 0 auto 26px; }

.price-picker {
    display: inline-flex; align-items: stretch; margin-bottom: 22px;
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 40px rgba(52,228,196,.08);
}
.price-picker button { width: 58px; border: none; background: transparent; color: var(--accent-hi); font-size: 1.6rem; cursor: pointer; transition: background .18s, color .18s; }
.price-picker button:hover { background: var(--accent); color: #04201b; }
.price-picker .val { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; padding: 16px 34px; min-width: 190px; display: flex; align-items: center; justify-content: center; color: var(--accent-hi); font-variant-numeric: tabular-nums; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }

.submit-row { display: grid; grid-template-columns: 1fr 230px auto; gap: 10px; max-width: 780px; margin: 0 auto 14px; }
.submit-row input, .submit-row select { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; font-size: .96rem; font-family: var(--font-body); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.submit-row input::placeholder { color: var(--muted-2); }
.submit-row input:focus, .submit-row select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.hero-note { color: var(--muted); font-size: .88rem; max-width: 540px; margin: 0 auto; }

/* ---------- Layout rebríčka ---------- */
.board-layout { display: grid; grid-template-columns: 264px 1fr; gap: 32px; padding: 40px 0 70px; align-items: start; }

.sidebar { position: sticky; top: 88px; }
.sidebar .box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.sidebar .box-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.today-top .rank { display: flex; gap: 12px; align-items: flex-start; }
.today-top .rank .n { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--gold-hi), var(--gold)); color: #3a2c05; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: .82rem; flex-shrink: 0; box-shadow: 0 3px 12px rgba(242,193,78,.35); }
.today-top .rank .info .t { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.today-top .rank .info .c, .today-top .rank .info .u { color: var(--muted); font-size: .8rem; }
.today-top .rank .info .amt { color: var(--accent); font-family: var(--font-display); font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; }
.cat-list a { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 10px; font-size: .92rem; color: var(--text-2); transition: all .16s; margin-bottom: 2px; }
.cat-list a:hover { background: var(--surface-2); color: var(--text); }
.cat-list a.on { background: var(--accent-dim); color: var(--accent-hi); font-weight: 600; }
.cat-list a .ico { display: inline-flex; gap: 10px; align-items: center; }
.cat-list a .cnt { font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.cat-list a.on .cnt { color: var(--accent); }

.board-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 12px; }
.board-head h2 { font-family: var(--font-display); font-size: 1.65rem; font-weight: 600; letter-spacing: -.02em; display: inline; }
.board-head .cnt { color: var(--muted); font-size: .95rem; margin-left: 10px; }
.board-sub { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.toggle { display: inline-flex; background: var(--surface); border: 1px solid var(--line-2); border-radius: 100px; padding: 4px; }
.toggle a { padding: 8px 18px; border-radius: 100px; font-size: .87rem; font-weight: 600; color: var(--muted); transition: all .2s; }
.toggle a.on { background: var(--accent); color: #04201b; box-shadow: 0 2px 10px rgba(52,228,196,.3); }

.board-controls { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; }
.search-box { position: relative; flex: 1; min-width: 240px; display: flex; align-items: center; }
.search-box .si { position: absolute; left: 16px; color: var(--muted); font-size: 1.05rem; pointer-events: none; }
.search-box input { width: 100%; padding: 12px 42px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; color: var(--text); font-family: var(--font-body); font-size: .94rem; transition: border-color .2s, box-shadow .2s; }
.search-box input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.search-box .clear { position: absolute; right: 12px; color: var(--muted); width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--surface-2); font-size: .8rem; }
.search-box .clear:hover { color: var(--text); background: var(--surface-3); }
.sort-box { display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.sort-box .sl { color: var(--muted-2); font-size: .8rem; margin-right: 4px; text-transform: uppercase; letter-spacing: .06em; }
.sort-box a { padding: 8px 14px; border-radius: 100px; font-size: .84rem; font-weight: 600; color: var(--muted); background: var(--surface); border: 1px solid var(--line); transition: all .2s; }
.sort-box a:hover { color: var(--text); border-color: var(--line-2); }
.sort-box a.on { background: var(--violet-dim); color: var(--violet); border-color: rgba(139,127,245,.4); }

/* ---------- Riadok rebríčka ---------- */
.row {
    position: relative; display: grid; grid-template-columns: 58px 54px 1fr auto; align-items: center; gap: 18px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px 24px; margin-bottom: 12px; overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .2s cubic-bezier(.34,1.3,.64,1), border-color .25s, box-shadow .25s;
}
.row:hover { transform: translateY(-3px); border-color: var(--line-hi); box-shadow: var(--shadow-lg); }
.row::after { content:''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--line-2); }
.row.r1 { border-color: rgba(242,193,78,.45); background: linear-gradient(105deg, rgba(242,193,78,.09), var(--surface) 52%); box-shadow: 0 10px 34px rgba(242,193,78,.1); }
.row.r1::after { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); }
.row.r1::before { content:''; position: absolute; top: 0; left: -60%; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(242,193,78,.16), transparent); transform: skewX(-20deg); animation: shimmer 5s ease-in-out infinite; pointer-events: none; }
@keyframes shimmer { 0%,100%{left:-60%} 55%{left:135%} }
.row.r2 { border-color: rgba(203,211,222,.28); }
.row.r2::after { background: linear-gradient(180deg, #e6ecf3, var(--silver)); }
.row.r3 { border-color: rgba(211,138,84,.28); }
.row.r3::after { background: linear-gradient(180deg, #e8a877, var(--bronze)); }

.row .rnum { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line-2); font-variant-numeric: tabular-nums; }
.row.r1 .rnum { background: linear-gradient(140deg, var(--gold-hi), var(--gold)); color: #3a2c05; border: none; box-shadow: 0 4px 18px rgba(242,193,78,.5); }
.row.r2 .rnum { background: linear-gradient(140deg, #e6ecf3, var(--silver)); color: #2a2f36; border: none; box-shadow: 0 4px 14px rgba(203,211,222,.3); }
.row.r3 .rnum { background: linear-gradient(140deg, #e8a877, var(--bronze)); color: #3a220f; border: none; box-shadow: 0 4px 14px rgba(211,138,84,.3); }

.row .thumb { width: 52px; height: 52px; border-radius: 13px; object-fit: cover; background: var(--surface-2); border: 1px solid var(--line-2); }
.row .thumb-ph { width: 52px; height: 52px; border-radius: 13px; background: linear-gradient(140deg, var(--surface-3), var(--surface-2)); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--muted); }
.row .body { min-width: 0; }
.row .body .name { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 4px; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.row .body .desc { color: var(--text-2); font-size: .92rem; line-height: 1.5; margin-bottom: 9px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row .body .meta { display: flex; align-items: center; gap: 9px; font-size: .82rem; color: var(--muted-2); flex-wrap: wrap; }
.row .body .meta .catpos { color: var(--accent); font-weight: 600; }
.row .body .meta a { color: var(--muted); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.row .body .meta a:hover { color: var(--accent); border-color: var(--accent); }
.row .aside { text-align: right; white-space: nowrap; }
.row .aside .bid-label { font-size: .64rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); font-weight: 600; margin-bottom: 4px; }
.row .aside .bid-amt { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--text); margin-bottom: 11px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.row.r1 .aside .bid-amt { background: linear-gradient(135deg, var(--gold-hi), var(--gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.row .aside .btn-take-pos { display: inline-flex; align-items: center; gap: 6px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 15px; font-size: .85rem; font-weight: 600; color: var(--text); transition: all .2s; }
.row .aside .btn-take-pos:hover { background: var(--accent); color: #04201b; border-color: var(--accent); box-shadow: 0 6px 20px rgba(52,228,196,.4); transform: translateY(-1px); }

@keyframes fadeUp { from{opacity:0; transform:translateY(14px)} to{opacity:1; transform:translateY(0)} }
.row { animation: fadeUp .5s ease both; }
.row:nth-child(2){animation-delay:.05s}.row:nth-child(3){animation-delay:.1s}.row:nth-child(4){animation-delay:.15s}.row:nth-child(5){animation-delay:.2s}.row:nth-child(6){animation-delay:.25s}

.empty { text-align: center; padding: 72px 24px; color: var(--muted); background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.empty .big { font-family: var(--font-display); font-size: 1.4rem; color: var(--text); margin-bottom: 10px; }
.empty p { max-width: 400px; margin: 0 auto; }
.empty .btn { margin-top: 20px; }

/* ---------- Odznaky ---------- */
.pbadge { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 7px; font-size: .78rem; vertical-align: middle; background: var(--surface-2); border: 1px solid var(--line-2); cursor: default; transition: transform .2s; }
.pbadge:hover { transform: translateY(-2px) scale(1.12); }
.pbadge.gold { background: rgba(242,193,78,.15); border-color: rgba(242,193,78,.4); }
.pbadge.diamond { background: rgba(52,228,196,.15); border-color: rgba(52,228,196,.4); }
.pbadge.hot { background: rgba(240,101,90,.15); border-color: rgba(240,101,90,.4); }
.pbadge.new { background: rgba(139,127,245,.15); border-color: rgba(139,127,245,.4); }
.pbadge.zap { background: rgba(242,193,78,.12); border-color: rgba(242,193,78,.3); }

/* ---------- Ako sa hrá ---------- */
.how { padding: 20px 0 60px; }
.how h2 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; letter-spacing: -.02em; margin-bottom: 28px; text-align: center; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.how-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, border-color .2s; }
.how-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.how-card .step { width: 40px; height: 40px; border-radius: 11px; background: var(--accent-dim); color: var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 16px; }
.how-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.how-card p { color: var(--text-2); font-size: .93rem; }

/* ---------- Detail ---------- */
.detail { max-width: 760px; margin: 32px auto; padding: 0 24px; }
.detail-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.detail-card .top { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 18px; }
.detail-card .thumb, .detail-card .thumb-ph { width: 76px; height: 76px; border-radius: 18px; flex-shrink: 0; }
.detail-card .thumb-ph { display: flex; align-items: center; justify-content: center; background: linear-gradient(140deg, var(--surface-3), var(--surface-2)); border: 1px solid var(--line-2); font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--muted); }
.detail-card h1 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.detail-card .pos-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 100px; padding: 6px 14px; font-size: .84rem; }
.detail-card .pos-tag strong { color: var(--accent); }
.detail-card .desc { color: var(--text-2); margin: 18px 0; line-height: 1.65; }
.detail-card .visit { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; word-break: break-all; }
.detail-stats { display: flex; gap: 30px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.detail-stats .s .n { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.detail-stats .s .l { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }

.progress-wrap { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.progress-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: .9rem; color: var(--muted); }
.progress-top strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--accent-hi); font-variant-numeric: tabular-nums; }
.progress-bar { height: 10px; background: var(--surface-2); border-radius: 100px; overflow: hidden; position: relative; }
.progress-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-dk), var(--accent-hi)); border-radius: 100px; position: relative; box-shadow: 0 0 18px rgba(52,228,196,.5); transition: width 1s cubic-bezier(.22,1,.36,1); }
.progress-bar span::after { content:''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent); animation: progShine 2.2s infinite; }
@keyframes progShine { 0%{transform:translateX(-100%)} 100%{transform:translateX(220%)} }

.detail-actions { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.act-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); font-size: .87rem; font-weight: 600; font-family: var(--font-body); cursor: pointer; transition: all .2s; }
.act-btn:hover { border-color: var(--accent); color: var(--accent-hi); transform: translateY(-2px); }
.act-btn.on { background: rgba(242,193,78,.14); border-color: rgba(242,193,78,.5); color: var(--gold); }
.act-btn.muted { color: var(--muted); margin-left: auto; }
.act-btn.muted:hover { color: var(--danger); border-color: var(--danger); }

.boost { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-top: 18px; box-shadow: var(--shadow); }
.boost h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 6px; }
.boost .hint { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.boost .beat { background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; padding: 13px 16px; margin-bottom: 16px; font-size: .92rem; }
.boost .beat strong { color: var(--accent); }
.boost-row { display: flex; gap: 10px; }
.boost-row input { flex: 1; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 11px; font-size: 1rem; font-family: var(--font-body); color: var(--text); font-variant-numeric: tabular-nums; }
.boost-row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.qr-box { text-align: center; margin-top: 18px; padding: 26px; background: var(--surface-2); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.qr-box #qrcode { display: inline-block; padding: 16px; background: #fff; border-radius: 14px; margin-bottom: 18px; box-shadow: var(--shadow); }
.qr-box .qr-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; text-align: left; }
.qr-box .qr-line:last-of-type { border-bottom: none; }
.qr-box .qr-line .k { color: var(--muted); }
.qr-box .qr-line .v { font-weight: 600; font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.qr-box .qr-line .v.big { color: var(--accent); font-size: 1.15rem; }
.qr-box .after { color: var(--muted); font-size: .86rem; margin-top: 16px; }

.chart-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin-top: 18px; box-shadow: var(--shadow); }
.chart-card h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 18px; }
.chart-card .spark { width: 100%; height: 120px; display: block; }
.chart-foot { display: flex; justify-content: space-between; margin-top: 12px; font-size: .82rem; color: var(--muted); }

/* ---------- Flash ---------- */
.flash { padding: 14px 17px; border-radius: 12px; margin: 16px 0; font-size: .93rem; }
.flash.ok { background: rgba(63,202,148,.12); color: var(--success); border: 1px solid rgba(63,202,148,.3); }
.flash.err { background: rgba(240,101,90,.12); color: var(--danger); border: 1px solid rgba(240,101,90,.3); }
.flash.pending { background: rgba(242,193,78,.1); color: var(--gold); border: 1px solid rgba(242,193,78,.3); }

/* ---------- Formuláre ---------- */
.form-wrap { max-width: 460px; margin: 48px auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.form-wrap.wide { max-width: 580px; }
.form-wrap h1 { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -.02em; margin-bottom: 6px; }
.form-wrap p.sub { color: var(--muted); margin-bottom: 24px; font-size: .95rem; }
.field { margin-bottom: 17px; }
.field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 11px; font-size: .96rem; font-family: var(--font-body); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.field .fhint { color: var(--muted-2); font-size: .8rem; margin-top: 6px; }
.form-wrap .alt { text-align: center; margin-top: 20px; font-size: .9rem; color: var(--muted); }
.form-wrap .alt a { color: var(--accent); font-weight: 600; }

.news-box { background: linear-gradient(165deg, var(--accent-dim), var(--surface) 70%); }
.news-hint { color: var(--text-2); font-size: .84rem; margin-bottom: 13px; }
.news-form input { width: 100%; padding: 11px 13px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; color: var(--text); font-family: var(--font-body); font-size: .88rem; margin-bottom: 9px; }
.news-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.news-ok { background: rgba(63,202,148,.12); color: var(--success); border: 1px solid rgba(63,202,148,.3); padding: 10px 12px; border-radius: 9px; font-size: .82rem; margin-bottom: 11px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 34px; margin-top: 20px; background: var(--bg-2); }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; margin-bottom: 30px; }
.site-footer .brand { margin-bottom: 14px; font-size: 1.18rem; }
.site-footer p { color: var(--muted); font-size: .9rem; max-width: 320px; }
.site-footer h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); font-weight: 600; margin-bottom: 14px; }
.site-footer a { display: block; color: var(--muted); font-size: .9rem; margin-bottom: 9px; transition: color .2s; }
.site-footer a:hover { color: var(--accent); }
.site-footer .bottom { border-top: 1px solid var(--line); padding-top: 22px; font-size: .85rem; color: var(--muted-2); }

.badge { padding: 3px 10px; border-radius: 100px; font-size: .74rem; font-weight: 600; }
.badge.pending { background: rgba(242,193,78,.12); color: var(--gold); }
.badge.confirmed, .badge.active { background: rgba(63,202,148,.12); color: var(--success); }
.badge.rejected, .badge.hidden { background: rgba(240,101,90,.12); color: var(--danger); }

/* ---------- Live ticker (clickbait feed) ---------- */
.ticker-wrap { border-bottom: 1px solid var(--line); background: rgba(18,22,29,.5); overflow: hidden; }
.ticker { display: flex; align-items: center; gap: 16px; height: 44px; overflow: hidden; }
.ticker-live { flex-shrink: 0; font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: var(--danger); display: inline-flex; align-items: center; gap: 6px; }
.ticker-live::before { content:''; width: 7px; height: 7px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 8px var(--danger); animation: pulse 1.6s infinite; }
.ticker-track { display: flex; gap: 32px; white-space: nowrap; animation: tickerScroll 40s linear infinite; }
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
.ticker-item { font-size: .86rem; color: var(--text-2); display: inline-flex; align-items: center; gap: 8px; }
.ticker-ago { color: var(--muted-2); font-size: .78rem; }
@keyframes tickerScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ---------- Notifikačný zvonček ---------- */
.nav-bell { position: relative; padding: 8px 12px; font-size: 1.05rem; border-radius: 9px; transition: background .2s; }
.nav-bell:hover { background: var(--surface); }
.bell-badge { position: absolute; top: 2px; right: 4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 100px; background: var(--danger); color: #fff; font-size: .64rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* ---------- Notifikácie ---------- */
.notif-item { display: flex; gap: 14px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); margin-bottom: 10px; transition: border-color .2s, transform .15s; }
.notif-item:hover { border-color: var(--line-2); transform: translateX(2px); }
.notif-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); margin-top: 6px; flex-shrink: 0; box-shadow: 0 0 8px var(--accent); }
.notif-dot.read { background: var(--muted-2); box-shadow: none; }
.notif-title { font-weight: 600; font-size: .96rem; margin-bottom: 2px; }
.notif-text { color: var(--text-2); font-size: .88rem; }
.notif-time { color: var(--muted-2); font-size: .78rem; margin-top: 4px; }

/* ---------- Odpočet ---------- */
.countdown { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 100px; background: rgba(240,101,90,.1); border: 1px solid rgba(240,101,90,.3); color: var(--danger); font-size: .82rem; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Responzívne ---------- */
@media (max-width: 940px) {
    .board-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; order: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .sidebar .box { margin-bottom: 0; }
    .submit-row { grid-template-columns: 1fr; }
    .how-grid { grid-template-columns: 1fr; }
    .site-footer .cols { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
    .container { padding: 0 18px; }
    .sidebar { grid-template-columns: 1fr; }
    .counter { width: 100%; }
    .counter .seg { flex: 1; justify-content: center; padding: 12px 14px; }
    .hero { padding: 28px 0 12px; }
    .row { grid-template-columns: 44px 1fr; gap: 14px; padding: 16px; }
    .row .thumb, .row .thumb-ph { display: none; }
    .row .aside { grid-column: 1/-1; text-align: left; display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
    .row .aside .bid-amt { margin-bottom: 0; }
    .nav .hide-sm { display: none; }
    .price-picker .val { min-width: 140px; font-size: 1.7rem; padding: 14px 20px; }
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
