/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.floating-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  text-align: center;
  max-width: 64rem;
  position: relative;
  z-index: 10;
  animation: fadeInUp 1s ease;
}

.profile-container {
  position: relative;
  width: 14rem;
  height: 14rem;
  margin: 0 auto 2rem;
}

.profile-image-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  backdrop-filter: blur(24px);
  background: var(--popover);
  border: 1px solid var(--border);
  padding: 4px;
  transition: transform 0.3s ease;
}

.profile-image-wrapper:hover {
  transform: scale(1.1);
}

.profile-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.profile-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed var(--primary);
  opacity: 0.3;
  animation: rotate 20s linear infinite;
}

.hero-name {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  font-size: clamp(1.25rem, 4vw, 2rem);
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.cursor {
  color: var(--primary);
  animation: blink 0.8s infinite;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted-foreground);
  max-width: 32rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
  align-items: center;
}

.hero-buttons .btn {
  min-width: 200px;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0.75rem;
  border-radius: 50%;
  color: var(--foreground);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  background: var(--card);
  backdrop-filter: blur(16px);
}

.social-link:hover {
  transform: scale(1.2) translateY(-5px);
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(87, 112, 229, 0.3);
}

.social-link .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.scroll-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.scroll-arrow {
  padding: 0.5rem;
  border-radius: 50%;
  animation: bounce 2s infinite;
}

/* Floating particle baseline; left/top and delay set in JS */
.floating-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  opacity: 0.6;
  animation-name: float;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

