/* Custom styles for Orange Dynasty */
body {
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

.font-serif {
  font-family: "Times New Roman", Times, serif;
}

.font-mono {
  font-family: monospace;
}

/* Animations */
@keyframes float {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--tw-translate-x, 0)), calc(-50% + var(--tw-translate-y, -100px)));
  }
}

@keyframes pulse-glow {
  0%, 100% {
    filter: drop-shadow(0 0 2px rgba(255, 87, 34, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(255, 193, 7, 0.8));
  }
}

/* Apply pulse-glow animation to clickable elements */
.cursor-pointer {
  animation: pulse-glow 2s infinite;
}

/* Hover effect for buttons */
button:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}

button:active {
  transform: scale(0.95);
}

/* Create a parchment-like texture for some elements */
.bg-parchment {
  background-image: url("https://www.transparenttextures.com/patterns/parchment.png");
  background-color: #FFF3E0;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #FFF3E0;
}

::-webkit-scrollbar-thumb {
  background-color: #FF5722;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #F4811F;
}