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

body {
  font-family: 'Syne', sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

.font-mono {
  font-family: 'Space Mono', monospace;
}

.premium-bg {
  background: radial-gradient(ellipse at top, #0a0a14 0%, #000 100%);
  position: relative;
}

.premium-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(100, 150, 255, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(150, 100, 255, 0.03) 0%, transparent 40%);
}

.mesh-gradient {
  background:
    radial-gradient(at 27% 37%, hsla(215, 98%, 61%, 0.05) 0px, transparent 50%),
    radial-gradient(at 97% 21%, hsla(262, 73%, 56%, 0.05) 0px, transparent 50%),
    radial-gradient(at 52% 99%, hsla(204, 98%, 61%, 0.05) 0px, transparent 50%);
  animation: meshMove 20s ease infinite;
}

@keyframes meshMove {
  0%,
  100% {
    background-position: 0% 0%;
  }

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

.glass-luxury {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

.glass-luxury-hover {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-luxury-hover:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(100, 150, 255, 0.3);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(100, 150, 255, 0.15), 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-luxury-hover:not(:hover) {
  transition: all 0.05s ease-out;
}

.text-luxury {
  background: linear-gradient(135deg, #6496ff 0%, #a78bfa 50%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-elegant {
  text-shadow: 0 0 20px rgba(100, 150, 255, 0.3), 0 0 40px rgba(100, 150, 255, 0.2), 0 0 60px rgba(100, 150, 255, 0.1);
}

.border-luxury {
  position: relative;
  border: 1px solid transparent;
  background: linear-gradient(#000, #000) padding-box, linear-gradient(135deg, rgba(100, 150, 255, 0.3), rgba(167, 139, 250, 0.3)) border-box;
}

.border-luxury::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, #6496ff, #a78bfa, #c4b5fd);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
  filter: blur(10px);
}

.border-luxury:hover::before {
  opacity: 0.3;
  animation: borderPulse 3s ease-in-out infinite;
}

@keyframes borderPulse {
  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.5;
  }
}

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

.particle-lux {
  position: absolute;
  width: 2px;
  height: 2px;
  background: radial-gradient(circle, rgba(100, 150, 255, 0.8) 0%, transparent 70%);
  border-radius: 50%;
  animation: particleFloat 30s infinite ease-in-out;
}

@keyframes particleFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }

  10% {
    opacity: 0.6;
  }

  50% {
    transform: translate(50px, -100px) scale(1.5);
    opacity: 0.8;
  }

  90% {
    opacity: 0.6;
  }
}

.grid-luxury {
  background-image: linear-gradient(rgba(100, 150, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(100, 150, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.float-elegant {
  animation: floatElegant 6s ease-in-out infinite;
}

@keyframes floatElegant {
  0%,
  100% {
    transform: translateY(0);
  }

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

.card-depth {
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-depth:hover {
  transform: translateZ(20px) rotateX(2deg) rotateY(2deg);
}

.card-depth:not(:hover) {
  transition: transform 0.05s ease-out;
}

.pulse-luxury {
  position: relative;
}

.pulse-luxury::before,
.pulse-luxury::after {
  content: '';
  position: absolute;
  inset: -15px;
  border: 2px solid rgba(100, 150, 255, 0.3);
  border-radius: inherit;
}

.pulse-luxury::before {
  animation: pulseLux1 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.pulse-luxury::after {
  animation: pulseLux2 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  animation-delay: 1.5s;
}

@keyframes pulseLux1 {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

@keyframes pulseLux2 {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.profile-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(100, 150, 255, 0.3);
  box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.3), 0 0 40px rgba(100, 150, 255, 0.4), 0 20px 60px rgba(0, 0, 0, 0.5);
}

.btn-luxury {
  position: relative;
  background: linear-gradient(135deg, #6496ff 0%, #8b7bef 100%);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(100, 150, 255, 0.3), 0 10px 40px rgba(100, 150, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-luxury::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  transition: all 0.6s;
}

.btn-luxury:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(100, 150, 255, 0.4), 0 15px 50px rgba(100, 150, 255, 0.25);
}

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

.btn-luxury:not(:hover) {
  transition: all 0.05s ease-out;
}

.skill-luxury {
  background: rgba(100, 150, 255, 0.05);
  border: 1px solid rgba(100, 150, 255, 0.15);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-luxury:hover {
  background: rgba(100, 150, 255, 0.12);
  border-color: rgba(100, 150, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(100, 150, 255, 0.25);
}

.skill-luxury:not(:hover) {
  transition: all 0.05s ease-out;
}

.timeline-dot-lux {
  position: relative;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #6496ff, #a78bfa);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.3), 0 0 0 6px rgba(100, 150, 255, 0.2), 0 0 20px rgba(100, 150, 255, 0.4);
}

.timeline-dot-lux::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(100, 150, 255, 0.3);
  border-radius: 50%;
  animation: dotRipple 2s ease-out infinite;
}

@keyframes dotRipple {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6496ff, #a78bfa);
  border-radius: 5px;
  border: 2px solid #000;
}

.loading-luxury {
  position: relative;
  height: 2px;
  background: rgba(100, 150, 255, 0.1);
  overflow: hidden;
}

.loading-luxury::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #6496ff, #a78bfa, transparent);
  animation: loadingLux 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes loadingLux {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.fade-in-lux {
  animation: fadeInLux 1s ease-out;
}

@keyframes fadeInLux {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

.divider-lux {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(100, 150, 255, 0.3), rgba(167, 139, 250, 0.3), transparent);
}

.nav-safe {
  padding-top: env(safe-area-inset-top, 0);
}

.hero-padding {
  padding-top: 120px;
  padding-bottom: 80px;
}

a:hover {
  text-decoration: none;
}

.title-reveal {
  opacity: 0;
  animation: titleReveal 1.2s ease-out forwards;
}

@keyframes titleReveal {
  0% {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.subtitle-reveal {
  opacity: 0;
  animation: subtitleReveal 1.2s ease-out 0.3s forwards;
}

@keyframes subtitleReveal {
  0% {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (max-width: 768px) {
  .hero-padding {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .profile-photo {
    width: 160px;
    height: 160px;
  }
}
