/* Murdie web – tmavý, moderní one-pager: sklo, zaoblené panely, zlaté a fialové akcenty, Minecraft Ten na titulky. */
@font-face { font-family: 'Minecraft Ten'; src: url('../fonts/minecraft_ten.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Noto Sans'; src: url('../fonts/noto_sans_regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Noto Sans'; src: url('../fonts/noto_sans_semibold.ttf') format('truetype'); font-weight: 600; font-display: swap; }

:root {
  --bg: #08080d;
  --bg-2: #0d0d14;
  --panel: rgba(22, 22, 32, .72);
  --panel-solid: #15151f;
  --panel-2: #1b1b27;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eeeef4;
  --muted: #a4a4b6;
  --faint: #6c6c7e;
  --gold: #e8c56a;
  --gold-2: #ffd86a;
  --purple: #8e6bff;
  --purple-2: #b79bff;
  --green: #3fa64a;
  --green-2: #7bd684;
  --green-3: #1d5524;
  --red: #e05a5a;
  --cyan: #6fd6e8;
  --title: 'Minecraft Ten', 'Noto Sans', sans-serif;
  --body: 'Noto Sans', system-ui, sans-serif;
  --r: 16px;
  --r-s: 10px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .55);
}

* { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; position: relative; overflow-x: hidden; }
/* jemné záře na pozadí + mřížka */
body::before { content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(900px 600px at 15% -10%, rgba(142, 107, 255, .22), transparent 60%),
              radial-gradient(800px 500px at 90% 10%, rgba(232, 197, 106, .12), transparent 60%),
              radial-gradient(700px 500px at 50% 110%, rgba(142, 107, 255, .14), transparent 60%); }
body::after { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 70%); }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-2); }
h1, h2, h3, .display { font-family: var(--title); font-weight: 400; letter-spacing: .02em; margin: 0 0 .5em; line-height: 1.08; text-transform: uppercase; }
h1 { font-size: clamp(38px, 6.4vw, 78px); }
h2 { font-size: clamp(26px, 3.6vw, 42px); }
h3 { font-size: 18px; color: var(--gold); }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.gold { color: var(--gold); }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
main { flex: 1; }
.kicker { color: var(--gold); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: 12px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ''; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }
.kicker.center { justify-content: center; }
.kicker.center::after { content: ''; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head p { color: var(--muted); font-size: 17px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ----- navigace ----- */
.nav { position: sticky; top: 0; z-index: 30; padding: 14px 0; }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 60px; padding: 0 10px 0 18px; border-radius: 999px;
  background: rgba(12, 12, 18, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border: 1px solid var(--line); box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-family: var(--title); font-size: 21px; letter-spacing: .05em; }
.brand img { height: 34px; image-rendering: pixelated; }
.nav-links { display: flex; gap: 6px; margin-left: 10px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; padding: 8px 14px; border-radius: 999px; transition: background .15s, color .15s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav-links a.active { color: var(--text); background: rgba(255,255,255,.08); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); border-radius: 999px; font-size: 13px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); display: inline-block; }
.dot.on { background: var(--green-2); box-shadow: 0 0 10px var(--green-2); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 6px var(--green-2); } 50% { box-shadow: 0 0 14px var(--green-2); } }
.avatar { width: 28px; height: 28px; image-rendering: pixelated; background: var(--panel-2); border-radius: 6px; }
@media (max-width: 760px) { .nav-links { display: none; } .nav .wrap { height: 54px; } }

/* ----- panely ----- */
.box, .card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); position: relative; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.box { padding: 24px; }
.card { padding: 20px; }
.box::before, .card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.05), transparent 40%); }
.glow-gold { box-shadow: 0 0 0 1px rgba(232,197,106,.15), 0 20px 60px rgba(232,197,106,.08); }
.glow-purple { box-shadow: 0 0 0 1px rgba(142,107,255,.18), 0 20px 60px rgba(142,107,255,.12); }

/* ----- tlačítka ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); color: var(--text); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; font-family: var(--body); border-radius: 999px; transition: background .15s, transform .08s, border-color .15s, box-shadow .15s; }
.btn:hover { background: rgba(255,255,255,.1); color: var(--text); border-color: rgba(255,255,255,.25); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: linear-gradient(180deg, #ffd56e, #f2c14e 60%, #c9962e); border-color: rgba(255,233,160,.6); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 10px 30px rgba(242,193,78,.35); font-family: var(--title); font-size: 18px; letter-spacing: .04em; padding: 14px 30px; color: #3a2400; text-shadow: 0 1px 0 rgba(255,240,200,.35); }
.btn.primary:hover { background: linear-gradient(180deg, #ffe08a, #ffd36a 60%, #d9a43a); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 14px 40px rgba(242,193,78,.5); }
.btn.gold { background: linear-gradient(180deg, #ffd86a, #e8c56a 60%, #b8933a); border-color: rgba(255,216,106,.6); color: #2a2008; font-family: var(--title); font-size: 18px; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 10px 30px rgba(232,197,106,.3); }
.btn.gold:hover { color: #2a2008; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 14px 40px rgba(232,197,106,.45); }
.btn.big { font-size: 24px; padding: 18px 40px; }
.btn.sm { padding: 8px 14px; font-size: 12px; }
.btn:disabled, .btn.disabled { opacity: .5; cursor: default; pointer-events: none; }
.btn svg { width: 18px; height: 18px; }

/* ----- formuláře ----- */
.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.field input { width: 100%; padding: 12px 16px; background: rgba(0,0,0,.35); border: 1px solid var(--line-2); border-radius: var(--r-s); color: var(--text); font: inherit; font-weight: 600; outline: none; transition: border-color .15s, box-shadow .15s; }
.field input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,197,106,.15); }
.field .hint { color: var(--faint); font-size: 12px; margin-top: 6px; }
.error { color: var(--red); font-size: 14px; margin: -6px 0 14px; min-height: 1.4em; }
.ok { color: var(--green-2); font-size: 14px; }
.auth { max-width: 460px; margin: 60px auto; padding: 34px; }
.auth h2 { margin-bottom: 4px; }
.auth .lead { color: var(--muted); margin-bottom: 26px; }
.code { font-family: ui-monospace, Consolas, monospace; letter-spacing: .08em; }

/* ----- hero ----- */
.hero { position: relative; padding: 56px 0 30px; text-align: center; }
.hero h1 { margin: 0 auto 14px; max-width: 980px; background: linear-gradient(180deg, #fff 30%, #c9c3e6); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 10px 40px rgba(142,107,255,.25)); }
.hero h1 em { font-style: normal; background: linear-gradient(180deg, var(--gold-2), #c8a24a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 680px; margin: 0 auto 30px; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: center; }
.hero .meta { margin-top: 16px; color: var(--faint); font-size: 13px; display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.hero .meta b { color: var(--muted); font-weight: 600; }

/* zařízení s videem */
.stage { position: relative; margin: 54px auto 0; max-width: 1180px; }
.device { position: relative; border-radius: 22px; padding: 6px; background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.04) 40%, rgba(142,107,255,.25)); box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.06), 0 0 120px rgba(142,107,255,.18); }
.device::before { content: ''; position: absolute; inset: -40px; z-index: -1; border-radius: 60px; background: radial-gradient(60% 50% at 50% 60%, rgba(142,107,255,.28), transparent 70%); filter: blur(30px); }
.screen { position: relative; aspect-ratio: 16 / 9; border-radius: 17px; overflow: hidden; background: #000; }
.screen video, .screen img.poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.screen .vignette { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 120px rgba(0,0,0,.35); }
/* popisky (šipky) nad videem */
.callouts { position: absolute; inset: 0; pointer-events: none; }
.callouts svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.callout { position: absolute; transform: translate(-50%, -50%); opacity: 0; transition: opacity .35s, transform .45s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.callout .tag { display: inline-flex; flex-direction: column; gap: 2px; padding: 10px 14px 11px; border-radius: 12px; background: rgba(10, 10, 16, .82); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0,0,0,.45); text-align: left; min-width: 150px; max-width: 250px; }
.callout .tag b { font-family: var(--title); font-size: 15px; letter-spacing: .04em; color: var(--gold-2); text-transform: uppercase; line-height: 1.1; }
.callout .tag span { font-size: 13px; color: #d6d6e0; line-height: 1.35; }
.callout.on { opacity: 1; animation: float 4s ease-in-out infinite; }
.callout .dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 4px rgba(255,216,106,.25), 0 0 18px var(--gold-2); }
.callout .dot::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255,216,106,.6); animation: ring 1.6s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.callouts line { stroke: rgba(255,216,106,.85); stroke-width: 2; stroke-dasharray: 6 5; filter: drop-shadow(0 0 4px rgba(255,216,106,.6)); opacity: 0; transition: opacity .35s; }
.callouts line.on { opacity: 1; animation: dash 1.2s linear infinite; }
.callouts circle.anchor { fill: var(--gold-2); opacity: 0; transition: opacity .35s; filter: drop-shadow(0 0 6px rgba(255,216,106,.9)); }
.callouts circle.anchor.on { opacity: 1; }
@keyframes dash { to { stroke-dashoffset: -22; } }
/* kapitoly pod videem */
.chapters { display: flex; gap: 6px; margin: 16px 8px 0; flex-wrap: wrap; justify-content: center; }
.chapter { position: relative; flex: 1 1 120px; max-width: 170px; padding: 10px 12px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; text-align: left; font-family: var(--body); transition: background .2s, color .2s, border-color .2s; overflow: hidden; }
.chapter i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--purple), var(--gold)); }
.chapter.on { color: var(--text); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.22); }
.chapter.on i { width: var(--p, 0%); }
.chapter small { display: block; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--faint); font-size: 11px; margin-top: 2px; }
.chapter.on small { color: var(--muted); }
@media (max-width: 760px) { .callout .tag { min-width: 0; max-width: 160px; padding: 7px 10px; } .callout .tag b { font-size: 12px; } .callout .tag span { font-size: 11px; } .chapter small { display: none; } }

/* ----- sekce ----- */
section.block { padding: 90px 0; position: relative; }
section.block + section.block { padding-top: 10px; }
section.tight { padding: 50px 0; }
.grid { display: grid; gap: 20px; }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
.grid.c4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* funkce */
.feature { display: flex; flex-direction: column; gap: 10px; padding: 22px; color: inherit; transition: transform .25s, border-color .25s, box-shadow .25s; }
a.feature:hover { transform: translateY(-4px); border-color: rgba(232,197,106,.35); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.feature .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(142,107,255,.35), rgba(142,107,255,.08)); border: 1px solid rgba(183,155,255,.3); color: var(--purple-2); }
.feature .ico.gold { background: linear-gradient(160deg, rgba(232,197,106,.35), rgba(232,197,106,.08)); border-color: rgba(255,216,106,.35); color: var(--gold-2); }
.feature .ico.green { background: linear-gradient(160deg, rgba(123,214,132,.3), rgba(123,214,132,.06)); border-color: rgba(123,214,132,.3); color: var(--green-2); }
.feature .ico.cyan { background: linear-gradient(160deg, rgba(111,214,232,.3), rgba(111,214,232,.06)); border-color: rgba(111,214,232,.3); color: var(--cyan); }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-family: var(--body); font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--text); font-size: 17px; margin: 4px 0 0; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; }
.feature img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; border-radius: 10px; border: 1px solid var(--line); }

/* ----- žebříček ----- */
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 18px; align-items: end; }
.top { padding: 24px 20px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.top .rank { position: absolute; top: 14px; left: 16px; font-family: var(--title); font-size: 20px; color: var(--faint); }
.top.first { border-color: rgba(255,216,106,.45); background: linear-gradient(180deg, rgba(232,197,106,.14), var(--panel)); box-shadow: 0 0 0 1px rgba(232,197,106,.1), 0 30px 70px rgba(232,197,106,.12); padding-top: 34px; }
.top.first .rank { color: var(--gold-2); }
.top.second .rank { color: #cfd3e0; }
.top.third .rank { color: #d29a62; }
.top .face { width: 72px; height: 72px; border-radius: 16px; image-rendering: pixelated; background: var(--panel-2); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.top.first .face { width: 92px; height: 92px; border-radius: 20px; }
.top .name { font-weight: 600; font-size: 18px; color: var(--text); }
.top .name:hover { color: var(--gold-2); }
.top .lvl { display: flex; align-items: center; gap: 10px; }
.top .lvl .big { font-family: var(--title); font-size: 38px; line-height: 1; }
.top.first .lvl .big { font-size: 48px; }
.top .coins { color: var(--gold-2); font-weight: 600; }
.top .mini-skills { justify-content: center; margin-top: 4px; }
.ranks { padding: 6px 0; }
.rank-row { display: grid; grid-template-columns: 44px 1fr auto auto; align-items: center; gap: 16px; padding: 12px 18px; border-top: 1px solid var(--line); }
.rank-row:first-child { border-top: 0; }
.rank-row .n { font-family: var(--title); color: var(--faint); font-size: 16px; }
.rank-row .who { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.rank-row .who a { color: var(--text); }
.rank-row .who a:hover { color: var(--gold-2); }
.rank-row .lv .big { font-size: 20px; }
.rank-row .coin { font-size: 14px; }
.lv { display: inline-flex; align-items: center; gap: 8px; }
.lv .big { font-family: var(--title); line-height: 1; }
.hex { width: 30px; height: 34px; display: inline-grid; place-items: center; font-family: var(--title); font-size: 12px; color: var(--purple-2); background: linear-gradient(180deg, #332a52, #1d1835); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); position: relative; }
.hex.gold { color: var(--gold-2); background: linear-gradient(180deg, #3a3020, #221c12); }
.coin { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-2); font-weight: 600; }
.coin::before { content: ''; width: 14px; height: 14px; flex: none; background: radial-gradient(circle at 35% 35%, #fff2b0, #e8c56a 55%, #8a6a1e); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.mini-skills { display: flex; gap: 4px; }
.mini-skills i { display: block; width: 22px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.1); position: relative; overflow: hidden; }
.mini-skills i::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: var(--p); background: var(--c, var(--purple)); }
table.list { width: 100%; border-collapse: collapse; }
table.list th { text-align: left; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 600; padding: 14px 18px; border-bottom: 1px solid var(--line); }
table.list td { padding: 12px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.list tr:last-child td { border-bottom: 0; }
table.list .rank { font-family: var(--title); color: var(--faint); width: 50px; }
table.list .num { text-align: right; }
table.list .who { display: flex; align-items: center; gap: 12px; font-weight: 600; }
table.list .who a { color: var(--text); }
table.list .who a:hover { color: var(--gold-2); }
@media (max-width: 760px) { .podium { grid-template-columns: 1fr; } .rank-row { grid-template-columns: 34px 1fr auto; } .rank-row .coin { display: none; } }

/* ----- obchody ----- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .15s; }
.chip.on, .chip:hover { color: var(--text); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); }
.chip.on { background: rgba(232,197,106,.18); border-color: rgba(232,197,106,.5); color: var(--gold-2); }
.search { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(0,0,0,.3); margin-left: auto; min-width: 220px; }
.search input { background: none; border: 0; outline: none; color: var(--text); font: inherit; width: 100%; }
.search svg { width: 16px; height: 16px; color: var(--faint); flex: none; }
.shops { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.shop { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.shop .head { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(232,197,106,.08), transparent); }
.shop .npc { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(232,197,106,.35), rgba(232,197,106,.08)); border: 1px solid rgba(255,216,106,.35); color: var(--gold-2); font-family: var(--title); font-size: 16px; flex: none; }
.shop .head b { display: block; font-size: 16px; }
.shop .head .owner { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.shop .head .owner .avatar { width: 20px; height: 20px; border-radius: 5px; }
.shop .where { margin-left: auto; text-align: right; font-size: 12px; color: var(--faint); }
.shop .where a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--gold); font-size: 12px; }
.shop .where a svg { width: 14px; height: 14px; }
.offers { padding: 6px 0; flex: 1; }
.offer { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 9px 18px; }
.offer + .offer { border-top: 1px solid var(--line); }
.offer .item { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 10px; font-weight: 600; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; overflow: hidden; }
.offer .item img { width: 28px; height: 28px; image-rendering: pixelated; }
.offer .name { font-weight: 600; font-size: 14px; }
.offer .name small { display: block; font-weight: 400; font-size: 12px; color: var(--faint); }
.offer .price { text-align: right; }
.offer .price .coin { font-size: 15px; }
.offer .price small { display: block; font-size: 11px; color: var(--faint); letter-spacing: .08em; text-transform: uppercase; }
.offer.buy .price .coin { color: var(--green-2); }
.offer.buy .price .coin::before { background: radial-gradient(circle at 35% 35%, #d8ffd8, #7bd684 55%, #2f6b36); }
.rarity-uncommon { color: #ffff55; } .rarity-rare { color: #55ffff; } .rarity-epic { color: #ff55ff; }
.preview-note { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(142,107,255,.15); border: 1px solid rgba(183,155,255,.35); color: var(--purple-2); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.shops.preview { position: relative; }
.shops.preview .shop { opacity: .85; }

/* ----- kroky / stažení ----- */
.steps { counter-reset: s; }
.step { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step::before { counter-increment: s; content: counter(s); font-family: var(--title); font-size: 24px; color: var(--gold); width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(232,197,106,.1); border: 1px solid rgba(232,197,106,.3); }
.step b { display: block; margin-bottom: 2px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.dl-box { padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.dl-box .ver { font-family: var(--title); font-size: 30px; letter-spacing: .04em; }
.dl-box .ver small { font-family: var(--body); font-size: 13px; color: var(--muted); display: block; letter-spacing: 0; text-transform: none; }

/* ----- profil ----- */
.profile { display: grid; grid-template-columns: 360px 1fr; gap: 26px; align-items: start; }
@media (max-width: 860px) { .profile, .account { grid-template-columns: 1fr; } }
.viewer { width: 100%; height: 440px; background: radial-gradient(ellipse at 50% 85%, rgba(232,197,106,.16), transparent 60%), radial-gradient(ellipse at 50% 10%, rgba(142,107,255,.2), transparent 60%), #0e0e15; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.viewer canvas { width: 100% !important; height: 100% !important; display: block; }
.stat-row { display: flex; gap: 22px; align-items: center; margin: 14px 0; flex-wrap: wrap; }
.stat-row .big { font-family: var(--title); font-size: 36px; line-height: 1; }
.bar { height: 8px; background: rgba(0,0,0,.4); border: 1px solid var(--line); border-radius: 4px; position: relative; overflow: hidden; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, var(--purple), var(--purple-2)); width: var(--p); box-shadow: 0 0 10px var(--purple); }
.skills { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.skill { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px; }
.skill svg { width: 44px; height: 50px; flex: none; }
.skill b { display: block; font-size: 13px; }
.skill span { color: var(--muted); font-size: 12px; }
.equip { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.slot { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-height: 64px; }
.slot .k { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.slot .n { font-weight: 600; font-size: 14px; }
.slot .e { font-size: 12px; color: var(--purple-2); }
.slot .d { font-size: 11px; color: var(--muted); }
.slot.empty .n { color: var(--faint); font-weight: 400; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.stats div { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.stats b { display: block; font-family: var(--title); font-size: 22px; color: var(--text); }
.stats span { font-size: 12px; color: var(--muted); }

/* ----- účet ----- */
.account { display: grid; grid-template-columns: 360px 1fr; gap: 26px; align-items: start; }
.invites { list-style: none; padding: 0; margin: 0; }
.invites li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.invites li:last-child { border-bottom: 0; }
.invites .code { font-size: 15px; color: var(--text); }
.invites .used { color: var(--faint); text-decoration: line-through; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.seg button { background: transparent; border: 0; color: var(--muted); padding: 8px 16px; font: inherit; font-weight: 600; cursor: pointer; }
.seg button.on { background: rgba(255,255,255,.1); color: var(--text); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty h3 { color: var(--text); margin-bottom: 8px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--panel-solid); border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 14px; z-index: 50; }

/* ----- patička ----- */
footer { padding: 40px 0 30px; color: var(--faint); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }
footer a { color: var(--muted); }

/* ----- odhalení při scrollu ----- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .callout.on { animation: none; } }

/* ----- mobil ----- */
.nav-right .btn { white-space: nowrap; }
@media (max-width: 760px) {
  .hero h1 br { display: none; }
  .hero { padding-top: 36px; }
  .stage { margin-top: 34px; }
  .nav .wrap { padding: 0 8px 0 14px; gap: 10px; }
  .nav-right .pill { padding: 6px 10px; }
  .nav-right .btn { padding: 8px 12px !important; font-size: 12px; }
  section.block { padding: 60px 0; }
}

/* ----- patch notes ----- */
.note { display: flex; flex-direction: column; gap: 8px; }
.note__head { display: flex; align-items: baseline; gap: 12px; }
.note .ver { font-family: var(--title); font-size: 22px; color: var(--gold-2); letter-spacing: .04em; }
.note b { font-size: 15px; }
.note ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.note li::marker { color: var(--gold); }
.event-card { position: relative; overflow: hidden; padding: 24px 28px; border-radius: var(--r); color: #fff; background: linear-gradient(135deg, var(--ev1, #F07A1E), var(--ev2, #4A1872)); box-shadow: 0 20px 60px rgba(0,0,0,.4); margin-bottom: 22px; }
.event-card .tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.85); color: #3a1a08; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.event-card h3 { color: #fff; font-size: 28px; margin: 0 0 6px; }
.event-card p { margin: 0; max-width: 560px; color: rgba(255,255,255,.9); }
.event-card .ends { margin-top: 10px; font-family: var(--title); font-size: 14px; color: #ffe08a; letter-spacing: .04em; }
.admin-form textarea { width: 100%; min-height: 110px; padding: 12px 16px; background: rgba(0,0,0,.35); border: 1px solid var(--line-2); border-radius: var(--r-s); color: var(--text); font: inherit; outline: none; resize: vertical; }
.admin-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ===== v2 (2026-10-14): filmový hero přes celou šířku, řady obrázek + text bez ikon, animované pozadí (bg.js) ===== */
.bg-canvas { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.cine { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; margin-top: -88px; padding: 150px 0 90px; }
.cine-media { position: absolute; inset: 0; z-index: 0; }
.cine-media video, .cine-media img.poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cine-media img.poster { transition: opacity 1s; }
.cine-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,13,.78) 0%, rgba(8,8,13,.35) 30%, rgba(8,8,13,.25) 60%, var(--bg) 100%), linear-gradient(90deg, rgba(8,8,13,.75) 0%, rgba(8,8,13,.2) 55%, rgba(8,8,13,0) 100%); }
.cine-content { position: relative; z-index: 1; max-width: 1180px; }
.cine .kicker { margin-bottom: 18px; }
.cine h1 { max-width: 980px; margin: 0 0 18px; background: linear-gradient(180deg, #fff 30%, #d9d4ef); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 12px 40px rgba(0,0,0,.6)); }
.cine h1 em { font-style: normal; background: linear-gradient(180deg, var(--gold-2), #c8a24a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cine .lead { font-size: 19px; color: #d4d4de; max-width: 620px; margin: 0 0 30px; text-shadow: 0 2px 20px rgba(0,0,0,.7); }
.cine .cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cine .meta { margin-top: 16px; color: #b9b9c8; font-size: 13px; display: flex; gap: 18px; flex-wrap: wrap; text-shadow: 0 1px 10px rgba(0,0,0,.8); }
.cine .meta b { color: #fff; font-weight: 600; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; z-index: 1; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-2); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
.section-head h2 em { font-style: normal; color: var(--gold-2); }

.feel .row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 54px; align-items: center; padding: 48px 0; }
.feel .row.flip .frame { order: 2; }
.feel .row .copy h2 { font-size: clamp(24px, 3vw, 36px); }
.feel .row .copy p { color: var(--muted); font-size: 16px; }
.feel .row .copy .btn { margin-top: 6px; }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 8px; color: var(--text); font-size: 15px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ''; flex: none; width: 10px; height: 10px; margin-top: 7px; background: var(--gold-2); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); box-shadow: 0 0 10px rgba(255,216,106,.6); }
.frame { position: relative; margin: 0; border-radius: 20px; padding: 6px; background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.04) 45%, rgba(142,107,255,.3)); box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.06); transform: perspective(1400px) rotateY(var(--ry, -4deg)); transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .6s; }
.feel .row.flip .frame { --ry: 4deg; }
.frame:hover { transform: perspective(1400px) rotateY(0) translateY(-4px); box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.12), 0 0 120px rgba(142,107,255,.25); }
.frame.glow-gold:hover { box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.12), 0 0 120px rgba(232,197,106,.25); }
.frame img, .frame video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 15px; background: #000; }
.frame figcaption { position: absolute; left: 18px; bottom: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(10,10,16,.78); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); }
@media (max-width: 900px) {
  .feel .row { grid-template-columns: 1fr; gap: 26px; padding: 30px 0; }
  .feel .row.flip .frame { order: 0; }
  .frame { transform: none; }
  .cine { min-height: 0; padding: 120px 0 70px; }
  .cine .lead { font-size: 17px; }
  .scroll-hint { display: none; }
}
@media (max-width: 760px) { .cine h1 br { display: none; } .btn.big { font-size: 19px; padding: 14px 26px; } }

/* profil: strom dovedností – pět větví, uzly s dílky stupňů */
.tree { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.tree .branch b { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--bc); margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid color-mix(in srgb, var(--bc) 45%, transparent); }
.tree .node { display: flex; flex-direction: column; gap: 4px; padding: 6px 8px; margin-bottom: 4px; border-radius: var(--r-s); background: rgba(255,255,255,.03); color: var(--faint); font-size: 12px; }
.tree .node.on { color: var(--text); background: rgba(255,255,255,.06); }
.tree .node i { display: flex; gap: 3px; }
.tree .node em, .tree .branch > i em { width: 10px; height: 4px; border-radius: 1px; background: rgba(255,255,255,.12); }
.tree .branch > i { display: flex; gap: 3px; margin-top: 6px; }
.tree .branch > i em.f { background: var(--bc); }
.tree .branch b span { float: right; color: var(--faint); letter-spacing: 0; }
.tree .node em.f { background: var(--bc); }
.tree .spec { margin: 10px 0 6px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: color-mix(in srgb, var(--bc) 70%, #fff); font-weight: 700; }
@media (max-width: 760px) { .tree { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
