/* Kampaň Spišskí Rytieri pre Lea */
:root { --kos: #F28C38; }
.ryt-logos { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-weight: 800; }
.ryt-logo-ph { width: 64px; height: 64px; border-radius: 50%; border: 2px dashed var(--ink-muted); display: flex; align-items: center; justify-content: center; text-align: center; font: 700 10px/1.1 var(--sans, sans-serif); color: var(--ink-muted); padding: 6px; }
.ryt-logos .x { font-size: 26px; color: var(--accent-text); }
.ryt-logos .logo-al { font-size: 30px; letter-spacing: -.02em; }
.ryt-logos .logo-al span { color: var(--logo, #E8513C); }
.ryt-h1 { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 6.4vw, 88px); line-height: .95; letter-spacing: -.03em; }
.ryt-h1 em { font-style: normal; color: var(--logo, #E8513C); }
.odpocet { display: inline-flex; gap: 10px; align-items: baseline; background: var(--ink); color: #fff; border-radius: 999px; padding: 10px 20px; font-weight: 700; }
.odpocet b { font-family: var(--display); font-size: 28px; color: var(--kos); }
.hra-card { background: var(--surface-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px; display: grid; gap: 10px; position: relative; }
.hra-card canvas { width: 100%; display: block; border-radius: 14px; touch-action: none; cursor: grab; }
.hra-bar { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 0 6px; }
.hra-bar strong { font-family: var(--display); font-size: 22px; }
.hra-bar span { color: var(--ink-muted); font-size: 15px; text-align: right; }
.hra-cta { background: var(--accent); color: var(--on-accent, #14233D); border-radius: 14px; padding: 14px 16px; display: flex; gap: 12px; justify-content: space-between; align-items: center; font-weight: 700; }
.hra-cta a { white-space: nowrap; }
.finale { display: grid; grid-template-columns: auto 1fr; gap: 20px 28px; align-items: center; }
.finale .datum { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 8vw, 96px); line-height: .9; color: var(--kos); }
.video-ph { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); border: 2px dashed var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink-muted); font-weight: 700; text-align: center; padding: 20px; }
.skok { animation: skok 1.1s cubic-bezier(.3,0,.5,1) infinite alternate; }
@keyframes skok { from { transform: translateY(0) rotate(0); } to { transform: translateY(-26px) rotate(160deg); } }
@media (prefers-reduced-motion: reduce) { .skok { animation: none; } }
.nahlad-pruh { background: #F7C548; color: #14233D; text-align: center; font: 700 14px/1.4 var(--sans, sans-serif); padding: 8px 16px; }
.nahlad-pruh a { color: inherit; }
/* Variant C: zápasová tabuľa */
.tabula { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 22px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; text-align: center; box-shadow: inset 0 0 0 4px #24365a; }
.tabula .tim { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 3vw, 30px); line-height: 1; }
.tabula .tim small { display: block; font: 700 12px/1.4 var(--sans, sans-serif); letter-spacing: .12em; color: #C3CDDC; margin-top: 6px; }
.tabula .cisla { font-family: "Courier New", monospace; font-weight: 700; font-size: clamp(40px, 7vw, 72px); color: var(--kos); letter-spacing: .04em; text-shadow: 0 0 18px rgba(242,140,56,.45); }
.tabula .pod { text-transform: uppercase; grid-column: 1 / -1; font-weight: 700; color: #C3CDDC; letter-spacing: .08em; font-size: 13px; }
@media (max-width: 560px) { .tabula { grid-template-columns: 1fr 1fr; } .tabula .stred { grid-column: 1 / -1; order: -1; } .finale { grid-template-columns: 1fr; } }
.ryt-logo { height: 100px; width: auto; display: block; }
@media (max-width: 560px) { .ryt-logo { height: 76px; } }
/* Hra v2: plocha, výzva, výsledok, rebríček */
.hra-plocha { position: relative; }
.hra-cas { position: absolute; left: 12px; top: 14px; font: 800 22px var(--display); color: #243082; }
.hra-zvuk { position: absolute; right: 10px; top: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); font-size: 20px; cursor: pointer; }
.hra-ovladanie { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 2px 4px; }
.hra-vyzva .hra-ovladanie { visibility: hidden; }
.hra-koniec { background: #E9EFF7; border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.hra-plocha:has(.hra-koniec:not([hidden])) canvas, .hra-plocha:has(.hra-koniec:not([hidden])) .hra-zvuk, .hra-plocha:has(.hra-koniec:not([hidden])) .hra-cas { display: none; }
.hra-koniec[hidden] { display: none; }
.hra-koniec .k-body { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1; }
.hra-koniec .k-body b { font-size: 56px; color: #243082; }
.k-form { display: grid; gap: 8px; margin-top: 4px; }
.k-form[hidden] { display: none; }
.k-form label { font-weight: 700; font-size: 15px; }
.k-form input[type=text], .k-form input:not([type]), .k-form input[type=email] { min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); font: inherit; font-size: 16px; background: #fff; }
.k-suhlas { display: flex; gap: 8px; align-items: center; font-weight: 400 !important; font-size: 14px !important; }
.k-suhlas input { width: 20px; height: 20px; }
.k-akcie { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.rebricek { background: var(--surface-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 10px 18px; }
.rebricek ol { list-style: none; margin: 0; padding: 0; }
.rebricek li { display: grid; grid-template-columns: 2.4em 1fr auto; gap: 10px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); }
.rebricek li:last-child { border-bottom: 0; }
.rebricek .rb-pos { font-weight: 700; color: var(--ink-muted); }
.rebricek strong { font-family: var(--display); font-size: 20px; color: #243082; }
.rebricek .rb-top .rb-meno { font-weight: 700; }
.rebricek .rb-top:first-child strong { color: #E7302A; font-size: 24px; }
.rb-ukazka { margin: 6px 0 2px; color: #B23A26; font-weight: 700; }
.rb-prazdny { display: block !important; color: var(--ink-muted); }
/* Samolepky lopta a meč: animácia po kliknutí (triedu .boop pridáva motion.js) */
.art-lopta img, .art-mec img { transform-origin: 50% 50%; }
.art.art-lopta.boop img { animation: dribl 1s cubic-bezier(.3,0,.6,1) !important; }
.art.art-mec.boop img { animation: sek .8s cubic-bezier(.2,.8,.3,1) !important; transform-origin: 50% 85%; }
.art-lopta:hover img { animation: dribl-mini .5s ease-in-out; }
.art-mec:hover img { animation: sek-mini .5s ease-in-out; transform-origin: 50% 85%; }
@keyframes dribl { 0% { transform: translateY(0) rotate(0); } 18% { transform: translateY(26px) scale(1.08, .86) rotate(90deg); } 36% { transform: translateY(-22px) rotate(180deg); } 54% { transform: translateY(18px) scale(1.06, .9) rotate(270deg); } 72% { transform: translateY(-10px) rotate(330deg); } 100% { transform: translateY(0) rotate(360deg); } }
@keyframes dribl-mini { 50% { transform: translateY(-8px) rotate(20deg); } }
@keyframes sek { 0% { transform: rotate(0); } 25% { transform: rotate(-38deg); } 55% { transform: rotate(58deg) scale(1.1); } 75% { transform: rotate(-12deg); } 100% { transform: rotate(0); } }
@keyframes sek-mini { 50% { transform: rotate(-14deg); } }
@media (prefers-reduced-motion: reduce) { .art.art-lopta.boop img, .art.art-mec.boop img, .art-lopta:hover img, .art-mec:hover img { animation: none !important; } }
.stk-skupina { display: flex; align-items: flex-end; gap: 4px 18px; padding: 10px 0 0 6px; }
.art-srdce img { transform-origin: 50% 60%; }
/* Hero v2: ihrisko (jeden blok: odpočet, tímy, nadpis) */
.ihrisko-sekcia { padding: 28px 0 40px; }
.ihrisko { position: relative; overflow: hidden; border-radius: 28px; padding: 92px 28px 40px; text-align: center; color: #fff;
  background: radial-gradient(120% 90% at 50% 0%, #2f3fa0 0%, #243082 45%, #14233D 100%); box-shadow: 0 18px 40px -18px rgba(20,35,61,.55); }
.ihrisko-ciary { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .09; pointer-events: none; }
.ihrisko > *:not(.ihrisko-ciary) { position: relative; }
.jumbo { position: absolute !important; top: 0; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; background: #0d1526; border: 3px solid #3a4a8c; border-top: 0; border-radius: 0 0 18px 18px; padding: 10px 20px 12px; white-space: nowrap; }
.jumbo-led { font: 700 44px/1 "Courier New", monospace; color: var(--kos); text-shadow: 0 0 14px rgba(242,140,56,.6); min-width: 1.4em; }
.jumbo-txt { display: grid; text-align: left; gap: 2px; }
.jumbo-txt b { font: 800 14px/1.1 var(--sans, sans-serif); letter-spacing: .12em; text-transform: uppercase; }
.jumbo-txt > span { font-size: 13px; color: #C3CDDC; }
.timy { display: grid; grid-template-columns: 1fr minmax(120px, 1.6fr) 1fr; align-items: end; max-width: 620px; margin: 0 auto 18px; }
.tim-kartu { display: grid; justify-items: center; gap: 8px; }
.tim-kartu b { font: 800 20px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.tim-tile { position: relative; width: 104px; height: 104px; border-radius: 26px; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 0 -2px rgba(0,0,0,.25); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.tim-ryt .tim-tile { transform: rotate(-6deg); } .tim-leo .tim-tile { transform: rotate(5deg); background: #FDF1D8; }
.tim-ryt .tim-tile img { height: 80px; width: auto; } .tim-leo .tim-tile img:first-child { width: 84px; height: auto; }
.tim-kartu:hover .tim-tile { transform: rotate(0) scale(1.08); }
.tim-srdce { position: absolute; right: -10px; top: -10px; width: 34px !important; animation: tlkot 1.4s ease-in-out infinite; }
@keyframes tlkot { 0%,60%,100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1.05); } 45% { transform: scale(1.18); } }
.pas { width: 100%; height: auto; margin-bottom: 28px; overflow: visible; }
.pas-txt { fill: #C3CDDC; font: 700 13px var(--sans, sans-serif); letter-spacing: .14em; text-transform: uppercase; }
.ihrisko-h1 { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 6vw, 80px); line-height: .98; letter-spacing: -.03em; margin: 10px auto 14px; max-width: 13ch; }
.ihrisko-h1 em { font-style: normal; color: var(--kos); }
.ihrisko-lead { max-width: 560px; margin: 0 auto; font-size: 18px; line-height: 1.55; color: #E3E9F3; }
.ihrisko-btn { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.ihrisko-ghost { background: transparent !important; color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6) !important; }
@media (max-width: 560px) {
  .ihrisko { padding: 104px 18px 30px; border-radius: 22px; }
  .jumbo { width: max-content; max-width: 94%; padding: 8px 14px 10px; gap: 10px; }
  .jumbo-led { font-size: 36px; }
  .jumbo-txt > span { font-size: 11.5px; white-space: normal; }
  .tim-tile { width: 80px; height: 80px; border-radius: 20px; }
  .tim-ryt .tim-tile img { height: 62px; } .tim-leo .tim-tile img:first-child { width: 64px; }
  .tim-kartu b { font-size: 16px; }
  .pas { margin-bottom: 20px; }
  .ihrisko-lead { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) { .pas-lopta { display: none; } .tim-srdce { animation: none; } }
/* Spoločné počítadlo košov */
.pocitadlo { display: grid; justify-items: start; gap: 2px; background: #0d1526; color: #fff; border-radius: 20px; padding: 16px 22px 18px; box-shadow: inset 0 0 0 3px #3a4a8c; margin-top: 6px; width: max-content; max-width: 100%; }
.poc-label { font: 800 13px/1.2 var(--sans, sans-serif); letter-spacing: .12em; text-transform: uppercase; color: #C3CDDC; }
.poc-cislo { font: 700 clamp(46px, 7vw, 64px)/1.05 "Courier New", monospace; color: var(--kos); text-shadow: 0 0 18px rgba(242,140,56,.55); font-variant-numeric: tabular-nums; }
.poc-cislo.tik { animation: poc-tik .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes poc-tik { 40% { transform: scale(1.12); color: #fff; } }
@media (prefers-reduced-motion: reduce) { .poc-cislo.tik { animation: none; } }
.pocitadlo[hidden] { display: none; }
/* Výzva od kamaráta (odkaz zo zdieľania výsledku) */
.vyzva-od { background: #243082; color: #fff; border-radius: 20px; padding: 18px 20px; display: grid; gap: 8px; box-shadow: 0 12px 26px -14px rgba(20,35,61,.6); }
.vyzva-od[hidden] { display: none; }
.vyzva-od p { margin: 0; color: #E3E9F3; font-size: 16px; line-height: 1.5; }
.vyzva-od .vyzva-od-h { font: 800 20px/1.25 var(--display); color: #fff; }
.vyzva-od b { color: var(--kos); }
.vyzva-od a { color: #fff; font-weight: 700; }
@media (max-width: 720px) { .ma-vyzvu #hra .eyebrow, .ma-vyzvu #hra .h2, .ma-vyzvu #hra .hra-navod { display: none; } }
.hra-bar strong { white-space: nowrap; }
.k-spolu { margin: 0; background: #0d1526; color: #E3E9F3; border-radius: 12px; padding: 10px 14px; font-size: 15px; line-height: 1.45; }
.k-spolu b { color: var(--kos); font-family: "Courier New", monospace; font-size: 18px; }
.k-spolu b[data-spolu] { display: inline-block; }
.k-spolu b[data-spolu] { letter-spacing: -.04em; }
/* Úvod hry: výzva ako hlavná voľba */
.hra-uvod { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; border-radius: 14px;
  background: radial-gradient(110% 80% at 50% 0%, rgba(47,63,160,.95), rgba(20,35,61,.96)); color: #fff; }
.hra-uvod[hidden] { display: none; }
.hra-uvod-tag { margin: 0; font: 800 13px var(--sans, sans-serif); letter-spacing: .14em; text-transform: uppercase; color: var(--kos); }
.hra-uvod-h { margin: 0; font: 800 clamp(26px, 6vw, 34px)/1.05 var(--display); max-width: 12ch; }
.hra-uvod-p { margin: 0 0 6px; color: #E3E9F3; font-size: 15px; max-width: 26ch; }
.hra-uvod-start { font-size: 20px; padding: 16px 28px; animation: uvod-pulz 1.8s ease-in-out infinite; }
@keyframes uvod-pulz { 50% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(242,140,56,.25); } }
.hra-uvod-skusit { background: none; border: 0; color: #C3CDDC; text-decoration: underline; font: 600 14px var(--sans, sans-serif); cursor: pointer; padding: 8px; }
.hra-start-hl { width: 100%; justify-content: center; }
.hra-ovladanie .small { width: 100%; }
@media (prefers-reduced-motion: reduce) { .hra-uvod-start { animation: none; } }
.hra-card:not(.hra-skusobne) .hra-ovladanie { display: none; }
