/* Hamed in University Custom Styles */

:root {
  --color-navy: #1A2B4C;
  --color-mustard: #F4B41A;
  --color-cream: #F7F4EB;
  --color-coral: #E05A47;
}

body {
  background-color: #0f1a2e;
  background-image: radial-gradient(circle at 50% 10%, #1e335a 0%, #0d1627 100%);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Card stamp for left / right decisions */
.choice-stamp {
  position: absolute;
  top: 18px;
  padding: 6px 14px;
  font-size: 16px;
  font-weight: 900;
  border-radius: 12px;
  border-width: 3px;
  border-style: solid;
  text-transform: uppercase;
  z-index: 20;
  pointer-events: none;
}

.stamp-left {
  left: 16px;
  border-color: #E05A47;
  color: #E05A47;
  background-color: rgba(224, 90, 71, 0.2);
  transform: rotate(-12deg);
}

.stamp-right {
  right: 16px;
  border-color: #2EC4B6;
  color: #2EC4B6;
  background-color: rgba(46, 196, 182, 0.2);
  transform: rotate(12deg);
}

/* Speech arrow */
.speech-arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 8px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(26, 43, 76, 0.8);
}

/* Stat Delta Indicators Animation */
.stat-delta {
  position: absolute;
  top: 2px;
  left: 4px;
  font-size: 10px;
  font-weight: 800;
  pointer-events: none;
  transition: all 0.5s ease-out;
}

.delta-up {
  color: #2EC4B6;
  transform: translateY(-8px);
  opacity: 1 !important;
}

.delta-down {
  color: #E05A47;
  transform: translateY(8px);
  opacity: 1 !important;
}

/* Card swipe physics */
#swipeCard {
  will-change: transform;
  touch-action: none;
}

/* Screen Shake on disasters */
@keyframes screenRumble {
  0% { transform: translate(0, 0) rotate(0deg); }
  20% { transform: translate(-4px, 4px) rotate(-1deg); }
  40% { transform: translate(4px, -3px) rotate(1deg); }
  60% { transform: translate(-3px, 2px) rotate(0deg); }
  80% { transform: translate(3px, -2px) rotate(1deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

.rumble {
  animation: screenRumble 0.35s ease-in-out;
}

/* Custom Scrollbar for Survival Guide */
.custom-scrollbar::-webkit-scrollbar {
  width: 5px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #F4B41A;
  border-radius: 8px;
}

/* Face animations */
@keyframes sweatDrop {
  0% { transform: translateY(0); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

.sweat-animated {
  animation: sweatDrop 1s infinite;
}