/* Rhine Jam Reactor - Neon Green & Icy White Techno-Casino Theme */

@keyframes tilt {
  0%,
  100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg);
  }
}

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

@keyframes neon-pulse {
  0%,
  100% {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.8));
  }
  50% {
    opacity: 0.85;
    filter: drop-shadow(0 0 16px rgba(34, 197, 94, 1));
  }
}

@keyframes scatter-detonation {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.animate-tilt {
  animation: tilt 3s ease-in-out infinite;
}

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

.animate-neon-pulse {
  animation: neon-pulse 2s ease-in-out infinite;
}

.animate-scatter {
  animation: scatter-detonation 4s ease-in-out infinite;
}

/* Neon bar effects */
.neon-bar {
  position: relative;
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.4) 50%, rgba(34, 197, 94, 0.2) 100%);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

.neon-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(240, 253, 250, 0.8) 50%, transparent 100%);
}

/* Icy white glow */
.icy-glow {
  text-shadow: 0 0 10px rgba(240, 253, 250, 0.8), 0 0 20px rgba(240, 253, 250, 0.4);
}

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

/* Neon button hover effects */
.btn-neon {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-neon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(240, 253, 250, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-neon:hover::before {
  width: 300px;
  height: 300px;
}

/* Precision-cut borders */
.precision-border {
  border: 1px solid rgba(34, 197, 94, 0.4);
  box-shadow: inset 0 0 10px rgba(34, 197, 94, 0.1), 0 0 10px rgba(34, 197, 94, 0.1);
}

/* Techno grid pattern */
.techno-grid {
  background-image: linear-gradient(rgba(34, 197, 94, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Table responsive wrapper */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  max-width: 100%;
}

/* Prose styling for readability - Content pages */
.prose {
  max-width: 100%;
  color: #f0fdfb;
  line-height: 1.7;
}

.prose h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: #22c55e;
  text-shadow: 0 0 15px rgba(34, 197, 94, 0.5);
  line-height: 1.3;
}

.prose h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #f0fdfb;
  line-height: 1.4;
}

.prose h4 {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.875rem;
  color: #d1fae5;
  line-height: 1.4;
}

.prose p {
  margin-bottom: 1.5rem;
  font-size: clamp(1rem, 2vw, 1.0625rem);
  line-height: 1.8;
  color: #f0fdfb;
}

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

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

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

.prose li {
  margin-bottom: 0.875rem;
  padding-left: 0.5rem;
  line-height: 1.7;
  color: #f0fdfb;
}

.prose li::marker {
  color: #22c55e;
}

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

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

.prose a {
  color: #22c55e;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.prose a:hover {
  color: #16a34a;
}

.prose table {
  width: 100%;
  max-width: 100%;
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-collapse: collapse;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
}

.prose th {
  background: rgba(34, 197, 94, 0.2);
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 600;
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.prose td {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(34, 197, 94, 0.15);
  color: #f0fdfb;
}

.prose tr:hover {
  background: rgba(34, 197, 94, 0.05);
}

.prose blockquote {
  border-left: 4px solid #22c55e;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #d1fae5;
}

.prose code {
  background: rgba(34, 197, 94, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-family: monospace;
  font-size: 0.9em;
  color: #22c55e;
}

.prose pre {
  background: rgba(34, 197, 94, 0.1);
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

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

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

/* Responsive adjustments for prose */
@media (max-width: 640px) {
  .prose {
    font-size: 0.9375rem;
  }

  .prose h2 {
    margin-top: 2rem;
  }

  .prose h3 {
    margin-top: 1.75rem;
  }

  .prose ul,
  .prose ol {
    margin-left: 1rem;
  }
}
