/* ============================================================
   PLAYzone Events — main stylesheet
   Design tokeny sladene s playzone.agency
   ============================================================ */

:root {
  color-scheme: dark;

  /* Barvy */
  --bg:       #0d0f14;
  --surf:     #161a23;
  --surf2:    #1e2330;
  --acc:      #e30512;
  --acc2:     #ff3344;
  --text:     #f2f4f7;
  --muted:    #b4bdcc;  /* svetlejsi nez puvodnich #8a95a8 pro lepsi citelnost na tmavem pozadi */
  --muted-2:  #8a95a8;  /* tmavsi varianta pokud nekde potrebujeme jemnejsi */
  --border:   rgba(255, 255, 255, 0.12);

  --r:        6px;
  --rl:       14px;
  --max-w:    1240px;

  --fh: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
  --fb: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --t-fast: 0.2s ease;
  --t-med:  0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
  /* Layout stability: scrollbar gutter vzdy rezervovany,
     zabranuje skoku contentu na strance s/bez scrollbaru */
  scrollbar-gutter: stable;
  /* !!! POZOR: overflow-x: hidden NESMI byt na html ani body,
     rozbiji position: sticky na navigaci (ta se pak odroluje pryc).
     Pouzivame overflow-x: clip ktere je noveji ale nerozbiji sticky. */
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--fb);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  min-height: 100vh;
  /* overflow-x: clip na body — stejny efekt jako hidden, ale bez rozbiti sticky */
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }

/* ============================================================
   EVENT DETAIL — Back chip (navrat na prehled eventu)
   Maly, jemny chip primo v hero sekci vlevo nahore.
   Zadny tlusty pruh, zadny cerveny disk — cisty, vzdusny design.
   ============================================================ */
.detail-hero-topbar {
  position: relative;
  z-index: 3;
  padding-top: 6px;       /* chip sedi opticky tesne pod navem */
  padding-bottom: 0;
  margin-bottom: 4px;     /* jemny odstup od badge pod chipem */
}
.detail-back-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 11px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 100px;
  font-family: var(--fb);
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.detail-back-chip:hover,
.detail-back-chip:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}
.detail-back-chip-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--t-fast);
}
.detail-back-chip:hover .detail-back-chip-icon {
  transform: translateX(-3px);
}

/* Legal info v patickce (IČO, sp. zn.) */
.footer-legal {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  opacity: 0.85;
}
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

/* ============================================================
   Material Symbols Rounded — ikonovy font helper
   Pouziti:  <span class="mi">home</span>  nebo  <span class="material-symbols-rounded">home</span>
   ============================================================ */
.mi,
.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.mi--fill { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }

/* ============================================================
   NAV — 1:1 ze playzone.agency
   ============================================================ */
.nav {
  background: rgba(13, 15, 20, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  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;
}

/* Menu — Barlow (ne condensed), sentence case, 16px, weight 500 */
.nav-menu {
  display: flex;
  gap: 4px;
  list-style: none;
  font-family: var(--fb);
}
.nav-menu a {
  display: block;
  padding: 8px 14px;
  font-size: 1rem; /* 16px — lepsi citelnost */
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #c8d0dc; /* svetlejsi nez --muted, lepsi kontrast na dark bg */
  transition: color var(--t-fast);
  border-radius: var(--r);
}
.nav-menu a:hover { color: #fff; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-social {
  display: flex;
  gap: 12px;
}
.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  opacity: 0.85;
  transition: opacity var(--t-fast);
}
.nav-social a:hover { opacity: 1; }
.nav-social img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}
.nav-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
}
.lang-flags {
  display: flex;
  gap: 8px;
}
.lang-flags a {
  display: block;
  opacity: 0.9;
  transition: opacity var(--t-fast);
}
.lang-flags a:hover,
.lang-flags a.active { opacity: 1; }
.lang-flags img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: block;
}

.nav-toggle {
  display: none;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: transparent;
  transition: background var(--t-fast);
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.05); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 4px 0;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
/* Animace hamburger → křížek když otevřeno */
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   MOBILNI MENU — overlay pod navigaci, zobrazi se po kliknuti
   ============================================================ */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; /* pod navigaci na mobilu */
  left: 0;
  right: 0;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  background: var(--surf);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 8px 0 20px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-med), opacity var(--t-med);
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu-list li {
  border-bottom: 1px solid var(--border);
}
.mobile-menu-list a {
  display: block;
  padding: 16px 24px;
  font-family: var(--fb);
  font-size: 1.05rem;
  font-weight: 500;
  color: #c8d0dc;
  transition: color var(--t-fast), background var(--t-fast);
}
.mobile-menu-list a:hover,
.mobile-menu-list a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}
.mobile-menu-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 4px;
  gap: 20px;
}
.mobile-menu-social {
  display: flex;
  gap: 14px;
}
.mobile-menu-social a img,
.mobile-menu-lang a img {
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity var(--t-fast);
}
.mobile-menu-lang a img { filter: none; border-radius: 50%; }
.mobile-menu-social a:hover img,
.mobile-menu-lang a:hover img { opacity: 1; }
.mobile-menu-lang {
  display: flex;
  gap: 10px;
}
.mobile-menu-lang a.active img { opacity: 1; }

/* ============================================================
   HERO — homepage (velky plakat)
   ============================================================ */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 32px 56px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  filter: saturate(0.9);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(13, 15, 20, 0.25) 0%, rgba(13, 15, 20, 0.6) 70%, rgba(13, 15, 20, 0.85) 100%),
    linear-gradient(180deg, rgba(13, 15, 20, 0.3) 0%, rgba(13, 15, 20, 0.1) 35%, rgba(13, 15, 20, 0.4) 70%, var(--bg) 100%);
}
.hero-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 160px 30px rgba(13, 15, 20, 0.6);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.hero-inner h1,
.hero-inner .when-date,
.hero-inner .when-place {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fh);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--acc);
  border: 1px solid rgba(227, 5, 18, 0.55);
  background: rgba(13, 15, 20, 0.65);
  padding: 7px 14px;
  border-radius: 3px;
  backdrop-filter: blur(6px);
}
.hero-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--acc);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.85); }
}

.event-logo-frame {
  min-width: 220px;
  padding: 18px 28px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, rgba(13, 15, 20, 0.55), rgba(13, 15, 20, 0.35));
  backdrop-filter: blur(6px);
  border-radius: 8px;
  position: relative;
}
.event-logo-frame::before,
.event-logo-frame::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border: 2px solid var(--acc);
}
.event-logo-frame::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.event-logo-frame::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.event-logo-frame .mark {
  font-family: var(--fh);
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
}
.event-logo-frame .mark em { color: var(--acc); font-style: normal; }

.hero h1 {
  font-family: var(--fh);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  font-family: var(--fh);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(13, 15, 20, 0.35);
  backdrop-filter: blur(4px);
  max-width: 820px;
  width: 100%;
}
.hero-stats .sep { color: rgba(227, 5, 18, 0.7); }
.hero-stats .money {
  background: linear-gradient(135deg, var(--acc), var(--acc2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.when { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.when-date {
  font-family: var(--fh);
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}
.when-place {
  font-family: var(--fh);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 242, 245, 0.9);
}

.countdown { display: flex; gap: 10px; margin-top: 4px; }
.countdown-unit {
  background: rgba(22, 26, 35, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border-radius: var(--r);
  padding: 12px 18px;
  min-width: 76px;
  text-align: center;
}
.countdown-num {
  font-family: var(--fh);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.countdown-label {
  display: block;
  margin-top: 4px;
  font-family: var(--fh);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fh);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: var(--r);
  border: 1px solid transparent;
  transition: all var(--t-fast);
  color: #fff;
  cursor: pointer;
}
.btn--p { background: var(--acc); }
.btn--p:hover { background: #b8000e; transform: translateY(-1px); }
.btn--g { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.22); }
.btn--g:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.12); }
.btn--big  { padding: 18px 40px; font-size: 1rem; }
.btn--huge { padding: 22px 52px; font-size: 1.05rem; letter-spacing: 2px; }

.scroll {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 24px;
  line-height: 1;
  animation: bounce 2.5s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

.social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.social-row-label {
  font-family: var(--fh);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.social-row-icons { display: flex; gap: 8px; }
.social-row-icons a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(13, 15, 20, 0.5);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
  backdrop-filter: blur(4px);
}
.social-row-icons a:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}
.social-row-icons img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* ============================================================
   SEKCE
   ============================================================ */
.section { padding: 72px 0; }
.section--alt { background: var(--surf); }
.section--center { text-align: center; }

.section-tag {
  display: block;
  font-family: var(--fh);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--fh);
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.section-body {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 640px;
  margin-bottom: 16px;
}
.section--center .section-body {
  margin-left: auto;
  margin-right: auto;
}

.two-col {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}
.two-col--eq { grid-template-columns: 1fr 1fr; gap: 40px; }

/* ============================================================
   HOMEPAGE — EVENT LIST (stacked, s pravym status panelem)
   ============================================================ */
.events-sec {
  padding: 72px 0;
  background: var(--surf);
  border-top: 1px solid var(--border);
}
.events-head { margin-bottom: 36px; }
.events-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-row {
  background: var(--surf2);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 340px 1fr 160px;
  min-height: 220px;
  position: relative;
  transition: all var(--t-fast);
  color: inherit;
  --event-accent: var(--acc);
}
.event-row--festival { --event-accent: #ff9a3c; }
.event-row--summer   { --event-accent: #3ad16a; }

.event-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
  border-color: color-mix(in srgb, var(--event-accent) 50%, transparent);
}
.event-row::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--event-accent), color-mix(in srgb, var(--event-accent) 60%, white));
  opacity: 0;
  transition: opacity var(--t-fast);
  z-index: 4;
}
.event-row:hover::before { opacity: 1; }

/* Featured — zdurazneny nejblizsi event (a la ESL IEM Atlanta) */
.event-row--featured {
  background:
    linear-gradient(115deg, rgba(227, 5, 18, 0.22) 0%, rgba(227, 5, 18, 0.08) 40%, rgba(30, 35, 48, 0.95) 100%),
    var(--surf2);
  border-color: rgba(227, 5, 18, 0.35);
  box-shadow: inset 0 0 80px rgba(227, 5, 18, 0.08), 0 4px 20px rgba(0, 0, 0, 0.3);
}
.event-row--featured::before { opacity: 1; }

/* Past — ztlumena karta */
.event-row--past { opacity: 0.82; filter: saturate(0.75); }
.event-row--past:hover { opacity: 1; filter: saturate(0.9); }

.event-media {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.event-media::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  right: -1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--surf2));
  z-index: 3;
}

.event-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  min-width: 0;
}
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  font-family: var(--fh);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.event-meta .dot { color: rgba(255, 255, 255, 0.28); font-size: 0.6em; }
.event-meta .game {
  color: var(--event-accent);
  letter-spacing: 0.1em;
  font-weight: 800;
}
.event-title {
  font-family: var(--fh);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}
.event-row--featured .event-title { font-size: 2.3rem; }
.event-title em { color: var(--event-accent); font-style: normal; }
.event-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 640px;
}
.event-actions { display: flex; gap: 10px; margin-top: 6px; }
.event-actions .btn { padding: 10px 20px; font-size: 0.78rem; letter-spacing: 1px; }

/* Status panel vpravo — a la ESL "SLEEP XX NIGHTS" */
.event-status {
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 28px 20px;
  text-align: center;
  font-family: var(--fh);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.event-row--featured .event-status { border-left-color: rgba(227, 5, 18, 0.2); }
.event-status-label-top {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--muted);
}
.event-status-num {
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: var(--event-accent);
}
.event-status-label-bot {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.75);
}

.event-status--live .event-status-live-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #3ad16a;
  box-shadow: 0 0 0 5px rgba(58, 209, 106, 0.25);
  animation: pulse 1.5s ease-in-out infinite;
  margin-bottom: 4px;
}
.event-status--live .event-status-label-live {
  font-family: var(--fh);
  font-size: 1.4rem;
  font-weight: 800;
  color: #3ad16a;
  letter-spacing: 0.1em;
}

.event-status--past .event-status-past-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-family: var(--fb);
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.event-status--past .event-status-label {
  font-family: var(--fh);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.event-status--past .event-status-year {
  font-family: var(--fh);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 2px;
}

/* Load more */
.load-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.load-more-count {
  font-family: var(--fh);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fh);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: all var(--t-fast);
}
.load-more-btn:hover {
  border-color: var(--acc);
  background: rgba(227, 5, 18, 0.08);
  transform: translateY(-1px);
}
.load-more-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

/* ============================================================
   EVENT DETAIL — HERO (levo-zarovnany info panel)
   ============================================================ */
.detail-hero {
  position: relative;
  min-height: 480px;
  padding: 56px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.detail-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  filter: saturate(0.85);
}
.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 15, 20, 0.95) 0%, rgba(13, 15, 20, 0.85) 50%, rgba(13, 15, 20, 0.5) 100%),
    linear-gradient(180deg, rgba(13, 15, 20, 0.4) 0%, rgba(13, 15, 20, 0.1) 40%, rgba(13, 15, 20, 0.5) 100%);
}
.detail-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}
.detail-hero-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 680px;
}

.detail-event-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  font-family: var(--fh);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--acc);
  border: 1px solid rgba(227, 5, 18, 0.4);
  background: rgba(13, 15, 20, 0.6);
  padding: 6px 12px;
  border-radius: 3px;
  backdrop-filter: blur(6px);
}
.detail-event-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--acc);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.detail-event-logo {
  width: 78px;
  height: 78px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(227, 5, 18, 0.25), rgba(255, 51, 68, 0.1));
  border: 2px solid rgba(227, 5, 18, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fh);
  font-weight: 900;
  font-size: 1.5rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1;
  backdrop-filter: blur(6px);
  flex-shrink: 0;
  overflow: hidden;
}
.detail-event-logo em {
  color: var(--acc);
  font-style: normal;
  display: block;
  font-size: 1rem;
  margin-top: 3px;
}
/* Varianta pro skutecne logo eventu */
.detail-event-logo--img {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  padding: 8px;
}
.detail-event-logo--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-head-row {
  display: flex;
  gap: 20px;
  align-items: center;
}
.detail-h1 {
  font-family: var(--fh);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}
.detail-h1 em { color: var(--acc); font-style: normal; }

.detail-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-family: var(--fh);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.detail-meta-line .dot { color: var(--acc); opacity: 0.55; }

.detail-stats-card {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--rl);
  overflow: hidden;
  backdrop-filter: blur(10px);
  max-width: 500px;
}
.detail-stats-card .stat {
  flex: 1;
  padding: 14px 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.detail-stats-card .stat + .stat {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.detail-stats-card .stat-label {
  font-family: var(--fh);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.detail-stats-card .stat-value {
  font-family: var(--fh);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  text-transform: uppercase;
}
.detail-stats-card .stat-value.money {
  background: linear-gradient(135deg, var(--acc), var(--acc2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.detail-desc {
  color: rgba(240, 242, 245, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 560px;
}

/* Spojeny action row — CTA tlacitko + socialni ikony v jednom radku */
.detail-cta-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.detail-social-inline {
  display: flex;
  align-items: center;
  gap: 14px;
}
.detail-social-inline-label {
  font-family: var(--fh);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.detail-social-inline-icons {
  display: flex;
  gap: 6px;
}
.detail-social-inline-icons a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(13, 15, 20, 0.5);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
}
.detail-social-inline-icons a:hover {
  border-color: var(--acc);
  background: rgba(227, 5, 18, 0.12);
  transform: translateY(-1px);
}
.detail-social-inline-icons img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* ============================================================
   EVENT DETAIL — Sticky sub-nav (centrovane)
   ============================================================ */
.sub-nav {
  position: sticky;
  top: 72px;
  z-index: 90;
  background: rgba(13, 15, 20, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.sub-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 32px;
}
.sub-nav-inner::-webkit-scrollbar { display: none; }
.sub-nav a {
  padding: 16px 18px;
  font-family: var(--fh);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all var(--t-fast);
}
.sub-nav a:hover { color: #fff; }
.sub-nav a.active { color: var(--acc); border-bottom-color: var(--acc); }

/* ============================================================
   EVENT DETAIL — Minuly rocnik (video + 2x2 fotky)
   ============================================================ */
.last-year-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  margin-top: 8px;
  text-align: left;
}
.video-box {
  position: relative;
  border-radius: var(--rl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  cursor: pointer;
  transition: transform var(--t-fast);
}
.video-box:hover { transform: scale(1.005); }
.video-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.45) 100%);
}
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(227, 5, 18, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  transition: all var(--t-fast);
}
.video-box:hover .video-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--acc);
}
.video-play::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent #fff;
  margin-left: 6px;
}
.video-caption {
  position: absolute;
  bottom: 20px;
  left: 24px;
  right: 24px;
  z-index: 2;
  font-family: var(--fh);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}
.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r);
  aspect-ratio: 16 / 9;
  transition: transform var(--t-med);
  cursor: pointer;
}
.photo-grid img:hover { transform: scale(1.02); }

/* ============================================================
   EVENT DETAIL — Bracket graphic (skutečný obrázek)
   ============================================================ */
.bracket-figure {
  margin-top: 16px;
  border-radius: var(--rl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surf2);
  cursor: zoom-in;
  transition: transform var(--t-fast), border-color var(--t-fast);
}
.bracket-figure:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
}
.bracket-figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   EVENT DETAIL — Timeline (bracket placeholder)
   ============================================================ */
.schema-graphic {
  aspect-ratio: 3 / 1;
  border-radius: var(--rl);
  background:
    linear-gradient(135deg, rgba(227, 5, 18, 0.08) 0%, rgba(100, 150, 255, 0.05) 50%, rgba(255, 150, 60, 0.08) 100%),
    var(--surf2);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}
.schema-graphic::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(100deg, transparent 0 30px, rgba(255, 255, 255, 0.02) 30px 32px);
}
.schema-graphic-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--muted);
  font-family: var(--fh);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.schema-graphic-text .big {
  display: block;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
.schema-graphic-text .small {
  font-size: 0.8rem;
  letter-spacing: 2.5px;
}

/* ============================================================
   EVENT DETAIL — Harmonogram (3 sloupce dni)
   ============================================================ */
.harmonogram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
  text-align: left;
}
.day-card {
  background: var(--surf2);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.day-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.day-name {
  font-family: var(--fh);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}
.day-date {
  font-family: var(--fh);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
  position: relative;
  padding-left: 14px;
}
.day-date::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--acc);
  opacity: 0.6;
}
.schedule-row {
  display: flex;
  gap: 14px;
  padding: 4px 0;
  align-items: baseline;
}
.schedule-time {
  font-family: var(--fh);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  color: var(--acc);
  min-width: 52px;
  flex-shrink: 0;
}
.schedule-activity {
  font-family: var(--fb);
  font-size: 0.9rem;
  line-height: 1.4;
  color: #fff;
  flex: 1;
}
.day-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.45;
  text-align: center;
}

/* ============================================================
   EVENT DETAIL — Format (bullets + prize pool)
   ============================================================ */
.format-wrap {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  margin-top: 24px;
  align-items: start;
}
.format-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.format-block h4 {
  font-family: var(--fb);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.format-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.format-block li {
  position: relative;
  padding-left: 18px;
  color: rgba(240, 242, 245, 0.82);
  font-size: 0.94rem;
  line-height: 1.5;
}
.format-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--acc);
  border-radius: 50%;
}

.prize-panel {
  background: linear-gradient(145deg, rgba(227, 5, 18, 0.12) 0%, rgba(46, 15, 7, 0.5) 50%, rgba(30, 12, 5, 0.6) 100%), var(--surf2);
  border: 1px solid rgba(227, 5, 18, 0.3);
  border-radius: var(--rl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 164px;
  box-shadow: inset 0 0 60px rgba(227, 5, 18, 0.08);
}
.prize-label {
  font-family: var(--fh);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.prize-amount {
  font-family: var(--fh);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, var(--acc), var(--acc2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}
.prize-split {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}
.prize-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(227, 5, 18, 0.18);
  font-family: var(--fh);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.prize-row:last-child { border-bottom: none; }
.prize-row .place  { color: var(--muted); font-weight: 700; }
.prize-row .amount { color: #fff; font-weight: 800; }
.prize-row.winner .place  { color: #fff; }
.prize-row.winner .amount { color: var(--acc); }

/* ============================================================
   EVENT DETAIL — Teams grid
   ============================================================ */
.teams-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.team-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  background-color: var(--surf2);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 20px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: all var(--t-fast);
  position: relative;
  overflow: hidden;
  min-height: 150px;
  justify-content: center;
}
.team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--acc), transparent);
  opacity: 0;
  transition: opacity var(--t-fast);
}
.team-card:hover {
  border-color: rgba(227, 5, 18, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
  background-color: #1f2532;
}
.team-card:hover::before { opacity: 1; }
.team-logo-box {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fh);
  font-weight: 800;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  overflow: hidden;
  flex-shrink: 0;
}
.team-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--t-fast);
}
.team-card:hover .team-logo-box img {
  transform: scale(1.05);
}
.team-name {
  font-family: var(--fh);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.2;
}
.team-card:hover .team-name { color: #fff; }

/* ============================================================
   EVENT DETAIL — Novinky
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.news-card {
  background: var(--surf2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--t-fast);
  color: inherit;
}
.news-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}
.news-img-wrap { overflow: hidden; }
.news-img {
  aspect-ratio: 16 / 9;
  width: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.news-card:hover .news-img { transform: scale(1.04); }
.news-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.news-grid .news-card .news-date,
.news-date {
  font-family: var(--fh);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--acc) !important;   /* cervena jako // novinky tag — force override */
}
.news-title {
  font-family: var(--fh);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
  /* Oriznout pripadne dlouhe titulky (z API mohou byt ruzne delky) */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Prazdny obrazek (kdyz clanek nema imageUrl) */
.news-img--empty {
  background:
    radial-gradient(ellipse at center, rgba(227, 5, 18, 0.18) 0%, transparent 70%),
    linear-gradient(135deg, var(--surf2) 0%, var(--surf) 100%);
  position: relative;
}
.news-img--empty::after {
  content: "PLAYzone";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fh);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.18);
}

/* Loading state — pred nactenim clanku */
.news-loading {
  padding: 40px 0;
  text-align: center;
  color: var(--muted);
  font-family: var(--fm);
  font-size: 0.95rem;
  font-style: italic;
}

/* Empty / error state — kdyz feed nic nevrati */
.news-empty {
  padding: 48px 24px;
  text-align: center;
  background: var(--surf2);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  max-width: 560px;
  margin: 0 auto;
}
.news-empty-title {
  font-family: var(--fh);
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 8px;
}
.news-empty-body {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
  line-height: 1.5;
}

/* Wrapper pro tlacitko Vice clanku — vycentrovane pod mrizkou */
.news-more-wrap {
  display: flex !important;           /* !important proti hidden attribute race */
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 32px;
  text-align: center;
}
.news-more-wrap[hidden] {
  display: none !important;
}
.news-more-btn {
  margin: 0 auto;                     /* belt + suspenders centering */
}
.news-more-btn[disabled] {
  opacity: 0.6;
  cursor: wait;
}

/* ============================================================
   EVENT DETAIL — Partner bar (sticky bottom desktop)
   ============================================================ */
/* Kdyz je na strance partner bar, pridej dolni padding celemu body, */
/* aby sticky bar neprekryval footer copyright radek. */
body:has(.partner-bar) { padding-bottom: 100px; }

.partner-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: rgba(13, 15, 20, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 16px 32px;
}
.partner-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.partner-bar-label {
  font-family: var(--fh);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.partner-bar-logos {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.partner-bar-logos a {
  opacity: 0.55;
  transition: opacity var(--t-fast);
}
.partner-bar-logos a:hover { opacity: 1; }
.partner-bar-logos img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
/* Barevna/tmava loga potrebuji invert pro cele na dark bg */
.partner-bar-logos a.is-invert img {
  filter: brightness(0) invert(1);
}

/* ============================================================
   FOOTER — 1:1 ze playzone.agency
   ============================================================ */
.footer {
  background: var(--surf);
  border-top: 1px solid var(--border);
}
.footer-main {
  padding: 56px 0 40px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 60px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}
.footer-col-title {
  font-family: var(--fh);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 16px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
  fill: var(--acc);
}
.footer-contact-item a { color: var(--text); }
.footer-contact-item strong { color: #fff; }

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: var(--muted);
  font-size: 0.875rem;
  transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-bottom a { color: #fff; }

/* ============================================================
   PHOTO LIGHTBOX (pro foto grid a budoucí video)
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.lightbox.is-open {
  display: flex;
  opacity: 1;
}
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--rl);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
  cursor: zoom-out;
  animation: lb-in 0.25s ease-out;
}
@keyframes lb-in {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: var(--fb);
  font-size: 1.4rem;
  cursor: pointer;
  transition: all var(--t-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.lightbox-close:hover {
  background: var(--acc);
  border-color: var(--acc);
}

/* Photo grid — klikatelne fotky */
.photo-grid img {
  cursor: zoom-in;
}

/* Hidden events (pro "Dalsi eventy" pagination) */
.event-row.is-hidden {
  display: none;
}
.event-row.is-hidden.is-revealed {
  display: grid;
  animation: fadeIn 0.4s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .teams-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .hero { min-height: 560px; padding: 56px 20px 44px; }
  .hero h1 { font-size: clamp(2rem, 7vw, 3rem); }
  .hero-stats { font-size: 1rem; gap: 8px 18px; padding: 12px 16px; }
  .when-date { font-size: 1.3rem; }
  .when-place { font-size: 0.95rem; }
  .countdown-unit { min-width: 60px; padding: 10px 12px; }
  .countdown-num { font-size: 1.6rem; }
  .event-logo-frame .mark { font-size: 1.6rem; }

  .nav-inner { padding: 0 20px; height: 64px; }
  .nav-menu { display: none; }
  .nav-toggle { display: block; }
  .nav-logo-label { display: none; }
  .nav-social { display: none; }
  .nav-divider { display: none; }
  .lang-flags { display: none; } /* presunuto do mobile menu */
  .mobile-menu { display: block; }

  .container { padding: 0 20px; }
  .section { padding: 48px 0; }
  .two-col, .two-col--eq { grid-template-columns: 1fr; gap: 32px; }

  .event-row { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .event-media { min-height: 200px; }
  .event-media::after { display: none; }
  .event-body { padding: 22px; }
  .event-title { font-size: 1.5rem; }
  .event-row--featured .event-title { font-size: 1.7rem; }
  .event-meta { font-size: 0.95rem; gap: 4px 14px; }
  .event-status {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 16px 20px;
    flex-direction: row;
    gap: 12px;
  }
  .event-status-num { font-size: 2.4rem; }

  .sub-nav { top: 64px; }
  .sub-nav-inner { padding: 0 16px; justify-content: flex-start; }

  .last-year-wrap { grid-template-columns: 1fr; gap: 14px; }
  .schema-graphic { aspect-ratio: 2 / 1; }
  .teams-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .harmonogram-grid { grid-template-columns: 1fr; gap: 14px; }
  .format-wrap { grid-template-columns: 1fr; gap: 32px; }
  .prize-panel { position: static; }

  .detail-hero { min-height: auto; padding: 40px 0; }
  .detail-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .detail-head-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .detail-event-logo { width: 64px; height: 64px; font-size: 1.2rem; }
  .detail-stats-card { flex-direction: column; max-width: 100%; }
  .detail-stats-card .stat + .stat {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .partner-bar { position: static; padding: 24px 20px; }
  .partner-bar-inner { flex-direction: column; gap: 14px; }
  body:has(.partner-bar) { padding-bottom: 0; }

  .footer-main { grid-template-columns: 1fr; gap: 28px; padding: 36px 20px 24px; }
  .footer-bottom { flex-direction: column; text-align: center; padding: 18px 20px; }
  .events-sec { padding: 48px 0; }

  /* Partner bar na mobilu — vicesloupcovy grid misto flex-wrap, prehlednejsi */
  .partner-bar-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 20px;
    width: 100%;
  }
  /* News grid na mobilu — 1 sloupec (uz resi .news-grid nahore, ale jistota) */
  .news-grid { grid-template-columns: 1fr !important; }

  /* Hero statistiky na mobilu - ve sloupci */
  .hero-stats {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ============================================================
   EXTRA SMALL — iPhone SE a mensi (320–400px)
   ============================================================ */
@media (max-width: 400px) {
  .nav-inner { padding: 0 14px; }
  .nav-logo img { height: 28px; width: auto; }

  .container { padding: 0 14px; }
  .section { padding: 36px 0; }

  .hero { padding: 44px 16px 36px; }
  .hero h1 { font-size: 1.9rem; }

  .teams-grid { grid-template-columns: 1fr; }
  .partner-bar-logos { grid-template-columns: repeat(2, 1fr); }

  .detail-h1 { font-size: 2rem; }
  .detail-meta-line { font-size: 0.95rem; flex-wrap: wrap; }
  .detail-hero { padding: 28px 0; }

  .btn--big { padding: 12px 20px; font-size: 1rem; }

  .mobile-menu-list a { padding: 14px 18px; font-size: 1rem; }
  .mobile-menu-bottom { padding: 16px 18px 4px; flex-direction: column; align-items: flex-start; }

  .footer-main { padding: 28px 14px 20px; }
  .footer-bottom { padding: 14px 14px; font-size: 0.82rem; }
}
