/* ═══════════════════════════════════════════════════════════════════
   SHRT.NAME // SYNTWAVE / NEO-CYBERPUNK AESTHETIC
   ═══════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════
   CSS VARIABLES
   ═══════════════════════════════════════════════════════════════════ */
:root {
  /* Neon Color Palette */
  --neon-cyan: #00f3ff;
  --neon-magenta: #ff00ff;
  --neon-purple: #bc13fe;
  --neon-pink: #ff0080;
  --neon-blue: #0066ff;
  --neon-green: #00ff88;

  /* Background Colors */
  --bg-void: #0a0a0f;
  --bg-grid: #1a1a2e;
  --bg-overlay: rgba(0, 0, 0, 0.85);

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #b8b8d4;
  --text-muted: #666699;

  /* Glow Intensities */
  --glow-subtle: 0 0 10px;
  --glow-medium: 0 0 20px;
  --glow-intense: 0 0 30px;

  /* Typography */
  --font-display: 'Orbitron', monospace;
  --font-mono: 'Space Mono', monospace;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Transitions */
  --transition-fast: 0.15s ease-out;
  --transition-normal: 0.3s ease-out;
  --transition-slow: 0.5s ease-out;
}

/* ═══════════════════════════════════════════════════════════════════
   BASE STYLES
   ═══════════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-mono);
  background: var(--bg-void);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Custom Cursor */
body {
  cursor: crosshair;
}

/* ═══════════════════════════════════════════════════════════════════
   CRT OVERLAY
   ═══════════════════════════════════════════════════════════════════ */
.crt-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
}

.scanlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 243, 255, 0.03) 2px,
    rgba(0, 243, 255, 0.03) 4px
  );
  animation: scanlineScroll 0.1s linear infinite;
}

@keyframes scanlineScroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(4px); }
}

.vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    transparent 50%,
    rgba(10, 10, 15, 0.8) 100%
  );
}

/* ═══════════════════════════════════════════════════════════════════
   ANIMATED GRID BACKGROUND
   ═══════════════════════════════════════════════════════════════════ */
.grid-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.grid-horizontal,
.grid-vertical {
  position: absolute;
  background: linear-gradient(
    90deg,
    transparent,
    var(--neon-cyan),
    transparent
  );
  animation: gridPulse 4s ease-in-out infinite;
}

.grid-horizontal {
  width: 200%;
  height: 2px;
  top: 50%;
  left: -50%;
  opacity: 0.3;
  transform: perspective(500px) rotateX(60deg);
}

.grid-vertical {
  width: 2px;
  height: 200%;
  left: 50%;
  top: -50%;
  opacity: 0.3;
  transform: perspective(500px) rotateY(-60deg);
}

@keyframes gridPulse {
  0%, 100% {
    opacity: 0.3;
    filter: drop-shadow(var(--glow-subtle) var(--neon-cyan));
  }
  50% {
    opacity: 0.6;
    filter: drop-shadow(var(--glow-intense) var(--neon-magenta));
  }
}

.grid-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 243, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 0, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(188, 19, 254, 0.08) 0%, transparent 50%);
  animation: glowShift 8s ease-in-out infinite;
}

@keyframes glowShift {
  0%, 100% {
    opacity: 1;
    transform: scale(1) translate(0, 0);
  }
  33% {
    opacity: 0.8;
    transform: scale(1.1) translate(-5%, 5%);
  }
  66% {
    opacity: 0.9;
    transform: scale(0.95) translate(5%, -5%);
  }
}

/* ═══════════════════════════════════════════════════════════════════
   MAIN CONTAINER
   ═══════════════════════════════════════════════════════════════════ */
.main-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════ */
.header {
  text-align: center;
  margin-bottom: var(--space-xl);
  animation: headerReveal 0.8s ease-out forwards;
  opacity: 0;
}

@keyframes headerReveal {
  from {
    opacity: 0;
    transform: translateY(-30px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  letter-spacing: -0.05em;
  margin-bottom: var(--space-sm);
  position: relative;
  display: inline-block;
}

.logo-prefix {
  color: var(--neon-cyan);
  text-shadow:
    0 0 10px var(--neon-cyan),
    0 0 20px var(--neon-cyan),
    0 0 40px var(--neon-cyan);
}

.logo-separator {
  color: var(--neon-magenta);
  animation: separatorBlink 2s infinite;
}

@keyframes separatorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.logo-suffix {
  color: var(--neon-purple);
  text-shadow:
    0 0 10px var(--neon-purple),
    0 0 20px var(--neon-purple),
    0 0 40px var(--neon-purple);
}

.tagline {
  font-family: var(--font-mono);
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  letter-spacing: 0.3em;
  color: var(--text-secondary);
  text-transform: uppercase;
  animation: glitchText 3s infinite;
}

/* Glitch Effect */
.glitch-text {
  position: relative;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.glitch-text::before {
  color: var(--neon-cyan);
  animation: glitch1 2s infinite linear alternate-reverse;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.glitch-text::after {
  color: var(--neon-magenta);
  animation: glitch2 3s infinite linear alternate-reverse;
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes glitch1 {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
}

@keyframes glitch2 {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(2px, -2px); }
  40% { transform: translate(2px, 2px); }
  60% { transform: translate(-2px, -2px); }
  80% { transform: translate(-2px, 2px); }
}

/* ═══════════════════════════════════════════════════════════════════
   FORM SECTION
   ═══════════════════════════════════════════════════════════════════ */
.form-section {
  width: 100%;
  max-width: 600px;
  animation: formReveal 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

@keyframes formReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.url-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Input Group */
.input-group {
  position: relative;
  animation: inputReveal 0.6s ease-out forwards;
  opacity: 0;
}

.input-group:nth-child(1) { animation-delay: 0.3s; }
.input-group:nth-child(2) { animation-delay: 0.4s; }

@keyframes inputReveal {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.input-label {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--neon-cyan);
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  border-left: 2px solid var(--neon-cyan);
  background: linear-gradient(90deg, rgba(0, 243, 255, 0.1), transparent);
}

.label-icon {
  font-size: 1.25rem;
}

.label-optional {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.625rem;
}

/* Neon Input */
.neon-input {
  width: 100%;
  padding: var(--space-md) var(--space-sm);
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-primary);
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(0, 243, 255, 0.2);
  border-radius: var(--radius-md);
  position: relative;
  z-index: 1;
  transition: all var(--transition-normal);
}

.neon-input::placeholder {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.neon-input:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow:
    0 0 10px rgba(0, 243, 255, 0.3),
    inset 0 0 20px rgba(0, 243, 255, 0.05);
  background: rgba(26, 26, 46, 0.95);
}

.neon-input:hover {
  border-color: rgba(0, 243, 255, 0.4);
}

/* Input Border Glow */
.input-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-md);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.neon-input:focus ~ .input-border {
  opacity: 1;
  animation: borderGlow 2s infinite;
}

@keyframes borderGlow {
  0%, 100% {
    box-shadow:
      0 0 10px rgba(0, 243, 255, 0.5),
      inset 0 0 10px rgba(0, 243, 255, 0.1);
  }
  50% {
    box-shadow:
      0 0 20px rgba(0, 243, 255, 0.8),
      inset 0 0 20px rgba(0, 243, 255, 0.2);
  }
}

/* Input Glow Overlay */
.input-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(0, 243, 255, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.neon-input:focus ~ .input-glow {
  opacity: 1;
  animation: inputGlowPulse 3s ease-in-out infinite;
}

@keyframes inputGlowPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════════
   CYBER BUTTON
   ═══════════════════════════════════════════════════════════════════ */
.cyber-button {
  position: relative;
  padding: var(--space-md);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  background: transparent;
  border: 2px solid var(--neon-magenta);
  border-radius: var(--radius-md);
  cursor: pointer;
  overflow: hidden;
  transition: all var(--transition-normal);
  animation: buttonReveal 0.6s ease-out 0.5s forwards;
  opacity: 0;
}

@keyframes buttonReveal {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.cyber-button:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-2px);
  box-shadow:
    0 0 20px rgba(0, 243, 255, 0.4),
    0 0 40px rgba(0, 243, 255, 0.2);
}

.cyber-button:active {
  transform: translateY(0);
}

.cyber-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Button Text */
.button-text {
  position: relative;
  z-index: 2;
  text-shadow: 0 0 10px var(--neon-magenta);
  transition: text-shadow var(--transition-fast);
}

.cyber-button:hover .button-text {
  text-shadow: 0 0 20px var(--neon-cyan);
}

/* Button Glitch */
.button-glitch {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      rgba(255, 0, 255, 0.1) 2px,
      rgba(255, 0, 255, 0.1) 4px
    );
  transition: opacity var(--transition-fast);
}

.cyber-button:hover .button-glitch {
  opacity: 1;
  animation: buttonGlitch 0.3s infinite;
}

@keyframes buttonGlitch {
  0% { transform: translate(0); }
  25% { transform: translate(-2px, 2px); }
  50% { transform: translate(2px, -2px); }
  75% { transform: translate(-2px, -2px); }
  100% { transform: translate(0); }
}

/* Button Scan Effect */
.button-scan {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 243, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease-out;
}

.cyber-button:hover .button-scan {
  left: 100%;
}

/* Button Glow */
.button-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(255, 0, 255, 0.2) 0%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.cyber-button:hover .button-glow {
  opacity: 1;
  animation: buttonGlowPulse 2s ease-in-out infinite;
}

@keyframes buttonGlowPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* ═══════════════════════════════════════════════════════════════════
   RESULT SECTION
   ═══════════════════════════════════════════════════════════════════ */
.result-section {
  width: 100%;
  max-width: 600px;
  margin-top: var(--space-lg);
  animation: resultReveal 0.6s ease-out forwards;
}

@keyframes resultReveal {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.result-section.hidden {
  display: none;
}

.result-container {
  background: rgba(26, 26, 46, 0.9);
  border: 1px solid var(--neon-green);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow:
    0 0 20px rgba(0, 255, 136, 0.2),
    inset 0 0 30px rgba(0, 255, 136, 0.05);
}

.result-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--neon-green),
    transparent
  );
  animation: resultScan 2s linear infinite;
}

@keyframes resultScan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Result Header */
.result-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-bottom: 1px solid rgba(0, 255, 136, 0.2);
  background: rgba(0, 255, 136, 0.05);
}

.result-status {
  font-size: 1.5rem;
  color: var(--neon-green);
  text-shadow: 0 0 10px var(--neon-green);
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.result-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--neon-green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Result Content */
.result-content {
  padding: var(--space-md);
}

.result-field {
  margin-bottom: var(--space-md);
}

.result-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.result-value {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
  overflow: hidden;
}

.result-link {
  display: block;
  color: var(--neon-cyan);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 1.125rem;
  word-break: break-all;
  transition: all var(--transition-fast);
}

.result-link:hover {
  color: var(--neon-magenta);
  text-shadow: 0 0 10px var(--neon-magenta);
}

/* Result Stats */
.result-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-sm);
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--neon-green);
  text-shadow: 0 0 10px var(--neon-green);
}

/* Result Actions */
.result-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.action-button {
  flex: 1;
  padding: var(--space-sm);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid var(--neon-green);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  transition: all var(--transition-fast);
}

.action-button:hover {
  background: rgba(0, 255, 136, 0.2);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

.action-button .btn-icon {
  font-size: 1.125rem;
}

/* QR Section */
.qr-section {
  margin-top: var(--space-md);
  text-align: center;
}

.qr-container {
  display: inline-block;
  position: relative;
  padding: var(--space-sm);
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  animation: qrReveal 0.6s ease-out forwards;
  opacity: 0;
}

@keyframes qrReveal {
  from {
    opacity: 0;
    transform: scale(0.8) rotate(-5deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

.qr-image {
  width: 150px;
  height: 150px;
  display: block;
}

.qr-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(0, 243, 255, 0.3) 50%,
    transparent 60%
  );
  background-size: 200% 200%;
  animation: qrScan 3s linear infinite;
  pointer-events: none;
}

@keyframes qrScan {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 200%; }
}

.qr-download {
  display: inline-block;
  margin-top: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.qr-download:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan);
}

/* ═══════════════════════════════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════════════════════════════ */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.modal.hidden {
  display: none;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: rgba(26, 26, 46, 0.95);
  border: 2px solid var(--neon-purple);
  border-radius: var(--radius-lg);
  overflow: hidden;
  animation: modalSlideIn 0.4s ease-out;
  box-shadow:
    0 0 30px rgba(188, 19, 254, 0.4),
    0 0 60px rgba(188, 19, 254, 0.2);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Modal Header */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md);
  border-bottom: 1px solid rgba(188, 19, 254, 0.3);
  background: rgba(188, 19, 254, 0.1);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--neon-purple);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.modal-close {
  width: 36px;
  height: 36px;
  font-size: 2rem;
  color: var(--neon-purple);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-primary);
  transform: rotate(90deg);
}

/* Modal Body */
.modal-body {
  padding: var(--space-md);
}

.stats-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(188, 19, 254, 0.2);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.stats-row:hover {
  border-color: var(--neon-purple);
  box-shadow: 0 0 10px rgba(188, 19, 254, 0.3);
}

.stats-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.stats-value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--neon-purple);
  text-shadow: 0 0 10px var(--neon-purple);
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.footer {
  margin-top: var(--space-xl);
  text-align: center;
  padding: var(--space-md);
}

.footer-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.footer-separator {
  color: var(--neon-cyan);
  opacity: 0.6;
}

.footer-link {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-link:hover {
  color: var(--neon-magenta);
  text-shadow: 0 0 10px var(--neon-magenta);
}

.footer-year {
  color: var(--text-secondary);
}

.footer-status {
  color: var(--neon-green);
  text-shadow: 0 0 10px var(--neon-green);
  animation: statusBlink 2s infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .main-container {
    padding: var(--space-md);
  }

  .logo {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .tagline {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
  }

  .result-stats {
    grid-template-columns: 1fr;
  }

  .result-actions {
    flex-direction: column;
  }

  .modal {
    padding: var(--space-sm);
  }

  .modal-content {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .main-container {
    padding: var(--space-sm);
  }

  .neon-input {
    padding: var(--space-sm);
  }

  .cyber-button {
    padding: var(--space-sm);
    font-size: 0.875rem;
  }

  .result-header,
  .result-content {
    padding: var(--space-sm);
  }

  .stat-value {
    font-size: 1rem;
  }

  .qr-image {
    width: 120px;
    height: 120px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════════ */
.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-void);
}

::-webkit-scrollbar-thumb {
  background: var(--neon-cyan);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--neon-magenta);
}

/* Selection */
::selection {
  background: rgba(0, 243, 255, 0.3);
  color: var(--text-primary);
}

/* Focus Visible */
:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 2px;
}
