@font-face {
  font-family: 'Georama'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('fonts/georama-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Georama'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('fonts/georama-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root { --ink: #002b49; --blue: #00aee0; --sun: #f2a900; }
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  font-family: 'Georama', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: #fff; line-height: 1.6;
  background:
    radial-gradient(circle at center, rgba(0,59,100,.82) 0%, rgba(0,43,73,.94) 100%),
    url('img/hero.jpg') center/cover no-repeat var(--ink);
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

.top { padding: 28px 16px 8px; display: flex; justify-content: center; }
/* Biela pilulka s logom. PNG má okolo loga prázdne miesto (najviac vpravo),
   preto je obrázok o niečo väčší ako pilulka, posunutý doprava a orezaný. */
.logo {
  background: #fff; border-radius: 99px;
  width: 310px; max-width: 100%; height: 80px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 25px rgba(0,0,0,.35);
}
.logo img { height: 88px; width: auto; max-width: none; display: block; transform: translateX(30px); }

main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px 16px 48px; text-align: center; }
.box { width: 100%; max-width: 600px; }
.kicker {
  display: inline-block; background: var(--sun); color: var(--ink);
  font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 99px; margin-bottom: 20px;
}
h1 { font-size: clamp(30px, 6vw, 52px); line-height: 1.12; font-weight: 900; letter-spacing: -.02em; color: var(--sun); margin: 0 0 16px; }
p { font-size: clamp(16px, 2vw, 19px); line-height: 1.55; margin: 0 auto 32px; max-width: 46ch; opacity: .95; }

/* Točiaci sa kruh a poskakujúca Dlhá mačka */
.loader {
  position: relative;
  width: 110px; height: 110px;
  margin: 0 auto 28px;
  display: flex; align-items: center; justify-content: center;
}
.loader .ring {
  position: absolute; inset: 0;
  border: 4px solid rgba(255,255,255,.15);
  border-top-color: var(--sun);
  border-right-color: var(--blue);
  border-radius: 50%;
  animation: rotate 1.3s linear infinite;
}
.loader .cat {
  width: 48px; height: 48px; display: block;
  fill: var(--sun);
  animation: bounce 2s ease-in-out infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) { .loader .ring, .loader .cat { animation: none; } }

.buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn { display: inline-block; background: var(--sun); color: var(--ink); font-weight: 800; font-size: 15px; text-decoration: none; padding: 14px 26px; border-radius: 99px; border: 2px solid var(--sun); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn:hover { filter: brightness(1.08); }

/* Sociálne siete – nižšie a menšie než hlavné tlačidlá */
.social { margin-top: 36px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.social a {
  font-size: 14px; font-weight: 700; text-decoration: none;
  padding: 8px 18px; border-radius: 99px;
  border: 1.5px solid rgba(255,255,255,.3); opacity: .85;
}
.social a:hover { opacity: 1; border-color: rgba(255,255,255,.6); }

footer { padding: 18px 16px 24px; text-align: center; font-size: 13px; opacity: .55; }
footer p { font-size: 13px; margin: 0; max-width: none; }

@media (max-width: 480px) {
  .buttons { flex-direction: column; }
  .btn { width: 100%; }
  .social { margin-top: 28px; }
}
