/* PMP iTest — custom styles (Tailwind via CDN handles utilities) */
html { scroll-behavior: smooth; }
body { font-family: "Inter", ui-sans-serif, system-ui, sans-serif; background: #0b0e1f; }
::selection { background: #4f46e5; color: white; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #151a36; }
::-webkit-scrollbar-thumb { background: #3b4270; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #4f46e5; }

@keyframes recPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.85); } }
.rec-dot { animation: recPulse 1.4s ease-in-out infinite; }

@keyframes scanline { 0% { top: 0%; } 50% { top: calc(100% - 2px); } 100% { top: 0%; } }
.face-scanline { animation: scanline 3.2s ease-in-out infinite; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.floaty { animation: floaty 5s ease-in-out infinite; }

@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.fade-slide-up { animation: fadeSlideUp .55s ease both; }

@keyframes warningFlash { 0%,100% { background-color: rgba(239,68,68,.14); } 50% { background-color: rgba(239,68,68,.32); } }
.violation-flash { animation: warningFlash .9s ease-in-out 3; }

.option-card { transition: all .15s ease; }
.option-card:hover { transform: translateX(3px); }

.gradient-text { background: linear-gradient(100deg,#4f46e5 10%,#7c3aed 45%,#db2777 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-grid {
  background-image: linear-gradient(rgba(99,102,241,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(99,102,241,.08) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, black 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, black 40%, transparent 100%);
}

.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
input, select, textarea { color-scheme: dark; }
select option { background: #141936; }
