:root {
  --cyan: #00f3ff;
  --magenta: #ff0055;
  --green: #00ff66;
  --gold: #ffb703;
  --bg: #030712;
  --surface: rgba(10, 15, 30, 0.94);
  --card-border: rgba(0, 243, 255, 0.28);
}
[hidden] { display: none !important; }
body.deck-page {
  min-height: 100vh;
  background: radial-gradient(circle at 50% 20%, #0a1128 0%, var(--bg) 75%);
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
.deck-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px; background: rgba(3, 7, 18, 0.88);
  border-bottom: 1px solid var(--card-border); backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 50;
}
.deck-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.deck-brand-mark {
  width: 14px; height: 14px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
  border-radius: 2px; display: inline-block;
}
.deck-nav-links { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.deck-nav-link {
  color: #94a3b8; text-decoration: none; font-size: 12px; letter-spacing: 0.05em;
  padding: 6px 12px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 4px;
  transition: all 0.2s ease;
}
.deck-nav-link:hover, .deck-nav-link.active {
  color: var(--cyan); border-color: var(--cyan); background: rgba(0, 243, 255, 0.05);
}
.deck-main {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 20px 16px 36px; max-width: 1200px; margin: 0 auto; width: 100%; box-sizing: border-box;
}
.deck-progress-bar {
  width: 100%; max-width: 1100px; height: 4px; background: rgba(255, 255, 255, 0.1);
  border-radius: 2px; margin-bottom: 16px; overflow: hidden;
}
.deck-progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--cyan), var(--magenta));
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1); width: 10%;
}
.slide-container {
  width: 100%; max-width: 1100px; min-height: 500px; background: var(--surface);
  border: 1px solid var(--card-border); border-radius: 12px; padding: 32px 36px;
  box-shadow: 0 0 40px rgba(0, 243, 255, 0.14), inset 0 0 20px rgba(0, 0, 0, 0.5);
  display: flex; flex-direction: column; justify-content: space-between;
  box-sizing: border-box; position: relative;
}
.slide-header {
  font-size: 21px; font-weight: 700; color: var(--cyan);
  border-bottom: 1px solid rgba(0, 243, 255, 0.2); padding-bottom: 14px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
.slide-header-badge {
  font-size: 11px; font-weight: 400; color: #94a3b8; background: rgba(255, 255, 255, 0.05);
  padding: 4px 8px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.1);
}
.slide-body { font-size: 14.5px; line-height: 1.8; color: #cbd5e1; flex: 1; padding: 20px 0; }
.slide-body p { margin-bottom: 14px; }
.slide-body ul { list-style: none; padding-left: 0; display: flex; flex-direction: column; gap: 10px; }
.slide-body li { position: relative; padding-left: 20px; }
.slide-body li::before { content: "•"; color: var(--cyan); font-size: 18px; position: absolute; left: 0; top: -2px; }
.slide-body strong { color: #f8fafc; }
.tier-table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13px; }
.tier-table th, .tier-table td { border: 1px solid rgba(0, 243, 255, 0.2); padding: 8px 12px; text-align: left; }
.tier-table th { background: rgba(0, 243, 255, 0.08); color: var(--cyan); }
.deck-video-wrap {
  position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: 8px; border: 1px solid rgba(0, 243, 255, 0.35); background: #000;
  margin: 12px 0 16px 0; box-shadow: 0 4px 24px rgba(0, 243, 255, 0.15);
}
.deck-video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.slide-footer {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(0, 243, 255, 0.2); padding-top: 16px;
  font-size: 12px; color: #64748b; flex-wrap: wrap; gap: 12px;
}
.slide-nav-group { display: flex; gap: 10px; align-items: center; }
.nav-btn {
  background: rgba(0, 243, 255, 0.05); border: 1px solid var(--cyan); color: var(--cyan);
  padding: 7px 16px; cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 600;
  border-radius: 6px; transition: all 0.2s ease; min-width: 75px; min-height: 40px;
}
.nav-btn:hover:not(:disabled) { background: var(--cyan); color: #030712; box-shadow: 0 0 15px rgba(0, 243, 255, 0.4); }
.nav-btn:focus-visible, .thumb-dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.nav-btn:disabled { opacity: 0.3; cursor: not-allowed; border-color: #64748b; color: #64748b; }
.deck-thumbnails { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; justify-content: center; }
.thumb-dot {
  width: 32px; height: 32px; border-radius: 4px; background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15); color: #94a3b8; font-size: 11px;
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s ease;
}
.thumb-dot:hover { border-color: var(--cyan); color: var(--cyan); }
.thumb-dot.active {
  background: var(--cyan); color: #030712; border-color: var(--cyan);
  font-weight: bold; box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}
.stat-highlight {
  display: inline-block; background: rgba(0, 255, 102, 0.08); border: 1px solid var(--green);
  color: var(--green); padding: 6px 12px; border-radius: 6px; font-weight: 600; margin-top: 4px;
}
.stat-note { margin-top: 12px; font-size: 12px; color: #94a3b8; line-height: 1.6; }
.key-shortcut-hint { color: #64748b; font-size: 11px; margin-top: 8px; text-align: center; }

/* Fixed valuation / strategic ask */
.valuation-monitor {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr);
  gap: 14px; align-items: center; margin: 18px 0 12px; padding: 16px;
  border: 1px solid rgba(255, 183, 3, .55);
  background: linear-gradient(110deg, rgba(255, 183, 3, .12), rgba(0, 243, 255, .05));
  border-radius: 8px;
}
.valuation-kicker, .valuation-status-label {
  display: block; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .1em;
}
.valuation-monitor strong {
  display: block; margin-top: 7px; color: #fff; font-size: clamp(22px, 4vw, 34px); letter-spacing: .03em;
}
.valuation-status { border-left: 1px solid rgba(255, 255, 255, .16); padding-left: 14px; }
.valuation-status strong { color: var(--green); font-size: 12px; line-height: 1.4; }
.valuation-detail { grid-column: 1 / -1; margin: 0; color: #94a3b8; font-size: 11px; line-height: 1.55; }

@media (max-width: 768px) {
  .valuation-monitor { grid-template-columns: 1fr; }
  .valuation-status { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); padding: 12px 0 0; }
  .slide-container { padding: 20px 16px; min-height: 520px; }
  .slide-header { font-size: 17px; flex-direction: column; }
  .slide-body { font-size: 13.5px; }
}
