/* ═══════════════════════════════════════════════════════════
   CYBERFILES - CYBERPUNK THEME
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Share+Tech+Mono&display=swap');

:root {
  /* Cyberpunk Color Palette */
  --neon-pink: #ff00ff;
  --neon-cyan: #00ffff;
  --neon-yellow: #ffff00;
  --neon-green: #00ff00;
  --neon-orange: #ff6600;
  --neon-purple: #bf00ff;
  --neon-blue: #0080ff;
  
  /* Dark backgrounds */
  --bg-dark: #0a0a0f;
  --bg-darker: #050508;
  --bg-card: rgba(15, 15, 25, 0.9);
  --bg-card-hover: rgba(25, 25, 40, 0.95);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--neon-pink), var(--neon-cyan));
  --gradient-secondary: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
  --gradient-success: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
  --gradient-danger: linear-gradient(135deg, #ff0040, var(--neon-orange));
  
  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #b0b0c0;
  --text-muted: #606080;
  
  /* Glows */
  --glow-pink: 0 0 10px var(--neon-pink), 0 0 20px var(--neon-pink), 0 0 40px var(--neon-pink);
  --glow-cyan: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan), 0 0 40px var(--neon-cyan);
  --glow-green: 0 0 10px var(--neon-green), 0 0 20px var(--neon-green);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ═══════════════════════════════════════════════════════════
   BASE STYLES & ANIMATIONS
   ═══════════════════════════════════════════════════════════ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Rajdhani', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Animated background grid */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* Scanline effect */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15) 0px,
    rgba(0, 0, 0, 0.15) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  z-index: 9999;
  animation: scanlines 0.1s linear infinite;
}

@keyframes scanlines {
  0% { transform: translateY(0); }
  100% { transform: translateY(2px); }
}

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cyber-title {
  font-size: 3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 0, 255, 0.5);
  animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% { filter: brightness(1); }
  100% { filter: brightness(1.3); }
}

.glitch {
  position: relative;
  animation: glitch 3s infinite;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch::before {
  animation: glitchTop 1s linear infinite;
  clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.glitch::after {
  animation: glitchBottom 1.5s linear infinite;
  clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
  -webkit-clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
}

@keyframes glitch {
  2%, 64% { transform: translate(2px, 0) skew(0deg); }
  4%, 60% { transform: translate(-2px, 0) skew(0deg); }
  62% { transform: translate(0, 0) skew(5deg); }
}

@keyframes glitchTop {
  2%, 64% { transform: translate(2px, -2px); }
  4%, 60% { transform: translate(-2px, 2px); }
  62% { transform: translate(13px, -1px) skew(-13deg); }
}

@keyframes glitchBottom {
  2%, 64% { transform: translate(-2px, 0); }
  4%, 60% { transform: translate(-2px, 0); }
  62% { transform: translate(-22px, 5px) skew(21deg); }
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS - Angular Cyberpunk Style with Gradient Border
   ═══════════════════════════════════════════════════════════ */

.cyber-btn {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: transparent;
  color: var(--text-primary);
  transition: all var(--transition-normal);
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255, 0, 255, 0.3);
  user-select: none;
  clip-path: polygon(
    0 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% 100%,
    12px 100%,
    0 calc(100% - 12px)
  );
}

.cyber-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  z-index: -2;
  clip-path: polygon(
    0 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% 100%,
    12px 100%,
    0 calc(100% - 12px)
  );
}

.cyber-btn::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: var(--bg-dark);
  z-index: -1;
  transition: all var(--transition-normal);
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% 100%,
    10px 100%,
    0 calc(100% - 10px)
  );
}

.cyber-btn:hover::after {
  background: linear-gradient(135deg, rgba(255, 0, 255, 0.4), rgba(0, 255, 255, 0.3));
}

.cyber-btn:hover {
  box-shadow: 
    0 0 20px rgba(0, 255, 255, 0.4),
    0 0 40px rgba(255, 0, 255, 0.2);
  transform: translateY(-2px);
}

.cyber-btn:active {
  transform: translateY(0);
}

/* Cyber button with clip path - legacy support */
.cyber-btn-clip {
  clip-path: polygon(
    0 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% 100%,
    12px 100%,
    0 calc(100% - 12px)
  );
}

/* Secondary button */
.cyber-btn-secondary::before {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
}

.cyber-btn-secondary:hover::after {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(0, 128, 255, 0.2));
}

.cyber-btn-secondary:hover {
  box-shadow: 
    0 0 20px rgba(0, 255, 255, 0.4),
    0 0 40px rgba(0, 128, 255, 0.2);
}

/* Success button */
.cyber-btn-success::before {
  background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
}

.cyber-btn-success:hover::after {
  background: linear-gradient(135deg, rgba(0, 255, 0, 0.2), rgba(0, 255, 255, 0.2));
}

.cyber-btn-success:hover {
  box-shadow: 
    0 0 20px rgba(0, 255, 0, 0.4),
    0 0 40px rgba(0, 255, 255, 0.2);
}

/* Danger button */
.cyber-btn-danger::before {
  background: linear-gradient(135deg, #ff0040, var(--neon-orange));
}

.cyber-btn-danger:hover::after {
  background: linear-gradient(135deg, rgba(255, 0, 64, 0.3), rgba(255, 102, 0, 0.2));
}

.cyber-btn-danger:hover {
  box-shadow: 
    0 0 20px rgba(255, 0, 64, 0.4),
    0 0 40px rgba(255, 102, 0, 0.2);
}

/* Small button */
.cyber-btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

/* ═══════════════════════════════════════════════════════════
   INPUT FIELDS
   ═══════════════════════════════════════════════════════════ */

.cyber-input-group {
  position: relative;
  margin-bottom: 25px;
}

.cyber-input {
  width: 100%;
  padding: 15px 20px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1rem;
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid var(--neon-cyan);
  outline: none;
  transition: all var(--transition-normal);
}

.cyber-input:focus {
  border-color: var(--neon-pink);
  box-shadow: var(--glow-pink), inset 0 0 20px rgba(255, 0, 255, 0.1);
}

.cyber-input::placeholder {
  color: var(--text-muted);
}

.cyber-label {
  position: absolute;
  top: -10px;
  left: 15px;
  padding: 0 10px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--neon-cyan);
  background: var(--bg-dark);
}

/* ═══════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════ */

.cyber-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 255, 255, 0.2);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.cyber-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
}

.cyber-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 0, 255, 0.1),
    transparent
  );
  transition: all 0.5s;
}

.cyber-card:hover {
  border-color: var(--neon-pink);
  box-shadow: 0 0 30px rgba(255, 0, 255, 0.2);
  transform: translateY(-5px);
}

.cyber-card:hover::after {
  left: 100%;
}

/* Clipped card corners */
.cyber-card-clip {
  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% 100%,
    20px 100%,
    0 calc(100% - 20px)
  );
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════ */

.cyber-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 30px;
  background: rgba(5, 5, 10, 0.95);
  border-bottom: 1px solid var(--neon-cyan);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.cyber-nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gradient-primary);
  animation: navGlow 3s linear infinite;
}

@keyframes navGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.cyber-nav-brand {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  text-decoration: none;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cyber-nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.cyber-nav-link {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  color: var(--text-secondary);
  position: relative;
  padding: 10px 0;
  transition: all var(--transition-normal);
}

.cyber-nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
}

.cyber-nav-link:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan);
}

.cyber-nav-link:hover::before {
  width: 100%;
}

.cyber-nav-link.active {
  color: var(--neon-pink);
}

.cyber-nav-link.active::before {
  width: 100%;
  background: var(--neon-pink);
}

/* Mobile Menu Toggle */
.cyber-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--neon-cyan);
  cursor: pointer;
  padding: 8px;
  gap: 5px;
  transition: all var(--transition-normal);
}

.cyber-nav-toggle:hover {
  border-color: var(--neon-pink);
  box-shadow: 0 0 10px var(--neon-pink);
}

.cyber-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--neon-cyan);
  transition: all var(--transition-normal);
}

.cyber-nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background: var(--neon-pink);
}

.cyber-nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.cyber-nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background: var(--neon-pink);
}

@media (max-width: 768px) {
  .cyber-nav-toggle {
    display: flex;
    order: 1;
  }

  .cyber-nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(5, 5, 10, 0.98);
    border-top: 1px solid var(--neon-cyan);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .cyber-nav-links.active {
    max-height: 400px;
    padding: 15px 0;
    border-bottom: 1px solid var(--neon-pink);
  }

  .cyber-nav-links li {
    width: 100%;
    text-align: center;
  }

  .cyber-nav-link {
    display: block;
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .cyber-nav-link::before {
    display: none;
  }

  .cyber-nav-link:hover,
  .cyber-nav-link.active {
    background: rgba(255, 0, 255, 0.1);
  }
}

/* ═══════════════════════════════════════════════════════════
   PROGRESS BAR
   ═══════════════════════════════════════════════════════════ */

.cyber-progress {
  width: 100%;
  height: 25px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--neon-cyan);
  position: relative;
  overflow: hidden;
}

.cyber-progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  position: relative;
  transition: width 0.3s ease;
  animation: progressPulse 1.5s ease-in-out infinite;
}

@keyframes progressPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.cyber-progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: progressShine 1.5s linear infinite;
}

@keyframes progressShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.cyber-progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
  z-index: 10;
}

/* Circular progress */
.cyber-progress-circle {
  width: 100px;
  height: 100px;
  position: relative;
}

.cyber-progress-circle svg {
  transform: rotate(-90deg);
}

.cyber-progress-circle-bg {
  fill: none;
  stroke: rgba(0, 255, 255, 0.2);
  stroke-width: 8;
}

.cyber-progress-circle-bar {
  fill: none;
  stroke: url(#progressGradient);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 0.5s ease;
  filter: drop-shadow(0 0 6px var(--neon-pink));
}

.cyber-progress-circle-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--neon-cyan);
}

/* ═══════════════════════════════════════════════════════════
   FILE LIST
   ═══════════════════════════════════════════════════════════ */

.file-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all var(--transition-normal);
}

.file-item:hover {
  border-color: var(--neon-pink);
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
}

.file-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-secondary);
  font-size: 1.5rem;
  border-radius: 6px;
  overflow: hidden;
}

/* Thumbnail images in file icons */
.file-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.file-info {
  flex: 1;
}

.file-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--neon-cyan);
  margin-bottom: 5px;
}

.file-meta {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.file-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.file-actions .cyber-btn {
  position: relative;
  z-index: 10;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* ═══════════════════════════════════════════════════════════
   FRIEND LIST
   ═══════════════════════════════════════════════════════════ */

.friend-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 15px 20px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all var(--transition-normal);
}

.friend-item:hover {
  border-color: var(--neon-cyan);
}

.friend-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--neon-pink);
  object-fit: cover;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Avatar as image */
img.friend-avatar {
  object-fit: cover;
  background: var(--bg-card);
}

.friend-info {
  flex: 1;
  min-width: 120px;
}

.friend-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.friend-status {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.friend-item .file-actions {
  flex-shrink: 0;
}

.friend-status.online {
  color: var(--neon-green);
}

/* ═══════════════════════════════════════════════════════════
   NOTIFICATIONS / BADGES
   ═══════════════════════════════════════════════════════════ */

.cyber-badge {
  display: inline-block;
  padding: 5px 15px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--gradient-primary);
  color: var(--bg-dark);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 5px var(--neon-pink); }
  50% { box-shadow: 0 0 15px var(--neon-pink), 0 0 25px var(--neon-cyan); }
}

.cyber-badge-success {
  background: var(--gradient-success);
}

.cyber-badge-warning {
  background: linear-gradient(135deg, var(--neon-yellow), var(--neon-orange));
}

.cyber-badge-pending {
  background: var(--gradient-secondary);
}

.notification-count {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  background: var(--neon-pink);
  border-radius: 50%;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-dark);
  animation: notificationPulse 1s ease-in-out infinite;
}

@keyframes notificationPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* ═══════════════════════════════════════════════════════════
   MODALS
   ═══════════════════════════════════════════════════════════ */

.cyber-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.cyber-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cyber-modal {
  background: var(--bg-card);
  border: 2px solid var(--neon-cyan);
  padding: 40px;
  max-width: 500px;
  width: 90%;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: all var(--transition-normal);
}

.cyber-modal-overlay.active .cyber-modal {
  transform: scale(1) translateY(0);
}

.cyber-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
}

.cyber-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  background: transparent;
  border: 1px solid var(--neon-pink);
  color: var(--neon-pink);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cyber-modal-close:hover {
  background: var(--neon-pink);
  color: var(--bg-dark);
  box-shadow: var(--glow-pink);
}

/* Social Link Styles for Profile Modal */
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  color: var(--neon-cyan);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: rgba(255, 0, 255, 0.2);
  border-color: var(--neon-pink);
  color: var(--neon-pink);
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

a.social-link {
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════
   UPLOAD ZONE
   ═══════════════════════════════════════════════════════════ */

.upload-zone {
  border: 3px dashed var(--neon-cyan);
  padding: 60px 40px;
  text-align: center;
  background: rgba(0, 255, 255, 0.02);
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.upload-zone::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.1), transparent);
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
  border-radius: 50%;
}

.upload-zone:hover::before {
  width: 300%;
  height: 300%;
}

.upload-zone:hover {
  border-color: var(--neon-pink);
  background: rgba(255, 0, 255, 0.05);
}

.upload-zone.dragover {
  border-color: var(--neon-green);
  background: rgba(0, 255, 0, 0.1);
  animation: dragoverPulse 0.5s ease infinite alternate;
}

@keyframes dragoverPulse {
  0% { box-shadow: inset 0 0 30px rgba(0, 255, 0, 0.2); }
  100% { box-shadow: inset 0 0 50px rgba(0, 255, 0, 0.4); }
}

.upload-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  color: var(--neon-cyan);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.upload-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.upload-subtext {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ═══════════════════════════════════════════════════════════
   CONTAINERS & LAYOUT
   ═══════════════════════════════════════════════════════════ */

.cyber-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 30px 50px;
}

.cyber-container-sm {
  max-width: 500px;
}

.cyber-container-md {
  max-width: 800px;
}

.cyber-grid {
  display: grid;
  gap: 30px;
}

.cyber-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.cyber-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ═══════════════════════════════════════════════════════════
   LANDING PAGE HERO
   ═══════════════════════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  position: relative;
}

.hero-title {
  font-size: 5rem;
  margin-bottom: 20px;
  position: relative;
}

.hero-subtitle {
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Floating cyber elements */
.cyber-element {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  animation: cyberFloat 10s ease-in-out infinite;
  pointer-events: none;
}

.cyber-element:nth-child(1) {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.cyber-element:nth-child(2) {
  top: 20%;
  right: 10%;
  animation-delay: 2s;
  width: 150px;
  height: 150px;
}

.cyber-element:nth-child(3) {
  bottom: 15%;
  left: 15%;
  animation-delay: 4s;
  width: 100px;
  height: 100px;
}

@keyframes cyberFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
    opacity: 0.6;
  }
}

/* ═══════════════════════════════════════════════════════════
   DASHBOARD STATS
   ═══════════════════════════════════════════════════════════ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 255, 255, 0.2);
  padding: 25px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.stat-card:nth-child(1)::before {
  background: var(--neon-pink);
}

.stat-card:nth-child(2)::before {
  background: var(--neon-cyan);
}

.stat-card:nth-child(3)::before {
  background: var(--neon-green);
}

.stat-card:nth-child(4)::before {
  background: var(--neon-purple);
}

.stat-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px;
}

/* ═══════════════════════════════════════════════════════════
   PROFILE
   ═══════════════════════════════════════════════════════════ */

.profile-header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--neon-pink);
  box-shadow: var(--glow-pink);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  font-weight: 900;
}

.profile-info h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--neon-cyan);
}

.profile-info p {
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════
   TABS
   ═══════════════════════════════════════════════════════════ */

.cyber-tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.cyber-tab {
  padding: 15px 30px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-normal);
}

.cyber-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
}

.cyber-tab:hover {
  color: var(--text-secondary);
}

.cyber-tab.active {
  color: var(--neon-pink);
}

.cyber-tab.active::after {
  width: 100%;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════════════════
   ALERTS
   ═══════════════════════════════════════════════════════════ */

.cyber-alert {
  padding: 15px 20px;
  border-left: 4px solid var(--neon-cyan);
  background: rgba(0, 255, 255, 0.1);
  margin-bottom: 20px;
  font-family: 'Share Tech Mono', monospace;
  animation: alertSlide 0.3s ease;
}

@keyframes alertSlide {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.cyber-alert-success {
  border-color: var(--neon-green);
  background: rgba(0, 255, 0, 0.1);
}

.cyber-alert-error {
  border-color: #ff0040;
  background: rgba(255, 0, 64, 0.1);
}

.cyber-alert-warning {
  border-color: var(--neon-yellow);
  background: rgba(255, 255, 0, 0.1);
}

/* ═══════════════════════════════════════════════════════════
   LOADING STATES
   ═══════════════════════════════════════════════════════════ */

.cyber-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.cyber-loader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(0, 255, 255, 0.2);
  border-top-color: var(--neon-cyan);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.cyber-loader-text {
  font-family: 'Share Tech Mono', monospace;
  margin-left: 15px;
  animation: blink 1s ease infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ═══════════════════════════════════════════════════════════
   SEARCH
   ═══════════════════════════════════════════════════════════ */

.search-container {
  position: relative;
  margin-bottom: 30px;
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--neon-cyan);
  border-top: none;
  max-height: 300px;
  overflow-y: auto;
  z-index: 100;
  display: none;
}

.search-results.active {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-result-item:hover {
  background: rgba(0, 255, 255, 0.1);
}

/* ═══════════════════════════════════════════════════════════
   SCROLLBAR
   ═══════════════════════════════════════════════════════════ */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--neon-pink);
}

/* ═══════════════════════════════════════════════════════════
   DESKTOP ONLY - FILE ITEM LAYOUT FIX
   ═══════════════════════════════════════════════════════════ */

@media (min-width: 1025px) {
  .file-item {
    flex-wrap: wrap;
  }

  .file-info {
    flex: 1 1 calc(100% - 90px);
    max-width: calc(100% - 90px);
  }

  .file-actions {
    width: 100%;
    justify-content: flex-start;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE - TABLET & MOBILE
   ═══════════════════════════════════════════════════════════ */

/* Large Tablet (1024px and below) */
@media (max-width: 1024px) {
  .cyber-container {
    padding: 90px 20px 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .quick-actions {
    flex-wrap: wrap;
  }

  .quick-action {
    flex: 1 1 calc(50% - 10px);
    min-width: 150px;
  }
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .cyber-title {
    font-size: 2rem;
  }

  .cyber-nav {
    padding: 10px 15px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .cyber-nav-brand {
    font-size: 1.2rem;
  }

  .cyber-nav-links {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    order: 2;
  }

  .cyber-nav-link {
    font-size: 0.7rem;
    padding: 8px 5px;
    letter-spacing: 0.5px;
  }

  .cyber-container {
    padding: 120px 15px 30px;
  }

  .cyber-card {
    padding: 20px;
  }

  .profile-header {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 20px;
  }

  .profile-avatar {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
  }

  .profile-info h1 {
    font-size: 1.5rem;
  }

  .cyber-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cyber-tab {
    padding: 10px 15px;
    font-size: 0.75rem;
    flex: 1 1 auto;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat-card {
    padding: 15px;
  }

  .stat-value {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .file-item {
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px;
  }

  .file-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .file-info {
    flex: 1 1 calc(100% - 60px);
    min-width: 0;
  }

  .file-name {
    font-size: 0.9rem;
    word-break: break-word;
  }

  .file-meta {
    font-size: 0.75rem;
  }

  .file-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }

  .friend-item {
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
  }

  .friend-avatar {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .friend-info {
    flex: 1 1 calc(100% - 60px);
    min-width: 0;
  }

  .friend-name {
    font-size: 0.9rem;
  }

  .friend-status {
    font-size: 0.75rem;
  }

  .quick-actions {
    flex-direction: column;
    gap: 10px;
  }

  .quick-action {
    flex: 1 1 100%;
    padding: 15px;
  }

  .quick-action-icon {
    font-size: 1.5rem;
  }

  .quick-action-text {
    font-size: 0.8rem;
  }

  .cyber-btn {
    padding: 12px 25px;
    font-size: 0.85rem;
    letter-spacing: 1px;
  }

  .cyber-btn-sm {
    padding: 6px 12px;
    font-size: 0.7rem;
  }

  .cyber-modal {
    padding: 25px;
    margin: 15px;
    width: calc(100% - 30px);
  }

  .cyber-modal-title {
    font-size: 1.3rem;
  }

  .upload-zone {
    padding: 30px 20px;
  }

  .upload-icon {
    font-size: 3rem;
  }

  .upload-text {
    font-size: 1rem;
  }

  .upload-subtext {
    font-size: 0.8rem;
  }

  .hero {
    padding: 20px;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .hero-buttons .cyber-btn {
    width: 100%;
  }

  .cyber-element {
    display: none;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .search-container {
    margin-bottom: 20px;
  }

  .cyber-input {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }

  .cyber-title {
    font-size: 1.5rem;
  }

  .cyber-nav {
    padding: 10px;
  }

  .cyber-nav-brand {
    font-size: 1rem;
    width: 100%;
    text-align: center;
  }

  .cyber-nav-links {
    gap: 5px;
    justify-content: center;
  }

  .cyber-nav-link {
    font-size: 0.65rem;
    padding: 6px 4px;
  }

  .cyber-container {
    padding: 130px 10px 20px;
  }

  .cyber-card {
    padding: 15px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .stat-card {
    padding: 12px 8px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.65rem;
    letter-spacing: 0.5px;
  }

  .file-item,
  .friend-item {
    padding: 12px;
  }

  .file-actions {
    gap: 5px;
  }

  .cyber-btn-sm {
    padding: 5px 10px;
    font-size: 0.65rem;
  }

  .profile-avatar {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }

  .profile-info h1 {
    font-size: 1.3rem;
  }

  .cyber-tab {
    padding: 8px 10px;
    font-size: 0.65rem;
  }

  .cyber-progress {
    height: 20px;
  }

  .cyber-progress-text {
    font-size: 0.7rem;
  }

  .cyber-modal {
    padding: 20px 15px;
  }

  .cyber-modal-title {
    font-size: 1.1rem;
  }

  .upload-zone {
    padding: 25px 15px;
  }

  .upload-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }

  .upload-text {
    font-size: 0.9rem;
  }

  .upload-subtext {
    font-size: 0.75rem;
  }

  .cyber-alert {
    padding: 15px;
    font-size: 0.85rem;
  }

  .dashboard-title {
    font-size: 1.8rem !important;
  }

  .welcome-text {
    font-size: 0.85rem;
  }

  .online-indicator {
    font-size: 0.75rem;
  }

  .section-title {
    font-size: 1rem;
  }

  .cyber-badge {
    padding: 3px 10px;
    font-size: 0.6rem;
  }

  .search-result-item {
    padding: 12px 15px;
    gap: 10px;
  }
}

/* Extra small devices (360px and below) */
@media (max-width: 360px) {
  .cyber-nav-link {
    font-size: 0.6rem;
    padding: 5px 3px;
  }

  .cyber-nav-brand {
    font-size: 0.9rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 15px;
  }

  .stat-card::before {
    width: 3px;
  }

  .stat-value {
    font-size: 1.8rem;
    order: 2;
  }

  .stat-label {
    margin-top: 0;
    order: 1;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .cyber-btn {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
}

/* Landscape mode adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 80px 20px 40px;
  }

  .cyber-container {
    padding-top: 80px;
  }

  .cyber-nav {
    padding: 8px 15px;
  }
}

/* ═══════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════ */

/* FILE / FRIEND ITEM BASE STYLES - prevent text overflow and preserve layout */
.file-item, .friend-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  border: 1px solid rgba(0,0,0,0.15);
  background: rgba(0,0,0,0.02);
  border-radius: 6px;
  min-width: 0; /* allow children to shrink */
}

.file-icon, .friend-avatar {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(0,0,0,0.05));
  border-radius: 6px;
  font-size: 1.2rem;
}

.file-info, .friend-info {
  flex: 1 1 auto;
  min-width: 0; /* critical for truncation */
}

.file-name, .friend-name {
  font-family: 'Share Tech Mono', monospace;
  color: var(--neon-cyan);
  font-weight: 700;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.file-meta, .friend-status {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 6px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-glow-pink { text-shadow: var(--glow-pink); }
.text-glow-cyan { text-shadow: var(--glow-cyan); }
.text-neon-pink { color: var(--neon-pink); }
.text-neon-cyan { color: var(--neon-cyan); }
.text-neon-green { color: var(--neon-green); }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.hidden { display: none !important; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }

/* ═══════════════════════════════════════════════════════════
   PASSWORD LOCK TERMINAL ANIMATION
   ═══════════════════════════════════════════════════════════ */

.password-lock-container {
  background: var(--bg-darker);
  border: 2px solid var(--neon-pink);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255, 0, 255, 0.3),
              inset 0 0 60px rgba(255, 0, 255, 0.05);
}

.password-lock-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan), var(--neon-pink));
  background-size: 200% 100%;
  animation: passwordGradient 2s linear infinite;
}

@keyframes passwordGradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.password-lock-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: lockPulse 2s ease-in-out infinite;
  text-shadow: 0 0 20px var(--neon-pink);
}

@keyframes lockPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.password-lock-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--neon-pink);
  margin-bottom: 10px;
  text-shadow: 0 0 10px var(--neon-pink);
}

.password-lock-subtitle {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.password-terminal {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 0, 255, 0.3);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: left;
  font-family: 'Share Tech Mono', monospace;
}

.terminal-line {
  color: var(--neon-green);
  font-size: 0.85rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.terminal-line.error {
  color: #ff4444;
}

.terminal-prompt {
  color: var(--neon-cyan);
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--neon-green);
  animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.password-input-group {
  position: relative;
  margin-bottom: 15px;
}

.password-input-group .cyber-input {
  padding-left: 45px;
  background: rgba(0, 0, 0, 0.5);
  border-color: var(--neon-pink);
}

.password-input-group .cyber-input:focus {
  box-shadow: 0 0 15px var(--neon-pink),
              0 0 30px var(--neon-pink),
              inset 0 0 20px rgba(255, 0, 255, 0.1);
}

.password-input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

.access-denied {
  animation: accessDenied 0.5s ease;
}

@keyframes accessDenied {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-10px); }
  40%, 80% { transform: translateX(10px); }
}

.password-lock-scanlines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(255, 0, 255, 0.03) 2px,
    rgba(255, 0, 255, 0.03) 4px
  );
  pointer-events: none;
  animation: scanlines 0.1s linear infinite;
}

@keyframes scanlines {
  0% { transform: translateY(0); }
  100% { transform: translateY(4px); }
}

/* ═══════════════════════════════════════════════════════════
   NOTIFICATION SYSTEM
   ═══════════════════════════════════════════════════════════ */

#cyber-notifications {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  width: calc(100% - 40px);
  pointer-events: none;
}

.cyber-notification {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 20px;
  backdrop-filter: blur(10px);
  pointer-events: auto;
  cursor: pointer;
  font-family: 'Share Tech Mono', monospace;
  border-radius: 4px;
}

.cyber-notification-success {
  background: rgba(0, 255, 0, 0.15);
  border: 1px solid var(--neon-green);
  border-left: 4px solid var(--neon-green);
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.4), 0 4px 20px rgba(0, 0, 0, 0.5);
}

.cyber-notification-error {
  background: rgba(255, 0, 64, 0.15);
  border: 1px solid #ff0040;
  border-left: 4px solid #ff0040;
  box-shadow: 0 0 20px rgba(255, 0, 64, 0.4), 0 4px 20px rgba(0, 0, 0, 0.5);
}

.cyber-notification-warning {
  background: rgba(255, 255, 0, 0.15);
  border: 1px solid var(--neon-yellow);
  border-left: 4px solid var(--neon-yellow);
  box-shadow: 0 0 20px rgba(255, 255, 0, 0.4), 0 4px 20px rgba(0, 0, 0, 0.5);
}

.cyber-notification-info {
  background: rgba(0, 255, 255, 0.15);
  border: 1px solid var(--neon-cyan);
  border-left: 4px solid var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4), 0 4px 20px rgba(0, 0, 0, 0.5);
}

@keyframes notificationSlideIn {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes notificationSlideOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100px);
  }
}

/* Mobile notification adjustments */
@media (max-width: 768px) {
  #cyber-notifications {
    top: 70px;
    right: 10px;
    left: 10px;
    width: auto;
    max-width: none;
  }

  .cyber-notification {
    padding: 12px 15px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  #cyber-notifications {
    top: 60px;
    right: 5px;
    left: 5px;
  }

  .cyber-notification {
    padding: 10px 12px;
    gap: 8px;
    font-size: 0.8rem;
  }
}
