/* Cinematic story — extracted from index.html */
    .cinema-wrap { max-width: 320px; margin: 0 auto; }
    .cinema-stage { position: relative; }
    .cinema-phone {
      width: 200px; background: #000; border-radius: 38px; padding: 11px;
      box-shadow: 0 24px 48px rgba(0,0,0,0.8), 0 0 0 2px #2A2A2D inset, 0 0 0 3px #1A1A1C, 0 0 60px rgba(0, 122, 255, 0.15);
      margin: 0 auto;
    }
    .cinema-screen {
      background: #000; border-radius: 28px; overflow: hidden;
      position: relative; height: 400px;
      font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
    }
    .cinema-screen .scene {
      position: absolute; inset: 0;
      opacity: 0; visibility: hidden;
      transition: opacity 0.5s ease;
    }
    .cinema-screen .scene.active { opacity: 1; visibility: visible; }

    /* Scene 1 cracked */
    .scene-cracked { background: #1c1c1e; }
    .cracked-display { position: relative; height: 100%; animation: cine-shake 0.3s ease-in-out 0.5s 3; }
    .cracked-display .wallpaper {
      position: absolute; inset: 0;
      background: linear-gradient(135deg, #FF6B9D 0%, #A66CFF 40%, #5B8DEF 80%, #34D2FF 100%);
    }
    .cracked-display .crack-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
    @keyframes cine-shake {
      0%, 100% { transform: translateX(0); }
      25% { transform: translateX(-3px); }
      75% { transform: translateX(3px); }
    }

    /* Scene 2 cheap receipt */
    .scene-swap-cheap {
      background: radial-gradient(circle at 50% 30%, #2a1a1a 0%, #0a0606 80%);
      display: flex; align-items: center; justify-content: center;
    }
    .receipt-scene { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 16px; }
    .receipt-shady {
      position: relative;
      width: 168px; padding: 14px 14px 12px;
      background: #f4ecd9;
      font-family: "Courier New", monospace;
      font-size: 10px; color: #2a2a1a; line-height: 1.5;
      box-shadow: 0 10px 40px rgba(0,0,0,0.5);
      transform: rotate(-2.5deg) translateY(20px);
      opacity: 0;
      animation: receipt-in 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards, receipt-shake 0.15s ease-in-out 1.55s 2;
    }
    @keyframes receipt-in {
      0% { opacity: 0; transform: rotate(-12deg) translateY(80px); }
      100% { opacity: 1; transform: rotate(-2.5deg) translateY(20px); }
    }
    @keyframes receipt-shake {
      0%, 100% { transform: rotate(-2.5deg) translateX(0) translateY(20px); }
      50% { transform: rotate(-2.5deg) translateX(4px) translateY(20px); }
    }
    .receipt-header { font-weight: 700; font-size: 12px; text-align: center; letter-spacing: 0.05em; }
    .receipt-sub { font-size: 8px; text-align: center; margin-bottom: 6px; opacity: 0.7; }
    .receipt-divider { text-align: center; letter-spacing: 0.1em; font-size: 7px; margin: 2px 0; opacity: 0.5; }
    .receipt-line { display: flex; justify-content: space-between; margin: 3px 0; font-size: 10px; }
    .receipt-total { font-weight: 700; font-size: 10px; margin-top: 2px; }
    .receipt-meta { font-size: 7px; text-align: center; opacity: 0.65; margin-top: 2px; }
    .receipt-scrawl {
      font-family: "Bradley Hand", cursive, serif;
      font-size: 13px; text-align: center; margin-top: 10px;
      transform: rotate(-3deg); color: #1a1a0a;
      opacity: 0; animation: cine-fade 0.5s ease 1.4s forwards;
    }
    @keyframes cine-fade { to { opacity: 1; } }
    .receipt-cracks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
    .crack-line { stroke-dashoffset: 100; }
    @keyframes crack-draw { to { stroke-dashoffset: 0; } }
    .crack-1 { animation: crack-draw 0.5s 1.6s cubic-bezier(0.7,0,0.3,1) forwards; }
    .crack-2 { animation: crack-draw 0.5s 1.8s cubic-bezier(0.7,0,0.3,1) forwards; }
    .crack-3 { animation: crack-draw 0.3s 2.1s cubic-bezier(0.7,0,0.3,1) forwards; }
    .crack-4 { animation: crack-draw 0.3s 2.2s cubic-bezier(0.7,0,0.3,1) forwards; }
    .crack-5 { animation: crack-draw 0.3s 2.3s cubic-bezier(0.7,0,0.3,1) forwards; }
    .crack-6 { animation: crack-draw 0.3s 2.4s cubic-bezier(0.7,0,0.3,1) forwards; }

    /* Scene 3 settings unknown */
    .scene-settings-unknown, .scene-settings-genuine {
      background: #F2F2F7; color: #000; padding: 28px 10px 10px;
    }
    .ios-statusbar-dark {
      position: absolute; top: 10px; left: 0; right: 0; text-align: center;
      font-size: 13px; font-weight: 600; color: #000;
    }
    .ios-settings-nav { font-size: 11px; color: #8E8E93; margin-bottom: 5px; }
    .ios-settings-title { font-size: 16px; font-weight: 700; color: #000; margin-bottom: 12px; }
    .ios-settings-row {
      background: #fff; border-radius: 10px; padding: 12px 14px;
      display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
      font-size: 13px;
    .ios-settings-row > span:first-child { color: #8E8E93; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
      animation: row-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
    }
    @keyframes row-pop {
      0% { transform: scale(0.85); opacity: 0; }
      100% { transform: scale(1); opacity: 1; }
    }
    .warn-pill, .ok-pill { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 13px; }
    .warn-pill { color: #FF9F0A; animation: warn-pulse 1.5s ease-in-out 1s 2; }
    .ok-pill { color: #34C759; animation: ok-pulse 1.5s ease-in-out 1s 2; }
    .warn-icon, .ok-icon {
      width: 18px; height: 18px; border-radius: 50%;
      display: inline-flex; align-items: center; justify-content: center;
      font-size: 11px; font-weight: 700; color: #fff; line-height: 1;
    }
    .warn-icon { background: #FF9F0A; }
    .ok-icon { background: #34C759; }
    @keyframes warn-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); filter: drop-shadow(0 0 12px rgba(255,159,10,0.8)); } }
    @keyframes ok-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); filter: drop-shadow(0 0 12px rgba(52,199,89,0.8)); } }
    .ios-settings-note {
      margin-top: 12px; font-size: 11px; color: #6C6C70; line-height: 1.4;
      opacity: 0; animation: cine-fade 0.4s ease 1s forwards;
    }

    /* Scene 4 genuine invoice */
    .scene-swap-genuine {
      background: radial-gradient(circle at 50% 30%, #0f2a1a 0%, #06100a 80%);
      display: flex; align-items: center; justify-content: center;
    }
    .invoice-genuine {
      width: 180px; background: #fff; border-radius: 12px;
      box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 4px 12px rgba(52, 199, 89, 0.25);
      overflow: hidden;
      opacity: 0; transform: translateY(30px) scale(0.95);
      animation: invoice-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
      color: #1D1D1F;
    }
    @keyframes invoice-in {
      0% { opacity: 0; transform: translateY(30px) scale(0.95); }
      100% { opacity: 1; transform: translateY(0) scale(1); }
    }
    .invoice-brandbar {
      background: linear-gradient(135deg, #1D1D1F 0%, #2a2a2e 100%);
      color: #fff; padding: 10px 12px; text-align: center;
    }
    .invoice-brand { font-size: 12px; font-weight: 700; letter-spacing: -0.01em; }
    .invoice-address { font-size: 9px; opacity: 0.7; margin-top: 2px; }
    .invoice-body { padding: 8px 10px; }
    .invoice-label { font-size: 9px; color: #8E8E93; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
    .invoice-row {
      display: flex; justify-content: space-between; align-items: flex-start;
      padding: 4px 0; border-bottom: 1px solid #F2F2F7; font-size: 9px;
    }
    .invoice-row em { color: #8E8E93; font-style: normal; font-size: 9px; }
    .invoice-row-total { font-weight: 700; font-size: 12px; border-bottom: 0; padding-top: 8px; }
    .invoice-badges { margin-top: 6px; padding-top: 6px; border-top: 1px dashed #D2D2D7; display: flex; flex-direction: column; gap: 4px; }
    .invoice-badge { display: flex; align-items: center; gap: 8px; font-size: 10px; opacity: 0; }
    .invoice-badge:nth-child(1) { animation: cine-fade 0.4s ease 1.2s forwards; }
    .invoice-badge:nth-child(2) { animation: cine-fade 0.4s ease 1.6s forwards; }
    .invoice-badge:nth-child(3) { animation: cine-fade 0.4s ease 2.0s forwards; }
    .invoice-badge strong { display: block; font-size: 9px; color: #1D1D1F; }
    .invoice-badge span:last-child { color: #8E8E93; font-size: 9px; }
    .invoice-badge-icon {
      width: 18px; height: 18px; border-radius: 50%;
      background: #34C759; color: #fff;
      display: inline-flex; align-items: center; justify-content: center;
      font-size: 10px; font-weight: 700; flex-shrink: 0;
    }
    .invoice-qr {
      background: #F9F9FB; padding: 8px 12px;
      display: flex; align-items: center; gap: 8px;
      border-top: 1px solid #E5E5EA; font-size: 9px; color: #6C6C70;
    }
    .invoice-qr svg { width: 30px; height: 30px; flex-shrink: 0; }

    /* Scene 6 endcard */
    .scene-endcard {
      background: linear-gradient(135deg, #000 0%, #1A1A1C 100%);
      color: #fff; display: flex; align-items: center; justify-content: center;
    }
    .endcard-inner { text-align: center; padding: 16px; }
    .endcard-brand {
      font-size: 11px; color: #8E8E93; text-transform: uppercase; letter-spacing: 0.15em;
      margin-bottom: 12px;
      opacity: 0; animation: cine-fade 0.6s ease 0.2s forwards;
    }
    .endcard-line {
      font-size: 17px; font-weight: 700; line-height: 1.2;
      background: linear-gradient(135deg, #34C759, #007AFF);
      -webkit-background-clip: text; background-clip: text; color: transparent;
      margin-bottom: 18px;
      opacity: 0; animation: cine-fade 0.6s ease 0.6s forwards;
    }
    .endcard-cta {
      font-size: 13px; color: #007AFF; font-weight: 500;
      opacity: 0; animation: cine-fade 0.6s ease 1.2s forwards;
    }

    .cinema-caption {
      text-align: center; color: #F2F2F7; font-size: 14px; font-weight: 500;
      margin-top: 16px; min-height: 24px; transition: opacity 0.3s ease;
    }
    .cinema-progress { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
    .cinema-progress .dot {
      width: 7px; height: 7px; border-radius: 50%;
      background: #3A3A3C; transition: all 0.3s ease;
    }
    .cinema-progress .dot.active { background: #007AFF; transform: scale(1.3); }

    /* Reduced motion: show only the endcard statically, no animation */
    @media (prefers-reduced-motion: reduce) {
      .cinema-screen .scene, .cinema-screen .scene * {
        animation: none !important;
        transition: none !important;
      }
      .cinema-screen .scene { opacity: 0; visibility: hidden; }
      .cinema-screen .scene.scene-endcard { opacity: 1; visibility: visible; }
      .cinema-progress .dot:nth-child(6) { background: #007AFF; transform: scale(1.3); }
    }
