
/* =========================================
   Borderless Dev Minimal – One Page
   ========================================= */
:root {
  --bg: #0b0f19;
  --text: #E5E7EB;
  --muted: #94A3B8;
  --accent: #60A5FA;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #F8FAFC;
    --text: #0F172A;
    --muted: #475569;
    --accent: #2563EB;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 72px) clamp(16px, 4vw, 40px);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(96,165,250,0.18), transparent 60%),
    radial-gradient(900px 600px at 110% 0%, rgba(167,139,250,0.16), transparent 60%),
    var(--bg);
  overflow-x: hidden;
}

/* subtle animated grid – no borders around content */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(transparent 95%, rgba(148,163,184,0.06) 96%),
    linear-gradient(90deg, transparent 95%, rgba(148,163,184,0.06) 96%);
  background-size: 28px 28px, 28px 28px;
  mask: radial-gradient(60% 60% at 50% 30%, black 60%, transparent 100%);
  pointer-events: none;
  z-index: 0;
  animation: gridShift 22s linear infinite;
}
@keyframes gridShift {
  0% { transform: translateY(0) }
  100% { transform: translateY(28px) }
}

.main {
  width: min(1100px, 100%);
  position: relative;
  z-index: 1;
}

/* Headline – dev vibe, no border/shadow */
h1 {
  margin: 0 0 12px 0;
  font-size: clamp(1.7rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-ligatures: no-contextual;
}
.sub {
  margin: 0 0 clamp(20px, 3vw, 28px) 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: clamp(12px, 1.6vw, 14px);
  user-select: none;
}

/* Full-bleed image on large screens, edge-to-edge on mobile; no border/radius/shadow */
.figure-wrap { margin: 0; }
.figure {
  display: block;
  width: 100%;
  height: auto;
  /*aspect-ratio: 16 / 9;
  object-fit: cover;*/
  transform: translateZ(0);
}
@media (width >= 1200px) {
  /*.figure { aspect-ratio: 21 / 9; }*/
}

@media (width <= 500px) {
  h1, .notice
  {
    text-align: center;
  }

}

/* Notice – compact, monospace accent; no border/radius/shadow */
/*.notice {
  margin-top: clamp(16px, 3vw, 28px);
  font-weight: 600;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  line-height: 1.3;
  gap: .6ch;
  align-items: baseline;
}*/
.notice code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: .95em;
  padding: 0 .2em;
  background: none; /* keep it borderless */
  color: var(--text);
}

/* overlay pásik cez stred obrázka */
.figure-wrap {
  position: relative;
  margin: 0;
}

.notice--overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  /* layout */
  padding: clamp(10px, 2vw, 14px) clamp(14px, 3vw, 22px);
  font-weight: 600;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  line-height: 1.35;
  white-space: nowrap;            /* drží to v jednom riadku na širších obrazovkách */
  /*max-width: 92vw;  */              /* bezpečne na mobiloch */
  overflow: hidden;
  text-overflow: ellipsis;
  /* vizuál pásika – bez rámikov, jemný blur */
  background: rgba(17, 24, 39, 0.55);     /* tmavý transparentný */
  color: #FFF;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);

  width: 100%;
  text-align: center;
}

/* svetlý režim – svetlý pásik s tmavým textom */
@media (prefers-color-scheme: light) {
  .notice--overlay {
    background: rgba(255, 255, 255, 0.70);
    color: #0F172A;
  }
}

/* menšie displeje: povoľ zalomenie, centrovať text */
@media (max-width: 560px) {
  .notice--overlay {
    white-space: normal;
    text-align: center;
  }
}
