/* ============================================
   CENA KRITIKY ZA MLADOU MALBU — 2026
   Design: navy #0C0D52 + magenta #FF21E0
   Font: FranciA-Bold + system sans-serif
   ============================================ */

@font-face {
  font-family: 'Franci';
  src: url('_podklady/FranciA-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- CSS proměnné --- */
:root {
  --bg:        #0C0D52;
  --bg-dark:   #08093C;
  --surface:   #0F1060;
  --pink:      #FF21E0;
  --pink-dim:  rgba(255, 33, 224, 0.15);
  --pink-glow: rgba(255, 33, 224, 0.35);
  --white:     #FFFFFF;
  --muted:     rgba(255,255,255,0.55);
  --border:    rgba(255,255,255,0.1);
  --max-w:     1320px;
  --nav-h:     64px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* --- Typografie --- */
.franci {
  font-family: 'Franci', 'Arial Black', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
}
h1, h2, h3 {
  font-family: 'Franci', 'Arial Black', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 7.3vw, 6.5rem); }
h2 { font-size: clamp(2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.25rem, 3vw, 2rem); }
p  { font-size: 1rem; line-height: 1.7; color: var(--muted); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; }

/* --- Utility --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 3rem); }
.section    { padding: clamp(4rem, 8vw, 8rem) 0; }
.pink       { color: var(--pink); }

/* --- Navigace --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 200;
  display: flex;
  align-items: center;
  background: rgba(12, 13, 82, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
}
.nav__logo img {
  height: 36px;
  width: auto;
  display: block;
}
.nav__links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav__links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.15s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--white); }
.nav__social {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.nav__social a {
  display: flex;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.nav__social a:hover { opacity: 1; }
.nav__social svg { width: 20px; height: 20px; fill: var(--white); }
.nav__burger { display: none; flex-direction: column; gap: 5px; }
.nav__burger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: 0.3s; }

/* --- HERO --- */
.hero {
  min-height: 100svh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Gradientové pozadí */
.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255,33,224,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 100% 80% at 80% 20%, rgba(60,80,255,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 10% 80%, rgba(0,20,200,0.15) 0%, transparent 60%);
}

/* Bubliny — reálná fotografie, WebP s průhledností */
.bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.bubble {
  position: absolute;
  display: block;
  will-change: transform;
  /* screen blend mode — tmavé okraje bubliny zmizí v tmavém pozadí */
  mix-blend-mode: screen;
  user-select: none;
  -webkit-user-drag: none;
  filter: brightness(0.5);
}

/* Každá bublina — vertikální plovoucí pohyb, minimální horizontální drift */

@keyframes b1 {
  0%   { transform: translate(0px,   0px)  scale(1);    }
  30%  { transform: translate(12px, -65px) scale(1.06); }
  60%  { transform: translate(-8px, -40px) scale(0.96); }
  100% { transform: translate(0px,   0px)  scale(1);    }
}
@keyframes b2 {
  0%   { transform: translate(0px,   0px)  scale(1);    }
  25%  { transform: translate(-10px, 55px) scale(1.05); }
  55%  { transform: translate(8px,  75px)  scale(0.93); }
  80%  { transform: translate(-5px, 35px)  scale(1.07); }
  100% { transform: translate(0px,   0px)  scale(1);    }
}
@keyframes b3 {
  0%   { transform: translate(0px,   0px)  scale(1);    }
  40%  { transform: translate(10px, -58px) scale(1.07); }
  70%  { transform: translate(-6px, -28px) scale(0.96); }
  100% { transform: translate(0px,   0px)  scale(1);    }
}
@keyframes b4 {
  0%   { transform: translate(0px,   0px)  scale(1);    }
  35%  { transform: translate(-12px,-62px) scale(0.95); }
  65%  { transform: translate(9px,  -78px) scale(1.06); }
  100% { transform: translate(0px,   0px)  scale(1);    }
}
@keyframes b5 {
  0%   { transform: translate(0px,   0px)  scale(1);    }
  45%  { transform: translate(-8px,  68px) scale(1.09); }
  75%  { transform: translate(10px,  38px) scale(0.94); }
  100% { transform: translate(0px,   0px)  scale(1);    }
}
@keyframes b6 {
  0%   { transform: translate(0px,   0px)  scale(1);    }
  50%  { transform: translate(11px, -52px) scale(1.08); }
  80%  { transform: translate(-7px, -30px) scale(0.95); }
  100% { transform: translate(0px,   0px)  scale(1);    }
}
@keyframes b7 {
  0%   { transform: translate(0px,   0px)  scale(1);    }
  35%  { transform: translate(-9px,  50px) scale(1.06); }
  70%  { transform: translate(7px,   62px) scale(0.94); }
  100% { transform: translate(0px,   0px)  scale(1);    }
}

/* Velikosti a pozice — 7 bublin */
.bubble--1 { width: 360px; top: -80px;   left: -100px;  animation: b1 7.4s ease-in-out infinite; }
.bubble--2 { width: 440px; top:   3%;    right: -120px; animation: b2 9.1s ease-in-out infinite; animation-delay: -2.3s; }
.bubble--3 { width: 220px; bottom:10%;   left:    4%;   animation: b3 5.8s ease-in-out infinite; animation-delay: -1.1s; }
.bubble--4 { width: 500px; bottom:-90px; right:  10%;   animation: b4 10.2s ease-in-out infinite; animation-delay: -5.0s; }
.bubble--5 { width: 200px; top:   38%;   left:   22%;   animation: b5 6.3s ease-in-out infinite; animation-delay: -0.7s; }
.bubble--6 { width: 160px; top:   18%;   right:  28%;   animation: b6 7.0s ease-in-out infinite; animation-delay: -3.8s; }
.bubble--7 { width: 300px; top:   50%;   left:   50%;   animation: b7 8.5s ease-in-out infinite; animation-delay: -4.2s; }

@media (max-width: 768px) {
  .hero { min-height: 50svh; }
  /* Jen 3 bubliny na mobilu */
  .bubble--4, .bubble--5, .bubble--6, .bubble--7 { display: none; }
  /* Finalisté: 2 sloupce na mobilu */
  .finalists-grid { grid-template-columns: repeat(2, 1fr) !important; }
  /* Loga partnerů: zalomit na mobilu */
  .partner-logos-row { flex-wrap: wrap !important; gap: 2rem !important; }
  /* Porota: 2 sloupce na mobilu */
  [style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Hero obsah */
.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: clamp(2rem, 5vw, 4rem) 0;
}
.hero__title {
  color: var(--white);
  margin: 0 auto;
}
.hero__arrow { color: var(--white); }
.hero__year  { color: var(--white); }

/* --- TICKER / SCROLLING BAND --- */
.ticker-wrap {
  position: relative;
  z-index: 10;
  width: 100%;
  background: var(--bg-dark);
  border-top: 2px solid var(--pink);
  border-bottom: 2px solid var(--pink);
  padding: 0.65rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-wrap--bottom {
  position: relative;
  background: var(--pink);
  border-top: none;
  border-bottom: none;
  padding: 0.8rem 0;
}
.ticker {
  display: inline-flex;
  gap: 0;
  animation: ticker 24s linear infinite;
}
.ticker__inner {
  display: inline-flex;
  align-items: center;
  gap: 0;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker__text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Franci', 'Arial Black', sans-serif;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0 2rem;
  color: var(--pink);
  white-space: nowrap;
}
.ticker-wrap--bottom .ticker__text {
  color: var(--bg-dark);
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
}
.ticker__sep { margin: 0 0.5rem; opacity: 0.7; }

/* --- SEKCE: O CENĚ --- */
.about {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: stretch;
}
.about__label {
  font-family: 'Franci', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.about__title { color: var(--white); margin-bottom: 1.5rem; }
.about__text  { color: var(--muted); margin-bottom: 1rem; }
.about__stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; flex-wrap: wrap; }
.stat__num {
  font-family: 'Franci', 'Arial Black', sans-serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--pink);
  line-height: 1;
  text-transform: uppercase;
}
.stat__label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 0.4rem; }
.about__visual {
  aspect-ratio: 1;
  background: radial-gradient(circle at 60% 35%, #ff21e0 0%, #9b0dbf 40%, #3a0578 75%, #0C0D52 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.about__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.12) 0%, transparent 55%);
}
.about__visual-text {
  font-family: 'Franci', 'Arial Black', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--pink);
  text-align: center;
  position: relative;
  line-height: 1.1;
}

/* --- SEKCE: OPEN CALL --- */
.opencall {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.opencall__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: center;
}
.opencall__deadline {
  font-family: 'Franci', 'Arial Black', sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  line-height: 0.95;
  margin: 1.25rem 0;
}
.opencall__deadline span { color: var(--pink); }
.opencall__steps { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin: 1.5rem 0; }
.opencall__steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.95rem;
}
.opencall__steps li::before {
  content: attr(data-n);
  font-family: 'Franci', sans-serif;
  font-size: 0.7rem;
  color: var(--pink);
  border: 1px solid var(--pink);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.btn-pink {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: var(--pink);
  color: var(--bg-dark);
  font-family: 'Franci', 'Arial Black', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9em 2em;
  border-radius: 0;
  transition: opacity 0.15s, transform 0.15s;
}
.btn-pink:hover { opacity: 0.88; transform: translateY(-2px); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: transparent;
  color: var(--white);
  font-family: 'Franci', 'Arial Black', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9em 2em;
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: border-color 0.15s, transform 0.15s;
}
.btn-outline:hover { border-color: var(--white); transform: translateY(-2px); }
.opencall__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.opencall__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.opencall__card::before {
  content: 'OPEN\ACALL';
  white-space: pre;
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-family: 'Franci', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255,33,224,0.12);
  line-height: 1;
}
.opencall__card-date {
  font-family: 'Franci', 'Arial Black', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--pink);
  line-height: 1;
}
.opencall__card-label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 0.5rem; }

/* --- SEKCE: MINULÝ ROČNÍK --- */
.prev {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
}
.prev__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(2rem, 4vw, 4rem);
  flex-wrap: wrap;
  gap: 1.5rem;
}
.prev__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.prev-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.75rem 1.25rem;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.prev-card:hover { border-color: rgba(255,33,224,0.4); transform: translateY(-4px); }
.prev-card--laureate { border-color: rgba(255,33,224,0.3); background: linear-gradient(160deg, rgba(255,33,224,0.1) 0%, var(--surface) 100%); }
.prev-card__tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 1rem;
}
.prev-card--laureate .prev-card__tag { font-size: 0.7rem; }
.prev-card__name {
  font-family: 'Franci', sans-serif;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--white);
}
.prev-card__year { font-size: 0.75rem; color: var(--muted); margin-top: 0.5rem; }
.prev-card__bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--pink);
  opacity: 0;
  transition: opacity 0.2s;
}
.prev-card:hover .prev-card__bar,
.prev-card--laureate .prev-card__bar { opacity: 1; }

/* --- FOOTER --- */
.footer {
  background: #070739;
  border-top: 1px solid var(--border);
}
.footer__top {
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer__logo img { height: 32px; width: auto; margin-bottom: 1.25rem; }
.footer__desc { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }
.footer__col-title {
  font-family: 'Franci', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 1.25rem;
}
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer__links a { font-size: 0.88rem; color: var(--muted); transition: color 0.15s; }
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__bottom p { font-size: 0.78rem; color: var(--muted); }

/* --- STRÁNKA: PODMÍNKY --- */
.page-hero {
  min-height: 55svh;
  padding-top: calc(var(--nav-h) + clamp(3rem, 6vw, 6rem));
  padding-bottom: clamp(3rem, 6vw, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--pink);
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 60% 50%, rgba(255,33,224,0.08) 0%, transparent 70%);
}
.cond-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.cond-block__num {
  font-family: 'Franci', 'Arial Black', sans-serif;
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255,33,224,0.15);
  line-height: 1;
}
.cond-block__label {
  font-family: 'Franci', 'Arial Black', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pink);
  margin-top: 0.5rem;
  line-height: 1.1;
}
.cond-block__title { color: var(--white); margin-bottom: 1.25rem; font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
.cond-block__text  { color: var(--muted); margin-bottom: 1rem; }
.cond-block__list  { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin: 1.25rem 0; }
.cond-block__list li { display: flex; gap: 0.75rem; color: var(--muted); font-size: 0.95rem; }
.cond-block__list li::before { content: '→'; color: var(--pink); flex-shrink: 0; font-weight: 700; }
.cond-highlight {
  background: rgba(255,33,224,0.07);
  border-left: 3px solid var(--pink);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.cond-highlight p { color: var(--white); font-size: 0.95rem; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .prev__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { display: none; }
  .opencall__inner { grid-template-columns: 1fr; }
  .opencall__card { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .cond-block { grid-template-columns: 1fr; gap: 1rem; }
  .cond-block__num { font-size: 3.5rem; }
}
@media (max-width: 1050px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg-dark);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    z-index: 199;
  }
  .nav__burger { display: flex; }
}
@media (max-width: 700px) {
  .prev__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .prev__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}
