/* Custom Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse-slow {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(244, 208, 63, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(244, 208, 63, 0.6);
  }
}

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

.animate-slide-in {
  animation: slide-in 0.8s ease-out;
}

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

.shadow-glow {
  box-shadow: 0 0 30px rgba(244, 208, 63, 0.4);
}

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

/* Tribal Pattern Background */
.tribal-pattern {
  background: linear-gradient(135deg, #1a0f0a 0%, #2d1810 50%, #1a0f0a 100%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(139, 69, 19, 0.1) 10px,
      rgba(139, 69, 19, 0.1) 20px
    );
  background-blend-mode: multiply;
}

/* Scrollbar Hide */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Prose Styling for Readability */
.prose {
  color: #e5e7eb;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  color: #f4d03f;
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
}

.prose h1 {
  font-size: 2.25rem;
  line-height: 1.2;
}

.prose h2 {
  font-size: 1.875rem;
  line-height: 1.3;
}

.prose h3 {
  font-size: 1.5rem;
  line-height: 1.4;
}

.prose p {
  margin-top: 1em;
  margin-bottom: 1em;
  line-height: 1.75;
}

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

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

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

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

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

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

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

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

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}

.prose th {
  background: #1a1a1a;
  color: #f4d03f;
  padding: 0.75em;
  text-align: left;
  font-weight: 700;
}

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

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

/* Enhanced Focus States */
*:focus-visible {
  outline: 2px solid #f4d03f;
  outline-offset: 2px;
}

/* Details/Summary Enhancement */
details summary {
  transition: all 0.3s ease;
}

details[open] summary {
  margin-bottom: 1rem;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}
