@keyframes fall {
  to {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

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

::-webkit-scrollbar-track {
  background: #1e1e1e;
}

::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Code block styling */
pre[class*="language-"] {
  margin: 0;
  background: transparent !important;
  padding: 0 !important;
}

code[class*="language-"] {
  font-family: 'Fira Code', Consolas, Monaco, monospace !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

/* Prism theme overrides for better visibility */
.token.comment {
  color: #6a9955 !important;
}

.token.keyword {
  color: #569cd6 !important;
}

.token.string {
  color: #ce9178 !important;
}

.token.function {
  color: #dcdcaa !important;
}

.token.number {
  color: #b5cea8 !important;
}

/* Smooth transitions */
* {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

button, a {
  transition: all 0.2s ease;
}