/* Custom cyberpunk animations and effects */

@keyframes scan {
  0% { transform: translateY(-100vh); }
  100% { transform: translateY(100vh); }
}

@keyframes glitch {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
}

@keyframes neon-pulse {
  0%, 100% { 
    box-shadow: 0 0 10px #ff7700, 0 0 20px #ff7700, 0 0 30px #ff7700;
  }
  50% { 
    box-shadow: 0 0 20px #ff7700, 0 0 30px #ff7700, 0 0 40px #ff7700;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.animate-glitch {
  animation: glitch 0.2s infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.neon-border {
  border: 2px solid #ff7700;
  box-shadow: 0 0 10px #ff7700, inset 0 0 10px rgba(255, 119, 0, 0.1);
}

.neon-text {
  text-shadow: 0 0 10px #ff7700, 0 0 20px #ff7700, 0 0 30px #ff7700;
}

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

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

::-webkit-scrollbar-thumb {
  background: #ff7700;
  border-radius: 4px;
  box-shadow: 0 0 10px #ff7700;
}

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

/* Selection color */
::selection {
  background: rgba(255, 119, 0, 0.3);
  color: white;
}

/* Button hover effects */
button:hover {
  transform: translateY(-1px);
  transition: all 0.2s ease;
}

/* Image loading effect */
img {
  transition: all 0.3s ease;
}

img:hover {
  filter: brightness(1.1) contrast(1.1);
}

/* Modal backdrop blur */
.modal-backdrop {
  backdrop-filter: blur(5px);
}

/* Custom focus styles */
button:focus,
input:focus {
  outline: 2px solid #ff7700;
  outline-offset: 2px;
}

/* Feature request styles */
.feature-request-card {
  transition: all 0.3s ease;
}

.feature-request-card:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 30px rgba(255, 119, 0, 0.3);
}

.upvote-button {
  transition: all 0.2s ease;
}

.upvote-button:hover {
  transform: scale(1.1);
}

.hologram-effect {
  position: relative;
}

.hologram-effect::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 119, 0, 0.1) 50%,
    transparent 70%
  );
  animation: hologram-scan 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hologram-scan {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .text-6xl { font-size: 3rem; }
  .text-8xl { font-size: 4rem; }
}

/* Loading animation for images */
@keyframes shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: 200px 0; }
}

.loading-shimmer {
  background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
}