/* ============================================
   Dynamic Gradient Mesh - Premium Cheerful Theme
   ============================================ */

:root {
  /* Cheerful color palette */
  --color-primary: #7C3AED;
  --color-secondary: #EC4899;
  --color-accent: #06B6D4;
  --color-warm: #F59E0B;

  /* Gradient colors */
  --gradient-1: #a855f7;
  --gradient-2: #ec4899;
  --gradient-3: #06b6d4;
  --gradient-4: #f97316;

  /* Neutrals */
  --color-text: #1f2937;
  --color-text-light: #6b7280;
  --color-bg: #ffffff;
  --color-card: rgba(255, 255, 255, 0.85);
  --color-card-border: rgba(255, 255, 255, 0.5);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ============================================
   Animated Mesh Gradient Background
   ============================================ */

.mesh-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, #fdf4ff 0%, #faf5ff 50%, #f0f9ff 100%);
  overflow: hidden;
}

.gradient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 20s ease-in-out infinite;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: var(--gradient-1);
  top: -200px;
  left: -100px;
  animation-delay: 0s;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: var(--gradient-2);
  top: 50%;
  right: -150px;
  animation-delay: -5s;
  animation-duration: 25s;
}

.blob-3 {
  width: 450px;
  height: 450px;
  background: var(--gradient-3);
  bottom: -100px;
  left: 30%;
  animation-delay: -10s;
  animation-duration: 22s;
}

.blob-4 {
  width: 350px;
  height: 350px;
  background: var(--gradient-4);
  top: 40%;
  left: 10%;
  animation-delay: -15s;
  animation-duration: 28s;
}

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

/* ============================================
   Layout & Content
   ============================================ */

.content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
  min-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ============================================
   Card Component
   ============================================ */

.card {
  background: var(--color-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-card-border);
  border-radius: 24px;
  padding: var(--space-xl);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 10px 15px -3px rgba(0, 0, 0, 0.05),
    0 20px 25px -5px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.08),
    0 20px 25px -5px rgba(0, 0, 0, 0.05),
    0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Typography
   ============================================ */

.greeting {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.02em;
}

.name {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  max-width: 500px;
}

.bio {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

/* ============================================
   Social Links
   ============================================ */

.social-links {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.25);
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
}

.social-link.secondary {
  background: var(--color-bg);
  color: var(--color-text);
  border: 2px solid rgba(124, 58, 237, 0.2);
  box-shadow: none;
}

.social-link.secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.15);
}

/* ============================================
   Status Badge
   ============================================ */

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  margin-bottom: var(--space-lg);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ============================================
   Footer
   ============================================ */

.footer {
  text-align: center;
  padding: var(--space-lg);
  color: var(--color-text-light);
  font-size: 0.875rem;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 640px) {
  .content {
    padding: var(--space-lg) var(--space-sm);
  }

  .card {
    padding: var(--space-lg);
    border-radius: 20px;
  }

  .social-links {
    flex-direction: column;
  }

  .social-link {
    justify-content: center;
  }

  .gradient-blob {
    filter: blur(60px);
    opacity: 0.5;
  }

  .blob-1 { width: 300px; height: 300px; }
  .blob-2 { width: 250px; height: 250px; }
  .blob-3 { width: 200px; height: 200px; }
  .blob-4 { width: 180px; height: 180px; }
}

/* ============================================
   Accessibility
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .gradient-blob {
    animation: none;
  }

  .status-dot {
    animation: none;
  }

  .card, .social-link {
    transition: none;
  }
}

/* Focus states */
.social-link:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}
