/* ══════════════════════════════════════════════════════════
   RESET & PREMENNÉ
══════════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue:        #2196F3;
  --blue-dark:   #1565C0;
  --blue-glow:   rgba(33, 150, 243, 0.45);
  --black:       #0f1a2e;
  --black-2:     #111d33;
  --white:       #FFFFFF;
  --accent:      #F5A623;
  --text-dim:    rgba(255, 255, 255, 0.55);

  --font-display:    'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-condensed:  'Barlow Condensed', sans-serif;
  --font-body:       'Barlow', sans-serif;

  --radius-sm: 3px;
  --radius:    6px;

  --splash-duration: 1400ms;
  --splash-exit:     400ms;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  min-height: 100vh;
}

body.no-scroll { overflow: hidden; }

/* ══════════════════════════════════════════════════════════
   SPLASH SCREEN
══════════════════════════════════════════════════════════ */
#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;        /* maskoti zarovnaní na spodok */
  justify-content: space-between;
  overflow: hidden;
  will-change: transform;
}

.splash-bg {
  position: absolute;
  inset: 0;
  background: #0A0A0A;
}

/* Stred — logo */
.splash-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: transparent;
}

.splash-logo {
  width: min(340px, 56vw);
  /* Logo je RGBA — nepotrebuje clip-path, má vlastnú transparentnosť */
  filter:
    drop-shadow(0 0 30px rgba(33, 150, 243, 0.6))
    drop-shadow(0 0 70px rgba(33, 150, 243, 0.25));
  background: transparent;

  opacity: 0;
  transform: scale(0.7) rotate(-5deg);
  transition:
    opacity   0.375s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.375s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.splash-logo.show {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Maskoti — slide z bokov */
.splash-mascot {
  position: relative;
  z-index: 3;
  width: min(260px, 34vw);
  flex-shrink: 0;
  opacity: 0;
  background: none;
  transition:
    transform 0.425s cubic-bezier(0.34, 1.2, 0.64, 1),
    opacity   0.25s ease;
}

.splash-mascot--left {
  align-self: flex-end;
  transform: translateX(calc(-100% - 80px));
}

.splash-mascot--right {
  align-self: flex-end;
  transform: translateX(calc(100% + 80px));
}

.splash-mascot--left.show {
  transform: translateX(0);
  opacity: 1;
}

.splash-mascot--right.show {
  transform: translateX(0);
  opacity: 1;
}

/* Splash exit: odsunie sa nahor */
#splash.exit {
  animation: splashSlideUp var(--splash-exit) cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

@keyframes splashSlideUp {
  to { transform: translateY(-100%); }
}

/* ══════════════════════════════════════════════════════════
   STICKY MASKOTI
══════════════════════════════════════════════════════════ */
.sticky-mascot {
  position: fixed;
  top: 0;
  z-index: 200;
  width: clamp(65px, 11vw, 160px);
  pointer-events: none;
  opacity: 0;
  background: none;
  transition: opacity 0.7s ease 0.15s;
  will-change: opacity;
}

@media (max-width: 768px) {
  .sticky-mascot {
    width: clamp(48px, 9vw, 72px);
  }
}

.mascot--left  { left: 0; }
.mascot--right { right: 0; }

.sticky-mascot.show { opacity: 1; }

/* ══════════════════════════════════════════════════════════
   MAIN — fade in po splashi
══════════════════════════════════════════════════════════ */
#main {
  opacity: 0;
  transition: opacity 0.7s ease;
}

#main.show { opacity: 1; }

/* ══════════════════════════════════════════════════════════
   HERO SEKCIA
══════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(5rem, 10vh, 8rem) clamp(1.25rem, 5vw, 3rem) 6rem;
  overflow: hidden;
  background: var(--black-2);
}

/* Svetelné efekty pozadia */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.hero-glow--top {
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 70vw;
  height: 50vw;
  background: radial-gradient(ellipse, rgba(33, 150, 243, 0.12) 0%, transparent 70%);
}

.hero-glow--bottom {
  bottom: -5%;
  right: -10%;
  width: 50vw;
  height: 40vw;
  background: radial-gradient(ellipse, rgba(21, 101, 192, 0.08) 0%, transparent 70%);
}

/* Diamond grid pattern */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg,  rgba(33, 150, 243, 0.035) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(33, 150, 243, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 55%, black 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 70% at 50% 55%, black 10%, transparent 75%);
}

/* Tmavý fade na spodok */
#hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent, var(--black));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 980px;
}

/* Eyebrow */
.hero-logo {
  width: clamp(195px, 26vw, 312px);
  height: auto;
  display: block;
  margin: 1.25rem auto 1.75rem;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  font-family: var(--font-condensed);
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.pill {
  background: rgba(33, 150, 243, 0.12);
  border: 1px solid rgba(33, 150, 243, 0.35);
  color: var(--blue);
  padding: 0.3rem 1rem;
  border-radius: 2px;
  letter-spacing: 0.12em;
}

.separator { color: rgba(255, 255, 255, 0.2); }

/* Hero nadpis */
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title__main {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 13vw, 11rem);
  color: var(--white);
}

.hero-title__place {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8.5vw, 7.5rem);
  color: var(--blue);
  letter-spacing: 0.06em;
  /* Jemný glow efekt */
  text-shadow:
    0 0 40px rgba(33, 150, 243, 0.5),
    0 0 80px rgba(33, 150, 243, 0.2);
}

.hero-title__year {
  font-family: var(--font-condensed);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.4em;
  margin-top: 0.5rem;
}

/* Podnádpis */
.hero-sub {
  font-family: var(--font-condensed);
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 3rem;
}

/* ══════════════════════════════════════════════════════════
   COUNTDOWN
══════════════════════════════════════════════════════════ */
.countdown {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 3.5rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(33, 150, 243, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(0.85rem, 2.5vw, 1.25rem) clamp(1rem, 3vw, 2rem);
  position: relative;
  /* Vertikálny oddeľovač */
  border-right: 1px solid rgba(33, 150, 243, 0.12);
}

.cd-item:last-child { border-right: none; }

/* Vrchný glow akcentová čiara */
.cd-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.6;
}

.cd-num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7.5vw, 5.5rem);
  line-height: 1;
  color: var(--white);
  letter-spacing: 0.04em;
  text-shadow: 0 0 30px rgba(33, 150, 243, 0.4);
  /* Flip animácia pri zmene */
  transition: transform 0.15s ease;
}

.cd-num.flip {
  transform: scaleY(0.85);
}

.cd-label {
  font-family: var(--font-condensed);
  font-size: clamp(0.6rem, 1.2vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(33, 150, 243, 0.75);
  margin-top: 0.4rem;
}

/* Dvojbodka oddeľovač */
.cd-colon {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: rgba(33, 150, 243, 0.4);
  display: flex;
  align-items: center;
  padding: 0 2px;
  animation: colonBlink 1s step-end infinite;
  align-self: center;
  margin-bottom: 1.6rem; /* kompenzácia za label výšku */
}

@keyframes colonBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.15; }
}

/* ══════════════════════════════════════════════════════════
   CTA TLAČIDLÁ
══════════════════════════════════════════════════════════ */
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 2.1rem;
  font-family: var(--font-condensed);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    transform    0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow   0.22s ease,
    background   0.22s ease,
    border-color 0.22s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

/* Shimmer efekt pri hoveri */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    transparent 20%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 80%
  );
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn:hover::after {
  transform: translateX(100%);
}

/* Primárne tlačidlo */
.btn--primary {
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
  box-shadow:
    0 4px 20px rgba(33, 150, 243, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 10px 35px rgba(33, 150, 243, 0.55),
    0 0 0 4px rgba(33, 150, 243, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn--primary:active {
  transform: translateY(-1px);
}

/* Outline tlačidlo */
.btn--outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn--outline:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
}

.btn--outline:active {
  transform: translateY(-1px);
}

/* Popis akcie pod countdown */
.hero-desc {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,0.6);
  max-width: 580px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

/* Info pills: vstupné, parkovanie */
.hero-infopills {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-infopill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-condensed);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  padding: 0.4rem 0.9rem;
}

/* ══════════════════════════════════════════════════════════
   SCROLL HINT
══════════════════════════════════════════════════════════ */
.scroll-hint {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: scrollHintAppear 1s ease 4s forwards;
}

@keyframes scrollHintAppear {
  to { opacity: 0.45; }
}

.scroll-hint span {
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  order: 2;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  order: 1;
}

.scroll-wheel {
  width: 3px;
  height: 7px;
  background: var(--blue);
  border-radius: 2px;
  animation: scrollWheel 1.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes scrollWheel {
  0%   { transform: translateY(0);    opacity: 1; }
  80%  { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 0; }
}

/* ══════════════════════════════════════════════════════════
   PLACEHOLDER SEKCIE (dočasné)
══════════════════════════════════════════════════════════ */
.section-placeholder {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-placeholder__inner {
  text-align: center;
  opacity: 0.3;
}

.section-placeholder__inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 0.5rem;
}

.section-placeholder__inner p {
  font-family: var(--font-condensed);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 768px) {
  .countdown {
    flex-wrap: nowrap;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .cd-item {
    padding: 0.75rem 0.8rem;
  }

  .hero-eyebrow {
    flex-wrap: wrap;
    justify-content: center;
  }

  .splash-mascot {
    width: min(160px, 32vw);
  }
}

/* Veľmi malé obrazovky */
@media (max-width: 360px) {
  .cd-item {
    padding: 0.6rem 0.6rem;
  }

  .cd-colon {
    padding: 0;
  }
}

/* ── PLAGÁT POPUP ───────────────────────────────────────── */
.plagat-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.plagat-modal[hidden] { display: none; }

.plagat-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: plagat-fade-in 0.3s ease forwards;
}

.plagat-inner {
  position: relative;
  max-width: min(520px, 92vw);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: plagat-scale-in 0.3s cubic-bezier(0.34, 1.3, 0.64, 1) forwards;
}

.plagat-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
}

.plagat-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(30, 30, 40, 0.95);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
  transition: background 0.2s, border-color 0.2s;
}

.plagat-close:hover {
  background: rgba(33, 150, 243, 0.25);
  border-color: rgba(33, 150, 243, 0.6);
}

@keyframes plagat-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes plagat-scale-in {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}

/* Zníženie pohybu (prístupnosť) */
@media (prefers-reduced-motion: reduce) {
  .splash-mascot,
  .splash-logo,
  #splash.exit,
  .scroll-wheel,
  .cd-colon {
    animation: none !important;
    transition: opacity 0.3s ease !important;
  }
}

/* ══════════════════════════════════════════════════════════
   ERB RADOŠOVCE — DEKORATÍVNY PRVOK
══════════════════════════════════════════════════════════ */
.erb-decor {
  position: fixed;
  bottom: 0.5rem;
  width: clamp(48px, 5.5vw, 72px);
  height: auto;
  opacity: 0.65;
  pointer-events: none;
  z-index: 199;
  object-fit: contain;
}

.erb-decor--left  { left: 0; }
.erb-decor--right { right: 0; transform: scaleX(-1); }

@media (max-width: 768px) {
  .erb-decor { width: clamp(36px, 7vw, 52px); }
}

/* ══════════════════════════════════════════════════════════
   LOGO THR — WATERMARK POZADIE ZA MAIN
══════════════════════════════════════════════════════════ */
.main-logo-bg {
  position: fixed;
  inset: 0;
  background: url('../assets/logos/logo%20dorpedu.png') center center / 55vw auto no-repeat;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

#main section,
#main .shop-wrap,
#main .reg-outer {
  position: relative;
  z-index: 1;
}

/* ── LEGAL MODALS (GDPR / VOP) ──────────────────────── */
.legal-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}
.legal-modal-overlay.active { display: flex; }

.legal-modal {
  background: #1a1a2e;
  border-radius: 12px;
  max-width: 700px;
  width: 95%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.6;
}
.legal-modal::-webkit-scrollbar { width: 6px; }
.legal-modal::-webkit-scrollbar-track { background: transparent; }
.legal-modal::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

.legal-modal h2 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #333;
}
.legal-modal h3 {
  color: #0088ff;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 25px;
  margin-bottom: 10px;
}
.legal-modal p { margin-bottom: 10px; }
.legal-modal ul { padding-left: 20px; margin-bottom: 10px; }
.legal-modal ul li { margin-bottom: 4px; }

.legal-modal-close {
  position: absolute;
  top: 15px; right: 20px;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
  line-height: 1;
}
.legal-modal-close:hover { color: #0088ff; }

@media (max-width: 720px) {
  .legal-modal { padding: 20px; width: 95%; }
}

/* ── COOKIE BANNER ──────────────────────────────────── */
#cookieBanner {
  position: fixed;
  bottom: 0; left: 0; width: 100%;
  background: #1a1a2e;
  border-top: 1px solid #333;
  z-index: 9999;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
#cookieBanner p {
  margin: 0;
  color: #ccc;
  font-size: 0.85rem;
  line-height: 1.5;
  flex: 1;
}
#cookieBanner a {
  color: #0088ff;
  text-decoration: underline;
  cursor: pointer;
}
#cookieBannerBtn {
  background: #00cc66;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 9px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
#cookieBannerBtn:hover { background: #00aa55; }
@media (max-width: 640px) {
  #cookieBanner { flex-direction: column; align-items: flex-start; }
  #cookieBanner p { font-size: 0.8rem; }
  #cookieBannerBtn { width: 100%; }
}
