/* Portfolio Tycoon - web stránka (landing, zásady ochrany súkromia, VOP). Bez externých fontov a knižníc: nič sa nesťahuje z cudzích serverov. */
:root {
  --bg: #060a10; --bg2: #0a111b; --card: #0e1623; --card2: #121c2c; --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.14);
  --text: #e8eef7; --muted: #93a3b8; --faint: #64748b; --em: #34d399; --em2: #10b981; --gold: #fbbf24; --gold2: #f59e0b; --violet: #a78bfa; --sky: #38bdf8; --rose: #fb7185;
  --radius: 20px; --maxw: 1140px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 520px at 85% -10%, rgba(52,211,153,.13), transparent 60%), radial-gradient(700px 480px at -10% 8%, rgba(251,191,36,.08), transparent 60%), radial-gradient(800px 600px at 50% 120%, rgba(167,139,250,.08), transparent 60%); }
img { max-width: 100%; display: block; }
a { color: var(--em); text-decoration: none; } a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--maxw), 100% - 32px); margin-inline: auto; }
html.i18n-wait body { opacity: 0; }   /* kým sa načíta súbor jazyka (i18n/<kód>.js), stránka nebliká angličtinou; poistka v site.js ju po 2,5 s ukáže tak či tak */
body { transition: opacity .12s ease; }
html[dir="rtl"] body { direction: rtl; }
.ph { background: rgba(251,191,36,.16); color: var(--gold); border-radius: 6px; padding: 0 5px; font-weight: 700; }   /* nedoplnený údaj z site-config.js */

/* ── hlavička ── */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(6,10,16,.72); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand b { color: var(--gold); font-weight: 800; }
/* Podtitul značky: malé rozstrieľané verzálky pod názvom (rovnaký štýl ako v úvodnej animácii hry) */
.brand-t { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
.brand-t small { margin-top: 4px; font-size: .5em; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); opacity: .75; }
.nav-links { display: flex; gap: 4px; margin-left: 18px; }
.nav-links a { color: var(--muted); padding: 8px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 600; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); text-decoration: none; }
.nav-spacer { flex: 1; }
/* výber jazyka: vlastný rozbaľovací zoznam s vlajkou (SVG ako v hre) a názvom jazyka v zvolenom jazyku stránky */
.lang { display: inline-flex; }
.lang-dd { position: relative; }
.lang-btn { appearance: none; display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px 7px 10px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(255,255,255,.06); color: var(--text); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .15s, border-color .15s; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { background: rgba(255,255,255,.1); border-color: rgba(52,211,153,.45); }
.lang-btn::after { content: ""; width: 7px; height: 7px; margin: -3px 2px 0 2px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s; }
.lang-btn[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 3px; }
.lang-btn:focus-visible, .lang-menu li:focus-visible { outline: 2px solid var(--em); outline-offset: 2px; }
.flag { flex: none; display: inline-block; width: 24px; height: 16px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.18); line-height: 0; }
.flag svg { width: 100%; height: 100%; display: block; }
.flag-emoji { display: grid; place-items: center; width: 100%; height: 100%; font-size: 13px; line-height: 1; background: rgba(255,255,255,.08); }
.lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 70; min-width: 210px; max-height: min(70vh, 420px); overflow-y: auto; margin: 0; padding: 6px; list-style: none; border-radius: 16px; border: 1px solid var(--line2); background: rgba(14,22,35,.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 22px 50px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.05); }
.lang-menu[hidden] { display: none; }
.lang-menu li { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--text); cursor: pointer; }
.lang-menu li:hover, .lang-menu li:focus { background: rgba(52,211,153,.12); outline: none; }
.lang-menu li .nm { flex: 1; }
.lang-menu li[aria-selected="true"] { color: var(--em); font-weight: 800; }
.lang-menu li[aria-selected="true"]::after { content: "✓"; font-weight: 900; }
@media (max-width: 520px) { .lang-btn { padding: 7px 10px 7px 8px; gap: 7px; font-size: 13px; } .lang-menu { min-width: 190px; } }
.menu-btn { display: none; appearance: none; border: 1px solid var(--line2); background: transparent; color: var(--text); width: 42px; height: 42px; border-radius: 12px; font-size: 20px; cursor: pointer; }

/* ── tlačidlá ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 14px; font-weight: 800; font-size: 15.5px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, filter .2s ease; font-family: inherit; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { color: #1a1204; background: linear-gradient(180deg, #fde68a 0%, var(--gold) 55%, var(--gold2) 100%); box-shadow: 0 10px 30px -8px rgba(251,191,36,.55), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-ghost { color: var(--text); background: rgba(255,255,255,.05); border-color: var(--line2); }
.btn-ghost:hover { background: rgba(255,255,255,.09); }
.btn-play svg { width: 20px; height: 20px; flex: none; } .btn-play { white-space: nowrap; }
.btn[aria-disabled="true"] { cursor: default; }
.soon { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,.18); }

/* ── hero ── */
.hero { padding: 64px 0 36px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--em); background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.28); padding: 6px 13px; border-radius: 999px; margin-bottom: 20px; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--em); box-shadow: 0 0 10px var(--em); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
h1 { font-size: clamp(36px, 5.6vw, 66px); font-weight: 900; letter-spacing: -.03em; }
h1 em { font-style: normal; background: linear-gradient(100deg, #fde68a, var(--gold) 45%, var(--em)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 560px; margin: 22px 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; color: var(--muted); font-size: 14px; font-weight: 600; }
.trust > span::before { content: "✓"; color: var(--em); font-weight: 900; margin-right: 7px; }

/* ── telefón (rám okolo skutočného screenshotu) ── */
.phone { position: relative; width: var(--pw, 270px); aspect-ratio: 390 / 844; border-radius: 40px; padding: 9px; background: linear-gradient(160deg, #263247, #0f1624 60%); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.1), inset 0 0 0 2px rgba(255,255,255,.05); flex: none; }
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 74px; height: 20px; border-radius: 14px; background: #05080d; z-index: 3; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 32px; background: #0b111b; }
.hero-art { position: relative; display: flex; justify-content: center; min-height: 560px; }
.hero-art .phone { --pw: 280px; z-index: 2; animation: float 6s ease-in-out infinite; }
.hero-art .phone.back { --pw: 240px; position: absolute; left: 4%; top: 70px; z-index: 1; transform: rotate(-9deg); opacity: .9; filter: saturate(.9); animation: none; }
.hero-art .phone.back2 { --pw: 240px; position: absolute; right: 2%; top: 100px; z-index: 1; transform: rotate(8deg); opacity: .85; animation: none; }
@keyframes float { 50% { transform: translateY(-12px); } }
.glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(52,211,153,.28), transparent 65%); top: 50%; left: 50%; transform: translate(-50%, -50%); filter: blur(10px); z-index: 0; }

/* ── ticker ── */
.ticker { border-block: 1px solid var(--line); background: rgba(255,255,255,.02); overflow: hidden; padding: 14px 0; margin-top: 20px; }
.ticker-track { display: flex; gap: 14px; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 700; white-space: nowrap; }
.chip b { color: var(--text); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── sekcie ── */
section { padding: 84px 0; }
.sec-head { max-width: 700px; margin: 0 auto 48px; text-align: center; }
.kicker { color: var(--gold); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; display: block; }
h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; letter-spacing: -.025em; }
.sub { color: var(--muted); font-size: 18px; margin-top: 14px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: -10px; }
.stat { text-align: center; padding: 26px 14px; border-radius: var(--radius); background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(30px, 4vw, 44px); font-weight: 900; color: var(--em); letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: 14px; font-weight: 600; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { position: relative; padding: 26px; border-radius: var(--radius); background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; overflow: hidden; }
.card::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, var(--c, rgba(52,211,153,.18)), transparent 70%); pointer-events: none; opacity: 0; transition: opacity .3s; }
.card:hover { transform: translateY(-5px); border-color: var(--line2); box-shadow: 0 24px 50px -24px rgba(0,0,0,.8); }
.card:hover::after { opacity: 1; }
.ic { width: 52px; height: 52px; display: grid; place-items: center; font-size: 26px; border-radius: 15px; margin-bottom: 18px; background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.02)); border: 1px solid var(--line2); }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card.gold { --c: rgba(251,191,36,.2); } .card.violet { --c: rgba(167,139,250,.22); } .card.sky { --c: rgba(56,189,248,.2); } .card.rose { --c: rgba(251,113,133,.2); }

/* ── galéria ── */
.gallery-wrap { position: relative; }
.rail { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 6px 30px; scrollbar-width: thin; scrollbar-color: var(--line2) transparent; -webkit-overflow-scrolling: touch; }
.shot { scroll-snap-align: center; flex: none; text-align: center; }
.shot .phone { --pw: 250px; margin-inline: auto; transition: transform .3s ease; }
.shot:hover .phone { transform: translateY(-6px); }
.shot figcaption { margin-top: 18px; max-width: 250px; margin-inline: auto; }
.shot figcaption b { display: block; font-size: 16px; }
.shot figcaption span { color: var(--muted); font-size: 14px; }
.rail-btn { position: absolute; top: 40%; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(10,17,27,.9); color: var(--text); font-size: 20px; cursor: pointer; z-index: 5; display: grid; place-items: center; }
.rail-btn:hover { background: var(--card2); } .rail-prev { left: -12px; } .rail-next { right: -12px; }

/* ── ako to funguje ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 30px 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); position: relative; counter-increment: s; }
.step::before { content: counter(s); position: absolute; top: -18px; left: 24px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; color: #1a1204; background: linear-gradient(180deg, #fde68a, var(--gold2)); box-shadow: 0 8px 18px -6px rgba(251,191,36,.6); }
.step h3 { font-size: 19px; margin: 6px 0 8px; } .step p { color: var(--muted); margin: 0; font-size: 15px; }

.note { margin-top: 28px; padding: 18px 22px; border-radius: 16px; border: 1px solid rgba(251,191,36,.3); background: rgba(251,191,36,.07); color: #f3dba0; font-size: 14.5px; }
.note b { color: var(--gold); }

/* ── FAQ ── */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
details { border-radius: 16px; background: var(--card); border: 1px solid var(--line); padding: 0 22px; }
details[open] { border-color: var(--line2); background: var(--card2); }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 800; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; } summary::after { content: "+"; color: var(--gold); font-size: 24px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

.cta-band { text-align: center; padding: 56px 24px; border-radius: 28px; background: radial-gradient(600px 240px at 50% 0%, rgba(52,211,153,.22), transparent 70%), linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line2); }
.cta-band .cta { justify-content: center; margin-top: 26px; }

/* ── pätička ── */
footer { border-top: 1px solid var(--line); padding: 44px 0 56px; color: var(--muted); font-size: 14.5px; }
.foot { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; } .foot nav a { color: var(--muted); font-weight: 600; } .foot nav a:hover { color: var(--text); }
.legal-line { margin-top: 24px; font-size: 13px; color: var(--faint); max-width: 780px; }

/* ── právne stránky ── */
.doc-hero { padding: 54px 0 24px; border-bottom: 1px solid var(--line); }
.doc-hero h1 { font-size: clamp(30px, 4.4vw, 46px); }
.doc-meta { color: var(--muted); margin-top: 12px; font-size: 14.5px; }
.doc { display: grid; grid-template-columns: 250px 1fr; gap: 48px; padding: 40px 0 90px; align-items: start; }
.doc > * { min-width: 0; }
.toc { position: sticky; top: 90px; padding: 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-size: 14px; }
.toc.toc-long { position: static; }   /* obsah dlhší než okno (angličtina a ďalšie jazyky mávajú dlhšie názvy) sa nelepí a natiahne sa celý - nikdy nemá vlastný posuvník */
.toc b { display: block; margin-bottom: 8px; color: var(--gold); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.toc a { display: block; color: var(--muted); padding: 5px 0; line-height: 1.35; } .toc a:hover { color: var(--text); }
.prose { max-width: 780px; }
.prose h2 { font-size: 24px; margin: 44px 0 14px; letter-spacing: -.015em; scroll-margin-top: 90px; } .prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17.5px; margin: 26px 0 8px; color: var(--text); }
.prose p, .prose li { color: #c3cfde; font-size: 16px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; } .prose li { margin: 6px 0; }
.prose strong { color: var(--text); }
.prose .box { padding: 16px 20px; border-radius: 14px; background: rgba(52,211,153,.07); border: 1px solid rgba(52,211,153,.25); margin: 18px 0; }
.prose .warn { background: rgba(251,191,36,.07); border-color: rgba(251,191,36,.3); }
.table-wrap { overflow-x: auto; margin: 16px 0 22px; border-radius: 14px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 620px; }
th, td { text-align: left; padding: 12px 14px; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--card2); color: var(--gold); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
td { color: #c3cfde; } tr:last-child td { border-bottom: 0; }

/* ── reveal ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }

/* ── responzivita ── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; } .lead { margin-inline: auto; } .cta, .trust { justify-content: center; }
  .hero-art { min-height: 520px; } .grid { grid-template-columns: repeat(2, 1fr); } .steps { grid-template-columns: 1fr; gap: 34px; }
  .stats { grid-template-columns: repeat(2, 1fr); } .doc { grid-template-columns: 1fr; gap: 20px; } .toc { position: static; max-height: none; }
  .rail-btn { display: none; }
}
/* hlavička: položky sa nikdy nelámu; ak sa všetky nezmestia (podľa šírky okna aj dĺžky prekladu), JS pridá .nav-collapsed a z odkazov je menu za tromi čiarkami vpravo */
.nav > * { flex: none; } .nav > .nav-spacer { flex: 1 1 0; min-width: 0; }
.nav-links a, .btn-play { white-space: nowrap; }
.menu-btn { place-items: center; padding: 0; } .menu-btn svg { display: block; }
.site-header.nav-collapsed .nav-links { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; padding: 12px 16px 18px; background: rgba(6,10,16,.97); border-bottom: 1px solid var(--line); margin: 0; }
.site-header.nav-collapsed .nav-links.open { display: flex; } .site-header.nav-collapsed .nav-links a { padding: 13px 10px; font-size: 16px; }
.site-header.nav-collapsed .menu-btn { display: grid; }
@media (max-width: 760px) {
  .nav .btn-play { display: none; } section { padding: 62px 0; } .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 38px; } .hero-art .phone { --pw: 236px; } .hero-art .phone.back, .hero-art .phone.back2 { --pw: 190px; } .hero-art { min-height: 470px; }
  .hero-art .phone.back { left: -2%; top: 60px; } .hero-art .phone.back2 { right: -2%; top: 80px; }
}
@media (max-width: 480px) { .nav { gap: 10px; } .brand { font-size: 16px; } .lang-cur { display: none; } .lang-btn { padding: 7px 10px; gap: 6px; } }
@media (max-width: 360px) { .nav { gap: 8px; } .brand { font-size: 14.5px; gap: 8px; } .brand img { width: 28px; height: 28px; } .menu-btn { width: 38px; height: 38px; } }
@media (max-width: 420px) { .btn { width: 100%; } .hero-art .phone.back, .hero-art .phone.back2 { display: none; } }

/* ── vizitka portfólia ── */
.share-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.share-grid h2 { margin-bottom: 4px; } .share-grid .sub { margin-top: 12px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { color: var(--text); font-weight: 600; } .ticks li::before { content: "✓"; color: var(--em); font-weight: 900; margin-right: 10px; }
.card-frame { justify-self: center; width: min(360px, 100%); padding: 10px; border-radius: 28px; background: linear-gradient(160deg, #263247, #0f1624 60%); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.1); transform: rotate(2deg); transition: transform .4s ease; }
.card-frame:hover { transform: rotate(0) translateY(-6px); }
.card-frame img { width: 100%; height: auto; border-radius: 20px; }
@media (max-width: 980px) { .share-grid { grid-template-columns: 1fr; text-align: center; } .ticks { justify-items: center; } }

/* ───── 🎁 Animácia odmien v rámiku telefónu (10 Okt 2026): ako v hre - zhora sa vysunú políčka Odznaky / XP / Hotovosť, zboku Album, do nich doletia odznaky, hviezdy, mince a nálepka; len transform + opacity, slučka 8 s ───── */
.phone.rw .rw-layer { position: absolute; inset: 9px; border-radius: 32px; overflow: hidden; pointer-events: none; --rw-p: 8s; }
.rw-slot { position: absolute; top: 10px; min-width: 62px; padding: 5px 9px 6px; border-radius: 12px; text-align: center; display: grid; gap: 1px; transform: translate(-50%, -150%); opacity: 0;
  background: linear-gradient(135deg, rgba(30,27,51,.98), rgba(15,23,42,.98)); box-shadow: 0 8px 18px rgba(0,0,0,.55); animation-duration: var(--rw-p); animation-iteration-count: infinite; animation-timing-function: cubic-bezier(.2,.85,.3,1.15); }
.rw-slot .l { font-size: 7px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.rw-slot .v { font-size: 12px; font-weight: 800; white-space: nowrap; display: inline-block; font-variant-numeric: tabular-nums; animation-duration: var(--rw-p); animation-iteration-count: infinite; animation-timing-function: ease-out; }
.rw-sl-b { left: 22%; box-shadow: 0 0 0 1.5px rgba(167,139,250,.65), 0 8px 18px rgba(0,0,0,.55); } .rw-sl-b .l { color: #c4b5fd; } .rw-sl-b .v { font-size: 17px; line-height: 1.1; }
.rw-sl-x { left: 50%; box-shadow: 0 0 0 1.5px rgba(251,191,36,.65), 0 8px 18px rgba(0,0,0,.55); } .rw-sl-x .l { color: #fde68a; } .rw-sl-x .v { color: #fbbf24; }
.rw-sl-c { left: 78%; box-shadow: 0 0 0 1.5px rgba(52,211,153,.65), 0 8px 18px rgba(0,0,0,.55); } .rw-sl-c .l { color: #6ee7b7; } .rw-sl-c .v { color: #34d399; }
.rw-album { position: absolute; left: 0; top: 31%; margin-top: -19px; display: flex; align-items: center; gap: 6px; padding: 0 10px 0 7px; height: 28px; margin-top: -14px; border-radius: 0 11px 11px 0; transform: translateX(-105%); opacity: 0;
  background: linear-gradient(135deg, rgba(30,27,51,.98), rgba(15,23,42,.98)); box-shadow: 0 0 0 1.5px rgba(129,140,248,.6), 0 8px 18px rgba(0,0,0,.55); animation: rwAlbum var(--rw-p) cubic-bezier(.2,.8,.2,1) infinite; }
.rw-album .ic { display: grid; place-items: center; width: 17px; height: 17px; overflow: hidden; font-size: 14px; line-height: 1; } .rw-album .ic > * { max-width: 100%; max-height: 100%; } .rw-album b { font-size: 10px; color: #e0e7ff; white-space: nowrap; line-height: 1.1; }
.rw-card { position: absolute; left: 50%; top: 55%; width: 74%; transform: translate(-50%, -50%) scale(.6); opacity: 0; padding: 14px 12px; border-radius: 20px; text-align: center; display: grid; gap: 3px; justify-items: center;
  background: linear-gradient(160deg, rgba(40,30,8,.94), rgba(14,18,30,.95)); box-shadow: 0 0 0 1.5px rgba(251,191,36,.7), 0 18px 40px rgba(0,0,0,.6), 0 0 38px rgba(251,191,36,.35); animation: rwCard var(--rw-p) ease-in-out infinite; }
.rw-card .rw-ic { font-size: 44px; line-height: 1; filter: drop-shadow(0 0 14px rgba(251,191,36,.8)); }
.rw-card b { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #fde68a; }
.rw-card i { font-style: normal; font-weight: 900; font-size: 17px; color: #34d399; }
@keyframes rwCard { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.55); } 3% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } 6% { transform: translate(-50%, -50%) scale(1); } 11% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 16% { opacity: 0; transform: translate(-50%, -50%) scale(.7); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(.7); } }
.rw-i { position: absolute; left: 50%; top: 55%; font-size: 30px; line-height: 1; opacity: 0; filter: drop-shadow(0 3px 8px rgba(0,0,0,.55)); will-change: transform, opacity; animation: rwFly var(--rw-p) cubic-bezier(.3,.65,.35,1) var(--d) infinite; }
.rw-c { font-size: 24px; } .rw-s { font-size: 26px; }
.rw-t { width: 40px; height: 40px; font-size: 0; }
.rw-t u { display: grid; place-items: center; font-size: 22px; overflow: hidden; text-decoration: none; width: 100%; height: 100%; border-radius: 10px; background: linear-gradient(135deg, #fff, #dfe7f3); box-shadow: 0 6px 14px rgba(0,0,0,.5); }
@keyframes rwFly {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.5) rotate(0deg); }
  1.5% { opacity: 1; transform: translate(-50%, -50%) scale(1.35) rotate(-10deg); }
  8% { opacity: 1; transform: translate(calc(-50% + var(--dx, 0px) * .55), calc(-50% + var(--dy, 0px) * .55 - 34px)) scale(1) rotate(8deg); }
  14% { opacity: 1; transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px))) scale(.45) rotate(0deg); }
  15.5% { opacity: 0; transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px))) scale(.2); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px))) scale(.2); }
}
.rw-pill { position: absolute; transform: translate(-50%, 0); font-weight: 900; font-size: 11px; color: #052e22; padding: 3px 9px; border-radius: 999px; background: linear-gradient(180deg, #6ee7b7, #10b981); box-shadow: 0 6px 14px rgba(16,185,129,.55); opacity: 0; white-space: nowrap; animation: rwPill var(--rw-p) ease-out 3.6s infinite; }
@keyframes rwPill { 0% { opacity: 0; margin-top: 6px; } 3% { opacity: 1; margin-top: 10px; } 12% { opacity: 1; margin-top: -2px; } 16% { opacity: 0; margin-top: -10px; } 100% { opacity: 0; margin-top: -10px; } }
@keyframes rwSlotB { 0%, 6.25% { transform: translate(-50%, -150%); opacity: 0; } 11.25% { transform: translate(-50%, 0); opacity: 1; } 92.5% { transform: translate(-50%, 0); opacity: 1; } 96% { transform: translate(-50%, -150%); opacity: 0; } 100% { transform: translate(-50%, -150%); opacity: 0; } }
@keyframes rwSlotC { 0%, 26.25% { transform: translate(-50%, -150%); opacity: 0; } 31.25% { transform: translate(-50%, 0); opacity: 1; } 92.5% { transform: translate(-50%, 0); opacity: 1; } 96% { transform: translate(-50%, -150%); opacity: 0; } 100% { transform: translate(-50%, -150%); opacity: 0; } }
@keyframes rwSlotX { 0%, 48.75% { transform: translate(-50%, -150%); opacity: 0; } 53.75% { transform: translate(-50%, 0); opacity: 1; } 92.5% { transform: translate(-50%, 0); opacity: 1; } 96% { transform: translate(-50%, -150%); opacity: 0; } 100% { transform: translate(-50%, -150%); opacity: 0; } }
@keyframes rwAlbum { 0%, 63.75% { transform: translateX(-105%); opacity: 0; } 68.75% { transform: translateX(0); opacity: 1; } 92.5% { transform: translateX(0); opacity: 1; } 96% { transform: translateX(-105%); opacity: 0; } 100% { transform: translateX(-105%); opacity: 0; } }
@keyframes rwPopB { 0%, 25.62% { transform: scale(1); } 27.5% { transform: scale(1.35); } 31.87% { transform: scale(1); } 100% { transform: scale(1); } }
@keyframes rwPopB2 { 0%, 27.88% { transform: scale(1); } 29.75% { transform: scale(1.35); } 34.12% { transform: scale(1); } 100% { transform: scale(1); } }
@keyframes rwPopC { 0%, 45.62% { transform: scale(1); } 47.5% { transform: scale(1.35); } 51.88% { transform: scale(1); } 100% { transform: scale(1); } }
@keyframes rwPopX { 0%, 68.12% { transform: scale(1); } 70.0% { transform: scale(1.35); } 74.38% { transform: scale(1); } 100% { transform: scale(1); } }
.rw-sl-b { animation-name: rwSlotB; } .rw-sl-c { animation-name: rwSlotC; } .rw-sl-x { animation-name: rwSlotX; }
.rw-pop-b { animation-name: rwPopB; } .rw-pop-c { animation-name: rwPopC; } .rw-pop-x { animation-name: rwPopX; }
.phone.rw img { filter: brightness(.82); }
.phone.rw:not(.on) .rw-layer * { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .phone.rw .rw-layer { display: none; } .phone.rw img { filter: none; } }

/* ── prepínače obrázkov z hry (telefón/tablet, tmavý/svetlý motív) ── */
.shot-ctl { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.sec-head + .shot-ctl { margin: -6px auto 26px; }
.seg { display: inline-flex; padding: 4px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(255,255,255,.05); }
.seg button { appearance: none; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 700; padding: 8px 16px; border-radius: 10px; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: rgba(52,211,153,.16); color: var(--text); box-shadow: inset 0 0 0 1px rgba(52,211,153,.45); }
.seg button:focus-visible { outline: 2px solid var(--em); outline-offset: 2px; }
/* tablet na šírku: rám s pomerom 1280 × 800 (úvod aj galéria) */
.shot-bar { padding: 18px 0 0; } .shot-bar + .hero { padding-top: 34px; }
html[data-shot-device="tablet"] .phone { aspect-ratio: 1280 / 800; border-radius: 26px; padding: 10px; }
html[data-shot-device="tablet"] .phone::before { display: none; }
html[data-shot-device="tablet"] .phone img { border-radius: 17px; object-position: center; }
html[data-shot-device="tablet"] .shot .phone { --pw: min(560px, 82vw); }
html[data-shot-device="tablet"] .shot figcaption { max-width: min(560px, 82vw); }
html[data-shot-device="tablet"] .shot.phone-only { display: none; }
html[data-shot-device="tablet"] .hero-art .phone { --pw: min(520px, 100%); align-self: center; }
html[data-shot-device="tablet"] .hero-art .phone.back { --pw: 340px; left: -4%; top: 20px; }
html[data-shot-device="tablet"] .hero-art .phone.back2 { --pw: 340px; right: -4%; top: auto; bottom: 20px; }
@media (max-width: 760px) { html[data-shot-device="tablet"] .hero-art .phone.back, html[data-shot-device="tablet"] .hero-art .phone.back2 { display: none; } html[data-shot-device="tablet"] .hero-art { min-height: 0; } html[data-shot-device="tablet"] .hero-art .phone { --pw: min(520px, 92vw); } }
@media (max-width: 480px) { .shot-ctl { gap: 8px; } .seg { padding: 3px; } .seg button { padding: 7px 10px; font-size: 13px; } }

.grid .card.wide { grid-column: 1 / -1; }
