:root {
  --red: #e10915;
  --red-dark: #b8000b;
  --ink: #17130f;
  --paper: #f5f1e8;
  --white: #fff;
  --yellow: #ffd60a;
  --line: rgba(23, 19, 15, .16);
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 56px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 var(--body); }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

h1, h2 { font: italic 900 1em/.88 var(--head); text-transform: uppercase; letter-spacing: -.01em; }
h2 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); max-width: 14ch; text-wrap: balance; }
.shdl { font: 600 .95rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; color: var(--red); }
.shdl::before { content: "▌"; margin-right: 6px; }
.note { font-size: .92rem; opacity: .72; margin-top: 16px; }

/* ---------- horná lišta ---------- */
.bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 20px; height: 48px; padding: 0 20px; background: var(--white); border-bottom: 2px solid var(--ink); font: 800 1rem/1 var(--head); text-transform: uppercase; letter-spacing: .04em; }
.bar__brand { text-decoration: none; }
.bar__brand span { color: var(--red); }
.bar__when { margin-left: auto; font: 400 .78rem/1 var(--mono); letter-spacing: 0; }
.bar__cta { align-self: stretch; display: grid; place-items: center; margin-right: -20px; padding: 0 22px; background: var(--red); color: var(--white); text-decoration: none; }
.bar__cta:hover { background: var(--ink); }

/* ---------- tlačidlá ---------- */
.btn { display: inline-block; margin-top: 28px; padding: 17px 30px 16px; border: 0; background: var(--red); color: var(--white); font: 800 1.35rem/1 var(--head); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; cursor: pointer; transition: transform .12s, background .12s; }
.btn:hover { background: var(--ink); transform: translateY(-2px); }
.btn:disabled { opacity: .5; cursor: progress; transform: none; }
.btn--light { background: var(--white); color: var(--red); }
.btn--light:hover { background: var(--yellow); color: var(--ink); }
.link { padding: 0; border: 0; background: none; font: inherit; color: var(--red); text-decoration: underline; cursor: pointer; }

/* ---------- hero ---------- */
.hero { background: var(--red); color: var(--white); padding: clamp(40px, 5vw, 72px) 0 clamp(40px, 5vw, 64px); overflow: hidden; }
.kicker { font: 600 clamp(.8rem, 1.5vw, 1rem)/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 22px; }
h1 { font-size: clamp(3.4rem, 9.6vw, 9.5rem); line-height: .82; max-width: 12ch; }
/* „Schovaj sa“ je schované – vidno len obrys, kým naň nezasvieti hunter (kurzor). */
.hide { position: relative; display: inline-block; white-space: nowrap; padding-right: .08em; color: transparent; -webkit-text-stroke: .018em rgba(255, 255, 255, .55); }
.hide::after { content: attr(data-text); position: absolute; inset: 0; color: var(--yellow); -webkit-text-stroke: 0;
  -webkit-mask: radial-gradient(circle, #000 0 52%, transparent 70%) no-repeat; mask: radial-gradient(circle, #000 0 52%, transparent 70%) no-repeat;
  -webkit-mask-size: 1.5em 1.5em; mask-size: 1.5em 1.5em; -webkit-mask-position: -20% 50%; mask-position: -20% 50%;
  animation: sweep 4.5s ease-in-out infinite alternate; }
@keyframes sweep { to { -webkit-mask-position: 120% 50%; mask-position: 120% 50%; } }
.hero__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: clamp(32px, 5vw, 64px); flex-wrap: wrap; }
.hero__copy { max-width: 30rem; font-size: 1.2rem; }
.hero__copy p + p { margin-top: 10px; }
.cenovka { display: grid; padding: 18px 26px 16px; background: var(--yellow); color: var(--ink); transform: rotate(-4deg); text-transform: uppercase; }
.cenovka__top, .cenovka__bot { font: 600 .82rem/1.2 var(--mono); letter-spacing: .04em; }
.cenovka__num { font: italic 900 clamp(4.2rem, 9vw, 7.5rem)/.9 var(--head); color: var(--red); white-space: nowrap; }
.cenovka__num i { font-size: .45em; vertical-align: .75em; margin-right: .12em; color: var(--ink); }

/* ---------- sekcie ---------- */
.sec { padding: clamp(64px, 9vw, 130px) 0; border-top: 2px solid var(--ink); }
.sec--white { background: var(--white); }
.sec--ink { background: var(--ink); color: var(--paper); }
.sec--ink .shdl { color: var(--yellow); }
.sec--yellow { background: var(--yellow); }
.sec--red { background: var(--red); color: var(--white); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.prose { max-width: 34rem; font-size: 1.14rem; }
.prose p + p { margin-top: 1em; }
.prose--wide { margin-top: 32px; }
.prose .q { font: 800 1.7rem/1 var(--head); text-transform: uppercase; color: var(--red); margin-bottom: -.6em; }
h2 + .prose { margin-top: 32px; }
.lead { margin-top: 20px; font-size: 1.2rem; }

.trio { max-width: none; font-size: clamp(3rem, 7.6vw, 6.4rem); }
.trio span { display: block; }
.trio span { line-height: 1.02; }
.trio b { display: inline-block; min-width: .5em; color: var(--red); font-size: 1.3em; line-height: .8; }

/* kroky */
.kroky { counter-reset: k; columns: 2; column-gap: clamp(32px, 6vw, 96px); margin-top: clamp(36px, 5vw, 64px); }
.kroky li { counter-increment: k; break-inside: avoid; display: grid; grid-template-columns: 4.2rem 1fr; padding: 20px 0 22px; border-top: 2px solid var(--ink); }
.kroky li::before { content: counter(k); grid-row: span 2; font: italic 900 4.2rem/.8 var(--head); color: var(--red); }
.kroky h3 { font: 800 1.65rem/1.05 var(--head); text-transform: uppercase; }
.kroky p { margin-top: 6px; }

/* poukážka */
.poukazka { align-self: center; display: grid; gap: 10px; padding: 28px 32px 22px; background: var(--white); border: 2px solid var(--ink); border-left: 14px solid var(--red); text-transform: uppercase; }
.poukazka b { font: italic 900 clamp(5rem, 11vw, 9rem)/.85 var(--head); color: var(--red); white-space: nowrap; }
.poukazka i { font-size: .45em; vertical-align: .75em; margin-right: .12em; color: var(--ink); }
.poukazka span { font: 600 .9rem/1.2 var(--mono); letter-spacing: .04em; }

/* časová os kola */
.os { display: grid; grid-template-columns: 5fr 15fr; margin-top: 40px; border: 2px solid var(--ink); }
.os div { padding: 18px 20px 20px; min-width: 0; }
.os b { display: block; font: italic 900 clamp(1.8rem, 4.4vw, 3.4rem)/.95 var(--head); text-transform: uppercase; }
.os span { font-size: .98rem; }
.os__a { background: var(--white); border-right: 2px solid var(--ink); }
.os__b { background: var(--red); color: var(--white); }
.vs { margin-top: 44px; font: italic 900 clamp(2rem, 5.4vw, 4.4rem)/1 var(--head); text-transform: uppercase; }
.vs i { font: 600 .32em/1 var(--mono); vertical-align: middle; margin: 0 .5em; color: var(--red); }

.datum { margin-top: 28px; font: 800 clamp(1.9rem, 4vw, 3rem)/1.05 var(--head); text-transform: uppercase; }
.datum span { color: var(--yellow); }

/* zoznam – čo potrebuješ */
.zoznam li { position: relative; padding: 13px 0 13px 44px; border-bottom: 1px solid var(--line); font-size: 1.16rem; font-weight: 500; }
.zoznam li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 20px; height: 20px; border: 2px solid var(--ink); }
.zoznam li::after { content: ""; position: absolute; left: 8px; top: 9px; width: 9px; height: 20px; border: solid var(--red); border-width: 0 4px 4px 0; transform: rotate(40deg); }

/* ---------- registrácia ---------- */
.sec--reg { background: var(--paper); }
.reg { margin-top: 44px; border-bottom: 2px solid var(--ink); }
.reg__krok { display: grid; grid-template-columns: 9rem 1fr; gap: 24px; padding: 30px 0; border-top: 2px solid var(--ink); }
.reg__n { font: 800 1.5rem/1.2 var(--head); text-transform: uppercase; color: var(--red); }
.reg__msg { margin-top: 16px; font-weight: 700; color: var(--red-dark); }
.reg__msg:empty { display: none; }

.sloty { margin: 0; padding: 0; border: 0; min-width: 0; }
.sloty legend { padding: 0; font: 800 1.5rem/1.2 var(--head); text-transform: uppercase; }
.sloty legend small { margin-left: 10px; font: 400 .8rem/1 var(--mono); text-transform: none; opacity: .7; }
.dni { display: flex; flex-wrap: wrap; margin-top: 16px; border-bottom: 2px solid var(--ink); }
.dni button { padding: 10px 18px 9px; border: 2px solid transparent; border-bottom: 0; background: none; color: inherit; font: 800 1.2rem/1 var(--head); text-transform: uppercase; cursor: pointer; }
.dni button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.sloty__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 16px; }
.sloty__grid > p { grid-column: 1 / -1; margin: 0; }
.slot { position: relative; display: grid; gap: 3px; padding: 10px 12px 9px; background: var(--white); border: 2px solid var(--ink); cursor: pointer; }
.slot input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: inherit; }
.slot b { font: 800 1.75rem/1 var(--head); }
.slot small { font: 400 .72rem/1.1 var(--mono); }
.slot:hover { background: var(--yellow); }
.slot:has(:checked) { background: var(--red); border-color: var(--red); color: var(--white); }
.slot:has(:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.slot.is-low small { color: var(--red-dark); font-weight: 600; }
.slot:has(:checked) small { color: inherit; }
.slot.is-full { background: none; border-color: var(--line); color: rgba(23, 19, 15, .45); cursor: not-allowed; }
.slot.is-full b { text-decoration: line-through; }

.pole { display: grid; gap: 8px; max-width: 30rem; font: 800 1.5rem/1.2 var(--head); text-transform: uppercase; }
.pole + .pole { margin-top: 20px; }
.pole input { padding: 14px 16px; border: 2px solid var(--ink); border-radius: 0; background: var(--white); font: 500 1.1rem var(--mono); color: var(--ink); }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; max-width: 42rem; margin-top: 18px; font-size: .95rem; line-height: 1.45; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--red); }

/* pasca na botov – ľudia toto pole nevidia */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ts { margin-top: 18px; }
.ts:empty { display: none; }

.po { margin-top: 44px; padding: clamp(24px, 4vw, 44px); max-width: 44rem; background: var(--white); border: 2px solid var(--ink); border-top: 14px solid var(--red); }
.po h3 { font: italic 900 clamp(2.4rem, 5vw, 3.8rem)/.9 var(--head); text-transform: uppercase; margin-bottom: 20px; }
.po p + p { margin-top: 10px; }
.po .po__q { margin-top: 24px; font-weight: 700; }

/* ---------- potvrdenie z e-mailu ---------- */
.stav { padding: clamp(32px, 6vw, 72px) 20px; background: var(--ink); }
.blocek { width: min(30rem, 100%); margin-inline: auto; padding: 30px 28px 34px; background: var(--white); font-family: var(--mono); font-size: .95rem;
  --z: 10px; -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--z) 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--z) 100%; }
.blocek__head { padding-bottom: 14px; border-bottom: 2px dashed var(--ink); font-weight: 600; text-transform: uppercase; text-align: center; }
.blocek h2 { margin: 22px 0 14px; font-size: 3.6rem; color: var(--red); }
.blocek p + p { margin-top: 10px; }
.blocek .cas { margin: 16px 0; padding: 14px 0; border-block: 2px dashed var(--ink); font: 800 2.3rem/1.05 var(--head); text-transform: uppercase; }
.blocek .btn { font-size: 1.15rem; margin-top: 18px; }

/* ---------- pravidlá ---------- */
.pravidla { max-width: 46rem; }
.pravidla h1 { font-size: clamp(2.8rem, 7vw, 5rem); line-height: .9; }
.pravidla h2 { margin: 44px 0 14px; padding-top: 18px; border-top: 2px solid var(--ink); max-width: none; font: 800 1.7rem/1.1 var(--head); letter-spacing: 0; }
.pravidla p, .pravidla li { margin-top: 10px; }
.pravidla ol { padding-left: 1.4em; list-style: decimal; }
.pravidla ul { padding-left: 1.2em; list-style: disc; }
.pravidla mark { background: var(--yellow); padding: 0 .2em; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 2.2fr; gap: clamp(24px, 6vw, 96px); }
details { border-top: 2px solid var(--ink); }
details:last-child { border-bottom: 2px solid var(--ink); }
summary { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0 16px; font: 800 1.45rem/1.15 var(--head); text-transform: uppercase; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 1.6rem/1 var(--mono); color: var(--red); }
details[open] summary::after { content: "–"; }
summary:hover { color: var(--red); }
details p { padding: 0 0 22px; max-width: 40rem; }

/* ---------- päta ---------- */
.foot { padding: 28px 0 36px; background: var(--ink); color: var(--paper); font: 400 .8rem/1.5 var(--mono); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.foot a { margin-left: auto; }
.demo { position: fixed; left: 12px; bottom: 12px; z-index: 20; margin: 0; padding: 7px 10px; background: var(--ink); color: var(--yellow); font: 600 .72rem/1 var(--mono); }

@media (max-width: 820px) {
  .split, .faq { grid-template-columns: 1fr; }
  .kroky { columns: 1; }
  .bar__when { display: none; }
  .bar__cta { margin-left: auto; }
  .reg__krok { grid-template-columns: 1fr; gap: 12px; }
  .os { grid-template-columns: 1fr; }
  .os__a { border-right: 0; border-bottom: 2px solid var(--ink); }
  .foot a { margin-left: 0; }
}
@media (max-width: 420px) {
  .bar { font-size: .86rem; gap: 10px; padding-left: 14px; }
  .bar__cta { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hide::after { animation: none; -webkit-mask: none; mask: none; }
  .btn { transition: none; }
}
