/* Global Resets & Psychological Room Aesthetic */
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

body {
  font-family: 'Tajawal', sans-serif;
  background-color: #020204;
  color: #f1f5f9;
}

.font-cairo {
  font-family: 'Cairo', sans-serif;
}

/* Atmospheric Vignette */
.vignette-overlay {
  background: radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.75) 90%),
              linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 100%, 100% 4px;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(245, 158, 11, 0.4);
  border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 158, 11, 0.8);
}

/* Anomaly Glows */
.obj-select-btn:active {
  background-color: rgba(245, 158, 11, 0.2) !important;
  border-color: #f59e0b !important;
}

/* Strike Slot Animations */
.strike-filled {
  color: #ef4444 !important;
  animation: strikePulse 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes strikePulse {
  0% { transform: scale(0.5); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* Screen Shake effect on wrong guess */
.screen-shake {
  animation: shakeEffect 0.35s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shakeEffect {
  10%, 90% { transform: translate3d(-2px, 0, 0) rotate(-0.5deg); }
  20%, 80% { transform: translate3d(3px, 0, 0) rotate(0.5deg); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0) rotate(-1deg); }
  40%, 60% { transform: translate3d(4px, 0, 0) rotate(1deg); }
}