/* Custom animations and overrides */
@keyframes neonGlow {
  0%,
  100% {
    text-shadow: 0 0 5px #ff00ff, 0 0 10px #ff00ff, 0 0 15px #ff00ff;
    box-shadow: 0 0 5px #ff00ff;
  }
  50% {
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff;
    box-shadow: 0 0 10px #00ffff;
  }
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

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

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

@keyframes particleFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Cyber neon theme overrides */
body {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a1a 50%, #0a1a1a 100%);
  color: #ffffff;
  font-family: "Courier New", monospace;
}

.neon-text {
  animation: neonGlow 2s ease-in-out infinite alternate;
}

.cyber-border {
  border: 2px solid transparent;
  background: linear-gradient(45deg, #ff00ff, #00ffff) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: exclude;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

.marquee {
  animation: marqueeScroll 20s linear infinite;
}

.tilt-hover:hover {
  animation: tiltHover 0.3s ease-in-out;
}

.particle {
  animation: particleFloat 3s ease-in-out infinite;
}

/* Prose styling for readability */
.prose h1,
.prose h2,
.prose h3 {
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff;
}

.prose p {
  color: #e0e0e0;
  line-height: 1.7;
}

.prose a {
  color: #ff00ff;
  text-decoration: none;
  border-bottom: 1px solid #ff00ff;
}

.prose a:hover {
  color: #00ffff;
  border-bottom-color: #00ffff;
  text-shadow: 0 0 5px #00ffff;
}

.prose ul li,
.prose ol li {
  color: #e0e0e0;
  margin-bottom: 0.5rem;
}

.prose table {
  border-collapse: collapse;
  width: 100%;
  background: rgba(255, 0, 255, 0.1);
}

.prose th,
.prose td {
  border: 1px solid #ff00ff;
  padding: 0.75rem;
  color: #ffffff;
}

.prose th {
  background: rgba(255, 0, 255, 0.3);
  color: #00ffff;
}

/* Button styles */
.btn-primary {
  background: linear-gradient(45deg, #ff00ff, #ff0080);
  border: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.btn-primary:hover {
  background: linear-gradient(45deg, #00ffff, #0080ff);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.7);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #00ffff;
  color: #00ffff;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #00ffff;
  color: #000000;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

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

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

/* Responsive utilities */
@media (max-width: 1024px) {
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
  }
}

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

/* Game card hover effects */
.game-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 0, 255, 0.3);
  background: rgba(0, 0, 0, 0.5);
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: #00ffff;
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid rgba(255, 0, 255, 0.3);
}

.faq-question {
  cursor: pointer;
  padding: 1rem;
  background: rgba(255, 0, 255, 0.1);
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(0, 255, 255, 0.1);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1rem;
}

.faq-answer.active {
  max-height: 500px;
  padding: 1rem;
}
