:root {
  --accent: #3B82F6;
  --purple: #8B5CF6;
}

/* Lenis Smooth Scroll Configuration */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overscroll-behavior: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0F172A; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #3B82F6, #8B5CF6);
  border-radius: 10px;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* 3D Icon & Element Effect */
.icon-3d {
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}
.icon-3d:hover {
  transform: translateY(-5px) scale(1.1) rotateX(10deg) rotateY(-10deg);
  text-shadow: 0 10px 15px rgba(59, 130, 246, 0.5);
}

/* Custom Ultra-Fast Blend Cursor */
@media (pointer: fine) {
  body { cursor: none; }
  
  .cursor-dot, .cursor-outline {
    position: fixed;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    mix-blend-mode: difference;
  }
  
  .cursor-dot {
    width: 8px; height: 8px;
    background-color: #ffffff;
    transition: opacity 0.2s ease;
  }

  .portfolio-item {
    transition: all 0.5s ease;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
  
  .cursor-outline {
    width: 32px; height: 32px;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease, border 0.2s ease;
  }
  
  .cursor-hover {
    width: 50px; height: 50px;
    background-color: #ffffff;
    border: none;
  }
}

/* General Animations */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}
.animate-float { animation: float 6s ease-in-out infinite; }

.social-icon {
  width: 45px; height: 45px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: #F8FAFC; font-size: 1.2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}
.social-icon:hover {
  color: #fff;
  border-color: var(--accent);
  box-shadow: -5px 5px 0px rgba(59, 130, 246, 0.4), -10px 10px 15px rgba(139, 92, 246, 0.2);
}

.typed-cursor { color: var(--purple); font-size: inherit; }

/* Swiper Customization */
.swiper-pagination-bullet { background: var(--purple) !important; opacity: 0.5 !important; }
.swiper-pagination-bullet-active {
  opacity: 1 !important; width: 25px !important; border-radius: 5px !important;
  background: linear-gradient(to right, var(--accent), var(--purple)) !important;
}

