:root {
  --navy: #050d16;
  --navy-2: #0b1a2c;
  --steel: #14304f;
  --red: #e11d38;
  --red-soft: #ff5a5f;
  --ink: #e8eef6;
  --muted: rgba(232, 238, 246, 0.62);
  --line: rgba(255, 255, 255, 0.1);
  --white: #ffffff;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html,
body {
  height: 100%;
  height: 100dvh;
  background: var(--navy);
  color: var(--ink);
  font-family: Manrope, sans-serif;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y;
}

h1,
h2,
h3,
.eyebrow,
.kicker,
.flow strong,
.hero-stats strong,
.result span {
  font-family: Unbounded, Manrope, sans-serif;
}

.fx {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.fx-grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(800px) rotateX(58deg) scale(1.4);
  transform-origin: center top;
  animation: gridDrift 28s linear infinite;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 72%);
}

.fx-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
}

.fx-orb-a {
  width: 42vw;
  height: 42vw;
  left: -12vw;
  top: -18vh;
  background: radial-gradient(circle, rgba(225, 29, 56, 0.45), transparent 68%);
  animation: orbA 14s ease-in-out infinite alternate;
}

.fx-orb-b {
  width: 36vw;
  height: 36vw;
  right: -10vw;
  bottom: -12vh;
  background: radial-gradient(circle, rgba(40, 110, 180, 0.4), transparent 70%);
  animation: orbB 18s ease-in-out infinite alternate;
}

.fx-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 48%,
    transparent 52%,
    transparent 100%
  );
  background-size: 100% 220%;
  animation: scan 7s linear infinite;
  opacity: 0.5;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.06);
}

.progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red), #ff8a6a);
  transition: width 0.45s var(--ease);
  box-shadow: 0 0 18px rgba(225, 29, 56, 0.55);
}

.deck {
  position: relative;
  z-index: 1;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7vh 5vw 10vh;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 0.42s var(--ease),
    transform 0.5s var(--ease),
    visibility 0.42s;
  overflow: hidden;
  backface-visibility: hidden;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.slide.leaving {
  opacity: 0;
  transform: translate3d(0, -10px, 0);
}

.slide.title {
  background: transparent;
}

.eyebrow {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red-soft);
  margin-bottom: 1.6rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.8vw, 4.8rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.hero h1 .line {
  display: block;
}

.hero h1 .accent,
.end h1 .accent {
  background: linear-gradient(100deg, #fff 10%, var(--red-soft) 55%, #ffb08a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin-top: 1.5rem;
  max-width: 38rem;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted);
  font-weight: 500;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 180px));
  gap: 1rem;
  margin-top: 2.8rem;
}

.hero-stats div {
  border-top: 2px solid rgba(225, 29, 56, 0.7);
  padding-top: 0.85rem;
}

.hero-stats strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-stats span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.3;
}

.hint {
  margin-top: 3rem;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.kicker {
  color: var(--red-soft);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.7rem;
  margin-bottom: 0.7rem;
}

.map-slide h2,
.impact h2,
.truth-slide h2,
.vs-slide h2,
.scale-slide h2,
.risk-slide h2,
.role-slide h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  max-width: 18ch;
}

.map-note {
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.lead strong {
  color: #fff;
  font-weight: 700;
}

.truth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.truth {
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.4rem;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.truth.good {
  border-color: rgba(61, 255, 154, 0.28);
  background: linear-gradient(165deg, rgba(40, 120, 80, 0.22), rgba(255, 255, 255, 0.03));
}

.truth.bad {
  border-color: rgba(225, 29, 56, 0.35);
  background: linear-gradient(165deg, rgba(140, 30, 45, 0.28), rgba(255, 255, 255, 0.03));
}

.truth > span {
  display: block;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--red-soft);
}

.truth.good > span {
  color: #7dffb3;
}

.truth ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.truth li {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
  padding-left: 0.9rem;
  position: relative;
}

.truth li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

.truth-punch {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 46rem;
  line-height: 1.45;
}

.truth-punch em {
  font-style: normal;
  color: var(--red-soft);
  font-weight: 700;
}

.vs-table {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.vs-head,
.vs-row {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1.2fr;
  gap: 0;
}

.vs-head {
  background: rgba(255, 255, 255, 0.06);
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.vs-head span,
.vs-row span {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.vs-head span:last-child,
.vs-row span:last-child {
  border-right: 0;
}

.vs-row:last-child span {
  border-bottom: 0;
}

.vs-row span:first-child {
  font-weight: 700;
  color: #fff;
}

.vs-row .neg {
  color: rgba(255, 170, 170, 0.9);
  background: rgba(225, 29, 56, 0.08);
}

.vs-row .pos {
  color: rgba(170, 255, 210, 0.95);
  background: rgba(40, 160, 100, 0.1);
}

.scale-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.scale-cards article {
  border-radius: 18px;
  padding: 1.4rem 1.2rem;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  min-height: 210px;
}

.scale-cards strong {
  display: block;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(100deg, #fff, var(--red-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.4rem;
}

.scale-cards span {
  display: block;
  font-weight: 800;
  margin-bottom: 0.7rem;
  letter-spacing: -0.02em;
}

.scale-cards p,
.scale-note {
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.95rem;
}

.scale-note {
  margin-top: 1.4rem;
  max-width: 48rem;
}

.risk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.risk-grid article {
  border-radius: 18px;
  padding: 1.25rem 1.15rem;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
}

.risk-grid span {
  display: block;
  font-family: Unbounded, Manrope, sans-serif;
  color: var(--red-soft);
  font-size: 0.78rem;
  margin-bottom: 0.55rem;
}

.risk-grid h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.risk-grid p {
  color: var(--muted);
  line-height: 1.45;
}

.role-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: stretch;
}

.role-compare > div:not(.role-arrow) {
  border-radius: 18px;
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.role-compare > div:last-child {
  border-color: rgba(225, 29, 56, 0.4);
  background: linear-gradient(165deg, rgba(140, 30, 45, 0.25), rgba(255, 255, 255, 0.03));
}

.role-label {
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.7rem;
}

.role-label.accent {
  color: var(--red-soft);
}

.role-compare h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.role-compare ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.role-compare li {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  padding-left: 0.85rem;
  position: relative;
}

.role-compare li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-soft);
}

.role-arrow {
  display: grid;
  place-items: center;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 2rem;
  color: var(--red-soft);
  padding-top: 2rem;
}

.flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.8rem;
}

.flow div {
  position: relative;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem 0.95rem 1.25rem;
  min-width: 0;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

.flow div::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 29, 56, 0.28), transparent 70%);
}

.flow div:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 29, 56, 0.45);
}

.flow strong {
  display: block;
  color: var(--red-soft);
  font-size: 0.8rem;
  margin-bottom: 0.55rem;
}

.flow span {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.flow em {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

/* Screen slides */
.slide.screen {
  padding: 3.5vh 2.2vw 9vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.75rem;
  align-content: stretch;
}

.slide.screen.active {
  display: grid;
}

.screen-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 0.2rem;
}

.live-pill {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #7dffb3;
  background: rgba(40, 200, 120, 0.12);
  border: 1px solid rgba(125, 255, 179, 0.28);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
}

.live-pill b {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3dff9a;
  box-shadow: 0 0 0 0 rgba(61, 255, 154, 0.7);
  animation: livePulse 1.4s ease-out infinite;
}

.screen-chrome .dots {
  display: flex;
  gap: 0.35rem;
}

.screen-chrome .dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.screen-chrome .dots i:first-child {
  background: #ff5f57;
}
.screen-chrome .dots i:nth-child(2) {
  background: #febc2e;
}
.screen-chrome .dots i:nth-child(3) {
  background: #28c840;
}

.live-pill {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #7dffa8;
  background: rgba(40, 200, 64, 0.12);
  border: 1px solid rgba(125, 255, 168, 0.35);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
}

.live-pill b {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28c840;
  box-shadow: 0 0 0 0 rgba(40, 200, 64, 0.7);
  animation: livePulse 1.6s ease-out infinite;
}

.slide.screen::before {
  content: attr(data-num);
  position: absolute;
  right: 3vw;
  top: 4vh;
  font-family: Unbounded, sans-serif;
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.035);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.slide.screen figure {
  position: relative;
  z-index: 1;
  margin: 0;
  min-height: 0;
  height: 100%;
  background: #0e1724;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(225, 29, 56, 0.08),
    0 30px 80px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.slide.active.screen figure {
  animation: frameIn 0.55s var(--ease) both;
}

.slide.screen figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  background: #fff;
  transform: translateZ(0) scale(1);
  transition: opacity 0.45s var(--ease);
}

.slide.screen figure.tall img,
.live-stage.tall img {
  object-fit: cover;
  object-position: top center;
}

.live-stage {
  isolation: isolate;
}

.live-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.live-layer .hotspot,
.live-layer .float-chip,
.live-layer .live-badge,
.live-layer .live-counter,
.live-layer .status-flip,
.live-layer .ticket-toast {
  pointer-events: auto;
}

/* Hotspots: hit target never scales — only the visual ::after does.
   Prevents classic hover jitter when the cursor sits on the edge. */

.float-chip,
.live-badge,
.live-counter,
.status-flip,
.ticket-toast {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 4;
  font-family: Manrope, sans-serif;
  pointer-events: none;
}

.float-chip {
  background: rgba(5, 13, 22, 0.88);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 650;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: none;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.95);
  color: #102033;
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  opacity: 0;
  animation: none;
}

.live-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28c840;
  box-shadow: 0 0 0 0 rgba(40, 200, 64, 0.6);
  animation: livePulse 1.5s ease-out infinite;
}

.live-badge.status-warn i {
  background: #febc2e;
  box-shadow: 0 0 0 0 rgba(254, 188, 46, 0.55);
}

.live-badge.status-ok {
  border: 1px solid rgba(40, 200, 64, 0.25);
}

.live-counter {
  min-width: 140px;
  text-align: center;
  background: linear-gradient(160deg, rgba(225, 29, 56, 0.95), rgba(120, 10, 28, 0.95));
  color: #fff;
  border-radius: 14px;
  padding: 0.65rem 0.9rem 0.7rem;
  box-shadow: 0 16px 40px rgba(225, 29, 56, 0.35);
  opacity: 0;
  animation: none;
}

.live-counter strong {
  display: block;
  font-family: Unbounded, sans-serif;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.live-counter small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  opacity: 0.85;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-flip {
  overflow: hidden;
  height: 1.7rem;
  background: rgba(255, 140, 40, 0.95);
  color: #fff;
  border-radius: 999px;
  padding: 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  animation: none;
}

.status-flip span {
  display: block;
  line-height: 1.7rem;
  transition: transform 0.55s var(--ease);
}

.status-flip.is-alt .sf-a,
.status-flip.is-alt .sf-b {
  transform: translateY(-100%);
}

.ticket-toast {
  width: min(240px, 42%);
  background: rgba(5, 13, 22, 0.94);
  color: #fff;
  border-radius: 14px;
  border: 1px solid rgba(125, 255, 168, 0.35);
  padding: 0.75rem 0.9rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  animation: none;
}

.ticket-toast strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.ticket-toast span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

.ghost-cursor {
  position: absolute;
  width: 18px;
  height: 18px;
  left: 12%;
  top: 18%;
  z-index: 9;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45));
  transition: left 0.85s var(--ease), top 0.85s var(--ease), opacity 0.3s;
}

.ghost-cursor::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #fff 0 42%, transparent 43%),
    linear-gradient(225deg, #fff 0 28%, transparent 29%);
  clip-path: polygon(0 0, 100% 62%, 58% 62%, 78% 100%, 58% 100%, 42% 68%, 0 100%);
}

.ghost-cursor.is-on {
  opacity: 1;
}

.ghost-cursor.is-click {
  animation: cursorClick 0.35s var(--ease);
}

.toasts {
  position: fixed;
  right: 1.4rem;
  top: 1.2rem;
  z-index: 50;
  display: grid;
  gap: 0.6rem;
  width: min(320px, calc(100vw - 2rem));
  pointer-events: none;
}

.toast {
  background: rgba(5, 13, 22, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--red-soft);
  color: #fff;
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  animation: toastIn 0.45s var(--ease);
}

.toast strong {
  display: block;
  font-size: 0.86rem;
  margin-bottom: 0.2rem;
}

.toast span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  line-height: 1.35;
}

.toast.ok {
  border-left-color: #28c840;
}

.toast.money {
  border-left-color: #ff8a6a;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: rgba(3, 8, 14, 0.62);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
}

.modal[hidden] {
  display: none !important;
}

.modal-card {
  position: relative;
  width: min(460px, 100%);
  background:
    radial-gradient(500px 180px at 100% 0%, rgba(225, 29, 56, 0.22), transparent 55%),
    linear-gradient(165deg, #121d2c, #0a1420);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 1.5rem 1.4rem 1.4rem;
  color: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: modalIn 0.4s var(--ease);
}

.modal-close {
  position: absolute;
  right: 0.8rem;
  top: 0.55rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}

.modal-kicker {
  color: var(--red-soft);
  font-family: Unbounded, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.modal-card h3 {
  font-family: Unbounded, sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.7rem;
}

.modal-card p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.modal-tags span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
}

.shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.18) 48%,
    transparent 62%
  );
  transform: translateX(-120%);
  pointer-events: none;
}

.slide.active .shine {
  animation: shine 1.4s 0.35s var(--ease) both;
}

.bar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1.4rem;
  align-items: start;
  color: var(--white);
  padding: 0.2rem 0.2rem 0;
}

.bar .kicker {
  margin-bottom: 0.35rem;
}

.bar h2 {
  color: var(--white);
  margin-bottom: 0.4rem;
  max-width: none;
  font-size: clamp(1.25rem, 2.3vw, 1.9rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.bar p {
  color: var(--muted);
  line-height: 1.4;
  font-size: 0.98rem;
  max-width: 46rem;
}

.bar ul {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  align-content: start;
  padding-top: 0.2rem;
}

.bar li {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1.35;
  padding: 0.55rem 0.75rem;
  border-left: 2px solid var(--red);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 10px 10px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.result {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem 1.2rem 1.4rem;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

.result:hover {
  transform: translateY(-3px);
  border-color: rgba(225, 29, 56, 0.4);
}

.result span {
  display: block;
  color: var(--red-soft);
  font-size: 0.8rem;
  margin-bottom: 0.7rem;
}

.result h3 {
  margin-bottom: 0.55rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.result p {
  color: var(--muted);
  line-height: 1.45;
}

.end h1 {
  max-width: 15ch;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.end h1 .line {
  display: block;
}

.hud {
  position: fixed;
  right: 1.5rem;
  bottom: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(5, 13, 22, 0.82);
  backdrop-filter: blur(12px);
  color: var(--white);
  padding: 0.4rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 30;
}

.hud button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--red), #9d1026);
  color: var(--white);
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s var(--ease), filter 0.2s;
}

.hud button:hover {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.hud span {
  min-width: 4.4rem;
  text-align: center;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

/* Reveal choreography */
.reveal {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease);
}

.slide.active .reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.slide.active .reveal.d1 { transition-delay: 0.08s; }
.slide.active .reveal.d2 { transition-delay: 0.18s; }
.slide.active .reveal.d3 { transition-delay: 0.28s; }
.slide.active .reveal.d4 { transition-delay: 0.38s; }
.slide.active .reveal.d5 { transition-delay: 0.48s; }
.slide.active .reveal.d6 { transition-delay: 0.58s; }

@keyframes frameIn {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes shine {
  to {
    transform: translateX(120%);
  }
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 72px 72px; }
}

@keyframes orbA {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(8vw, 6vh) scale(1.12); }
}

@keyframes orbB {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-6vw, -5vh) scale(1.18); }
}

@keyframes scan {
  from { background-position: 0 -40%; }
  to { background-position: 0 140%; }
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(40, 200, 64, 0.65); }
  70% { box-shadow: 0 0 0 10px rgba(40, 200, 64, 0); }
  100% { box-shadow: 0 0 0 0 rgba(40, 200, 64, 0); }
}

@keyframes hotspotPulse {
  0% { box-shadow: 0 0 0 0 rgba(225, 29, 56, 0.55), 0 8px 20px rgba(0, 0, 0, 0.35); }
  70% { box-shadow: 0 0 0 14px rgba(225, 29, 56, 0), 0 8px 20px rgba(0, 0, 0, 0.35); }
  100% { box-shadow: 0 0 0 0 rgba(225, 29, 56, 0), 0 8px 20px rgba(0, 0, 0, 0.35); }
}

@keyframes hotspotPulseBlue {
  0% { box-shadow: 0 0 0 0 rgba(77, 163, 255, 0.55), 0 8px 20px rgba(0, 0, 0, 0.35); }
  70% { box-shadow: 0 0 0 14px rgba(77, 163, 255, 0), 0 8px 20px rgba(0, 0, 0, 0.35); }
  100% { box-shadow: 0 0 0 0 rgba(77, 163, 255, 0), 0 8px 20px rgba(0, 0, 0, 0.35); }
}

@keyframes ringPulse {
  0% { transform: scale(0.7); opacity: 1; }
  100% { transform: scale(1.55); opacity: 0; }
}

@keyframes chipIn {
  from { opacity: 0; transform: translate(-50%, -40%) scale(0.92); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes softPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.04); }
}

@keyframes toastPop {
  from { opacity: 0; transform: translate(-50%, -30%) scale(0.9); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@keyframes cursorClick {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.82); }
}

/* ===== Phone / vertical ===== */
@media (max-width: 900px) {
  .fx-grid {
    opacity: 0.45;
    transform: perspective(600px) rotateX(52deg) scale(1.2);
  }

  .fx-orb-a,
  .fx-orb-b {
    filter: blur(50px);
    opacity: 0.35;
  }

  .slide {
    padding: max(4.5vh, env(safe-area-inset-top)) 5vw calc(7.5rem + env(safe-area-inset-bottom));
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .slide.title {
    justify-content: flex-end;
    padding-bottom: calc(8rem + env(safe-area-inset-bottom));
  }

  .hero h1,
  .end h1,
  .objection-hero h1 {
    font-size: clamp(1.85rem, 9.2vw, 2.6rem);
    max-width: 11ch;
  }

  .lead {
    font-size: 0.98rem;
    max-width: none;
  }

  .hint {
    margin-top: 1.6rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 1.8rem;
  }

  .hero-stats strong {
    font-size: 1.7rem;
  }

  .map-slide h2,
  .impact h2,
  .truth-slide h2,
  .vs-slide h2,
  .scale-slide h2,
  .risk-slide h2,
  .role-slide h2 {
    font-size: clamp(1.45rem, 7vw, 2rem);
    max-width: none;
    margin-bottom: 1.2rem;
  }

  .flow,
  .grid-2,
  .bar,
  .truth-grid,
  .scale-cards,
  .risk-grid,
  .role-compare,
  .vs-head,
  .vs-row {
    grid-template-columns: 1fr;
  }

  .flow {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  .flow div {
    padding: 0.85rem 0.7rem;
    border-radius: 14px;
  }

  .flow span {
    font-size: 0.92rem;
  }

  .flow em {
    font-size: 0.78rem;
  }

  .role-arrow {
    padding-top: 0;
    transform: rotate(90deg);
    font-size: 1.4rem;
  }

  .slide.screen {
    padding: max(0.6rem, env(safe-area-inset-top)) 0.7rem calc(6.8rem + env(safe-area-inset-bottom));
    gap: 0.55rem;
    grid-template-rows: auto minmax(42vh, 1fr) auto;
  }

  .slide.screen::before {
    display: none;
  }

  .screen-chrome {
    font-size: 0.62rem;
    gap: 0.45rem;
    padding: 0 0.35rem;
    flex-wrap: wrap;
  }

  .screen-chrome span {
    order: 3;
    flex: 1 1 100%;
    opacity: 0.7;
  }

  .live-pill {
    font-size: 0.58rem;
    padding: 0.22rem 0.5rem;
  }

  .slide.screen figure {
    border-radius: 12px;
    min-height: 42vh;
    max-height: 58vh;
  }

  .slide.screen figure img,
  .slide.screen figure.tall img,
  .live-stage.tall img {
    object-fit: cover;
    object-position: top center;
  }

  .bar {
    gap: 0.65rem;
    padding: 0 0.25rem;
  }

  .bar h2 {
    font-size: 1.15rem;
    line-height: 1.2;
  }

  .bar p {
    font-size: 0.86rem;
    margin-bottom: 0.2rem;
  }

  .bar ul {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .bar li {
    font-size: 0.82rem;
    padding: 0.45rem 0.6rem;
  }

  .hotspot {
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
  }

  .hotspot::after {
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
  }

  .hotspot .tip {
    min-width: 0;
    max-width: min(200px, 62vw);
    font-size: 0.72rem;
  }

  .float-chip,
  .live-badge,
  .live-counter,
  .status-flip,
  .ticket-toast {
    font-size: 0.68rem;
    padding: 0.35rem 0.55rem;
    max-width: 72vw;
  }

  .live-counter {
    font-size: 0.85rem;
    min-width: 0;
    padding: 0.5rem 0.65rem;
  }

  .ticket-toast {
    min-width: 0;
    width: min(200px, 60vw);
  }

  .ghost-cursor {
    display: none;
  }

  .toasts {
    top: max(0.7rem, env(safe-area-inset-top));
    left: 0.7rem;
    right: 0.7rem;
    width: auto;
  }

  .toast {
    padding: 0.7rem 0.8rem;
  }

  .toast span {
    font-size: 0.8rem;
  }

  .modal {
    padding: 0;
    align-items: end;
  }

  .modal-card {
    width: 100%;
    max-height: min(78vh, 640px);
    overflow: auto;
    border-radius: 20px 20px 0 0;
    padding: 1.25rem 1.1rem calc(1.4rem + env(safe-area-inset-bottom));
  }

  .modal-card h3 {
    font-size: 1.15rem;
    padding-right: 2rem;
  }

  .hud {
    left: 50%;
    right: auto;
    bottom: max(0.85rem, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    gap: 0.55rem;
    padding: 0.4rem 0.45rem;
  }

  .hud button {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .hud span {
    min-width: 3.8rem;
    font-size: 0.8rem;
  }

  .vs-head {
    display: none;
  }

  .vs-row span:first-child {
    background: rgba(255, 255, 255, 0.06);
    padding-bottom: 0.45rem;
  }

  .vs-row .neg::before {
    content: "Менеджеры: ";
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
  }

  .vs-row .pos::before {
    content: "Портал: ";
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
  }

  .scale-cards article {
    min-height: 0;
  }

  .result {
    padding: 1.05rem 1rem;
  }

  .result h3 {
    font-size: 1.05rem;
  }
}

@media (max-width: 900px) and (orientation: portrait) {
  .slide.screen {
    grid-template-rows: auto minmax(48vh, 56vh) auto;
  }

  .slide.screen figure {
    min-height: 48vh;
    max-height: 56vh;
  }
}

@media (max-width: 420px) {
  .flow {
    grid-template-columns: 1fr;
  }

  .bar li:nth-child(n + 3) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ========== LIVE LAYER (canonical) ========== */
.live-layer .hotspot {
  pointer-events: auto;
}

.live-layer .ghost-cursor {
  pointer-events: none;
}

/* Stable hit target — never transform the button itself */
.hotspot {
  position: absolute;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  z-index: 5;
  animation: none;
  transform: none;
  transition: none;
  -webkit-tap-highlight-color: transparent;
}

/* Visual dot only — safe to scale/pulse */
.hotspot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 28%, var(--red-soft) 45%, var(--red) 78%);
  box-shadow:
    0 0 0 0 rgba(225, 29, 56, 0.5),
    0 8px 18px rgba(0, 0, 0, 0.35);
  animation: hotspotPulse 2.4s ease-out infinite;
  transition: transform 0.4s var(--ease), filter 0.35s ease;
  pointer-events: none;
}

.hotspot:hover,
.hotspot.is-active,
.hotspot:focus-visible {
  z-index: 8;
  transform: none;
  animation: none;
  background: transparent;
  box-shadow: none;
  outline: none;
}

.hotspot:hover::after,
.hotspot.is-active::after,
.hotspot:focus-visible::after {
  transform: scale(1.22);
  filter: brightness(1.12);
  box-shadow:
    0 0 0 10px rgba(225, 29, 56, 0.16),
    0 10px 24px rgba(0, 0, 0, 0.4);
  animation: none;
}

.hotspot.hot-money::after {
  background: radial-gradient(circle at 35% 35%, #fff 0 28%, #ff8a6a 42%, #c8102e 78%);
}

.hotspot.hot-cta::after {
  background: radial-gradient(circle at 35% 35%, #fff 0 28%, #4da3ff 42%, #1a4f8c 78%);
  animation-name: hotspotPulseBlue;
}

.hotspot .tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  top: auto;
  right: auto;
  transform: translate3d(-50%, 6px, 0);
  width: max-content;
  max-width: min(220px, 56vw);
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: rgba(7, 14, 24, 0.94);
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  transition:
    opacity 0.28s var(--ease),
    transform 0.32s var(--ease),
    visibility 0.28s;
  z-index: 6;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}

.hotspot .tip strong {
  display: block;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 0.72rem;
  margin-bottom: 0.25rem;
  color: var(--red-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hotspot:hover .tip,
.hotspot.is-active .tip,
.hotspot:focus-visible .tip {
  opacity: 1;
  visibility: visible;
  transform: translate3d(-50%, 0, 0);
}

/* Placement variants — keep tips inside the screen frame */
.hotspot.tip-below .tip {
  bottom: auto;
  top: calc(100% + 12px);
  transform: translate3d(-50%, -6px, 0);
}

.hotspot.tip-below:hover .tip,
.hotspot.tip-below.is-active .tip,
.hotspot.tip-below:focus-visible .tip {
  transform: translate3d(-50%, 0, 0);
}

.hotspot.tip-start .tip {
  left: 0;
  right: auto;
  transform: translate3d(0, 6px, 0);
}

.hotspot.tip-start:hover .tip,
.hotspot.tip-start.is-active .tip,
.hotspot.tip-start:focus-visible .tip {
  transform: translate3d(0, 0, 0);
}

.hotspot.tip-start.tip-below .tip {
  transform: translate3d(0, -6px, 0);
}

.hotspot.tip-start.tip-below:hover .tip,
.hotspot.tip-start.tip-below.is-active .tip,
.hotspot.tip-start.tip-below:focus-visible .tip {
  transform: translate3d(0, 0, 0);
}

.hotspot.tip-end .tip {
  left: auto;
  right: 0;
  transform: translate3d(0, 6px, 0);
}

.hotspot.tip-end:hover .tip,
.hotspot.tip-end.is-active .tip,
.hotspot.tip-end:focus-visible .tip {
  transform: translate3d(0, 0, 0);
}

.hotspot.tip-end.tip-below .tip {
  transform: translate3d(0, -6px, 0);
}

.hotspot.tip-end.tip-below:hover .tip,
.hotspot.tip-end.tip-below.is-active .tip,
.hotspot.tip-end.tip-below:focus-visible .tip {
  transform: translate3d(0, 0, 0);
}

.float-chip,
.live-badge,
.live-counter,
.status-flip,
.ticket-toast {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  font-size: 0.78rem;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: rgba(7, 14, 24, 0.88);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translate3d(-50%, calc(-50% + 8px), 0) scale(0.97);
  transition: opacity 0.5s var(--ease), transform 0.55s var(--ease);
  animation: none !important;
  will-change: transform, opacity;
}

.float-chip.is-on,
.live-badge.is-on,
.live-counter.is-on,
.status-flip.is-on,
.ticket-toast.is-on {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1);
}

.float-chip.pulse-soft.is-on {
  animation: chipPulse 2.8s ease-in-out infinite !important;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 12px;
}

.live-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3dff9a;
}

.live-badge.status-warn i {
  background: #ffb020;
}

.live-badge.status-ok {
  border-color: rgba(61, 255, 154, 0.35);
}

.live-counter {
  font-family: Unbounded, Manrope, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  border-radius: 14px;
  padding: 0.65rem 0.9rem;
  background: linear-gradient(135deg, rgba(214, 40, 40, 0.92), rgba(120, 16, 30, 0.92));
  border-color: rgba(255, 120, 120, 0.35);
}

.live-counter small {
  display: block;
  font-family: Manrope, sans-serif;
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 0.15rem;
}

.status-flip {
  overflow: hidden;
  height: 2rem;
  padding: 0;
  width: 220px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}

.status-flip span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2rem;
  height: 2rem;
  font-weight: 700;
  font-size: 0.78rem;
}

.status-flip .sf-a {
  background: #ff8a3d;
  color: #1a0d00;
}

.status-flip .sf-b {
  background: #1f6feb;
  color: #fff;
}

.status-flip.is-on.is-flip {
  animation: none !important;
}

.status-flip.is-on.is-flip .sf-a,
.status-flip.is-on.is-flip .sf-b {
  animation: statusFlip 4.2s ease-in-out infinite;
}

.ticket-toast {
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  min-width: 200px;
  border-left: 3px solid #3dff9a;
}

.ticket-toast strong {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.2rem;
}

.ticket-toast span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.74rem;
}

.ghost-cursor {
  position: absolute;
  width: 18px;
  height: 18px;
  left: 10%;
  top: 20%;
  z-index: 8;
  pointer-events: none;
  opacity: 0;
  transition:
    left 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45));
  will-change: left, top;
}

.ghost-cursor::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  clip-path: polygon(0 0, 0 100%, 28% 72%, 55% 100%, 68% 92%, 42% 62%, 100% 62%);
}

.ghost-cursor.is-on {
  opacity: 1;
}

.ghost-cursor.is-click::after {
  content: "";
  position: absolute;
  left: -6px;
  top: -6px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(225, 29, 56, 0.8);
  animation: clickRing 0.55s var(--ease) forwards;
}

/* Toasts */
.toasts {
  position: fixed;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 50;
  display: grid;
  gap: 0.55rem;
  width: min(320px, calc(100vw - 2rem));
  pointer-events: none;
}

.toast {
  background: rgba(8, 16, 28, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--red-soft);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  transform: translateX(24px);
  opacity: 0;
  animation: toastIn 0.45s var(--ease) forwards;
}

.toast strong {
  display: block;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red-soft);
  margin-bottom: 0.25rem;
}

.toast span {
  font-size: 0.88rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}

.toast.out {
  animation: toastOut 0.35s var(--ease) forwards;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: rgba(3, 8, 16, 0.62);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
}

.modal[hidden] {
  display: none !important;
}

.modal-card {
  position: relative;
  width: min(460px, 100%);
  background:
    radial-gradient(500px 180px at 100% 0%, rgba(225, 29, 56, 0.22), transparent 55%),
    linear-gradient(165deg, #121c2c, #0a121d);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.5rem 1.4rem 1.4rem;
  color: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  animation: modalIn 0.4s var(--ease) both;
}

.modal-close {
  position: absolute;
  right: 0.8rem;
  top: 0.65rem;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}

.modal-kicker {
  color: var(--red-soft);
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.modal-card h3 {
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.7rem;
  line-height: 1.2;
}

.modal-card p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  font-size: 0.98rem;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.modal-tags span {
  font-size: 0.72rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

@keyframes hotspotPulse {
  0% { box-shadow: 0 0 0 0 rgba(225, 29, 56, 0.55), 0 8px 20px rgba(0, 0, 0, 0.35); }
  70% { box-shadow: 0 0 0 16px rgba(225, 29, 56, 0), 0 8px 20px rgba(0, 0, 0, 0.35); }
  100% { box-shadow: 0 0 0 0 rgba(225, 29, 56, 0), 0 8px 20px rgba(0, 0, 0, 0.35); }
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 255, 154, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(61, 255, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 255, 154, 0); }
}

@keyframes chipPulse {
  0%, 100% { transform: translate3d(-50%, -50%, 0) scale(1); }
  50% { transform: translate3d(-50%, calc(-50% - 3px), 0) scale(1); }
}

@keyframes statusFlip {
  0%, 40% { transform: translateY(0); }
  50%, 90% { transform: translateY(-100%); }
  100% { transform: translateY(0); }
}

@keyframes clickRing {
  from { transform: scale(0.5); opacity: 1; }
  to { transform: scale(1.4); opacity: 0; }
}

@keyframes toastIn {
  to { transform: none; opacity: 1; }
}

@keyframes toastOut {
  to { transform: translateX(24px); opacity: 0; }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@media print {
  .fx,
  .progress,
  .hud,
  .toasts,
  .modal,
  .live-layer,
  .shine {
    display: none !important;
  }

  .slide {
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    page-break-after: always;
    height: 100vh;
    transform: none !important;
  }
}
