
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Space+Mono:ital,wght@0,400;0,700;1,400&family=VT323&display=swap');

body {
  background-color: #f4f4f0;
  color: #1a1a1a;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, .serif {
  font-family: 'Playfair Display', serif;
}

.font-mono {
  font-family: 'Space Mono', monospace;
}

.font-pixel {
  font-family: 'VT323', monospace;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f4f4f0; 
}
::-webkit-scrollbar-thumb {
  background: #1a1a1a; 
}
::-webkit-scrollbar-thumb:hover {
  background: #e63946; 
}

/* Utilities */
.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Navigation Active State */
.nav-link.active {
  color: #e63946; /* red-600 */
  border-bottom: 1px solid #e63946;
  padding-bottom: 4px;
}

/* Mobile Menu */
#mobile-menu.visible-menu {
  opacity: 1;
  pointer-events: auto;
}

/* Interactive Silhouette */
.body-part-path:hover {
  stroke: #ef4444;
  stroke-width: 2;
}
.body-part-group.revealed .body-part-path {
  fill: #b91c1c; /* Red */
  filter: drop-shadow(0 0 5px rgba(220, 38, 38, 0.5));
}
.body-part-group.revealed text {
  opacity: 1;
}

/* Ping Animation for Global Map */
@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}
.animate-ping {
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Disappearing Board */
.overlay-block:active {
  transform: scale(0.98);
}
.overlay-block.cleared {
  opacity: 0;
  pointer-events: none;
}

/* Scanner Animation */
@keyframes scan {
  0%, 100% { top: 0; }
  50% { top: 100%; }
}
.animate-scan {
  animation: scan 3s ease-in-out infinite;
}

/* Marquee Animation */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-marquee {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}
