html[data-i18n-state="pending"] body[data-i18n-pending] {
  opacity: 0;
}

body[data-i18n-pending] {
  transition: opacity 0.12s linear;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.1) 3px,
    rgba(0, 0, 0, 0.1) 4px
  );
  pointer-events: none;
  z-index: 9998;
}

body::after {
  content: '';
  position: fixed;
  left: 0;
  right: 0;
  top: -120px;
  height: 120px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(5, 182, 212, 0.02) 50%,
    transparent
  );
  animation: scanline-sweep 12s linear infinite;
  pointer-events: none;
  z-index: 9997;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(5, 182, 212, 0.25);
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(5, 182, 212, 0.5);
}

input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 16px;
  width: 16px;
  background: #67E8F9;
  cursor: pointer;
  margin-top: -6px;
  box-shadow: 0 0 8px #67E8F9;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: rgba(5, 182, 212, 0.3);
}

input[type=range]:focus {
  outline: none;
}

input[type=checkbox] {
  accent-color: #05B6D4;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.text-glow {
  text-shadow: 0 0 6px currentColor;
}

.text-glow-lg {
  text-shadow: 0 0 10px rgba(103, 232, 249, 0.45);
}

.crt-border {
  border: 1px solid rgba(5, 182, 212, 0.45);
  box-shadow: 0 0 10px rgba(5, 182, 212, 0.25), inset 0 0 8px rgba(5, 182, 212, 0.04);
}

.crt-border:focus-within {
  border-color: rgba(5, 182, 212, 0.85);
  box-shadow: 0 0 14px rgba(5, 182, 212, 0.45), inset 0 0 8px rgba(5, 182, 212, 0.06);
}

.animate-flicker {
  animation: flicker 8s infinite;
}

.nav-link-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(5, 182, 212, 0.18);
  background: rgba(5, 182, 212, 0.025);
  color: rgba(165, 243, 252, 0.72);
  padding: 0.8rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.nav-link-secondary:hover,
.nav-link-secondary:focus-visible {
  border-color: rgba(103, 232, 249, 0.4);
  background: rgba(5, 182, 212, 0.06);
  color: rgba(236, 254, 255, 0.96);
  outline: none;
}

.eyebrow-label {
  color: rgba(165, 243, 252, 0.8);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@keyframes scanline-sweep {
  0% { top: -120px; }
  100% { top: 100vh; }
}

@keyframes flicker {
  0%, 88%, 90%, 92%, 100% { opacity: 1; }
  89% { opacity: 0.85; }
  91% { opacity: 0.92; }
}

body {
  background-color: #020202;
  color: white;
  overflow-x: hidden;
}
