/* Neon Effects */
.neon-glow {
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.8),
               0 0 20px rgba(0, 212, 255, 0.6),
               0 0 30px rgba(0, 212, 255, 0.4);
}

.neon-text-glow {
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.9),
               0 0 30px rgba(0, 212, 255, 0.7),
               0 0 45px rgba(255, 0, 85, 0.5);
}

.shadow-neon {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5),
              0 0 40px rgba(255, 0, 85, 0.3);
}

.shadow-neon-box {
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.4),
              0 0 60px rgba(255, 0, 85, 0.2),
              inset 0 0 20px rgba(0, 212, 255, 0.1);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #ff0055 0%, #00d4ff 100%);
  color: #ffffff;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.6),
              0 0 50px rgba(255, 0, 85, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #00d4ff;
  color: #00d4ff;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* Mobile Menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #1a1a2e;
}

.mobile-menu.active {
  max-height: 400px;
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

#burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

#burger-menu.active span:nth-child(2) {
  opacity: 0;
}

#burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Game Marquee Animation */
.game-marquee {
  position: relative;
}

.game-marquee-content {
  animation: marquee 30s linear infinite;
}

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

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

.game-marquee-content {
  display: flex;
  width: max-content;
}

.game-marquee-content::after {
  content: '';
  display: flex;
  gap: 1.5rem;
}

/* Game Cards */
.game-card {
  transition: all 0.3s ease;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

/* Parallax Effect */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.parallax-float {
  animation: float 6s ease-in-out infinite;
}

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

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

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

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

.prose h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #c0c5ce;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose p {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #d1d5db;
  font-size: 1.05rem;
  line-height: 1.7;
}

.prose a {
  color: #00d4ff;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
}

.prose a:hover {
  color: #ff0055;
  border-bottom-color: #ff0055;
  text-shadow: 0 0 8px rgba(255, 0, 85, 0.4);
}

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

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

.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-top: 0.75rem;
  margin-bottom: 0.75rem;
  color: #d1d5db;
  line-height: 1.6;
}

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

.prose blockquote {
  border-left: 4px solid #00d4ff;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #c0c5ce;
  background: rgba(0, 212, 255, 0.05);
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-radius: 0 0.5rem 0.5rem 0;
}

.prose table {
  width: 100%;
  max-width: 100%;
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
  background: #1a1a2e;
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

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

.prose th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #00d4ff;
  font-size: 0.95rem;
}

.prose td {
  padding: 1rem;
  border-bottom: 1px solid rgba(192, 197, 206, 0.1);
  color: #d1d5db;
}

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

.prose tbody tr:last-child td {
  border-bottom: none;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.prose code {
  background: #1a1a2e;
  color: #00d4ff;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.9em;
  font-family: 'Courier New', monospace;
}

.prose pre {
  background: #1a1a2e;
  padding: 1.5rem;
  border-radius: 0.75rem;
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

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

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

/* Responsive Typography */
@media (max-width: 768px) {
  .prose h2 {
    font-size: 1.65rem;
  }
  
  .prose h3 {
    font-size: 1.35rem;
  }
  
  .prose p, .prose li {
    font-size: 1rem;
  }
  
  .prose table {
    font-size: 0.9rem;
  }
}

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

/* Selection Color */
::selection {
  background: rgba(0, 212, 255, 0.3);
  color: #ffffff;
}

::-moz-selection {
  background: rgba(0, 212, 255, 0.3);
  color: #ffffff;
}
