/* ==========================================================================
   Web hotelu v roce 2027 — ASCII / Editorial Brandkit
   Canvas: 1920 x 1080 (auto-scaled to any screen / projector)
   Palette: #FFFFFF / #F3F5F9 / #1447E6 (zero red/green)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --red: #DC2626;
  --blue: #1447E6;
  --blue-deep: #0E34B0;
  --blue-soft: #E8EEFF;
  --blue-tint: rgba(20, 71, 230, 0.07);
  --white: #FFFFFF;
  --grey: #F3F5F9;
  --grey-card: #F6F7FA;
  --ink: #0F172A;
  --ink-muted: #526075;
  --ink-soft: #94A3B8;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --ascii-light: rgba(20, 71, 230, 0.20);
  --ascii-blue: rgba(205, 224, 255, 0.30);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0B1220;
  font-family: var(--font-sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Stage & Scaling */
.stage {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0B1220;
}

.deck {
  width: 1920px;
  height: 1080px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform-origin: center center;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.45);
}

/* Individual Slide */
.slide {
  position: absolute;
  inset: 0;
  width: 1920px;
  height: 1080px;
  padding: 88px 112px 76px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ease-out);
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.slide-blue {
  background: var(--blue);
  color: var(--white);
}

.slide-white {
  background: var(--white);
  color: var(--ink);
}

.slide-grey {
  background: var(--grey);
  color: var(--ink);
}

/* Top Meta / Eyebrow */
.meta {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.slide-blue .meta { color: rgba(255, 255, 255, 0.74); }
.slide-white .meta, .slide-grey .meta { color: var(--blue); }

.meta-right {
  opacity: 0.65;
  font-size: 20px;
}

.backup-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid currentColor;
  font-size: 18px;
}

/* ASCII Corner Art (Live Animated) */
.ascii-art {
  position: absolute;
  font-family: var(--font-mono);
  white-space: pre;
  line-height: 1.05;
  letter-spacing: 0.05em;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.ascii-br {
  right: 18px;
  bottom: 14px;
  text-align: right;
  font-size: 20px;
}

.ascii-tr {
  right: 22px;
  top: 14px;
  text-align: right;
  font-size: 19px;
}

.slide-blue .ascii-art {
  color: rgba(215, 232, 255, 0.44);
  font-size: 22px;
}

#slide-1 .ascii-art {
  right: 0;
  bottom: 0;
  font-size: 23px;
  line-height: 1.02;
  color: rgba(215, 232, 255, 0.48);
}

.slide-white .ascii-art,
.slide-grey .ascii-art {
  color: rgba(20, 71, 230, 0.30);
}

/* Core Typography */
.content {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
  margin: 28px 0;
}

.content-top {
  justify-content: flex-start;
  padding-top: 18px;
}

.h-hero {
  font-size: 124px;
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.035em;
  max-width: 1380px;
}

.h-section {
  font-size: 102px;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.032em;
  max-width: 1420px;
}

.h-slide {
  font-size: 68px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.028em;
  max-width: 1480px;
}

.lead {
  font-size: 36px;
  line-height: 1.42;
  color: var(--ink-muted);
  max-width: 1280px;
  font-weight: 400;
}

.slide-blue .lead {
  color: rgba(255, 255, 255, 0.84);
}

/* Footer */
.footer {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--ink-muted);
}

.slide-blue .footer {
  border-top-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.78);
}

.slide-grey .footer {
  border-top-color: #D8E0EC;
}

/* Prompt Bar */
.prompt-bar {
  font-family: var(--font-mono);
  font-size: 25px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--grey);
  padding: 20px 28px;
  border-radius: 8px;
  border-left: 5px solid var(--blue);
  max-width: 1560px;
}

.slide-grey .prompt-bar {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--blue);
}

.prompt-prefix {
  color: var(--blue);
  font-weight: 600;
  margin-right: 10px;
}

/* Grids & Cards */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 100%;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  width: 100%;
}

.card {
  border-radius: 12px;
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.card-neutral {
  background: var(--grey-card);
  border: 1px solid var(--border);
}

.slide-grey .card-neutral {
  background: var(--white);
}

.card-blue {
  background: var(--white);
  border: 2.5px solid var(--blue);
  box-shadow: 0 18px 48px rgba(20, 71, 230, 0.08);
}

.card-label {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.card-blue .card-label {
  color: var(--blue);
}

.card-quote {
  font-size: 34px;
  line-height: 1.48;
  color: var(--ink-muted);
  font-style: italic;
}

.card-verdict {
  padding-top: 20px;
  border-top: 1px dashed var(--border-strong);
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--ink-soft);
}

.card-blue .card-verdict {
  color: var(--blue);
  border-top-color: rgba(20, 71, 230, 0.25);
  font-weight: 600;
}

/* Fact / Check Lists */
.fact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 29px;
  line-height: 1.35;
}

.fact-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.check {
  font-family: var(--font-mono);
  font-size: 23px;
  font-weight: 600;
  color: var(--blue);
  flex-shrink: 0;
}

.cross {
  font-family: var(--font-mono);
  font-size: 23px;
  font-weight: 600;
  color: var(--ink-soft);
  flex-shrink: 0;
}

/* KPI / Big Numbers */
.stats-row {
  display: flex;
  align-items: flex-end;
  gap: 72px;
  margin-top: 16px;
}

.stat-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stat-num {
  font-size: 164px;
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.stat-num-md {
  font-size: 124px;
}

.stat-muted { color: var(--ink-soft); }
.stat-blue { color: var(--blue); }
.stat-ink { color: var(--ink); }

.stat-arrow {
  font-family: var(--font-mono);
  font-size: 72px;
  color: var(--blue);
  padding-bottom: 64px;
  opacity: 0.72;
}

.stat-divider {
  width: 1.5px;
  height: 210px;
  background: var(--border-strong);
  align-self: center;
}

.stat-caption {
  font-size: 28px;
  line-height: 1.35;
  color: var(--ink-muted);
  max-width: 380px;
}

/* Action Box ("Zkuste si zítra") */
.action-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
  border-radius: 10px;
  background: var(--white);
  border: 1.5px solid var(--blue);
  font-size: 27px;
  line-height: 1.4;
}

.slide-white .action-bar {
  background: var(--grey);
}

.action-pill {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
  padding: 8px 16px;
  border-radius: 5px;
  flex-shrink: 0;
}

/* Query Chips (Slide 4) */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.chip {
  font-family: var(--font-mono);
  font-size: 22px;
  padding: 12px 20px;
  border-radius: 6px;
  background: var(--white);
  border: 1px solid var(--border-strong);
  color: var(--ink);
}

.chip-blue {
  background: var(--blue-soft);
  border-color: rgba(20, 71, 230, 0.32);
  color: var(--blue-deep);
}

/* Sportka Interactive (Slide 5) */
.sportka-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.sportka-card {
  background: var(--white);
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sportka-card.is-flash {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(20, 71, 230, 0.14);
}

.hotel-rank {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 32px;
  font-weight: 600;
  padding: 16px 22px;
  background: var(--grey);
  border-radius: 8px;
}

.rank-idx {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--blue);
  font-weight: 600;
}

.btn-ascii {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--white);
  background: var(--blue);
  border: none;
  padding: 16px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease;
}

.btn-ascii:hover { background: var(--blue-deep); }
.btn-ascii:active { transform: scale(0.98); }

/* Rentgen (Slide 7) */
.xray-box {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  padding: 40px 48px;
  font-size: 34px;
  line-height: 1.55;
  overflow: hidden;
}

.xray-fluff {
  transition: opacity 0.45s ease, color 0.45s ease;
}

.xray-fact {
  font-weight: 600;
  border-radius: 5px;
  padding: 2px 8px;
  transition: background 0.45s ease, color 0.45s ease;
}

.xray-scanline {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -12px;
  width: 6px;
  background: var(--blue);
  box-shadow: 0 0 28px 8px rgba(20, 71, 230, 0.45);
  opacity: 0;
  pointer-events: none;
}

.slide-xray.is-scanned .xray-scanline {
  animation: xraySweep 0.85s var(--ease-out) forwards;
}

.slide-xray.is-scanned .xray-fluff {
  color: #CBD5E1;
  opacity: 0.45;
}

.slide-xray.is-scanned .xray-fact {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

@keyframes xraySweep {
  0% { left: 0%; opacity: 1; }
  88% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.xray-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  opacity: 0.25;
  transform: translateY(14px);
  transition: opacity 0.45s var(--ease-out) 0.2s, transform 0.45s var(--ease-out) 0.2s;
}

.slide-xray.is-scanned .xray-cards {
  opacity: 1;
  transform: translateY(0);
}

.xray-card {
  background: var(--white);
  border: 1.5px solid var(--blue);
  border-radius: 10px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.xray-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.xray-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.xray-card-k {
  font-family: var(--font-mono);
  font-size: 18px;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}

.xray-card-v {
  font-size: 25px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

/* Numbered Rows (Slides 8, 9, 26) */
.rows-5 {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.row-item {
  display: grid;
  grid-template-columns: 116px 390px 1fr;
  align-items: baseline;
  gap: 28px;
  padding: 22px 30px;
  border-radius: 10px;
  background: var(--grey-card);
  border: 1px solid var(--border);
}

.slide-grey .row-item {
  background: var(--white);
}

.row-lead {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.row-item.has-icon {
  grid-template-columns: 170px 410px 1fr;
  align-items: center;
}

.row-num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
}

.row-title {
  font-size: 29px;
  font-weight: 700;
  color: var(--ink);
}

.row-desc {
  font-size: 26px;
  color: var(--ink-muted);
  line-height: 1.35;
}

.mini-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.mini-badge {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--blue-deep);
  background: var(--blue-soft);
  border: 1px solid rgba(20, 71, 230, 0.22);
  padding: 3px 10px;
  border-radius: 4px;
}

/* STK ASCII Progress Bars (Slides 12, 13) */
.stk-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1520px;
}

.stk-list.compact {
  gap: 13px;
}

.stk-row {
  display: grid;
  grid-template-columns: 440px 1fr 170px;
  align-items: center;
  gap: 28px;
  font-size: 28px;
}

.stk-list.compact .stk-row {
  font-size: 25px;
}

.stk-name {
  font-weight: 600;
  color: var(--ink);
}

.stk-bar-wrap {
  font-family: var(--font-mono);
  font-size: 26px;
  letter-spacing: 3px;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 20px;
  width: fit-content;
  white-space: nowrap;
}

.stk-list.compact .stk-bar-wrap {
  font-size: 21px;
  padding: 7px 14px;
}

/* Wide variant: one cell per hotel (20), stretched across the row */
.stk-list.stk-wide {
  max-width: none;
  gap: 0;
}

.stk-list.stk-wide .stk-row {
  grid-template-columns: 540px 1fr 150px;
  gap: 36px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

.stk-list.stk-wide .stk-row:last-child {
  border-bottom: 0;
}

.stk-list.stk-wide .stk-bar-wrap {
  display: flex;
  gap: 8px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  letter-spacing: 0;
}

.stk-cell {
  flex: 1;
  height: 44px;
  border-radius: 6px;
  background: #E6EBF3;
}

.stk-list.stk-wide.compact .stk-row {
  padding: 15px 0;
}

.stk-list.stk-wide.compact .stk-bar-wrap {
  padding: 0;
}

.stk-list.stk-wide.compact .stk-cell {
  height: 34px;
  border-radius: 5px;
}

.stk-key {
  display: inline-block;
  margin-left: 16px;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
  vertical-align: middle;
  position: relative;
  top: -2px;
}

.slide-grey .stk-cell {
  background: #D9E0EB;
}

.stk-cell.is-on {
  background: var(--blue);
}

.stk-empty {
  color: #CBD5E1;
}

.stk-val {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  text-align: right;
  color: var(--ink);
}

.stk-val.is-low {
  color: var(--blue);
}

/* Attention Map (Slide 20) & First Screen Mockup (Slide 22) */
.att-bars {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 1460px;
}

.att-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 32px;
}

.att-pct {
  font-size: 64px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.att-track {
  height: 92px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.att-fill {
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 28px;
  font-size: 28px;
  font-weight: 600;
  white-space: nowrap;
}

.att-fill-1 { width: 57%; background: var(--blue); color: var(--white); }
.att-fill-2 { width: 17%; background: #6B8EF5; color: var(--white); min-width: 280px; }
.att-fill-3 { width: 26%; background: #CBD5E1; color: var(--ink); min-width: 380px; }

/* Mockup Wireframe (Slide 22) */
.mock-browser {
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 54px rgba(20, 71, 230, 0.10);
}

.mock-chrome {
  background: var(--grey);
  border-bottom: 1px solid var(--border);
  padding: 14px 22px;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--ink-muted);
  display: flex;
  justify-content: space-between;
}

.mock-hero {
  padding: 44px 48px;
  background: linear-gradient(135deg, #1447E6 0%, #0E34B0 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mock-hero h3 {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.mock-sub {
  font-family: var(--font-mono);
  font-size: 22px;
  color: rgba(255, 255, 255, 0.85);
}

.mock-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 12px;
}

.mock-btn {
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
  font-size: 22px;
  padding: 14px 28px;
  border-radius: 6px;
}

.mock-price {
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--white);
}

.mock-below {
  padding: 22px 48px;
  display: flex;
  gap: 32px;
  font-family: var(--font-mono);
  font-size: 19px;
  color: var(--ink-soft);
  border-top: 2px dashed var(--border-strong);
  background: var(--grey-card);
}

/* Timeline Bar (Slide 19) */
.timeline {
  display: grid;
  grid-template-columns: 18% 22% 30% 30%;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 22px;
}

.tl-seg {
  padding: 26px 24px;
  background: var(--white);
  border-right: 1px solid var(--border);
  color: var(--ink-muted);
}

.tl-seg:last-child { border-right: none; }
.tl-seg.is-hot {
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
}

/* Retro IE6 / Teletext Window (Slide 2 gag) */
.ie6-win {
  background: #C0C0C0;
  border-top: 3px solid #FFFFFF;
  border-left: 3px solid #FFFFFF;
  border-right: 3px solid #404040;
  border-bottom: 3px solid #404040;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
  font-family: 'Times New Roman', Georgia, serif;
  color: #000000;
  display: flex;
  flex-direction: column;
}

.ie6-titlebar {
  background: linear-gradient(90deg, #000080 0%, #1084D0 100%);
  color: #FFFFFF;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  padding: 7px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ie6-btns {
  display: flex;
  gap: 4px;
}

.ie6-btn {
  width: 24px;
  height: 22px;
  background: #C0C0C0;
  color: #000;
  font-family: Tahoma, sans-serif;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-top: 2px solid #FFF;
  border-left: 2px solid #FFF;
  border-right: 2px solid #404040;
  border-bottom: 2px solid #404040;
}

.ie6-address {
  background: #D4D0C8;
  padding: 6px 10px;
  border-bottom: 2px solid #808080;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 16px;
  color: #222;
}

.ie6-url {
  flex: 1;
  background: #FFFFFF;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid #FFF;
  border-bottom: 2px solid #FFF;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: #000;
}

.ie6-title-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ie6-toolbar {
  background: #ECE9D8;
  border-bottom: 1.5px solid #ACA899;
  padding: 4px 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 13px;
  color: #111;
}

.ie6-tb-brand {
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  color: #FFF;
  font-size: 12px;
}

.ie6-tb-btn {
  background: #F4F3EE;
  border: 1px solid #999;
  border-radius: 2px;
  padding: 2px 7px;
  font-size: 12.5px;
  white-space: nowrap;
}

.ie6-tb-input {
  background: #FFF;
  border: 1px inset #888;
  padding: 2px 8px;
  font-size: 12px;
  color: #666;
  width: 118px;
}

.ie6-tb-hot {
  background: #FFE600;
  border: 1px solid #CC0000;
  color: #CC0000;
  font-weight: 700;
  padding: 2px 7px;
  font-size: 12px;
  animation: ie6Blink 0.9s steps(2, start) infinite;
}

.ie6-viewport {
  background: #000033;
  background-image: radial-gradient(#FFFFFF 1px, transparent 1px), radial-gradient(#FFFF00 1px, transparent 1px);
  background-size: 46px 46px;
  background-position: 0 0, 23px 23px;
  padding: 18px 24px;
  border: 3px inset #808080;
  margin: 5px;
  color: #FFFF00;
  display: flex;
  flex-direction: column;
  gap: 13px;
  text-align: center;
}

.ie6-blink {
  font-family: 'Comic Sans MS', 'Chalkboard SE', cursive, serif;
  font-size: 32px;
  font-weight: 700;
  color: #00FF00;
  text-shadow: 2px 2px #FF00FF;
  animation: ie6Blink 1.1s steps(2, start) infinite;
}

@keyframes ie6Blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.18; }
}

.ie6-hazard {
  background: repeating-linear-gradient(-45deg, #FFD400, #FFD400 14px, #111 14px, #111 28px);
  padding: 5px;
}

.ie6-hazard-inner {
  background: #000;
  color: #FFD400;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  padding: 6px 12px;
  letter-spacing: 0.06em;
}

.ie6-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-size: 23px;
  background: #000066;
  border: 2px ridge #00FFFF;
  padding: 14px 16px;
}

.ie6-links span {
  color: #00FFFF;
  text-decoration: underline;
  font-weight: 700;
}

.ie6-teletext {
  font-family: var(--font-mono);
  font-size: 18px;
  color: #FFFFFF;
  background: #000000;
  border: 2px solid #FF00FF;
  padding: 12px 16px;
  text-align: left;
  line-height: 1.5;
}

.ie6-counter-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  border-top: 2px dashed #FFFF00;
}

.ie6-counter-label {
  font-family: Tahoma, sans-serif;
  font-size: 17px;
  color: #FFFFFF;
}

.ie6-digits {
  display: inline-flex;
  gap: 4px;
  background: #000;
  padding: 6px 10px;
  border: 3px inset #808080;
}

.ie6-digit {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: #00FF00;
  background: #081808;
  padding: 2px 9px;
  border: 1px solid #1A4D1A;
}

.ie6-status {
  background: #D4D0C8;
  border-top: 2px solid #808080;
  padding: 5px 12px;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 15px;
  color: #222;
  display: flex;
  justify-content: space-between;
}

/* Retro Nokia 3310 (Slide 4 T9 gag) */
.nokia-shell {
  width: 340px;
  margin: 0 auto;
  background: linear-gradient(180deg, #33415C 0%, #222D44 100%);
  border-radius: 56px 56px 72px 72px;
  padding: 26px 26px 34px;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.24), inset 0 2px 6px rgba(255, 255, 255, 0.22);
  border: 3px solid #1A2336;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.nokia-speaker {
  display: flex;
  gap: 6px;
  margin-bottom: 2px;
}

.nokia-speaker span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0F172A;
}

.nokia-faceplate {
  width: 100%;
  background: linear-gradient(180deg, #E2E6EE 0%, #CBD2DF 100%);
  border-radius: 26px 26px 38px 38px;
  padding: 14px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border: 2px solid #9BA5B8;
}

.nokia-brand {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: #1E293B;
}

.nokia-lcd {
  width: 100%;
  background: #98B659;
  border: 4px inset #5A6F32;
  border-radius: 8px;
  padding: 12px 14px 10px;
  font-family: var(--font-mono);
  color: #1A260D;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nokia-lcd-top {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1.5px solid rgba(26, 38, 13, 0.28);
  padding-bottom: 5px;
}

.nokia-lcd-msg {
  font-size: 21px;
  line-height: 1.38;
  font-weight: 700;
  min-height: 92px;
}

.nokia-t9-word {
  background: #1A260D;
  color: #98B659;
  padding: 1px 6px;
}

.nokia-cursor {
  display: inline-block;
  width: 10px;
  height: 20px;
  background: #1A260D;
  vertical-align: -3px;
  margin-left: 2px;
  animation: ie6Blink 0.9s steps(2, start) infinite;
}

.nokia-lcd-soft {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  border-top: 1.5px solid rgba(26, 38, 13, 0.28);
  padding-top: 4px;
}

.nokia-nav-bar {
  width: 112px;
  height: 22px;
  background: linear-gradient(180deg, #3B68E8 0%, #1447E6 100%);
  border-radius: 999px;
  border: 2px solid #0E34B0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nokia-nav-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
}

.nokia-mini-key {
  background: #DCE2EC;
  border: 1.5px solid #8A96AC;
  border-radius: 10px;
  padding: 4px 16px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: #1E293B;
}

.nokia-keypad {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 6px 8px 0;
}

.nokia-key {
  background: linear-gradient(180deg, #E8ECF4 0%, #C8D0DF 100%);
  border: 1.5px solid #8A96AC;
  border-radius: 14px;
  padding: 8px 4px;
  text-align: center;
  font-family: var(--font-sans);
  color: #1E293B;
  box-shadow: 0 2px 0 #1A2336;
  line-height: 1.1;
}

.nokia-key b {
  font-size: 19px;
  display: block;
}

.nokia-key span {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #475569;
  font-family: var(--font-mono);
}

/* Real Nokia 3310 Photo + Fitted Live LCD Overlay (Slide 4) */
.nokia-photo-wrap {
  position: relative;
  width: 355px;
  aspect-ratio: 450 / 900;
  margin: 0 auto;
}

.nokia-photo-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

.nokia-photo-lcd {
  position: absolute;
  left: 21.8%;
  top: 27.6%;
  width: 56.6%;
  height: 20.0%;
  background: linear-gradient(180deg, #7E9A59 0%, #6E8A4A 100%);
  border-radius: 8px 8px 12px 12px;
  box-shadow: inset 0 3px 8px rgba(18, 28, 10, 0.35), inset 0 0 2px rgba(18, 28, 10, 0.45);
  padding: 9px 11px 7px;
  font-family: var(--font-mono);
  color: #1A240E;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.nokia-photo-lcd .nokia-lcd-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  border-bottom: 1px solid rgba(26, 36, 14, 0.25);
  padding-bottom: 3px;
}

.nokia-photo-lcd .nokia-lcd-msg {
  font-size: 16.5px;
  line-height: 1.32;
  font-weight: 700;
  min-height: 0;
  margin: auto 0;
}

.nokia-photo-lcd .nokia-t9-word {
  background: #1A240E;
  color: #7E9A59;
  padding: 0 5px;
}

.nokia-photo-lcd .nokia-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: #1A240E;
  vertical-align: -2px;
  margin-left: 2px;
  animation: ie6Blink 0.9s steps(2, start) infinite;
}

.nokia-photo-lcd .nokia-lcd-soft {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  border-top: 1px solid rgba(26, 36, 14, 0.25);
  padding-top: 3px;
}

/* ChatGPT Dummy Composer Pill (Slide 9) */
.cgpt-bar {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 44px;
  padding: 22px 26px 22px 32px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.cgpt-plus {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 400;
  color: #334155;
  flex-shrink: 0;
}

.cgpt-text {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 33px;
  font-weight: 500;
  line-height: 1.32;
  color: #0F172A;
}

.cgpt-actions {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.cgpt-model {
  font-family: var(--font-sans);
  font-size: 20px;
  color: #64748B;
  font-weight: 500;
}

.cgpt-send {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0F172A;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.16s ease, background 0.2s ease;
}

.cgpt-send.is-pressed {
  transform: scale(0.86);
  background: var(--blue);
}

.cgpt-caret {
  display: inline-block;
  width: 3px;
  height: 32px;
  background: var(--blue);
  vertical-align: -5px;
  margin-left: 3px;
  animation: ie6Blink 0.75s steps(2, start) infinite;
}

/* Classic ChatGPT Shimmering Thinking / Searching Loader */
.cgpt-loader {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 500;
  min-height: 36px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cgpt-loader.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cgpt-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  animation: cgptPulse 1.1s ease-in-out infinite;
}

.cgpt-loader.is-done .cgpt-dot {
  animation: none;
  background: var(--blue);
  transform: scale(0.85);
}

@keyframes cgptPulse {
  0%, 100% { transform: scale(0.75); opacity: 0.45; }
  50% { transform: scale(1.22); opacity: 1; }
}

.cgpt-shimmer {
  background: linear-gradient(90deg, #64748B 0%, #64748B 35%, #1447E6 50%, #64748B 65%, #64748B 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: cgptShimmer 1.5s linear infinite;
}

.cgpt-loader.is-done .cgpt-shimmer {
  background: none;
  color: var(--blue);
  animation: none;
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 600;
}

@keyframes cgptShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -140% 0; }
}

/* Chaotic Staggered Pop-in for Fan-out Chips */
.slide-fanout .chip {
  font-size: 25px;
  padding: 14px 22px;
  opacity: 0;
  transform: translateY(16px) scale(0.82) rotate(var(--rot, 0deg));
  transition: opacity 0.28s var(--ease-out), transform 0.36s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.slide-fanout .chip.is-popped {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(var(--settle-rot, 0deg));
}

/* Real ChatGPT Comparison Cards (Slide 10 Sportka) */
.kv-card {
  background: var(--white);
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kv-card-blue {
  border-color: var(--blue);
  box-shadow: 0 14px 40px rgba(20, 71, 230, 0.08);
}

.kv-item {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 12px 14px;
  background: var(--grey);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.kv-thumb {
  width: 78px;
  height: 78px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.kv-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.kv-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.kv-num {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--blue);
  margin-right: 8px;
}

.kv-meta {
  font-size: 18px;
  color: var(--ink-muted);
  line-height: 1.25;
}

.kv-diff {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 5px;
  white-space: nowrap;
}

.kv-diff-blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.kv-diff-solid {
  background: var(--blue);
  color: var(--white);
}

.kv-diff-muted {
  background: #E2E8F0;
  color: #475569;
}

/* Slide 10 Sportka Real 2-Step Reveal */
.slide-sportka-real .kv-card {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.3s var(--ease-out), transform 0.35s var(--ease-out);
}

.slide-sportka-real .kv-card.is-open {
  opacity: 1;
  transform: translateY(0);
}

.slide-sportka-real .kv-item {
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  transition: opacity 0.28s var(--ease-out), transform 0.32s var(--ease-out);
}

.slide-sportka-real .kv-item.is-popped {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.slide-sportka-real .sportka-punchline {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.slide-sportka-real .sportka-punchline.is-shown {
  opacity: 1;
  transform: translateY(0);
}

/* Slide 11 Equal Audience Quiz Cards */
.card-quiz {
  background: var(--white);
  border: 2px solid var(--border-strong);
  border-radius: 14px;
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.quiz-verdict {
  padding-top: 20px;
  border-top: 1px dashed var(--border-strong);
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
}

/* Step-by-step fragments */
[data-step] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

[data-step].is-shown {
  opacity: 1;
  transform: translateY(0);
}

/* Presenter HUD */
.hud {
  position: fixed;
  bottom: 14px;
  right: 18px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  padding: 7px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 0.35;
  transition: opacity 0.2s ease;
}

.hud:hover { opacity: 1; }

.hud button {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: inherit;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
  cursor: pointer;
}

.hud button:hover {
  background: var(--blue);
  border-color: var(--blue);
}

/* Grid Overview Mode (Press G) */
body.is-overview {
  overflow: auto;
  background: #0F172A;
}

body.is-overview .stage {
  position: static;
  display: block;
  padding: 36px;
  background: #0F172A;
}

body.is-overview .deck {
  position: static;
  left: auto;
  top: auto;
  width: 100%;
  height: auto;
  transform: none !important;
  box-shadow: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

body.is-overview .slide {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  border-radius: 8px;
  cursor: pointer;
  padding: 20px 24px;
  border: 2px solid transparent;
}

body.is-overview .slide.is-active {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(20, 71, 230, 0.35);
}

body.is-overview .slide * {
  transform: none !important;
  opacity: 1 !important;
}

body.is-overview .h-hero,
body.is-overview .h-section { font-size: 24px; }
body.is-overview .h-slide { font-size: 18px; }
body.is-overview .lead,
body.is-overview .fact-list,
body.is-overview .card-quote,
body.is-overview .prompt-bar,
body.is-overview .action-bar,
body.is-overview .row-title,
body.is-overview .row-desc,
body.is-overview .stk-row,
body.is-overview .xray-box { font-size: 10px; padding: 6px 8px; }
body.is-overview .stat-num { font-size: 28px; }
body.is-overview .meta, body.is-overview .footer { font-size: 8px; padding-top: 6px; }
body.is-overview .ascii-art { display: none; }
body.is-overview .content { gap: 8px; margin: 6px 0; }
body.is-overview .card { padding: 10px; gap: 6px; }

/* Print / PDF Export */
@media print {
  html, body {
    overflow: visible;
    background: #fff;
  }
  .hud { display: none !important; }
  .stage { position: static; display: block; background: #fff; }
  .deck { width: auto; height: auto; transform: none !important; box-shadow: none; }
  .slide {
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    page-break-after: always;
    break-after: page;
  }
  [data-step] { opacity: 1 !important; transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .slide, [data-step], .xray-fluff, .xray-fact, .xray-cards {
    transition: none !important;
    animation: none !important;
  }
}

/* Important STK rows (user-requested red accent) */
.stk-row.is-key .stk-cell.is-on { background: var(--red); }
.stk-row.is-key .stk-val { color: var(--red); }
.stk-row.is-key .stk-key { background: var(--red); }
