:root {
  --background: #0a0a0a;
  --foreground: #ededed;
  --accent-primary: #8b5cf6;
  --accent-secondary: #a78bfa;
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--background);
  color: var(--foreground);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Animated Background */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--accent-primary);
  top: -150px;
  right: -100px;
  animation: float-1 12s ease-in-out infinite, pulse-1 8s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-secondary);
  bottom: -100px;
  left: -100px;
  animation: float-2 14s ease-in-out infinite, pulse-2 10s ease-in-out infinite;
  animation-delay: -3s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: #7c3aed;
  top: 40%;
  left: 20%;
  animation: float-3 10s ease-in-out infinite, pulse-1 6s ease-in-out infinite;
  animation-delay: -1s;
}

.orb-4 {
  width: 180px;
  height: 180px;
  background: #c4b5fd;
  top: 15%;
  left: 60%;
  animation: float-4 16s ease-in-out infinite, pulse-2 9s ease-in-out infinite;
  animation-delay: -5s;
}

.orb-5 {
  width: 120px;
  height: 120px;
  background: #6366f1;
  bottom: 30%;
  right: 25%;
  animation: float-5 11s ease-in-out infinite, pulse-1 7s ease-in-out infinite;
  animation-delay: -7s;
}

.orb-6 {
  width: 80px;
  height: 80px;
  background: #a78bfa;
  top: 60%;
  left: 70%;
  animation: float-6 13s ease-in-out infinite, pulse-2 5s ease-in-out infinite;
  animation-delay: -2s;
}

.grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-move 20s linear infinite;
}

@keyframes float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-30px, 40px) scale(1.05); }
  50% { transform: translate(-50px, 20px) scale(0.95); }
  75% { transform: translate(-20px, 60px) scale(1.02); }
}

@keyframes float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(60px, -50px) scale(0.9); }
}

@keyframes float-3 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(30px, -40px); }
  50% { transform: translate(-20px, -60px); }
  75% { transform: translate(-40px, -20px); }
}

@keyframes float-4 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(25px, 30px) rotate(90deg); }
  50% { transform: translate(-15px, 50px) rotate(180deg); }
  75% { transform: translate(-35px, 15px) rotate(270deg); }
}

@keyframes float-5 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, -40px) scale(1.3); }
}

@keyframes float-6 {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(15px, -25px); }
  40% { transform: translate(-10px, -35px); }
  60% { transform: translate(-25px, -10px); }
  80% { transform: translate(10px, -20px); }
}

@keyframes pulse-1 {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}

@keyframes pulse-2 {
  0%, 100% { opacity: 0.3; filter: blur(80px); }
  50% { opacity: 0.6; filter: blur(60px); }
}

@keyframes grid-move {
  0% { background-position: 0 0; }
  100% { background-position: 50px 50px; }
}

/* Main Content */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
}

.name {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--foreground) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease-out;
}

.title {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

.bio {
  font-size: 1.125rem;
  max-width: 500px;
  line-height: 1.7;
  color: #a1a1aa;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Social Links */
.social-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 2rem;
  animation: fadeInUp 1s ease-out 0.6s backwards;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.links {
  display: flex;
  gap: 1.5rem;
}

.link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-secondary);
  transition: all 0.3s ease;
}

.link:hover {
  background: var(--accent-primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

/* Contact */
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 2rem 5rem;
  animation: fadeInUp 1s ease-out 0.8s backwards;
}

.contact-text {
  font-size: 1rem;
  color: #a1a1aa;
  margin-bottom: 2rem;
  text-align: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  color: white;
  background: var(--accent-primary);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.button:hover {
  background: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

/* Responsive */
@media (min-width: 768px) {
  .name {
    font-size: 5rem;
  }
  
  .title {
    font-size: 2rem;
  }
  
  .bio {
    font-size: 1.25rem;
  }
}
