/* ═══════════════════════════════════════════════════
   STORY SECTION — Cinematic Case Study
   ═══════════════════════════════════════════════════ */

.story-section {
  position: relative;
  background: linear-gradient(160deg, #0a1525 0%, #1a2645 100%);
  padding: 80px 0 100px;
  overflow: hidden;
  min-height: 600px;
}

/* Vignette */
.s-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Film grain */
.s-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.s-grain__overlay {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-size: 256px 256px;
}

/* ── Container ─────────────────────────────────────── */
.story-section > .story-intro,
.story-section > .story-progress,
.story-section > .story-controls,
.story-section > .story-act {
  position: relative;
  z-index: 5;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── INTRO ─────────────────────────────────────────── */
.story-intro {
  text-align: center;
  padding-top: 20px !important;
}

/* LIVE badge */
.s-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.4);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f87171;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.s-live-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  animation: live-dot-blink 1.2s ease-in-out infinite;
}
.s-live-badge__sep { color: rgba(248,113,113,0.4); }

@keyframes live-dot-blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* Client quote bubble */
.s-client-quote {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}
.s-client-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B35, #F4B942);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}
.s-client-bubble {
  background: #1e3a5f;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px 16px 16px 4px;
  padding: 10px 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  max-width: 420px;
  text-align: left;
  position: relative;
  min-height: 40px;
}
.s-tw-cursor {
  color: #FF6B35;
  animation: tw-blink 0.7s step-end infinite;
  margin-left: 1px;
}
@keyframes tw-blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0; }
}
.s-client-online {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
}
.s-online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  animation: s-dot-online 2s ease-in-out infinite;
}
@keyframes s-dot-online {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Titles */
.s-intro-title {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 14px;
  margin-top: 0;
}
.s-grad-text {
  background: linear-gradient(90deg, #FF6B35, #F4B942);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.s-intro-sub {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Play button */
.s-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--grad, linear-gradient(135deg, #FF6B35, #e55a25));
  color: #1a1a1a;
  border: none;
  border-radius: 12px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  overflow: visible;
  transition: transform 0.2s, filter 0.2s;
}
.s-play-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  padding: 2px;
  background: conic-gradient(from var(--btn-angle, 0deg), transparent 0deg, rgba(255,255,255,.95) 40deg, #FF6B35 80deg, transparent 120deg);
  animation: btn-border-spin 2.5s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: destination-out;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}
.s-play-btn:hover { transform: scale(1.02); filter: brightness(1.05); }
.s-play-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes play-glow {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,107,53,0.6), 0 8px 24px rgba(255,107,53,0.35); }
  50% { box-shadow: 0 0 0 8px rgba(255,107,53,0), 0 12px 32px rgba(255,107,53,0.5); }
}

/* Intro meta */
.s-intro-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}
.s-intro-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.s-intro-meta svg { opacity: 0.6; }
.live-watch-count { color: #10b981; }

/* ── PROGRESS BAR ────────────────────────────────── */
.story-progress {
  display: none;
  gap: 6px;
  margin-bottom: 14px;
  padding-top: 20px !important;
}
.story-progress.active { display: flex; }
.story-progress__step {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  overflow: hidden;
}
.story-progress__fill {
  height: 100%;
  width: 0%;
  background: #FF6B35;
  border-radius: 2px;
  transition: width 0.1s linear;
}
.story-progress__fill.done { width: 100%; background: rgba(255,255,255,0.5); }

/* ── CONTROLS ────────────────────────────────────── */
.story-controls {
  display: none;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 20px;
}
.story-controls.active { display: flex; }
.s-ctrl {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.s-ctrl:hover {
  background: rgba(255,255,255,0.16);
  color: #fff;
}

/* ── STORY ACTS ──────────────────────────────────── */
.story-act {
  display: none;
}
.story-act.active {
  display: block;
  animation: act-in 0.5s ease forwards;
}
@keyframes act-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── ACT 1 GRID ─────────────────────────────────── */
.s-act1-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

/* Map box */
.s-map-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(42,171,238,0.25);
  border-radius: 14px;
  overflow: hidden;
}
.s-map-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(42,171,238,0.15);
  font-size: 11px;
  font-weight: 700;
  color: rgba(42,171,238,0.9);
  letter-spacing: 0.05em;
}
.s-map-time { color: rgba(255,255,255,0.5); }
.s-map-svg-wrap {
  position: relative;
  padding: 10px;
  height: 200px;
}
.s-scan-line {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(42,171,238,0.6), transparent);
  animation: scan 2.5s linear infinite;
  top: 10px;
}
@keyframes scan {
  0% { top: 10px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: calc(100% - 10px); opacity: 0; }
}
.s-ring1 { animation: ring-pulse 2s ease-out infinite; }
.s-ring2 { animation: ring-pulse 2s ease-out 0.5s infinite; }
@keyframes ring-pulse {
  0% { opacity: 0.5; }
  100% { opacity: 0; }
}
.s-map-coords {
  padding: 8px 14px;
  font-size: 10px;
  color: rgba(42,171,238,0.6);
  border-top: 1px solid rgba(42,171,238,0.1);
  letter-spacing: 0.04em;
}

/* Telegram chat box */
.s-tg-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.s-tg-hdr {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
}
.s-tg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255,255,255,0.1);
}
.s-tg-avatar img { width: 100%; height: 100%; object-fit: cover; }
.s-tg-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.s-tg-status {
  font-size: 11px;
  color: #10b981;
}
.s-tg-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 140px;
  max-height: 240px;
  overflow-y: auto;
}

/* Chat messages */
.s-msg {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.4;
  animation: msg-in 0.3s ease forwards;
}
@keyframes msg-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.s-msg--ilya {
  background: rgba(255,107,53,0.15);
  border: 1px solid rgba(255,107,53,0.2);
  color: rgba(255,255,255,0.9);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}
.s-msg--anton {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}
.s-msg-time {
  font-size: 9px;
  opacity: 0.5;
  margin-top: 3px;
  text-align: right;
}

/* Voice message */
.s-voice-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,107,53,0.08);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.s-voice-play {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FF6B35;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.s-voice-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.s-voice-bar {
  width: 3px;
  background: rgba(255,107,53,0.5);
  border-radius: 2px;
  transition: height 0.1s ease;
}
.s-voice-bar.active { background: #FF6B35; }
.s-voice-dur {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
}

/* Urgency alert */
.s-urgency-alert {
  margin: 8px 14px 14px;
  padding: 8px 12px;
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 8px;
  font-size: 12px;
  color: #f87171;
  animation: urgency-pulse 1.5s ease-in-out infinite;
}
@keyframes urgency-pulse {
  0%,100% { border-color: rgba(239,68,68,0.3); }
  50% { border-color: rgba(239,68,68,0.7); }
}

/* ── ACT 2 GRID ─────────────────────────────────── */
.s-act2-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.s-tg-compact {
  grid-column: 1;
  grid-row: 1;
}
.s-terminal {
  grid-column: 2;
  grid-row: 1 / 3;
  background: #0d1117;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  overflow: hidden;
  font-family: 'Courier New', monospace;
}
.s-terminal-hdr {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.s-tdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.s-terminal-title {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-left: 4px;
}
.s-terminal-body {
  padding: 14px 16px;
  font-size: 11px;
  color: #4ade80;
  line-height: 1.7;
  min-height: 200px;
}
.s-t-line {
  display: block;
  animation: msg-in 0.2s ease forwards;
}
.s-t-line--alert { color: #ef4444; font-weight: 700; }
.s-t-line--warn { color: #f59e0b; }
.s-t-line--ok { color: #4ade80; }
.s-t-line--info { color: rgba(255,255,255,0.45); }
.s-cursor-blink {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: #4ade80;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Car card */
.s-car-card {
  grid-column: 1;
  grid-row: 2;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.s-car-img {
  overflow: hidden;
  background: rgba(0,0,0,0.3);
}
.s-car-body { padding: 12px 14px; }
.s-car-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.s-car-location {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
}
.s-car-price {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.s-car-specs { display: flex; flex-direction: column; gap: 5px; }
.s-spec-row {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.4s;
}
.s-spec-row.bad { color: #ef4444; }
.s-spec-row.bad span { text-decoration: line-through; }

/* Rejected stamp */
.s-rejected-stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-20deg) scale(0);
  font-size: 28px;
  font-weight: 900;
  color: #ef4444;
  border: 4px solid #ef4444;
  padding: 6px 12px;
  border-radius: 6px;
  letter-spacing: 0.08em;
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
}
.s-rejected-stamp.active {
  animation: stamp-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes stamp-in {
  0% { transform: translate(-50%, -50%) rotate(-20deg) scale(2); opacity: 0; }
  60% { transform: translate(-50%, -50%) rotate(-20deg) scale(0.95); opacity: 1; }
  100% { transform: translate(-50%, -50%) rotate(-20deg) scale(1); opacity: 1; }
}

/* ── ACT 3 ──────────────────────────────────────── */
.s-act3-wrap {
  max-width: 680px;
  margin: 0 auto;
}
.s-act3-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}

/* Problem blocks */
.s-prob {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(239,68,68,0.07);
  border: 1px solid rgba(239,68,68,0.2);
  border-left: 3px solid #ef4444;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateX(-20px);
}
.s-prob.visible {
  animation: prob-in 0.4s ease forwards;
}
@keyframes prob-in {
  to { opacity: 1; transform: translateX(0); }
}
.s-prob-ico { font-size: 22px; flex-shrink: 0; line-height: 1; }
.s-prob-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.s-prob-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

/* Overpay block */
.s-overpay-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s;
}
.s-overpay-block.visible { opacity: 1; }
.s-overpay-col { text-align: center; }
.s-overpay-label {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.s-overpay-val {
  font-size: 22px;
  font-weight: 800;
}
.s-overpay-arrow {
  font-size: 20px;
  color: rgba(255,255,255,0.25);
}
.s-blink {
  animation: blink 1s ease-in-out infinite;
}

/* ── ACT 4 ──────────────────────────────────────── */
.s-act4-wrap {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.s-act4-eyebrow {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Counter */
.s-counter-block { margin-bottom: 16px; }
.s-counter-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.s-counter-num {
  font-size: clamp(42px, 8vw, 72px);
  font-weight: 900;
  color: #10b981;
  line-height: 1;
}
.s-counter-rub {
  font-size: 0.55em;
  vertical-align: super;
  color: rgba(16,185,129,0.7);
}

/* Savings list */
.s-savings-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.s-saving-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  opacity: 0;
  transform: translateY(8px);
}
.s-saving-item.visible {
  animation: item-in 0.35s ease forwards;
}
@keyframes item-in {
  to { opacity: 1; transform: translateY(0); }
}
.s-saving-item span {
  color: #10b981;
  font-weight: 700;
}

/* ROI badge */
.s-roi-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  opacity: 0;
  transition: opacity 0.4s;
}
.s-roi-row.visible { opacity: 1; }
.s-roi-side {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.s-roi-side b { color: #fff; }
.s-roi-badge {
  background: linear-gradient(135deg, #FF6B35, #F4B942);
  border-radius: 12px;
  padding: 10px 20px;
  text-align: center;
}
.s-roi-badge-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
}
.s-roi-badge-val {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

/* Review card */
.s-review-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 20px;
  text-align: left;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(10px);
}
.s-review-card.visible {
  animation: item-in 0.4s ease 0.1s forwards;
}
.s-review-stars {
  color: #F4B942;
  font-size: 16px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}
.s-review-text {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 14px;
}
.s-review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.s-review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B35, #F4B942);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}
.s-review-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.s-review-badge {
  font-size: 11px;
  color: #10b981;
}

/* CTA block */
.s-cta-block {
  opacity: 0;
  transition: opacity 0.4s;
}
.s-cta-block.visible { opacity: 1; }
.s-cta-title {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
  line-height: 1.5;
}
.s-cta-title b { color: #fff; }
.s-cta-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.s-cta-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  overflow: visible;
}
.s-cta-main::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  padding: 2px;
  background: conic-gradient(from var(--btn-angle, 0deg), transparent 0deg, rgba(255,255,255,.95) 40deg, #FF6B35 80deg, transparent 120deg);
  animation: btn-border-spin 2.5s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: destination-out;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}
.s-cta-sec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  transition: background 0.2s;
}
.s-cta-sec:hover { background: rgba(255,255,255,0.14); }
.s-restart-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.3);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}
.s-restart-btn:hover { color: rgba(255,255,255,0.6); }

/* Terminal shake */
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}
.s-shake { animation: shake 0.35s ease; }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
  .s-act1-grid {
    grid-template-columns: 1fr;
  }
  .s-act2-grid {
    grid-template-columns: 1fr;
  }
  .s-terminal {
    grid-column: 1;
    grid-row: 2;
  }
  .s-car-card {
    grid-column: 1;
    grid-row: 3;
  }
}

@media (max-width: 640px) {
  .story-section {
    padding: 40px 0 60px;
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .s-intro-title {
    font-size: 20px;
  }
  .s-intro-sub {
    font-size: 13px;
  }
  .s-play-btn {
    font-size: 14px;
    padding: 12px 24px;
  }
  .s-intro-meta {
    gap: 12px;
    font-size: 11px;
  }
  .s-cta-btns {
    flex-direction: column;
    align-items: center;
  }
  .s-overpay-val {
    font-size: 18px;
  }
  .s-counter-num {
    font-size: 48px;
  }
  .s-act2-grid {
    gap: 10px;
  }
  .s-tg-compact .s-tg-body {
    min-height: 80px;
    max-height: 140px;
  }
}
