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

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

/* Animation: Floating element */
@keyframes floating {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.floating-element {
  animation: floating 3s ease-in-out infinite;
}

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

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

/* Glow border effect */
.glow-border {
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

/* Prose styling for better readability */
.prose {
  line-height: 1.7;
}

.prose p {
  margin-bottom: 1.25em;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  font-weight: 700;
  line-height: 1.3;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
}

.prose h1 {
  font-size: 2.25em;
}

.prose h2 {
  font-size: 1.875em;
}

.prose h3 {
  font-size: 1.5em;
}

.prose a {
  color: #ffd700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose a:hover {
  color: #ffc700;
}

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

.prose li {
  margin-bottom: 0.5em;
}

.prose blockquote {
  border-left: 4px solid #ffd700;
  padding-left: 1em;
  font-style: italic;
  color: #9ca3af;
}

.prose code {
  background-color: #1a1a1a;
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

.prose pre {
  background-color: #1a1a1a;
  padding: 1em;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin-bottom: 1.25em;
}

.prose img {
  border-radius: 0.5rem;
  margin: 1.5em 0;
}

.prose table {
  width: 100%;
  margin-bottom: 1.25em;
}

.prose th {
  text-align: left;
  font-weight: 700;
  padding: 0.75em;
  border-bottom: 2px solid #374151;
}

.prose td {
  padding: 0.75em;
  border-bottom: 1px solid #374151;
}

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

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #ffd700;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ffc700;
}

/* Smooth transitions */
* {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Remove transition from animations */
[class*="animate-"],
[class*="floating"],
[class*="pulse"],
[class*="marquee"] {
  transition: none;
}
