*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 4px;
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 10px rgba(200, 150, 62, 0.7);
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

::selection {
  background-color: var(--accent-gold);
  color: var(--text-primary);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@keyframes slideUpFull {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
@keyframes pulseGlow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(200, 150, 62, 0.4)); }
  50% { filter: drop-shadow(0 0 10px rgba(200, 150, 62, 0.8)); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes goldGlowPulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(200, 150, 62, 0.25);
  }
  50% {
    box-shadow: 0 0 30px rgba(200, 150, 62, 0.55), 0 0 45px rgba(200, 150, 62, 0.2);
  }
}
@keyframes goldBorderShift {
  0%, 100% {
    border-color: rgba(200, 150, 62, 0.3);
  }
  50% {
    border-color: rgba(230, 184, 92, 0.85);
  }
}
@keyframes subtleFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-4px);
  }
}
