/* Neon Text Effect */
.neon-text {
  text-shadow: 0 0 10px rgba(20, 184, 166, 0.8),
               0 0 20px rgba(20, 184, 166, 0.6),
               0 0 30px rgba(20, 184, 166, 0.4);
}

/* Angular Card Effect */
.angular-card {
  position: relative;
  transition: all 0.3s ease;
}

.angular-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #14b8a6, #06b6d4, #14b8a6);
  border-radius: inherit;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.angular-card:hover::before {
  opacity: 0.3;
}

/* Particle Animation */
.particle-container {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle-container::before,
.particle-container::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: #14b8a6;
  border-radius: 50%;
  box-shadow: 0 0 10px #14b8a6;
  animation: particle-float 15s infinite ease-in-out;
}

.particle-container::before {
  left: 20%;
  animation-delay: 0s;
}

.particle-container::after {
  left: 80%;
  animation-delay: 7s;
}

@keyframes particle-float {
  0%, 100% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  50% {
    transform: translateY(-10vh) translateX(50px);
  }
}

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

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

/* Table Responsive Wrapper */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5em 0;
}

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

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

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

.prose h2 {
  color: #14b8a6;
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.3;
  text-shadow: 0 0 15px rgba(20, 184, 166, 0.3);
}

.prose h3 {
  color: #5eead4;
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.6em;
  margin-bottom: 0.8em;
  line-height: 1.4;
}

.prose h4 {
  color: #5eead4;
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.4em;
  margin-bottom: 0.6em;
}

.prose p {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  line-height: 1.7;
  color: #d1d5db;
}

.prose a {
  color: #14b8a6;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

.prose a:hover {
  color: #5eead4;
  text-decoration: underline;
}

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

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

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

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

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

.prose li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  line-height: 1.7;
  color: #d1d5db;
}

.prose li::marker {
  color: #14b8a6;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2em;
  margin-bottom: 2em;
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 0.5rem;
  overflow: hidden;
}

.prose thead {
  background-color: #1f2937;
}

.prose th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 700;
  color: #14b8a6;
  border-bottom: 2px solid rgba(20, 184, 166, 0.5);
}

.prose td {
  padding: 0.75rem 1rem;
  color: #d1d5db;
  border-bottom: 1px solid rgba(20, 184, 166, 0.2);
}

.prose tbody tr {
  background-color: rgba(17, 24, 39, 0.5);
}

.prose tbody tr:hover {
  background-color: rgba(20, 184, 166, 0.1);
}

.prose blockquote {
  border-left: 4px solid #14b8a6;
  padding-left: 1.5em;
  margin-left: 0;
  margin-right: 0;
  margin-top: 1.6em;
  margin-bottom: 1.6em;
  font-style: italic;
  color: #9ca3af;
  background-color: rgba(20, 184, 166, 0.05);
  padding-top: 1em;
  padding-bottom: 1em;
  padding-right: 1em;
  border-radius: 0 0.5rem 0.5rem 0;
}

.prose code {
  background-color: #1f2937;
  color: #14b8a6;
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.875em;
  font-family: 'Courier New', monospace;
}

.prose pre {
  background-color: #111827;
  color: #e5e7eb;
  padding: 1.25em;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin-top: 1.6em;
  margin-bottom: 1.6em;
  border: 1px solid rgba(20, 184, 166, 0.2);
}

.prose pre code {
  background-color: transparent;
  padding: 0;
  color: inherit;
  font-size: 0.875em;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin-top: 2em;
  margin-bottom: 2em;
  border: 2px solid rgba(20, 184, 166, 0.3);
}

.prose hr {
  border: 0;
  border-top: 2px solid rgba(20, 184, 166, 0.3);
  margin-top: 3em;
  margin-bottom: 3em;
}

/* Responsive Typography */
@media (max-width: 768px) {
  .prose h2 {
    font-size: 1.5rem;
  }
  
  .prose h3 {
    font-size: 1.25rem;
  }
  
  .prose {
    font-size: 0.9375rem;
  }
}

/* Ensure tables are scrollable on mobile */
@media (max-width: 768px) {
  .prose table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
}
