/* Sovereign — Overrides et effets visuels */

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Hero background — halo radial + particules statiques */
.hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(99, 102, 241, 0.18), transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(6, 182, 212, 0.12), transparent 70%),
    radial-gradient(ellipse 40% 30% at 20% 40%, rgba(16, 185, 129, 0.08), transparent 70%);
}

.grid-bg {
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #0B0F18;
}
::-webkit-scrollbar-thumb {
  background: #1E2740;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2a3558;
}

/* Focus accessibility */
:focus-visible {
  outline: 2px solid #6366F1;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Details marker suppression */
summary::-webkit-details-marker {
  display: none;
}

/* Loading state on buy buttons */
button[data-buy].loading {
  pointer-events: none;
  opacity: 0.6;
  position: relative;
}
button[data-buy].loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.25), transparent);
  animation: shimmer 1.2s infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
