/* CYBER DOCK - Mobile Bottom Navigation */
.cyber-dock-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: none; /* Hidden by default, show on mobile */
}
button.global-game-mute-btn {
    display: none!important
}
/* Show only on mobile */
@media (max-width: 767px) {
  .cyber-dock-container {
    display: block;
  }
  
  /* Add padding to body to prevent content being hidden behind dock */
  body {
    padding-bottom: 80px;
  }
  
  /* Hide header cart button on mobile since we have it in dock */
  .cart-cyber {
    display: none !important;
  }
}

.dock-blur-bg {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 255, 136, 0.3);
}

.dock-apps {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 65px;
  padding: 0 10px;
}

.dock-app {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  background: none;
  border: none;
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.dock-app:hover,
.dock-app:focus {
  color: #00ff88;
  text-decoration: none;
}

.dock-app.active {
  color: #00ff88;
}

.app-icon {
  position: relative;
  width: 28px;
  height: 28px;
  margin-bottom: 4px;
  transition: transform 0.3s ease;
}

.dock-app:active .app-icon {
  transform: scale(0.9);
}

.app-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.app-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.dock-app:hover .app-label,
.dock-app.active .app-label {
  opacity: 1;
}

.app-indicator {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: #00ff88;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-shadow: 0 0 10px #00ff88;
}

.dock-app.active .app-indicator {
  opacity: 1;
}

/* Cart Badge */
.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #ff0055;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  line-height: 18px;
  text-align: center;
  border-radius: 9px;
  box-shadow: 0 0 10px rgba(255, 0, 85, 0.5);
}

.cart-badge[data-cart-count="0"] {
  display: none;
}

/* Dock Notification */
.dock-notification {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid #00ff88;
  border-radius: 20px;
  padding: 8px 20px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.dock-notification.show {
  transform: translateX(-50%) translateY(-10px);
  opacity: 1;
}

.notification-text {
  color: #00ff88;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Hack Mode Animation */
@keyframes glitch {
  0%, 100% {
    text-shadow: 
      0.05em 0 0 rgba(255, 0, 85, 0.75),
      -0.05em -0.025em 0 rgba(0, 255, 136, 0.75),
      0.025em 0.05em 0 rgba(0, 136, 255, 0.75);
  }
  14% {
    text-shadow: 
      0.05em 0 0 rgba(255, 0, 85, 0.75),
      -0.05em -0.025em 0 rgba(0, 255, 136, 0.75),
      0.025em 0.05em 0 rgba(0, 136, 255, 0.75);
  }
  15% {
    text-shadow: 
      -0.05em -0.025em 0 rgba(255, 0, 85, 0.75),
      0.025em 0.025em 0 rgba(0, 255, 136, 0.75),
      -0.05em -0.05em 0 rgba(0, 136, 255, 0.75);
  }
  49% {
    text-shadow: 
      -0.05em -0.025em 0 rgba(255, 0, 85, 0.75),
      0.025em 0.025em 0 rgba(0, 255, 136, 0.75),
      -0.05em -0.05em 0 rgba(0, 136, 255, 0.75);
  }
  50% {
    text-shadow: 
      0.025em 0.05em 0 rgba(255, 0, 85, 0.75),
      0.05em 0 0 rgba(0, 255, 136, 0.75),
      0 -0.05em 0 rgba(0, 136, 255, 0.75);
  }
  99% {
    text-shadow: 
      0.025em 0.05em 0 rgba(255, 0, 85, 0.75),
      0.05em 0 0 rgba(0, 255, 136, 0.75),
      0 -0.05em 0 rgba(0, 136, 255, 0.75);
  }
}

#hack-mode-trigger:hover .app-label {
  animation: glitch 0.5s infinite;
}

/* Responsive adjustments */
@media (max-width: 360px) {
  .app-label {
    font-size: 9px;
  }
  
  .app-icon {
    width: 24px;
    height: 24px;
  }
  
  .dock-apps {
    height: 60px;
  }
  
  body {
    padding-bottom: 75px;
  }
}