/* Maybetown – web. Stránka je jeden deň v mestečku: ráno svetlo, večer tma (hodiny vľavo hore idú s ním). */
:root {
  --night: #0a1e3a;
  --deep: #061328;
  --dusk: #183a66;
  --echo: #2cccbb;
  --lamp: #ffc44d;
  --ember: #ff7a2f;
  --paper: #fff5e6;
  --peach: #ffe2bf;
  --ink: #1d2340;
  --ink-soft: #4a4f6b;
  --display: 'Grandstander', 'Trebuchet MS', system-ui, sans-serif;
  --body: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  --r: 22px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 600 1.06rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
}
h3 {
  font-size: 1.3rem;
}
p {
  margin: 0 0 1em;
}
:focus-visible {
  outline: 3px solid var(--echo);
  outline-offset: 3px;
  border-radius: 8px;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 50;
  background: var(--paper);
  padding: 8px 14px;
  border-radius: 12px;
}

/* ---------- hodiny ako v hre ---------- */
.hud,
.hud-cta {
  position: fixed;
  top: 14px;
  z-index: 20;
  border-radius: 999px;
  font-family: var(--display);
  box-shadow: 0 6px 20px rgba(6, 19, 40, 0.25);
}
.hud {
  left: 14px;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 800;
}
.hud b {
  font-weight: 900;
  margin-left: 4px;
}
.hud.tick b {
  animation: tick 0.5s ease;
}
@keyframes tick {
  50% {
    color: var(--ember);
  }
}
.hud-cta {
  right: 14px;
  background: var(--lamp);
  color: var(--night);
  padding: 9px 18px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: 0.3s;
  pointer-events: none;
}
.hud-cta.on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* ---------- úvod ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  transform: scale(1.08);
  animation: wake 14s ease-out forwards;
}
@keyframes wake {
  from {
    transform: scale(1.18);
    filter: brightness(0.55) saturate(0.8);
  }
  to {
    transform: scale(1.04);
    filter: none;
  }
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 30, 58, 0) 35%, rgba(10, 30, 58, 0.55) 62%, rgba(10, 30, 58, 0.95) 100%);
}
.hero-in {
  position: relative;
  padding: 0 clamp(16px, 6vw, 80px) clamp(48px, 9vh, 96px);
  max-width: 1240px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 900 1.5rem var(--display);
  margin-bottom: 18px;
}
.brand img {
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.hero h1 {
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  font-weight: 900;
  text-shadow: 0 4px 30px rgba(6, 19, 40, 0.5);
}
.hero h1 span {
  background: linear-gradient(90deg, var(--lamp), var(--ember));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  max-width: 34em;
  color: #e4e9f5;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.btn {
  display: inline-block;
  border: 0;
  cursor: pointer;
  background: linear-gradient(180deg, #ffd166, var(--lamp));
  color: var(--night);
  font: 800 1.08rem var(--display);
  padding: 15px 28px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 0 #d99a1e, 0 12px 26px rgba(255, 196, 77, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #d99a1e;
}
.btn.ghost {
  background: rgba(255, 245, 230, 0.12);
  color: var(--paper);
  box-shadow: inset 0 0 0 2px rgba(255, 245, 230, 0.6);
  backdrop-filter: blur(6px);
}
.btn.big {
  width: 100%;
  font-size: 1.2rem;
}

/* notifikácia ako v hre */
.toast {
  position: absolute;
  right: clamp(16px, 5vw, 64px);
  top: 84px;
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-radius: 18px;
  padding: 12px 18px 12px 12px;
  box-shadow: 0 12px 40px rgba(6, 19, 40, 0.35);
  font: 800 1.05rem var(--body);
  animation: drop 0.6s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
.toast small {
  display: block;
  font-size: 0.75rem;
  color: #7a6f8c;
}
.toast-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #111;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
}
@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
  }
}

/* ---------- sekcie: deň ide od rána do noci ---------- */
.sec {
  padding: clamp(72px, 12vw, 140px) 0;
  position: relative;
}
.wrap {
  width: min(1180px, 100% - 32px);
  margin: 0 auto;
}
.wrap.narrow {
  width: min(760px, 100% - 32px);
}
.two {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.two.rev {
  grid-template-columns: 1fr 0.8fr;
}
.eyebrow {
  font: 800 0.85rem var(--body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ember);
  margin-bottom: 12px;
}
.sub {
  font-size: 1.15rem;
  max-width: 40em;
}

.decide {
  background: linear-gradient(180deg, var(--paper), var(--peach));
}
.scam {
  background: linear-gradient(180deg, var(--peach), #ffc98f);
}
.parents {
  background: linear-gradient(180deg, #2b4f86, var(--dusk));
  color: var(--paper);
}
.saga {
  background: linear-gradient(180deg, var(--dusk), var(--night));
  color: var(--paper);
}
.signal {
  background: radial-gradient(80% 60% at 30% 40%, rgba(44, 204, 187, 0.12), transparent 70%), var(--deep);
  color: var(--paper);
}
.faq {
  background: var(--deep);
  color: var(--paper);
  padding-top: 0;
}
.parents .eyebrow,
.saga .eyebrow,
.signal .eyebrow {
  color: var(--lamp);
}

/* záber z hry s dopísaným displejom */
.shot {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(6, 19, 40, 0.55);
  container-type: inline-size;
}
.shot > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.screen {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  background: #f4f6fb;
  border-radius: 0.5cqw;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font: 800 1.35cqw/1.3 var(--body);
  color: var(--ink);
}
.screen.dark {
  background: #101a2e;
  color: #cfe9ff;
}
.sc-top {
  background: #2b62c9;
  color: #fff;
  padding: 1.2cqw;
  display: flex;
  align-items: center;
  gap: 0.8cqw;
}
.sc-ava {
  width: 3cqw;
  height: 3cqw;
  border-radius: 50%;
  background: #111;
  display: inline-grid;
  place-items: center;
  font-size: 1.6cqw;
}
.sc-msgs {
  padding: 1.2cqw;
  display: flex;
  flex-direction: column;
  gap: 1cqw;
}
.sc-msgs p {
  margin: 0;
  background: #fff;
  border-radius: 1.4cqw 1.4cqw 1.4cqw 0.4cqw;
  padding: 0.9cqw 1.2cqw;
  box-shadow: 0 0.2cqw 0.5cqw rgba(0, 0, 0, 0.1);
  max-width: 92%;
}
.dark .sc-msgs p {
  background: #1d2a44;
}
.sc-msgs i {
  display: block;
  font-style: normal;
  font-size: 1.05cqw;
  color: #7a4fd1;
}
.blink {
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink {
  50% {
    opacity: 0.35;
  }
}

/* rozhodnutie */
.ask {
  font: 800 1.35rem var(--display);
  margin-top: 1.4em;
}
.opts {
  display: grid;
  gap: 10px;
}
.opts button {
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  border: 0;
  cursor: pointer;
  background: #fffdf8;
  color: var(--ink);
  font: 700 1rem/1.35 var(--body);
  padding: 13px 16px;
  border-radius: 16px;
  box-shadow: 0 2px 0 rgba(29, 35, 64, 0.08), 0 8px 18px -10px rgba(29, 35, 64, 0.35);
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.2s;
}
.opts button span {
  font-size: 1.5rem;
}
.opts button:hover {
  transform: translateX(4px);
}
.opts button.on {
  box-shadow: inset 0 0 0 3px var(--echo);
}
.opts.done button:not(.on) {
  opacity: 0.45;
}
.echo {
  margin-top: 18px;
  background: var(--night);
  color: var(--paper);
  border-radius: var(--r);
  padding: 22px;
  box-shadow: 0 0 0 1px rgba(44, 204, 187, 0.35), 0 20px 50px -20px rgba(44, 204, 187, 0.5);
  animation: rise 0.5s ease both;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
.echo-mine {
  font-size: 1.1rem;
}
.echo-h {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 800 1.05rem var(--display);
  color: var(--echo);
  margin: 0 0 8px;
}
.orb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #b9fff5, var(--echo) 60%, #138a7e);
  box-shadow: 0 0 14px var(--echo);
}
.echo-other {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  color: #cdd6ea;
}
.echo-other b {
  color: var(--paper);
}
.echo-lesson {
  background: var(--lamp);
  color: var(--night);
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 800;
}
.linkbtn {
  background: none;
  border: 0;
  color: var(--echo);
  font: 800 1rem var(--body);
  cursor: pointer;
  padding: 4px 0;
  text-decoration: underline;
}

/* over si to */
.phone {
  justify-self: center;
  width: min(380px, 100%);
  background: #14161d;
  border-radius: 46px;
  padding: 14px;
  box-shadow: 0 0 0 3px #c8a25a, 0 40px 80px -30px rgba(80, 40, 0, 0.6);
  transform: rotate(3deg);
}
.ph-top {
  background: #2b62c9;
  color: #fff;
  border-radius: 32px 32px 0 0;
  padding: 26px 18px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.ph-top .sc-ava {
  width: 34px;
  height: 34px;
  font-size: 1rem;
}
.ph-body {
  background: #eef1f8;
  border-radius: 0 0 32px 32px;
  padding: 18px 14px 60px;
  display: grid;
  gap: 12px;
}
.bubble {
  background: #fff;
  border-radius: 20px 20px 20px 6px;
  padding: 14px 16px;
  font: 700 1.05rem/1.55 var(--body);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.flag {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0 2px;
  margin: 0;
  cursor: pointer;
  border-radius: 6px;
  text-align: left;
  background-image: linear-gradient(transparent 60%, rgba(255, 196, 77, 0) 60%);
  transition: background 0.2s;
}
.ph-top .flag {
  color: #fff;
  font-weight: 800;
}
.flag:hover {
  background-color: rgba(255, 196, 77, 0.25);
}
.flag.hit {
  background-color: rgba(255, 122, 47, 0.22);
  box-shadow: inset 0 -3px 0 var(--ember);
}
.found {
  font: 800 1.3rem var(--display);
}
.found b {
  color: var(--ember);
}
.flag-note {
  background: #fffdf8;
  border-radius: 16px;
  padding: 14px 16px;
  min-height: 3.4em;
  box-shadow: 0 8px 18px -10px rgba(29, 35, 64, 0.35);
}
.flag-note.win {
  background: var(--night);
  color: var(--paper);
}

/* rodičia */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 34px 0 40px;
}
.cards article {
  background: rgba(255, 245, 230, 0.07);
  border: 1px solid rgba(255, 245, 230, 0.16);
  border-radius: var(--r);
  padding: 22px;
}
.cards h3 {
  color: var(--lamp);
}
.cards p {
  margin: 0;
  color: #d9e1f1;
  font-size: 0.98rem;
}
.pz {
  margin: 0 auto;
  max-width: 820px;
  transform: rotate(-1.2deg);
}
.pz img {
  border-radius: var(--r);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

/* sága */
.timeline {
  list-style: none;
  padding: 0;
  margin: 44px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 4%;
  right: 4%;
  top: 0;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--lamp), var(--echo), #7a5cff);
}
.timeline li {
  padding-top: 26px;
  position: relative;
}
.timeline li::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 4px var(--night), 0 0 18px var(--echo);
}
.timeline img {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: 16px;
}
.timeline li:nth-child(n + 2) img {
  filter: saturate(0.85) brightness(0.9);
}
.age {
  font: 900 1.6rem var(--display);
  color: var(--echo);
  margin: 0 0 6px;
}
.timeline p {
  color: #d3dcef;
}
.tag {
  display: inline-block;
  background: var(--lamp);
  color: var(--night) !important;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 999px;
}

/* zápis */
form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.fld span {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
}
.fld small {
  font-weight: 600;
  opacity: 0.7;
}
.fld input,
.fld select {
  width: 100%;
  font: 700 1.05rem var(--body);
  padding: 14px 16px;
  border-radius: 14px;
  border: 2px solid rgba(255, 245, 230, 0.2);
  background: rgba(255, 245, 230, 0.06);
  color: var(--paper);
}
.fld select option {
  color: var(--ink);
}
.fld input::placeholder {
  color: rgba(255, 245, 230, 0.4);
}
.fld input:focus,
.fld select:focus {
  border-color: var(--echo);
  outline: none;
}
.chk {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: #d3dcef;
}
.chk input {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--echo);
}
.hp {
  position: absolute;
  left: -9999px;
}
.msg {
  margin: 0;
  min-height: 1.6em;
  font-weight: 800;
}
.msg.ok {
  color: var(--echo);
}
.msg.err {
  color: #ff9c7a;
}
.count {
  color: var(--lamp);
  font-weight: 800;
  margin: 0;
}

/* otázky */
.faq h2 {
  margin-bottom: 24px;
}
details {
  border-top: 1px solid rgba(255, 245, 230, 0.15);
  padding: 16px 0;
}
summary {
  cursor: pointer;
  font: 800 1.15rem var(--display);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::after {
  content: '+';
  color: var(--echo);
  font-size: 1.4rem;
  line-height: 1;
}
details[open] summary::after {
  content: '–';
}
details p {
  margin: 10px 0 0;
  color: #cdd6ea;
}

.foot {
  background: var(--deep);
  color: #8e9bb8;
  border-top: 1px solid rgba(255, 245, 230, 0.08);
  padding: 28px 16px 40px;
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}
.foot p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.foot img {
  border-radius: 8px;
}

/* odhaľovanie pri posúvaní */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .two,
  .two.rev {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .timeline {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .timeline::before {
    left: 26px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 4px;
    height: auto;
    background: linear-gradient(180deg, var(--lamp), var(--echo), #7a5cff);
  }
  .timeline li {
    padding: 0 0 0 56px;
  }
  .timeline li::before {
    top: 6px;
    left: 19px;
  }
  .phone {
    transform: none;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 1rem;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .hud-cta {
    display: none;
  }
  .toast {
    top: 70px;
    left: 16px;
    right: 16px;
  }
  .hero-btns .btn {
    width: 100%;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* pri dlhej odpovedi Echa ostáva záber z hry na očiach */
@media (min-width: 901px) {
  .decide .two {
    align-items: start;
  }
  .decide .shot {
    position: sticky;
    top: 96px;
  }
}

/* mobil v hre „over si to“: tvar telefónu a podozrivé miesta plynulo v texte */
.phone {
  width: min(340px, 100%);
}
.ph-body {
  min-height: 460px;
  align-content: start;
}
.flag {
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.screen.dark {
  font-size: 2cqw;
}
.screen.dark .sc-msgs p {
  text-align: center;
  max-width: none;
}
.pz img {
  height: auto;
}

/* =================== verzia 2: menu, deti v úvode, stopy, video =================== */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px clamp(16px, 3vw, 36px);
  background: rgba(10, 30, 58, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 245, 230, 0.1);
  color: var(--paper);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 900 1.35rem var(--display);
  text-decoration: none;
}
.nav-logo img {
  border-radius: 9px;
}
.nav .hud {
  position: static;
  box-shadow: none;
  padding: 5px 12px;
  font-size: 0.85rem;
}
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
  color: #dfe6f3;
}
.nav-links a:hover {
  background: rgba(255, 245, 230, 0.1);
  color: var(--paper);
}
.nav-cta {
  background: var(--lamp);
  color: var(--night);
  text-decoration: none;
  font: 800 0.95rem var(--display);
  padding: 9px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

/* úvod: deti vľavo, nadpis vpravo */
.hero {
  align-items: center;
  grid-template-rows: 1fr auto;
}
.hero-img {
  object-position: 30% 50%;
}
.hero-shade {
  background: linear-gradient(90deg, rgba(10, 30, 58, 0) 30%, rgba(10, 30, 58, 0.55) 62%, rgba(10, 30, 58, 0.78) 100%),
    linear-gradient(180deg, rgba(10, 30, 58, 0.35) 0%, rgba(10, 30, 58, 0) 20%, rgba(10, 30, 58, 0) 70%, rgba(10, 30, 58, 0.9) 100%);
}
.hero-in {
  justify-self: end;
  max-width: 640px;
  padding: 120px clamp(16px, 5vw, 72px) 20px 16px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}
.play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.tri {
  width: 0;
  height: 0;
  border-left: 12px solid currentColor;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}
.perks {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 18px clamp(16px, 5vw, 72px) 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  color: #dfe6f3;
  font-size: 0.95rem;
}
.perks li {
  display: flex;
  gap: 12px;
  align-items: center;
}
.perks b {
  color: var(--paper);
}
.perks svg {
  width: 34px;
  height: 34px;
  flex: none;
  fill: none;
  stroke: var(--lamp);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.toast {
  top: 92px;
}

/* stopy – záhada */
.clues {
  background: radial-gradient(70% 60% at 50% 0%, rgba(44, 204, 187, 0.14), transparent 70%), var(--deep);
  color: var(--paper);
  text-align: center;
}
.clues .eyebrow {
  color: var(--echo);
}
.clue-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 40px;
  text-align: left;
}
.clue {
  margin: 0;
  background: #fffaf0;
  color: var(--ink);
  padding: 12px 12px 18px;
  border-radius: 10px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.7);
  transform: rotate(-2deg);
  transition: transform 0.3s;
}
.clue:nth-child(2) {
  transform: rotate(1.5deg) translateY(14px);
}
.clue:nth-child(3) {
  transform: rotate(-0.8deg);
}
.clue:hover {
  transform: rotate(0) translateY(-6px) scale(1.02);
}
.clue > img,
.clue .shot {
  border-radius: 6px;
  aspect-ratio: 3 / 2;
  width: 100%;
  object-fit: cover;
  box-shadow: none;
}
.clue figcaption {
  font: 800 1.05rem/1.4 var(--display);
  margin-top: 14px;
}
.clue-q {
  margin-top: 44px;
  font: 900 1.4rem var(--display);
  color: var(--lamp);
}

/* ako to funguje */
.how {
  background: linear-gradient(180deg, var(--paper), var(--peach));
}
.video-card {
  position: relative;
  border: 0;
  padding: 0;
  cursor: pointer;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(6, 19, 40, 0.55);
  aspect-ratio: 16 / 9;
  background: var(--night);
}
.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.video-card:hover img {
  transform: scale(1.04);
}
.big-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 50%;
  background: rgba(255, 196, 77, 0.95);
  box-shadow: 0 0 0 10px rgba(255, 196, 77, 0.25);
  animation: pulse 2.2s ease-in-out infinite;
}
.big-play::after {
  content: '';
  position: absolute;
  left: 33px;
  top: 25px;
  border-left: 26px solid var(--night);
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 20px rgba(255, 196, 77, 0.08);
  }
}
.vc-label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  background: rgba(10, 30, 58, 0.8);
  color: var(--paper);
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  gap: 12px;
}
.steps li {
  padding-left: 34px;
  position: relative;
}
.steps li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #b9fff5, var(--echo) 60%, #138a7e);
  box-shadow: 0 0 10px rgba(44, 204, 187, 0.6);
}
.polaroids {
  display: flex;
  gap: 0;
  margin-top: 26px;
}
.polaroids img {
  width: 34%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #fff;
  padding: 6px 6px 18px;
  border-radius: 4px;
  box-shadow: 0 14px 26px -12px rgba(6, 19, 40, 0.5);
  transform: rotate(-4deg);
}
.polaroids img:nth-child(2) {
  transform: rotate(3deg) translateY(-8px);
  margin-left: -4%;
}
.polaroids img:nth-child(3) {
  transform: rotate(-1deg) translateY(6px);
  margin-left: -4%;
}

/* rodičia */
.parents {
  background: linear-gradient(180deg, #fff5e6, #ffe9cc);
  color: var(--ink);
}
.parents .eyebrow {
  color: var(--ember);
}
.family {
  border-radius: var(--r);
  box-shadow: 0 30px 60px -20px rgba(80, 40, 0, 0.45);
  aspect-ratio: 3 / 2;
  width: 100%;
  object-fit: cover;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}
.checks li {
  padding-left: 36px;
  position: relative;
}
.checks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2fa36b;
  color: #fff;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.parents .pz {
  margin-top: 56px;
  text-align: center;
}
.pz figcaption {
  margin-top: 14px;
  font-weight: 800;
  color: var(--ink-soft);
}
.mini {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.9rem;
  color: #a9b6d3;
}
.mini li::before {
  content: '✓ ';
  color: var(--echo);
  font-weight: 900;
}

/* pätička */
.foot {
  display: block;
  padding: 44px 16px 30px;
}
.foot-in {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
}
.foot h3 {
  font-size: 1rem;
  color: var(--paper);
  margin-bottom: 10px;
}
.foot-in a {
  display: block;
  text-decoration: none;
  margin: 6px 0;
}
.foot-in a:hover {
  color: var(--paper);
}
.foot-logo {
  font: 900 1.3rem var(--display);
  color: var(--paper);
  margin-bottom: 8px !important;
}
.foot .copy {
  text-align: center;
  margin-top: 30px;
  font-size: 0.85rem;
  justify-content: center;
}

/* video */
.video-modal {
  border: 0;
  padding: 0;
  background: #000;
  border-radius: 16px;
  width: min(1100px, 94vw);
  overflow: visible;
}
.video-modal::backdrop {
  background: rgba(6, 19, 40, 0.85);
  backdrop-filter: blur(4px);
}
.video-modal video {
  display: block;
  width: 100%;
  border-radius: 16px;
}
.vm-close {
  position: absolute;
  right: -12px;
  top: -12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
  z-index: 2;
}

.sec[id] {
  scroll-margin-top: 64px;
}

@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }
  .nav .hud {
    margin-right: auto;
  }
}
@media (max-width: 900px) {
  .perks,
  .clue-row {
    grid-template-columns: 1fr 1fr;
  }
  .hero-in {
    justify-self: start;
    padding-top: 46vh;
  }
  .hero-shade {
    background: linear-gradient(180deg, rgba(10, 30, 58, 0.2) 0%, rgba(10, 30, 58, 0) 25%, rgba(10, 30, 58, 0.75) 55%, rgba(10, 30, 58, 0.95) 100%);
  }
  .foot-in {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .nav .hud {
    display: none;
  }
  .nav-logo {
    margin-right: auto;
    font-size: 1.15rem;
  }
  .nav-cta {
    font-size: 0.82rem;
    padding: 8px 12px;
  }
  .perks,
  .clue-row {
    grid-template-columns: 1fr;
  }
  .clue,
  .clue:nth-child(2),
  .clue:nth-child(3) {
    transform: none;
  }
}
.hero-in {
  max-width: 780px;
}
.clue .screen {
  font-size: 3cqw;
}
.clue .sc-ava {
  width: 4.5cqw;
  height: 4.5cqw;
  font-size: 2.6cqw;
}
.vc-label {
  top: 14px;
  bottom: auto;
}
@media (max-width: 900px) {
  .hero-img {
    object-position: 22% 30%;
  }
  .hero-in {
    padding-top: 52vh;
  }
}
/* mobil: obrázok s deťmi ako pás hore, text pod ním */
@media (max-width: 900px) {
  .hero {
    background: var(--night);
  }
  .hero-img {
    height: 62svh;
    bottom: auto;
    object-position: 28% 60%;
    animation: none;
    transform: none;
  }
  .hero-shade {
    background: linear-gradient(180deg, rgba(10, 30, 58, 0.25) 0%, rgba(10, 30, 58, 0) 18%, rgba(10, 30, 58, 0) 40%, var(--night) 62svh);
  }
  .hero-in {
    padding-top: 50svh;
  }
}

/* príbeh na mieru */
.custom {
  background: linear-gradient(180deg, #13305a, var(--night));
  color: var(--paper);
}
.custom .eyebrow {
  color: var(--lamp);
}
.custom .sub {
  color: #d3dcef;
}
.custom-in {
  margin-top: 34px;
  align-items: stretch;
}
.cfg {
  background: rgba(255, 245, 230, 0.06);
  border: 1px solid rgba(255, 245, 230, 0.14);
  border-radius: var(--r);
  padding: 22px;
  display: grid;
  gap: 16px;
}
.cfg-h {
  margin: 0;
  font: 800 1.15rem var(--display);
  color: var(--echo);
}
.cfg-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.cfg-row span {
  width: 100%;
  font-weight: 800;
  font-size: 0.9rem;
  color: #a9b6d3;
}
.cfg-row button {
  border: 0;
  cursor: pointer;
  font: 800 0.95rem var(--body);
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 245, 230, 0.1);
  color: var(--paper);
  transition: background 0.2s, color 0.2s;
}
.cfg-row button:hover {
  background: rgba(255, 245, 230, 0.2);
}
.cfg-row button.on {
  background: var(--lamp);
  color: var(--night);
}
.morning {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r);
  padding: 26px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
}
.m-clock {
  display: inline-block;
  align-self: flex-start;
  background: var(--night);
  color: var(--paper);
  font: 800 0.85rem var(--display);
  padding: 5px 12px;
  border-radius: 999px;
}
.m-text {
  font: 700 1.25rem/1.55 var(--body);
  flex: 1;
}
.m-text.swap {
  animation: rise 0.4s ease;
}
.m-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  border-top: 1px dashed #d9cdb8;
  padding-top: 12px;
}
.flow-h {
  margin-top: 60px;
  font-size: 1.6rem;
}
.flow {
  list-style: none;
  counter-reset: f;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.flow li {
  counter-increment: f;
  background: rgba(255, 245, 230, 0.06);
  border: 1px solid rgba(255, 245, 230, 0.12);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.flow li::before {
  content: counter(f);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--echo);
  color: var(--night);
  font: 900 1rem var(--display);
}
.flow b {
  font: 800 1.05rem var(--display);
  color: var(--lamp);
}
.flow span {
  font-size: 0.93rem;
  color: #cdd6ea;
}
@media (max-width: 1000px) {
  .flow {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .flow {
    grid-template-columns: 1fr;
  }
}

/* sezóny podľa veku */
.seasons {
  list-style: none;
  padding: 0;
  margin: 34px 0 10px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}
.seasons li {
  background: rgba(255, 245, 230, 0.07);
  border: 1px solid rgba(255, 245, 230, 0.14);
  border-radius: 16px;
  padding: 14px 6px 12px;
  text-align: center;
  display: grid;
  gap: 2px;
}
.seasons b {
  font: 900 2rem/1 var(--display);
  color: var(--paper);
}
.seasons span {
  font-size: 0.85rem;
  color: #a9b6d3;
  font-weight: 800;
}
.seasons li.now {
  background: var(--lamp);
  border-color: var(--lamp);
  box-shadow: 0 0 0 4px rgba(255, 196, 77, 0.25), 0 12px 30px -10px rgba(255, 196, 77, 0.6);
}
.seasons li.now b,
.seasons li.now span {
  color: var(--night);
}
.seasons em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--night);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.phases-h {
  margin-top: 40px;
  font: 800 1.3rem var(--display);
  color: var(--paper) !important;
}
.age small {
  font: 700 0.9rem var(--body);
  color: #a9b6d3;
}
@media (max-width: 700px) {
  .seasons {
    grid-template-columns: repeat(4, 1fr);
  }
}
