

#three-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  touch-action: none;
}

#cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .social-icon:hover {
    transform: translateY(-10px) rotateX(15deg) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: #00ff41 !important;
    box-shadow:
      0 15px 30px rgba(0, 0, 0, 0.8),
      0 0 20px rgba(0, 255, 65, 0.4) !important;
  }

  .social-icon:hover i {
    color: #00ff41;
    transform: scale(1.2) translateZ(20px);
    filter: drop-shadow(0 0 8px rgba(0, 255, 65, 0.8));
  }

  .social-icon:hover::before {
    opacity: 0.3;
  }
}

@media (hover: none) {
  .social-icon {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(0, 240, 252, 0.4) !important;
    transform: none !important;
  }

  .social-icon i {
    filter: drop-shadow(0 0 5px rgba(0, 240, 252, 0.5));
  }

  .social-icon:active {
    background: rgba(0, 255, 65, 0.1) !important;
    border-color: #00ff41 !important;
  }

  #about .neon-border {
    --shine-x: 50% !important;
    --shine-y: 50% !important;
    transition: none !important;
  }

  .quote-text {
    transition: none !important;
    transform: none !important;
  }

  .project-card::after,
  .quote-text::after {
    content: none !important;
  }

  .neon-border span,
  .neon-border span:hover,
  .neon-border span:active {
    color: inherit !important;
    transform: none !important;
    transition: none !important;
  }

  .quote-author {
    background: none !important;
    -webkit-text-fill-color: #00ff41 !important;
    animation: none !important;
  }
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  perspective: 1000px;
}

.social-icon {
  position: relative;
  width: 80px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  clip-path: polygon(
    20% 0%,
    80% 0%,
    100% 20%,
    100% 80%,
    85% 100%,
    65% 100%,
    50% 85%,
    35% 100%,
    15% 100%,
    0% 80%,
    0% 20%
  );
  border: 1px solid rgba(0, 240, 252, 0.3);
  box-shadow: 0 0 15px rgba(0, 240, 252, 0.1);
}

.social-icon i {
  color: #0ff0fc;
  font-size: 1.4rem;
  z-index: 2;
  transition: all 0.4s ease;
}

.social-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #0ff0fc 0%,
    transparent 50%,
    #00ff41 100%
  );
  opacity: 0.15;
  z-index: 1;
}
