/* Custom animations and neon styling */
@keyframes neonGlow {
  0%,
  100% {
    box-shadow: 0 0 5px #ff0080, 0 0 10px #ff0080, 0 0 15px #ff0080;
  }
  50% {
    box-shadow: 0 0 10px #ff0080, 0 0 20px #ff0080, 0 0 30px #ff0080;
  }
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

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

@keyframes tiltHover {
  0% {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  }
  100% {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
  }
}

/* Neon theme base styles */
.neon-glow {
  animation: neonGlow 2s ease-in-out infinite alternate;
}

.neon-border {
  border: 2px solid transparent;
  background: linear-gradient(45deg, #ff0080, #00ffff) border-box;
  border-radius: 12px;
}

.neon-gradient {
  background: linear-gradient(135deg, #ff0080 0%, #00ffff 100%);
}

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

.dark-table {
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border: 1px solid #ff0080;
}

/* Marquee animation */
.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marqueeScroll 20s linear infinite;
}

/* Parallax effects */
.parallax-float {
  animation: parallaxFloat 3s ease-in-out infinite;
}

/* Custom button styles */
.neon-button {
  background: linear-gradient(45deg, #ff0080, #00ffff);
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.neon-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 0, 128, 0.3);
}

.neon-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.neon-button:hover::before {
  left: 100%;
}

/* Card hover effects */
.neon-card {
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid #ff0080;
  border-radius: 12px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.neon-card:hover {
  animation: tiltHover 0.3s ease forwards;
  border-color: #00ffff;
  box-shadow: 0 15px 35px rgba(0, 255, 255, 0.2);
}

/* Geometric neon accents */
.geometric-accent {
  position: relative;
}

.geometric-accent::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #ff0080, #00ffff, #ff0080);
  border-radius: inherit;
  z-index: -1;
  opacity: 0.7;
}

/* Prose styling for readability */
.prose {
  line-height: 1.7;
  color: #e0e0e0;
}

.prose h2 {
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose p {
  margin-bottom: 1.2rem;
}

.prose ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
  color: #d0d0d0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.prose th,
.prose td {
  padding: 12px;
  text-align: left;
  border: 1px solid #ff0080;
  background: rgba(26, 26, 46, 0.6);
}

.prose th {
  background: linear-gradient(45deg, #ff0080, #00ffff);
  color: white;
  font-weight: bold;
}

/* Mobile navigation */
.mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateX(0);
}

/* Responsive utilities */
@media (max-width: 1023px) {
  .desktop-only {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .mobile-only {
    display: none !important;
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #ff0080, #00ffff);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #00ffff, #ff0080);
}
