:root {
  --bg: #0a1024;
  --bg-2: #0f1733;
  --card: #131d3d;
  --line: #24315c;
  --text: #e8ecf5;
  --muted: #94a0bd;
  --accent: #6fb33a;
  --accent-2: #a6d75b;
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
html, body { overflow-x: hidden; }
.hero .wrap > *, .split > * { min-width: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 15, 26, .8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(36, 48, 77, .6);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center;
}
.logo-mark svg { width: 18px; height: 18px; fill: #fff; margin-left: 2px; }
.nav ul { display: flex; gap: 28px; list-style: none; font-size: .95rem; color: var(--muted); }
.nav ul a:hover, .nav ul a.active { color: var(--text); }
.lang { display: flex; gap: 4px; margin-left: 24px; font-size: .8rem; }
.lang button {
  background: none; border: 1px solid var(--line); color: var(--muted);
  padding: 4px 9px; border-radius: 8px; cursor: pointer; font: inherit;
}
.lang button.on { color: var(--text); border-color: var(--accent); }
.nav-right { display: flex; align-items: center; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 80px; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(46, 84, 170, .45), transparent 65%);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: center; position: relative; }
.pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); font-size: .85rem; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
.hero h1 span {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { color: var(--muted); font-size: 1.15rem; margin: 22px 0 34px; max-width: 520px; }

.stores { display: flex; flex-wrap: wrap; gap: 14px; }
.store {
  display: flex; align-items: center; gap: 12px;
  background: #fff; color: #000; border-radius: 14px; padding: 10px 20px 10px 16px;
  transition: transform .15s ease;
}
.store:hover { transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; }
.store small { display: block; font-size: .68rem; line-height: 1; opacity: .7; }
.store strong { display: block; font-size: 1.05rem; line-height: 1.2; }

/* Device mockup */
.device {
  aspect-ratio: 16 / 10; border-radius: 22px; padding: 12px;
  background: linear-gradient(160deg, #1d2640, #0e1322);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .5);
}
.screen {
  height: 100%; border-radius: 12px; overflow: hidden;
  background: #070a12; display: grid; grid-template-columns: 34% 1fr;
}
.screen .list { border-right: 1px solid #1a2238; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.screen .ch { display: flex; align-items: center; gap: 8px; padding: 7px; border-radius: 8px; font-size: .72rem; color: var(--muted); }
.screen .ch i { width: 22px; height: 22px; border-radius: 6px; background: #1a2238; flex: none; }
.screen .ch.on { background: rgba(111, 179, 58, .15); color: var(--text); }
.screen .ch.on i { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.screen .player {
  position: relative;
  background: linear-gradient(135deg, #22305a, #3a1f3d 60%, #4d2a1c);
  display: grid; place-items: center;
}
.screen .play {
  width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .15);
  display: grid; place-items: center; backdrop-filter: blur(6px);
}
.screen .play svg { width: 20px; fill: #fff; margin-left: 3px; }
.screen .bar { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .15); }
.screen .bar::after { content: ""; display: block; width: 42%; height: 100%; border-radius: 4px; background: var(--accent); }

/* Sections */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); letter-spacing: -.02em; line-height: 1.15; }
.section-head p { color: var(--muted); margin-top: 12px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.feature .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(111, 179, 58, .12); margin-bottom: 18px;
}
.feature .ico svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .95rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 28px; border-top: 2px solid var(--line); }
.step::before {
  counter-increment: s; content: "0" counter(s);
  font-weight: 800; font-size: 2rem; color: var(--accent); display: block; margin-bottom: 10px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .95rem; }

.notice {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 32px; display: flex; gap: 18px; align-items: flex-start;
}
.notice svg { flex: none; width: 24px; height: 24px; stroke: var(--accent-2); fill: none; stroke-width: 2; margin-top: 2px; }
.notice p { color: var(--muted); font-size: .95rem; }
.notice strong { color: var(--text); }

.cta {
  text-align: center; border-radius: 28px; padding: 64px 24px;
  background: linear-gradient(135deg, rgba(111, 179, 58, .18), rgba(166, 215, 91, .08));
  border: 1px solid rgba(111, 179, 58, .3);
}
.cta h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 12px; }
.cta p { color: var(--muted); margin-bottom: 28px; }
.cta .stores { justify-content: center; }

/* Legal pages */
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 800px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.02em; }
.doc .updated { color: var(--muted); margin: 8px 0 40px; font-size: .9rem; }
.doc h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.doc p, .doc li { color: #c3cbe0; margin-bottom: 12px; }
.doc ul { padding-left: 22px; }
.doc a { color: var(--accent); }
.doc .todo {
  border: 1px dashed var(--accent-2); border-radius: 12px; padding: 20px; color: var(--accent-2);
}

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a:hover { color: var(--text); }

/* i18n */
[data-lang="en"] [lang="sk"], [data-lang="sk"] [lang="en"] { display: none !important; }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .features, .steps { grid-template-columns: 1fr; }
  .nav ul { display: none; }
  .hero { padding: 56px 0; }
  section { padding: 60px 0; }
}

/* Brand logo */
.logo img { width: 38px; height: 38px; border-radius: 10px; }

/* TV frame with real screenshot */
.tv { position: relative; }
.tv-frame {
  border-radius: 16px; padding: 10px; background: #05080f;
  border: 1px solid var(--line); box-shadow: 0 40px 90px rgba(0, 0, 0, .55);
}
.tv-frame img { border-radius: 8px; width: 100%; }
.tv-stand { width: 34%; height: 10px; margin: 0 auto; background: #1a2550; border-radius: 0 0 10px 10px; }
.tv .float {
  position: absolute; left: -26px; bottom: 34px; width: 92px; border-radius: 22px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
}

/* Supported sources */
.sources { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.source {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center;
}
.source b { display: block; font-size: 1.35rem; letter-spacing: -.01em; margin-bottom: 6px; color: var(--accent-2); }
.source span { color: var(--muted); font-size: .9rem; }

/* Screenshot gallery */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.tabs button {
  font: inherit; font-size: .92rem; cursor: pointer; color: var(--muted);
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px;
}
.tabs button.on { color: #fff; background: linear-gradient(90deg, #3e7a1f, var(--accent)); border-color: transparent; }
.shot { max-width: 960px; margin: 0 auto; }
.shot img { display: none; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.shot img.on { display: block; }
.shot p { text-align: center; color: var(--muted); margin-top: 18px; }

/* Split feature row */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: 14px; border: 1px solid var(--line); }
.split h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.02em; line-height: 1.15; margin-bottom: 14px; }
.split p { color: var(--muted); margin-bottom: 12px; }
.check { list-style: none; margin-top: 16px; }
.check li { padding-left: 28px; position: relative; margin-bottom: 10px; color: var(--text); }
.check li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

@media (max-width: 900px) {
  .sources { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .tv .float { display: none; }
}

/* Platforms */
.pgroups { display: grid; grid-template-columns: 3fr 4fr; gap: 20px; }
.pgroup {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px;
  padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.pgroup .platforms { display: grid; gap: 12px; width: 100%; }
.pgroup.android .platforms { grid-template-columns: repeat(3, 1fr); }
.pgroup.apple .platforms { grid-template-columns: repeat(4, 1fr); }
.platform {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 8px 18px; text-align: center; font-size: .88rem; color: var(--muted);
}
.platform svg {
  width: 52px; height: 52px; display: block; margin: 0 auto 12px;
  fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.platform svg .fill, .platform svg .logo-in { stroke: none; }
.platform b { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.android .platform svg { stroke: var(--accent); color: var(--accent); }
.android .platform svg .logo-in { fill: var(--accent); }
.apple .platform svg { stroke: #d6dcea; }
.apple .platform svg .logo-in, .apple .platform svg .fill { fill: #d6dcea; }
@media (max-width: 900px) {
  .pgroups { grid-template-columns: 1fr; }
  .pgroup.apple .platforms { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { .pgroup.android .platforms { grid-template-columns: repeat(3, 1fr); } .platform { padding: 16px 4px; } }

/* Highlights */
.spot { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.spot.rev > :first-child { order: 2; }
.spot > * { min-width: 0; }
.spot h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.02em; line-height: 1.12; margin-bottom: 16px; }
.spot p { color: var(--muted); margin-bottom: 12px; }
.badge {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #0a1024; background: linear-gradient(90deg, var(--accent), var(--accent-2));
  padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}
.badge.soft { color: var(--accent-2); background: rgba(111, 179, 58, .12); }
.unique {
  background: radial-gradient(ellipse at 80% 0%, rgba(111, 179, 58, .16), transparent 60%), var(--bg-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}

/* Composite screens */
.scr { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }
.scr > img { width: 100%; }
.pip {
  position: absolute; right: 4%; top: 7%; width: 24%; aspect-ratio: 16 / 9; border-radius: 6px;
  background: url(img/cam1.jpg) center / cover no-repeat, #0b1a22;
  border: 2px solid var(--accent); box-shadow: 0 12px 30px rgba(0, 0, 0, .6);
}
.pip span {
  position: absolute; left: 4px; top: 4px; font-size: .55rem; font-weight: 700; color: #fff;
  background: rgba(0, 0, 0, .55); padding: 2px 6px; border-radius: 4px;
}
.pip span::before { content: "●"; color: #ff3b3b; margin-right: 4px; }
.pip.p2 { top: auto; bottom: 7%; right: 4%; width: 22%; background-image: url(img/cam2.jpg); border-color: #d6dcea; }
.thumb {
  position: absolute; left: 80%; bottom: 33%; width: 22%; transform: translateX(-50%);
  border-radius: 6px; overflow: hidden; border: 2px solid #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .6);
}
.thumb i { display: block; aspect-ratio: 16 / 9; background: url(img/thumb.jpg) center / cover; }
.thumb b { display: block; text-align: center; font-size: .65rem; background: #000; color: #fff; padding: 2px 0; }
.toast {
  position: absolute; right: 3%; bottom: 14%; width: 46%; display: flex; gap: 10px; align-items: center;
  background: rgba(15, 23, 51, .95); border: 1px solid var(--accent); border-radius: 10px; padding: 10px 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .6); font-size: .72rem; line-height: 1.35;
}
.toast svg { flex: none; width: 22px; height: 22px; fill: var(--accent); }
.toast small { display: block; color: var(--muted); }

@media (max-width: 900px) {
  .spot { grid-template-columns: 1fr; gap: 28px; }
  .spot.rev > :first-child { order: 0; }
  .toast { font-size: .6rem; padding: 6px 8px; }
}

/* Legal pages */
#legal-lang {
  margin-left: 20px; background: var(--card); color: var(--text); border: 1px solid var(--line);
  border-radius: 8px; padding: 5px 8px; font: inherit; font-size: .85rem; cursor: pointer;
}
.doc code { background: var(--card); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-size: .88em; color: var(--accent-2); }
.doc strong { color: var(--text); }
.doc ul li { margin-bottom: 8px; }

/* Player mockup (own artwork, no actors) */
.player-ui { container-type: inline-size; color: #fff; }
.pu-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), transparent 25%, transparent 45%, rgba(0,0,0,.65)); }
.player-ui > span, .player-ui > div:not(.pu-shade), .player-ui > ul { position: absolute; }
.pu-back { left: 3%; top: 4%; font-size: 3.4cqw; line-height: 1; }
.pu-clock { right: 3%; top: 4%; text-align: right; background: rgba(20,24,40,.6); border-radius: 6px; padding: .5cqw 1cqw; }
.pu-clock b { display: block; font-size: 2.6cqw; }
.pu-clock small { font-size: 1.5cqw; opacity: .85; }
.pu-info { left: 3%; top: 52%; }
.pu-info b { font-size: 2.4cqw; display: block; }
.pu-info small { font-size: 1.7cqw; opacity: .9; }
.pu-info i { font-style: normal; color: #f5c518; margin-left: .6cqw; }
.pu-live { right: 3%; top: 58%; background: rgba(255,255,255,.18); border-radius: 4px; padding: .4cqw 1cqw; font-size: 1.5cqw; font-weight: 700; }
.pu-bar { left: 3%; right: 3%; top: 68%; height: .5cqw; background: rgba(255,255,255,.3); border-radius: 1cqw; }
.pu-bar span { display: block; height: 100%; background: #5c9e2e; border-radius: 1cqw; }
.pu-bar em { position: absolute; top: 50%; width: 2cqw; height: 2cqw; border-radius: 50%; background: #ddd; transform: translate(-50%, -50%); }
.pu-times { left: 3%; right: 3%; top: 72%; display: flex; justify-content: space-between; font-size: 1.4cqw; opacity: .85; }
.pu-times .now { color: #8fd14f; }
.pu-next { left: 3%; top: 78%; list-style: none; font-size: 1.4cqw; line-height: 1.7; }
.pu-ctrl { left: 0; right: 0; bottom: 4%; display: flex; justify-content: center; gap: 3.4cqw; }
.pu-ctrl svg { width: 3cqw; height: 3cqw; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pu-ctrl svg.fill { fill: #fff; stroke: none; }
.pu-ctrl svg.heart { fill: #5c9e2e; }
.pu-ctrl .fillr { fill: #fff; stroke: none; }
.player-ui .thumb { left: 80%; bottom: auto; top: 44%; width: 20%; }
.player-ui .thumb i { background: url(img/scene-lake.jpg) 72% 60% / 260% auto; }

/* Smart TV group (Samsung / LG via ISPTV player Rubikon) */
.pgroups { grid-template-columns: 3fr 4fr; }
.pgroup.smart { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: 28px; }
.pgroup.smart .platforms { grid-template-columns: repeat(2, 1fr); width: auto; min-width: 300px; }
.smart .platform svg { stroke: #9fb4ff; }
.smart .platform svg .tv-word { fill: #9fb4ff; stroke: none; font: 800 6px system-ui, sans-serif; letter-spacing: .3px; }
.smart .platform svg .tv-word.lg { font-size: 10px; }
.smart-note { text-align: left; font-size: 1rem; max-width: 300px; color: var(--muted); line-height: 1.4; }
.smart-note b { color: var(--text); }
@media (max-width: 900px) { .pgroups { grid-template-columns: 1fr; } .pgroup.smart { flex-direction: column; } .pgroup.smart .platforms { min-width: 0; width: 100%; } .smart-note { text-align: center; } }

.more {
  display: inline-block; margin-top: 22px; padding: 11px 20px; border-radius: 12px; font-weight: 700;
  background: var(--accent); color: #0a1024; transition: transform .15s ease;
}
.more:hover { transform: scale(1.05); }

/* Sources – how to connect */
.connect { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.path { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.path-ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(111, 179, 58, .12); }
.path-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.path h3 { font-size: 1.08rem; margin-bottom: 6px; }
.path p { color: var(--muted); font-size: .95rem; }
.connect-end { text-align: center; margin-top: 22px; font-weight: 700; color: var(--accent-2); font-size: 1.1rem; }
@media (max-width: 900px) { .connect { grid-template-columns: 1fr; } }

/* Language menu */
.langsel { display: flex; align-items: center; gap: 6px; margin-left: 20px; border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; color: var(--muted); }
.langsel svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.langsel select { background: var(--card); color: var(--text); border: 0; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; outline: none; }

/* Support */
.mailbox { display: flex; align-items: center; gap: 18px; margin: 28px 0 18px; padding: 22px 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.mailbox svg { flex: none; width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; }
.mailbox small { display: block; color: var(--muted); font-size: .85rem; }
.doc .mailbox a { font-size: 1.4rem; font-weight: 800; color: var(--text); word-break: break-all; }
.doc .mailbox a:hover { color: var(--accent); }
.doc .hint { font-size: .92rem; color: var(--muted); }
