@import "tailwindcss";

::selection { background: #A6E93A; color: #000; }
body { font-family: 'Montserrat', sans-serif; background: #000; color: #fff; overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: 'Oswald', sans-serif; }

.neon-text { color: #A6E93A; }
.neon-bg { background-color: #A6E93A; }
.neon-border { border-color: #A6E93A; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(166,233,58,0.2); }
  50% { box-shadow: 0 0 40px rgba(166,233,58,0.5); }
}
@keyframes slide-up {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes grain {
  0%, 100% { transform: translate(0,0); }
  10% { transform: translate(-5%,-10%); }
  30% { transform: translate(3%,-15%); }
  50% { transform: translate(12%,9%); }
  70% { transform: translate(9%,4%); }
  90% { transform: translate(-1%,7%); }
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }

.reveal { opacity: 0; transform: translateY(60px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(60px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right.active { opacity: 1; transform: translateX(0); }

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

.hero-bg {
  background-image:
    radial-gradient(circle at 20% 50%, rgba(166,233,58,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(166,233,58,0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(166,233,58,0.03) 0%, transparent 50%);
}

.grain::after {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
  pointer-events: none;
  z-index: 0;
}

.card-glow:hover { box-shadow: 0 0 30px rgba(166,233,58,0.15); }

.skill-bar {
  background: linear-gradient(90deg, #A6E93A, #7bc42e);
  border-radius: 999px;
  height: 6px;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-gradient {
  background: linear-gradient(to right, #A6E93A, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.marquee { display: flex; animation: marquee 20s linear infinite; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #A6E93A; }

.mobile-menu { transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.mobile-menu.open { transform: translateX(0); }