* {
  scroll-behavior: smooth;
}

body {
  background-image: 
    radial-gradient(ellipse at 20% 50%, rgba(212, 160, 48, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(196, 125, 43, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(107, 66, 38, 0.03) 0%, transparent 50%);
}

.wiki-card {
  background: #FFFFFF;
  border: 1px solid rgba(107, 66, 38, 0.2);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(107, 66, 38, 0.08), 0 1px 3px rgba(0,0,0,0.04);
}

.wiki-card:hover {
  box-shadow: 0 4px 16px rgba(107, 66, 38, 0.12), 0 2px 6px rgba(0,0,0,0.06);
}

.nav-link {
  position: relative;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #C8973E;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #6B4226 20%, #C8973E 50%, #6B4226 80%, transparent);
  border: none;
}

.badge {
  background: linear-gradient(135deg, #6B4226, #8B6340);
  color: white;
  padding: 2px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.collapsible-header {
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease;
}

.collapsible-header:hover {
  background-color: rgba(107, 66, 38, 0.04);
}

.collapsible-content {
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

.collapsible-content.collapsed {
  max-height: 0;
  opacity: 0;
}

.collapsible-content.expanded {
  max-height: 5000px;
  opacity: 1;
}

.chevron {
  transition: transform 0.3s ease;
  display: inline-block;
}

.chevron.open {
  transform: rotate(90deg);
}

.infobox {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF7F0 100%);
  border: 2px solid rgba(107, 66, 38, 0.3);
  border-top: 4px solid #6B4226;
}

.infobox-row {
  border-bottom: 1px solid rgba(107, 66, 38, 0.1);
}

.infobox-row:last-child {
  border-bottom: none;
}

.paw-print {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #E8E0D0, #D4CFC4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8B6340;
  font-size: 3rem;
  border: 1px dashed rgba(107, 66, 38, 0.3);
}

.quote-text {
  font-family: 'Crimson Pro', Georgia, serif;
  font-style: italic;
  color: #4A2E1A;
}

.banner-gradient {
  background: linear-gradient(135deg, #D4A030 0%, #C47D2B 30%, #6B4226 70%, #4A2E1A 100%);
}

.search-input {
  border: 1px solid rgba(107, 66, 38, 0.3);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.search-input:focus {
  outline: none;
  border-color: #C8973E;
  box-shadow: 0 0 0 3px rgba(200, 151, 62, 0.15);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-fade-in-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-fade-in-delay-3 { animation-delay: 0.3s; opacity: 0; }

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F5F0E8;
}
::-webkit-scrollbar-thumb {
  background: #C8973E;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #8B6340;
}