/* ============================================================
   IntenseNation Speed Test — Extended Styles
   Non-critical styles loaded as external CSS (cached).
   ============================================================ */

/* ── Responsive sidebar fix ── */
@media (max-width: 1200px) {
  .ad-sidebar { display: none !important; }
}

/* ── Test animation states ── */
.testing .gauge-progress {
  animation: gauge-pulse 0.6s ease-in-out infinite;
}

@keyframes gauge-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ── Graph tooltip ── */
.graph-tooltip {
  position: absolute;
  background: var(--landing-200);
  border: 1px solid var(--whiteAlpha-200);
  border-radius: var(--radius-xl);
  padding: 0.5rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-200);
  pointer-events: none;
  z-index: 10;
  white-space: nowrap;
}

/* ── Category color dots ── */
.cat-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-100);
  display: inline-block;
  flex-shrink: 0;
}

/* ── VIP badge ── */
.vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.5625rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #c60000, #ff4444);
  color: #fff;
}

.vip-badge.tier2 {
  background: linear-gradient(135deg, #7f00bd, #c60000);
}

/* ── Scrollbar styling ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--landing-100); }
::-webkit-scrollbar-thumb { background: var(--landing-400); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-500); }

/* ── Selection ── */
::selection {
  background: var(--brand-300);
  color: #fff;
}

/* ── Focus visible ── */
:focus-visible {
  outline: 2px solid var(--brand-100);
  outline-offset: 2px;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Print styles ── */
@media print {
  .top-bar, .ad-sidebar, .mobile-ads, .btn, #startBtn, #stopBtn { display: none !important; }
  body { background: #fff; color: #000; }
  .card { border: 1px solid #ccc; }
}
