/* =============================================
   PLZEŇ ŘIDIČÁKY — Cyberpunk / Gaming Style
   ============================================= */

:root {
  --bg-dark:    #0a1628;
  --bg-mid:     #0d1e35;
  --bg-card:    #0f2236;
  --accent:     #c100c1;
  --accent2:    #37bff0;
  --text:       #e8f0f8;
  --text-muted: #000000;
  --border:     rgba(0, 229, 255, 0.18);
  --font-head: 'Campton', sans-serif;
  --font-body: 'Campton', sans-serif;
}

*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ── HEADER / NAV ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #37bff0;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand { display: flex; gap: 8px; align-items: center; }

.nav-tag {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-transform: uppercase;
}

.nav-tag--active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

/* ── HAMBURGER ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 32px auto;
  padding: 0 24px;
}

.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.hero-img {
  width: 100%;
  height: 120%;
  object-fit: fill;
  display: block;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(10,22,40,0.7) 35%, transparent 70%);
}

.hero-glitch-lines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 229, 255, 0.03) 3px,
    rgba(0, 229, 255, 0.03) 4px
  );
  pointer-events: none;
}

.hero-corner {
  position: absolute;
  width: 28px; height: 28px;
}

.hero-corner--tl {
  top: 12px; left: 12px;
  border-top: 2px solid var(--accent2);
  border-left: 2px solid var(--accent2);
}

.hero-corner--tr {
  top: 12px; right: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: auto; height: auto;
}

.hero-logo-badge {
  border: 1px solid var(--border);
  background: rgba(10,22,40,0.75);
  padding: 6px 12px;
  text-align: right;
}

.hero-logo-text {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent2);
}

.hero-logo-sub {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.hero-xp {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hero-xp span {
  color: var(--accent2);
  font-size: 16px;
}

.hero-content {
  position: absolute;
  bottom: 32px;
  right: 64px;
  text-align: right;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 0 0 30px rgba(233,30,140,0.4);
}

.hero-sub {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-top: 6px;
}

/* ── COUNTDOWN BAR ── */
.countdown-bar {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 12px 24px;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.countdown-timer {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ── SECTIONS ── */
.section {
  padding: 60px 0;
}

.section--dark {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section--split .section-inner {
  display: flex;
  gap: 48px;
  align-items: center;
}

.section-text {
  flex: 1;
  max-width: 1560px;
  font-size: 18px;
}
.section-deco { flex: 1; }

.section-lead {
  font-size: 20px;
  color: var(--text);
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ── HEADINGS ── */
.h2-accent {
  font-family: var(--font-head);
  font-size: clamp(22px, 4vw, 42px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  line-height: 1.3;
}

/* ── ALTERNATING VIDEO + TEXT ROWS ── */
.locked-content {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
  direction: rtl;
}

.alt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.alt-row--reverse {
  direction: rtl;
}

.alt-row--reverse > * {
  direction: ltr;
}

.alt-media {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
}

.alt-media iframe {
  width: 100%; height: 100%; border: none; display: block;
}

.alt-media video {
  width: 100%; height: 100%; border: none; display: block;
}

.alt-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-title {
  font-family: var(--font-head);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--accent);
  padding: 16px 20px 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-text {
  font-size: 18px;
  color: var(--text);
  padding: 0 20px 16px;
  line-height: 1.6;
  flex: 1;
}

.card-link {
  display: inline-block;
  margin: 0 20px 20px;
  padding: 8px 18px;
  border: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
  align-self: flex-start;
}

.card-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── TIPS GRID (3x2) ── */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.tip-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.tip-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}

.tip-media iframe {
  width: 100%; height: 100%; border: none; display: block;
}

.tip-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  padding: 10px 14px 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── CARD ROW (chyby) ── */
.card-row {
  margin-bottom: 16px;
}

.card-row .card {
  background: var(--bg-card);

}

/* ── CTA BUTTON ── */
.cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

.btn-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-cta:hover {
  background: #c4157a;
  transform: translateY(-1px);
}

/* ── GLITCH DECO LINES ── */
.glitch-lines--right {
  position: relative;
  height: 120px;
}

.glitch-lines--right::before,
.glitch-lines--right::after {
  content: '';
  position: absolute;
  right: 0;
  height: 2px;
  background: var(--accent2);
  opacity: 0.5;
}

.glitch-lines--right::before {
  width: 160px; top: 30px;
}

.glitch-lines--right::after {
  width: 80px; top: 50px;
  background: var(--accent);
}

/* ── FOOTER ── */
footer {
  background: var(--accent2);
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ── CURRICULUM ── */
.curriculum-block {
  margin-bottom: 40px;
}

.curriculum-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.curriculum-list {
  list-style: none;
  border-top: 1px solid var(--border);
}

.curriculum-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  color: var(--text);
  gap: 16px;
}

.curriculum-list li span:last-child {
  white-space: nowrap;
  font-weight: 600;
  color: var(--accent2);
}

.curriculum-total {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  border-bottom: 2px solid var(--accent);
}

.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: var(--accent); }

/* =============================================
   RESPONSIVE — Tablet (≤ 1024px)
   ============================================= */
@media (max-width: 1024px) {
  .nav-links { gap: 20px; }
  
  .alt-row,
  .locked-content {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .tips-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-text { font-size: 16px; }
  .section-text { font-size: 16px; }
}

/* =============================================
   RESPONSIVE — Mobile (≤ 768px)
   ============================================= */
@media (max-width: 768px) {

  /* NAV — hamburger */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background: #37bff0;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 12px;
    border-bottom: 2px solid rgba(0,0,0,0.15);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 24px;
    font-size: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }

  .nav-links a:hover {
    background: rgba(0,0,0,0.06);
    color: var(--accent);
  }

  /* HERO */
  .hero {
    margin: 16px auto;
    padding: 0 16px;
  }

  .hero-media {
    aspect-ratio: 4 / 3;
    max-height: none;
  }

  .hero-img {
    height: 100%;
    object-fit: cover;
  }

  /* SECTIONS */
  .section { padding: 40px 0; }
  .section-inner { padding: 0 16px; }

  .section--split .section-inner {
    flex-direction: column;
    gap: 24px;
  }

  /* VIDEO / ALT ROWS */
  .alt-row {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 20px;
    margin-bottom: 40px;
  }

  .alt-row--reverse {
    direction: ltr;
  }

  .locked-content {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 20px;
  }

  .alt-media {
    aspect-ratio: 16 / 9;
  }

  /* CARD TITLES / TEXT */
  .card-title {
    padding: 12px 12px 6px;
  }

  .card-text {
    font-size: 15px;
    padding: 0 12px 12px;
  }

  /* COUNTDOWN */
  .countdown-bar {
    font-size: 15px;
    padding: 10px 16px;
  }

  /* CHYBY CARDS */
  .card-row {
    margin-bottom: 12px;
  }

  /* TIPS GRID */
  .tips-grid {
    grid-template-columns: 1fr;
  }

  /* CURRICULUM */
  .curriculum-list li {
    font-size: 14px;
    flex-wrap: wrap;
    gap: 4px;
  }

  .curriculum-title {
    font-size: 16px;
  }

  .curriculum-total {
    font-size: 16px;
  }

  /* CTA */
  .btn-cta {
    font-size: 16px;
    padding: 14px 28px;
    width: 100%;
    text-align: center;
  }

  /* FOOTER */
  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .section-lead { font-size: 16px; }
}

/* =============================================
   RESPONSIVE — Small Mobile (≤ 480px)
   ============================================= */
@media (max-width: 480px) {

  .hero-corner--tl,
  .hero-corner--tr {
    display: none;
  }

  .tips-grid { grid-template-columns: 1fr; }

  .h2-accent { margin-bottom: 14px; }

  .section { padding: 32px 0; }

  .section-lead { font-size: 15px; margin-bottom: 24px; }

  .countdown-bar {
    font-size: 13px;
    padding: 10px 12px;
  }
}
