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

@keyframes pulse-border {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 0, 128, 0.8);
  }
}

@keyframes bounce-subtle {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(255, 0, 128, 0.4), 0 0 20px rgba(255, 0, 128, 0.2), 0 0 30px rgba(255, 0, 128, 0.1);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.6), 0 0 30px rgba(255, 0, 128, 0.4), 0 0 40px rgba(255, 0, 128, 0.2);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.floating-card {
  animation: float 6s ease-in-out infinite;
}

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

.bounce-subtle {
  animation: bounce-subtle 2s ease-in-out infinite;
}

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

.game-card {
  transition: all 0.3s ease;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(255, 0, 128, 0.3);
}

.tribal-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: repeating-linear-gradient(
      45deg,
      transparent,
      transparent 35px,
      rgba(255, 0, 128, 0.1) 35px,
      rgba(255, 0, 128, 0.1) 70px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 35px,
      rgba(138, 43, 226, 0.1) 35px,
      rgba(138, 43, 226, 0.1) 70px
    );
}

.prose {
  line-height: 1.6;
}

.prose p {
  margin-bottom: 1rem;
}

.prose h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #ff0080;
}

.prose h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose ul,
.prose ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

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

.prose a {
  color: #ff0080;
  text-decoration: underline;
}

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

.prose strong {
  font-weight: 700;
}

.prose em {
  font-style: italic;
}

.prose blockquote {
  border-left: 4px solid #ff0080;
  padding-left: 1rem;
  font-style: italic;
  margin: 1.5rem 0;
  color: rgba(255, 255, 255, 0.8);
}

.prose code {
  background: rgba(255, 0, 128, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.9em;
}

.prose pre {
  background: rgba(26, 15, 46, 0.8);
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.prose pre code {
  background: none;
  padding: 0;
}

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

.prose th,
.prose td {
  padding: 0.75rem;
  border: 1px solid rgba(255, 0, 128, 0.2);
}

.prose th {
  background: rgba(255, 0, 128, 0.1);
  font-weight: bold;
}

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

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  position: relative;
  z-index: 1;
}

button:focus,
a:focus {
  outline: 2px solid #ff0080;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

::-webkit-scrollbar {
  width: 10px;
}

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

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

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