/* Request 71: the nation's opening film (src/natvideo.js) */
#natfilm { position: fixed; inset: 0; z-index: 60; background: #0b0d09 center / cover no-repeat; overflow: hidden; animation: nfIn 0.3s ease-out; }
#natfilm.out { animation: nfOut 0.26s ease-in forwards; }
#natfilm video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.35s; }
#natfilm.on video { opacity: 1; }
#natfilm.hold video { animation: nfHold 18s linear forwards; }
#natfilm::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 18%, rgba(0,0,0,0) 62%, rgba(0,0,0,0.78) 100%); }
#natfilm .nftag { position: absolute; z-index: 2; left: 50%; top: max(14px, env(safe-area-inset-top)); transform: translateX(-50%);
  font: 900 15px/1 var(--uiFont, sans-serif); letter-spacing: 0.18em; color: #f1dc9a; padding: 6px 16px;
  border: 2px solid rgba(226, 200, 120, 0.7); border-radius: 4px; background: rgba(30, 34, 20, 0.6); text-shadow: 0 2px 0 #000; }
#natfilm .nfwait { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); color: #e8d9a6;
  font: 800 16px/1.2 var(--uiFont, sans-serif); text-shadow: 0 2px 4px #000; animation: nfPulse 1s ease-in-out infinite alternate; }
#natfilm .nfsub { position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); bottom: max(22px, calc(env(safe-area-inset-bottom) + 14px));
  width: min(64%, 900px); text-align: center; color: #fff6dc; font: 800 clamp(15px, 2.4vh, 24px)/1.45 var(--uiFont, sans-serif);
  text-shadow: 0 0 3px #000, 0 2px 0 #000, 0 0 10px rgba(0,0,0,0.9); }
#natfilm .nfsub.pop { animation: nfSub 0.35s ease-out; }
#natfilm .nfskip { position: absolute; z-index: 3; right: max(18px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  min-width: 96px; min-height: 46px; padding: 8px 18px; cursor: pointer; color: #f6e7b4; font: 900 16px/1 var(--uiFont, sans-serif);
  letter-spacing: 0.06em; text-shadow: 0 2px 0 #1a1a0e; border: 2px solid #b89a52; border-radius: 6px;
  background: linear-gradient(180deg, #5b6038 0%, #383c22 100%); box-shadow: inset 0 1px 0 rgba(255,240,190,0.35), 0 3px 0 #1c1e10, 0 6px 12px rgba(0,0,0,0.5); }
#natfilm .nfskip:hover { filter: brightness(1.18); }
#natfilm .nfskip:active { transform: translateY(2px) scale(0.97); }
@keyframes nfIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes nfOut { to { opacity: 0; } }
@keyframes nfHold { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes nfPulse { from { opacity: 0.45; } to { opacity: 1; } }
@keyframes nfSub { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
