/* Animation Keyframes */
@keyframes neon-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.8), 0 0 60px rgba(57, 255, 20, 0.4);
  }
}

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

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

/* Utility Classes */
.neon-pulse {
  animation: neon-pulse 2s ease-in-out infinite;
}

.neon-glow {
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.6), 0 0 40px rgba(57, 255, 20, 0.3);
  transition: box-shadow 0.3s ease;
}

.neon-glow:hover {
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.8), 0 0 60px rgba(57, 255, 20, 0.5);
}

.logo-glow {
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.8), 0 0 40px rgba(57, 255, 20, 0.4);
}

.parallax-bg {
  transform: translateZ(-1px) scale(2);
}

/* Marquee Container */
.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee-content {
  display: flex;
  animation: marquee 40s linear infinite;
  width: max-content;
}

.marquee-content:hover {
  animation-play-state: paused;
}

/* Game Cards */
.game-card {
  min-width: 280px;
  max-width: 280px;
  background: #111917;
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 0.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 136, 0.6);
}

/* Table Responsive */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.table-responsive table {
  min-width: 600px;
}

/* Prose Styling for Markdown Content */
.prose {
  color: #d1d5db;
  max-width: 100%;
}

.prose h2 {
  color: #00ff88;
  font-size: 2rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.prose h3 {
  color: #00ff88;
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.prose h4 {
  color: #39ff14;
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.prose p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #d1d5db;
  font-size: 1.0625rem;
}

.prose strong {
  color: #ffffff;
  font-weight: 600;
}

.prose em {
  font-style: italic;
  color: #e5e7eb;
}

.prose a {
  color: #00ff88;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.prose a:hover {
  color: #39ff14;
}

.prose ul,
.prose ol {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  padding-left: 1.75rem;
}

.prose ul {
  list-style-type: disc;
}

.prose ol {
  list-style-type: decimal;
}

.prose li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  color: #d1d5db;
}

.prose li::marker {
  color: #00ff88;
}

.prose ul ul,
.prose ol ol,
.prose ul ol,
.prose ol ul {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.prose blockquote {
  border-left: 4px solid #00ff88;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #9ca3af;
  background: rgba(0, 255, 136, 0.05);
  padding: 1.25rem 1.5rem;
  border-radius: 0.25rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  overflow-x: auto;
  display: block;
  max-width: 100%;
}

@media (min-width: 768px) {
  .prose table {
    display: table;
  }
}

.prose thead {
  background: #111917;
  border-bottom: 2px solid rgba(0, 255, 136, 0.3);
}

.prose th {
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 600;
  color: #00ff88;
  border: 1px solid rgba(0, 255, 136, 0.2);
}

.prose td {
  padding: 0.875rem 1rem;
  border: 1px solid rgba(0, 255, 136, 0.2);
  color: #d1d5db;
}

.prose tbody tr {
  background: #0a0e0d;
  transition: background-color 0.2s ease;
}

.prose tbody tr:hover {
  background: rgba(0, 255, 136, 0.05);
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 2rem 0;
  border: 1px solid rgba(0, 255, 136, 0.2);
}

.prose code {
  background: #111917;
  color: #39ff14;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.9375rem;
  font-family: 'Courier New', monospace;
}

.prose pre {
  background: #111917;
  padding: 1.25rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid rgba(0, 255, 136, 0.2);
}

.prose pre code {
  background: transparent;
  padding: 0;
  color: #d1d5db;
}

.prose hr {
  border: none;
  border-top: 1px solid rgba(0, 255, 136, 0.3);
  margin: 3rem 0;
}

/* Responsive Typography */
@media (max-width: 768px) {
  .prose h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
  }
  
  .prose h3 {
    font-size: 1.375rem;
    margin-top: 1.75rem;
  }
  
  .prose h4 {
    font-size: 1.125rem;
  }
  
  .prose p,
  .prose li {
    font-size: 1rem;
  }
  
  .prose table {
    font-size: 0.9375rem;
  }
  
  .prose th,
  .prose td {
    padding: 0.625rem 0.75rem;
  }
}

/* Mobile Menu Background Fix */
#mobile-menu {
  background: #111917;
  backdrop-filter: blur(10px);
}

/* Smooth Transitions */
* {
  transition-property: background-color, border-color, color, fill, stroke;
  transition-duration: 200ms;
  transition-timing-function: ease-in-out;
}
