/* Tailwind utilities são carregadas via CDN; este arquivo adiciona ajustes finos globais. */
:root {
  color-scheme: dark;
  --mc-bg: #0d0d0d;
  --mc-cyan: #00ffff;
  --mc-ice: #e6f1f5;
}

body {
  background-color: var(--mc-bg);
  color: var(--mc-ice);
  font-family: 'Inter', 'Exo 2', 'Orbitron', system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;
  scroll-behavior: smooth;
}

a {
  transition: color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-glow {
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.35);
}

.card-glow:hover,
.btn-glow:hover {
  box-shadow: 0 15px 40px rgba(0, 255, 255, 0.2);
}

.focus-outline:focus-visible {
  outline: 2px solid var(--mc-cyan);
  outline-offset: 3px;
}

.using-mouse .focus-outline:focus {
  outline: none;
}

.divider-neon {
  background: linear-gradient(
    90deg,
    rgba(0, 255, 255, 0) 0%,
    rgba(0, 255, 255, 0.5) 50%,
    rgba(0, 255, 255, 0) 100%
  );
  height: 1px;
}

.gradient-border {
  position: relative;
  border-radius: 1.5rem;
}

.gradient-border::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.6), rgba(230, 241, 245, 0.4));
  z-index: -1;
  opacity: 0.4;
}

.gradient-border > * {
  position: relative;
  z-index: 1;
  border-radius: calc(1.5rem - 2px);
}

.pill-filter {
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.pill-filter[aria-pressed='true'] {
  background: rgba(0, 255, 255, 0.15);
  border-color: var(--mc-cyan);
  color: var(--mc-ice);
}

.loader {
  border: 3px solid rgba(230, 241, 245, 0.1);
  border-top: 3px solid var(--mc-cyan);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.page-intro {
  background: linear-gradient(
    180deg,
    rgba(0, 255, 255, 0.08) 0%,
    rgba(13, 13, 13, 0) 100%
  );
}

/* Otimização para logo PNG */
img[src*="logo-mcdigital-Avatar.png"] {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.15));
}
