:root {
  --magenta: #ff00ff;
  --cyan: #00ffff;
  --violet: #7700ff;
  --neon-green: #00ff88;
  --bg: #030008;
  --card-bg: rgba(10, 0, 25, 0.7);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  cursor: none;
}

#cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px var(--cyan), 0 0 30px var(--cyan);
  transition: transform 0.1s, width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: screen;
}

#cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255, 0, 255, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease-out, width 0.2s, height 0.2s;
}

body:has(a:hover) #cursor,
body:has(button:hover) #cursor {
  width: 20px;
  height: 20px;
  background: var(--magenta);
  box-shadow: 0 0 20px var(--magenta), 0 0 60px var(--magenta);
}

body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring {
  width: 56px;
  height: 56px;
  border-color: rgba(0, 255, 255, 0.5);
}

#stars-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
}

.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(255, 0, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -2;
  animation: gridScroll 15s linear infinite;
}

.gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(119, 0, 255, 0.35), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(255, 0, 128, 0.15), transparent),
    radial-gradient(ellipse 60% 50% at 90% 60%, rgba(0, 200, 255, 0.12), transparent);
  z-index: -1;
}

.scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(0deg,
      rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12) 1px,
      transparent 1px, transparent 3px);
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

.grain {
  position: fixed;
  top: -50%;
  left: -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='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9998;
  animation: grainAnim 0.3s steps(1) infinite;
}

body {
  font-family: 'Rajdhani', sans-serif;
  background: var(--bg);
  color: #ddd;
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 1;
}

@keyframes gridScroll {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 60px 60px;
  }
}

@keyframes grainAnim {
  0% {
    transform: translate(0, 0);
  }

  20% {
    transform: translate(-2%, -3%);
  }

  40% {
    transform: translate(3%, 2%);
  }

  60% {
    transform: translate(-1%, 4%);
  }

  80% {
    transform: translate(4%, -1%);
  }

  100% {
    transform: translate(-3%, 1%);
  }
}

@keyframes slideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes heroUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoPulse {

  0%,
  100% {
    filter: drop-shadow(0 0 8px rgba(255, 0, 255, 0.5));
  }

  50% {
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.7));
  }
}

@keyframes scanLine {
  from {
    background-position: -100% 0;
  }

  to {
    background-position: 200% 0;
  }
}

@keyframes btnShine {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes glitchSkew {

  0%,
  88%,
  100% {
    transform: skew(0deg);
  }

  90% {
    transform: skew(-1.5deg);
  }

  92% {
    transform: skew(1.5deg);
  }
}

@keyframes glitchA {

  0%,
  90%,
  100% {
    clip-path: inset(0 0 100% 0);
    transform: translate(0);
  }

  91% {
    clip-path: inset(20% 0 50% 0);
    transform: translate(-4px, 2px);
  }

  93% {
    clip-path: inset(60% 0 10% 0);
    transform: translate(4px, -2px);
  }

  95% {
    clip-path: inset(40% 0 30% 0);
    transform: translate(-2px, 1px);
  }

  97% {
    clip-path: inset(0 0 80% 0);
    transform: translate(2px, 0);
  }
}

@keyframes glitchB {

  0%,
  88%,
  100% {
    clip-path: inset(0 0 100% 0);
    transform: translate(0);
  }

  89% {
    clip-path: inset(10% 0 70% 0);
    transform: translate(3px, -2px);
  }

  91% {
    clip-path: inset(50% 0 20% 0);
    transform: translate(-3px, 2px);
  }

  93% {
    clip-path: inset(0% 0 90% 0);
    transform: translate(2px, 1px);
  }
}

@keyframes floatSocial {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes spinRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes particleBurst {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(0);
    background: var(--color, var(--cyan));
  }

  60% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(30px);
    background: var(--color, var(--cyan));
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

.stagger-5 {
  transition-delay: 0.5s;
}

.stagger-6 {
  transition-delay: 0.6s;
}

.stagger-7 {
  transition-delay: 0.7s;
}

header {
  padding: 36px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 0, 255, 0.15);
  opacity: 0;
  transform: translateY(-20px);
  animation: slideDown 0.8s ease forwards 0.1s;
  position: relative;
}

header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--magenta), var(--cyan), transparent);
  animation: scanLine 4s linear infinite;
}

.logo {
  font-family: 'Orbitron', monospace;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--magenta), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(255, 0, 255, 0.5));
  animation: logoPulse 3s ease-in-out infinite;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-family: 'Orbitron', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s;
  position: relative;
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

nav a:nth-child(1) {
  animation-delay: 0.3s;
}

nav a:nth-child(2) {
  animation-delay: 0.4s;
}

nav a:nth-child(3) {
  animation-delay: 0.5s;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan));
  transition: width 0.3s;
}

nav a:hover {
  color: #fff;
}

nav a:hover::after {
  width: 100%;
}

.hero {
  padding: 130px 0 90px;
  position: relative;
}

.hero-eyebrow {
  font-family: 'Orbitron', monospace;
  font-size: 0.65rem;
  letter-spacing: 5px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 0;
  animation: heroUp 1s ease forwards 0.2s;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.glitch-wrapper {
  position: relative;
  display: inline-block;
}

.hero h1 {
  font-family: 'Orbitron', monospace;
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 24px;
  color: #fff;
  text-shadow:
    0 0 30px rgba(255, 255, 255, 0.3),
    0 0 80px rgba(0, 255, 255, 0.15);
  opacity: 0;
  transform: translateY(60px);
  animation: heroUp 1s ease forwards 0.4s;
}

.glitch {
  position: relative;
  animation: glitchSkew 4s infinite;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch::before {
  color: var(--magenta);
  z-index: -1;
  animation: glitchA 3s infinite;
}

.glitch::after {
  color: var(--cyan);
  z-index: -2;
  animation: glitchB 2.5s infinite reverse;
}

.subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  color: rgba(220, 220, 255, 0.75);
  margin-bottom: 16px;
  max-width: 600px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroUp 1s ease forwards 0.7s;
  letter-spacing: 0.5px;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroUp 1s ease forwards 0.9s;
}

.stat-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 14px 22px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.stat-chip:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2), inset 0 0 20px rgba(0, 255, 255, 0.05);
}

.stat-chip::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.08), transparent);
  transition: left 0.5s;
}

.stat-chip:hover::before {
  left: 100%;
}

.stat-chip-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 0, 255, 0.2), rgba(0, 255, 255, 0.2));
  border-radius: 50%;
  font-size: 15px;
}

.stat-chip-info {
  display: flex;
  flex-direction: column;
}

.stat-chip-label {
  font-family: 'Orbitron', monospace;
  font-size: 0.55rem;
  letter-spacing: 2px;
  color: rgba(200, 200, 255, 0.5);
  text-transform: uppercase;
}

.stat-chip-value {
  font-family: 'Orbitron', monospace;
  font-size: 1.15rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-btn {
  display: inline-block;
  padding: 18px 48px;
  background: linear-gradient(135deg, var(--magenta), var(--violet), var(--cyan));
  background-size: 200% 200%;
  animation: heroUp 1s ease forwards 1.1s, btnShine 4s ease-in-out 1.5s infinite;
  color: #000;
  text-decoration: none;
  font-family: 'Orbitron', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 3px;
  box-shadow: 0 0 30px rgba(255, 0, 255, 0.5), 0 0 60px rgba(255, 0, 255, 0.2);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
  transform: skewX(-20deg);
  transition: left 0.5s;
}

.cta-btn:hover::before {
  left: 150%;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(255, 0, 255, 0.7), 0 0 80px rgba(0, 255, 255, 0.3);
}

.section-title {
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
}

.section-title::before {
  content: '//';
  color: var(--magenta);
  font-size: 1.2rem;
}

.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 0, 255, 0.4), transparent);
  max-width: 300px;
}

.projects {
  padding: 80px 0;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.project-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 0, 255, 0.15);
  padding: 32px;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  backdrop-filter: blur(20px);
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
}

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 0, 255, 0.06), rgba(0, 255, 255, 0.06));
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.project-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
  pointer-events: none;
}

.project-card:hover {
  border-color: rgba(255, 0, 255, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(255, 0, 255, 0.2);
}

.project-card:hover::before {
  opacity: 1;
}

.project-card:hover::after {
  transform: scaleX(1);
}

.card-num {
  font-family: 'Orbitron', monospace;
  font-size: 0.55rem;
  letter-spacing: 3px;
  color: var(--magenta);
  margin-bottom: 14px;
  opacity: 0.7;
}

.project-card h3 {
  font-family: 'Orbitron', monospace;
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--cyan);
  filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.4));
}

.project-card p {
  color: rgba(200, 200, 230, 0.65);
  margin-bottom: 24px;
  line-height: 1.8;
  font-size: 0.95rem;
}

.project-link {
  color: var(--magenta);
  text-decoration: none;
  font-family: 'Orbitron', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  position: relative;
  z-index: 2;
}

.project-link:hover {
  gap: 14px;
  color: var(--cyan);
  filter: drop-shadow(0 0 8px var(--cyan));
}

.experiences {
  padding: 40px 0 80px;
}

.carousel-outer {
  position: relative;
  overflow: hidden;
  margin-top: 30px;
}

.carousel-outer::before,
.carousel-outer::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 10;
  pointer-events: none;
}

.carousel-outer::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.carousel-outer::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.exp-card {
  flex: 0 0 240px;
  background: var(--card-bg);
  border: 1px solid rgba(0, 255, 255, 0.12);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
  backdrop-filter: blur(16px);
}

.exp-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}

.exp-card:hover {
  border-color: var(--cyan);
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 255, 255, 0.25);
}

.exp-card:hover::after {
  opacity: 1;
}

.exp-thumb {
  width: 100%;
  height: 135px;
  object-fit: cover;
  display: block;
  position: relative;
}

.exp-thumb-placeholder {
  width: 100%;
  height: 135px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}

.exp-thumb-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg,
      rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15) 4px,
      transparent 4px, transparent 14px);
}

.exp-info {
  padding: 14px 16px 16px;
}

.exp-name {
  font-family: 'Orbitron', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exp-meta {
  font-size: 0.75rem;
  color: rgba(200, 200, 230, 0.45);
  display: flex;
  align-items: center;
  gap: 5px;
}

.exp-meta svg {
  width: 12px;
  height: 12px;
  fill: var(--cyan);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 0, 255, 0.3);
  color: var(--magenta);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: all 0.3s;
}

.carousel-btn:hover {
  background: rgba(255, 0, 255, 0.15);
  border-color: var(--magenta);
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.4);
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
  cursor: none;
  transition: all 0.3s;
}

.carousel-dot.active {
  background: linear-gradient(90deg, var(--magenta), var(--cyan));
  box-shadow: 0 0 8px var(--magenta);
  width: 44px;
}

.contact {
  padding: 80px 0 60px;
  text-align: center;
}

.contact-sub {
  color: rgba(200, 200, 255, 0.5);
  font-size: 1rem;
  margin-bottom: 50px;
  letter-spacing: 0.5px;
}

.social-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.social-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(10, 0, 25, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  cursor: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s, box-shadow 0.3s;
  animation: floatSocial 4s ease-in-out infinite;
  overflow: visible;
}

.social-link:nth-child(1) {
  animation-delay: 0.0s;
}

.social-link:nth-child(2) {
  animation-delay: 0.3s;
}

.social-link:nth-child(3) {
  animation-delay: 0.6s;
}

.social-link:nth-child(4) {
  animation-delay: 0.9s;
}

.social-link:nth-child(5) {
  animation-delay: 1.2s;
}

.social-link:nth-child(6) {
  animation-delay: 1.5s;
}

.social-link:nth-child(7) {
  animation-delay: 1.8s;
}

.social-link::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(var(--magenta), var(--cyan), var(--violet), var(--magenta));
  opacity: 0;
  transition: opacity 0.3s;
  animation: spinRing 1.5s linear infinite paused;
  z-index: -1;
  mask: radial-gradient(circle at center, transparent 60%, black 60%);
  -webkit-mask: radial-gradient(circle at center, transparent 60%, black 60%);
}

.social-link::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 0, 255, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
  z-index: -2;
}

.social-link:hover::before {
  opacity: 1;
  animation-play-state: running;
}

.social-link:hover::after {
  opacity: 1;
}

.social-link:hover {
  transform: translateY(-6px) scale(1.18);
  border-color: transparent;
  box-shadow:
    0 0 0 2px rgba(255, 0, 255, 0.5),
    0 0 30px rgba(255, 0, 255, 0.5),
    0 0 60px rgba(0, 255, 255, 0.3),
    0 10px 40px rgba(0, 0, 0, 0.5);
  animation: none;
}

.social-link svg,
.social-link img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 1;
}

.social-link:hover svg,
.social-link:hover img {
  transform: scale(1.2) rotate(-5deg);
  filter: drop-shadow(0 0 6px var(--cyan));
}

.social-link .particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.social-link .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  background: var(--cyan);
  opacity: 0;
  transform: translate(-50%, -50%);
}

.social-link:hover .particle {
  animation: particleBurst 0.6s ease-out forwards;
}

.social-link .particle:nth-child(1) {
  animation-delay: 0.00s;
  --angle: 0deg;
}

.social-link .particle:nth-child(2) {
  animation-delay: 0.05s;
  --angle: 45deg;
  --color: #ff00ff;
}

.social-link .particle:nth-child(3) {
  animation-delay: 0.00s;
  --angle: 90deg;
}

.social-link .particle:nth-child(4) {
  animation-delay: 0.05s;
  --angle: 135deg;
  --color: #ff00ff;
}

.social-link .particle:nth-child(5) {
  animation-delay: 0.00s;
  --angle: 180deg;
}

.social-link .particle:nth-child(6) {
  animation-delay: 0.05s;
  --angle: 225deg;
  --color: #ff00ff;
}

.social-link .particle:nth-child(7) {
  animation-delay: 0.00s;
  --angle: 270deg;
}

.social-link .particle:nth-child(8) {
  animation-delay: 0.05s;
  --angle: 315deg;
  --color: #ff00ff;
}

.social-link[data-platform="roblox"]:hover {
  box-shadow: 0 0 30px rgba(226, 124, 73, 0.6), 0 0 60px rgba(226, 124, 73, 0.3), 0 10px 40px rgba(0, 0, 0, 0.5);
}

.social-link[data-platform="x"]:hover {
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4), 0 0 60px rgba(255, 255, 255, 0.2), 0 10px 40px rgba(0, 0, 0, 0.5);
}

.social-link[data-platform="discord"]:hover {
  box-shadow: 0 0 30px rgba(88, 101, 242, 0.7), 0 0 60px rgba(88, 101, 242, 0.4), 0 10px 40px rgba(0, 0, 0, 0.5);
}

.social-link[data-platform="youtube"]:hover {
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.7), 0 0 60px rgba(255, 0, 0, 0.3), 0 10px 40px rgba(0, 0, 0, 0.5);
}

.social-link[data-platform="github"]:hover {
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4), 0 0 60px rgba(255, 255, 255, 0.15), 0 10px 40px rgba(0, 0, 0, 0.5);
}

.social-link[data-platform="bluesky"]:hover {
  box-shadow: 0 0 30px rgba(0, 133, 255, 0.7), 0 0 60px rgba(0, 133, 255, 0.4), 0 10px 40px rgba(0, 0, 0, 0.5);
}

.social-link[data-platform="email"]:hover {
  box-shadow: 0 0 30px rgba(255, 200, 0, 0.6), 0 0 60px rgba(255, 200, 0, 0.3), 0 10px 40px rgba(0, 0, 0, 0.5);
}

footer {
  padding: 36px 0;
  border-top: 1px solid rgba(255, 0, 255, 0.1);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
  font-family: 'Orbitron', monospace;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  header {
    flex-direction: column;
    gap: 20px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  nav {
    flex-direction: column;
    gap: 12px;
  }

  body {
    cursor: auto;
  }

  #cursor,
  #cursor-ring {
    display: none;
  }
}

@keyframes glitchText {

  0%,
  100% {
    text-shadow: 0 0 0 transparent;
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    text-shadow: -2px 0 #ff00ff, 2px 0 #00ffff;
  }

  20%,
  40%,
  60%,
  80% {
    text-shadow: 2px 0 #ff00ff, -2px 0 #00ffff;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-100vh) translateX(50px);
  }
}

.error-page body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0a0a0a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 30px;
  overflow: hidden;
  position: relative;
}

.glitch-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #1a0033, #000);
  z-index: -1;
}

.error-page .container {
  text-align: center;
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.error-code {
  font-size: 12rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #ff00ff, #00ffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  animation: glitchText 3s infinite;
}

.error-page h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.error-page p {
  font-size: 1.1rem;
  color: #aaa;
  margin-bottom: 40px;
  line-height: 1.6;
}

.btn-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s;
  font-size: 0.95rem;
}

.btn:hover {
  background: #ff00ff;
  color: #fff;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-secondary:hover {
  background: #fff;
  color: #000;
}

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.3;
  animation: float 10s infinite;
}

@media (max-width: 768px) {
  .error-code {
    font-size: 8rem;
  }

  .error-page h1 {
    font-size: 1.5rem;
  }

  .error-page p {
    font-size: 1rem;
  }

  .btn-group {
    flex-direction: column;
  }
}