/* Custom animations and overrides */
@keyframes parallaxFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

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

@keyframes venomPulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.6);
  }
}

@keyframes emberGlow {
  0%,
  100% {
    box-shadow: 0 0 15px rgba(251, 146, 60, 0.4);
  }
  50% {
    box-shadow: 0 0 30px rgba(251, 146, 60, 0.7);
  }
}

@keyframes dangerPulse {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
  }
  50% {
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.6);
  }
}

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

.parallax-slow {
  animation: parallaxFloat 8s ease-in-out infinite reverse;
}

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

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

/* Venom theme colors and effects */
.venom-glow {
  animation: venomPulse 3s ease-in-out infinite;
}

.ember-glow {
  animation: emberGlow 4s ease-in-out infinite;
}

.danger-pulse {
  animation: dangerPulse 2s ease-in-out infinite;
}

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

::-webkit-scrollbar-track {
  background: #0f0f0f;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #22c55e, #f59e0b);
  border-radius: 4px;
}

/* Enhanced prose styling for markdown content readability */
.prose {
  max-width: 100%;
  line-height: 1.7;
  color: #e5e7eb;
  font-size: 1.1rem;
}

.prose h2 {
  color: #22c55e;
  font-weight: 700;
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
}

.prose h3 {
  color: #f59e0b;
  font-weight: 600;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.3);
}

.prose p {
  margin-bottom: 1.25rem;
  text-align: justify;
}

.prose ul,
.prose ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

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

.prose ul li::before {
  content: "▶";
  color: #22c55e;
  font-weight: bold;
  display: inline-block;
  width: 1.5rem;
  margin-left: -1.5rem;
}

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

.prose li {
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
}

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

.prose table tbody {
  display: table;
  width: 100%;
}

.prose th,
.prose td {
  border: 1px solid #374151;
  padding: 1rem;
  text-align: left;
  white-space: normal;
}

.prose th {
  background: linear-gradient(135deg, #1f2937, #111827);
  color: #22c55e;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.prose td {
  background-color: rgba(31, 41, 55, 0.3);
}

.prose tr:nth-child(even) td {
  background-color: rgba(31, 41, 55, 0.5);
}

.prose blockquote {
  border-left: 4px solid #22c55e;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #d1d5db;
  background: rgba(34, 197, 94, 0.1);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

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

.prose strong {
  color: #f59e0b;
  font-weight: 700;
}

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

/* Responsive table wrapper for mobile */
@media (max-width: 768px) {
  .prose table {
    font-size: 0.9rem;
  }

  .prose th,
  .prose td {
    padding: 0.75rem 0.5rem;
  }
}

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

body {
  overflow: auto;
}

/* Custom button styles */
.btn-venom {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border: 2px solid #22c55e;
  transition: all 0.3s ease;
}

.btn-venom:hover {
  background: linear-gradient(135deg, #16a34a, #15803d);
  transform: translateY(-2px);
}

.btn-ember {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: 2px solid #f59e0b;
  transition: all 0.3s ease;
}

.btn-ember:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
  transform: translateY(-2px);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border: 2px solid #ef4444;
  transition: all 0.3s ease;
}

.btn-danger:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  transform: translateY(-2px);
}

/* Game card hover effects */
.game-card {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.game-card:hover {
  border-color: #22c55e;
  transform: scale(1.05);
}

/* Mobile menu animation */
.mobile-menu {
  transition: all 0.3s ease;
}

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

.mobile-menu.closed {
  transform: translateX(-100%);
}
