@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Rajdhani:wght@500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --neon-cyan: #00f3ff;
  --neon-purple: #9d00ff;
  --neon-pink: #ff007f;
  --neon-green: #00ff88;
  --dark-bg: #090b10;
  --card-bg: rgba(13, 18, 30, 0.82);
  --card-border: rgba(0, 243, 255, 0.16);
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--dark-bg);
  color: #f1f5f9;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(0, 243, 255, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(157, 0, 255, 0.07) 0%, transparent 45%);
}

.font-cyber {
  font-family: 'Orbitron', monospace, sans-serif;
}

.font-tech {
  font-family: 'Rajdhani', sans-serif;
}

/* Hardware-Accelerated Glassmorphism Cards */
.glass-panel {
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.4);
  transform: translateZ(0); /* Promotes to dedicated GPU compositor layer for 60fps scrolling */
}

.glass-panel-glow {
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 243, 255, 0.35);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.12);
  transform: translateZ(0);
}

/* Dedicated High-Performance Admin Card (No backdrop-filter to guarantee ultra-fast list scrolling) */
.admin-card {
  background: rgba(12, 16, 26, 0.92);
  border: 1px solid rgba(51, 65, 85, 0.7);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transform: translateZ(0);
}

/* Neon Text Glow */
.glow-cyan {
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.6);
}

.glow-purple {
  text-shadow: 0 0 12px rgba(157, 0, 255, 0.6);
}

.glow-green {
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
}

/* Speedometer Pulse */
@keyframes pulse-ring {
  0% { transform: scale(0.97); opacity: 0.8; }
  50% { transform: scale(1.03); opacity: 0.3; }
  100% { transform: scale(0.97); opacity: 0.8; }
}

.pulsing-ring {
  animation: pulse-ring 3s infinite ease-in-out;
}

/* Progress Bars */
.progress-bar-neon {
  background: linear-gradient(90deg, #00f3ff, #9d00ff);
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #090b10;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00f3ff;
}

/* Smart AdSense Container: 100% hidden by default until real ad fills it */
.ad-container {
  display: none !important;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
  border: none !important;
  background: transparent !important;
}

/* When active ad is loaded and filled */
.ad-container:has(ins.adsbygoogle[data-ad-status="filled"]),
.ad-container:has(iframe),
.ad-container.active-ad {
  display: block !important;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Cyberpunk Clean Selection Styling */
::selection {
  background: rgba(0, 243, 255, 0.35) !important;
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(0, 243, 255, 0.6);
}
::-moz-selection {
  background: rgba(0, 243, 255, 0.35) !important;
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(0, 243, 255, 0.6);
}
font::selection,
font *::selection,
.goog-text-highlight::selection {
  background: rgba(0, 243, 255, 0.35) !important;
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(0, 243, 255, 0.6);
}

/* ========================================================
   Google Translate Silent Mode & Cyberpunk Integration
   ======================================================== */
/* Eradicate top banner */
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover,
[class*="VIpgJd-ZVi9od-aOH60e"] {
  display: none !important;
  visibility: hidden !important;
  height: 0px !important;
  max-height: 0px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  top: -9999px !important;
}

body {
  top: 0px !important;
  position: static !important;
  margin-top: 0px !important;
}

/* Eradicate ALL font background highlights across hover, active, focus, and selection */
font,
font:hover,
font:active,
font:focus,
font *,
font:hover *,
font:active *,
font:focus *,
span.goog-text-highlight,
.goog-text-highlight,
.goog-text-highlight:hover,
.goog-text-highlight:active,
.goog-text-highlight:focus,
.goog-text-highlight *,
[class*="goog-text-highlight"],
[class*="goog-text-highlight"]:hover,
[class*="goog-text-highlight"]:active,
[class*="goog-text-highlight"]:focus,
[class*="goog-text-highlight"] *,
[class*="VIpgJd"],
[class*="VIpgJd"] *,
[class*="VIpgJd"]:hover,
[class*="VIpgJd"]:active,
[class*="VIpgJd"]:focus,
html body font[style*="background"],
html body span[style*="background"] {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  outline: none !important;
  text-decoration: none !important;
}

.goog-logo-link,
.goog-te-gadget span {
  display: none !important;
}

.goog-te-gadget {
  color: transparent !important;
  font-size: 0 !important;
}

#google_translate_element {
  display: none !important;
}

/* ==========================================================================
   Actual Download Speed Cyberpunk Glow & Floating Comment Badge
   ========================================================================== */
@keyframes actual-speed-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.75), 0 0 20px rgba(0, 243, 255, 0.45);
    border-color: rgba(0, 243, 255, 0.95);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(0, 243, 255, 0), 0 0 35px rgba(0, 243, 255, 0.8), inset 0 0 16px rgba(0, 243, 255, 0.2);
    border-color: #00f3ff;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.75), 0 0 20px rgba(0, 243, 255, 0.45);
    border-color: rgba(0, 243, 255, 0.95);
  }
}

@keyframes speech-bubble-float {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -5px);
  }
}

.actual-speed-active {
  animation: actual-speed-pulse 2s infinite ease-in-out !important;
  background: rgba(0, 243, 255, 0.08) !important;
  border-color: #00f3ff !important;
  position: relative !important;
}

.speech-bubble-anim {
  animation: speech-bubble-float 2.2s ease-in-out infinite;
}

/* ==========================================================================
   Cyberpunk Security Lockdown Screen & Threat Defense Animations
   ========================================================================== */
@keyframes cyber-laser-sweep {
  0% {
    top: -5%;
    opacity: 0;
  }
  15% {
    opacity: 0.85;
  }
  85% {
    opacity: 0.85;
  }
  100% {
    top: 105%;
    opacity: 0;
  }
}

@keyframes radar-spin-cw {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes radar-spin-ccw {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes radar-ripple {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@keyframes crimson-glow-pulse {
  0%, 100% {
    box-shadow: 0 0 25px rgba(244, 63, 94, 0.25), inset 0 0 15px rgba(244, 63, 94, 0.15);
    border-color: rgba(244, 63, 94, 0.5);
  }
  50% {
    box-shadow: 0 0 45px rgba(244, 63, 94, 0.5), inset 0 0 25px rgba(244, 63, 94, 0.3);
    border-color: rgba(244, 63, 94, 0.9);
  }
}

@keyframes lockout-entry {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(15px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.lockout-card-anim {
  animation: lockout-entry 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.crimson-pulse-border {
  animation: crimson-glow-pulse 2.5s infinite ease-in-out;
}

.laser-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(244, 63, 94, 0.2), #f43f5e, #00f3ff, #f43f5e, rgba(244, 63, 94, 0.2), transparent);
  box-shadow: 0 0 15px #f43f5e, 0 0 30px rgba(244, 63, 94, 0.8);
  pointer-events: none;
  animation: cyber-laser-sweep 4s linear infinite;
  z-index: 1;
}

.radar-spinner-outer {
  animation: radar-spin-cw 14s linear infinite;
}

.radar-spinner-inner {
  animation: radar-spin-ccw 9s linear infinite;
}

.radar-wave {
  animation: radar-ripple 2.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.timer-digit-card {
  background: linear-gradient(180deg, rgba(20, 24, 38, 0.95) 0%, rgba(10, 14, 24, 0.98) 100%);
  border: 1px solid rgba(244, 63, 94, 0.35);
  box-shadow: inset 0 0 12px rgba(244, 63, 94, 0.2), 0 4px 15px rgba(0, 0, 0, 0.5);
}

