/* Phanatic Server Site — Custom Styles */

/* Reset link colors — prevents WordPress theme visited-link purple bleed */
a, a:link, a:visited, a:hover, a:active {
  color: inherit;
  text-decoration: none;
}

/* Reset button styles — prevents WordPress theme button overrides */
/* :where() gives zero specificity so Tailwind utility classes always win */
:where(#phanatic-app) button {
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  outline: none;
  box-shadow: none;
  color: inherit;
  font: inherit;
  line-height: inherit;
  cursor: pointer;
}

/* Pixel font */
.font-pixel {
  font-family: 'VT323', monospace;
  font-size: 1.2rem;
}

/* Minecraft-style button */
.mc-btn {
  box-shadow: inset -4px -4px 0px 0px rgba(0,0,0,0.5),
              inset  4px  4px 0px 0px rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.mc-btn:active {
  box-shadow: inset  4px  4px 0px 0px rgba(0,0,0,0.5),
              inset -4px -4px 0px 0px rgba(255,255,255,0.2);
  transform: translateY(2px);
}

/* Minecraft-style card */
.mc-card {
  box-shadow: 4px 4px 0px 0px rgba(0,0,0,0.5);
  border: 2px solid #3a3a3a;
}

/* Text shadow for headings */
.text-shadow {
  text-shadow: 2px 2px 0px #000;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
  background: #3a3a3a;
  border: 1px solid #1a1a1a;
}
::-webkit-scrollbar-thumb:hover {
  background: #4a4a4a;
}

/* Animations */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Body reset for full‑page template */
body {
  margin: 0;
  padding: 0;
}
/* Scroll-to-top button fade */
.scroll-to-top-btn {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.scroll-to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}