/* Aurora Dreams - Cool Color Palette Bio Site */

:root {
  /* Aurora Cool Color Palette - NO warm tones */
  --aurora-deep-blue: #0a0f3d;
  --aurora-cosmic-purple: #1a1551;
  --aurora-electric-teal: #0d7377;
  --aurora-mint: #14a085;
  --aurora-ice-blue: #2dd4da;
  --aurora-silver: #b8c5d6;
  
  /* Background gradients */
  --bg-dark-primary: linear-gradient(135deg, var(--aurora-deep-blue) 0%, var(--aurora-cosmic-purple) 50%, var(--aurora-electric-teal) 100%);
  --bg-light-primary: linear-gradient(135deg, #e8f4f8 0%, #d1e7dd 50%, #b8f2ff 100%);
  
  /* Glass morphism */
  --glass-dark: rgba(255, 255, 255, 0.05);
  --glass-dark-hover: rgba(255, 255, 255, 0.08);
  --glass-light: rgba(255, 255, 255, 0.7);
  --glass-light-hover: rgba(255, 255, 255, 0.85);
  
  /* Text colors */
  --text-primary-dark: #f0f9ff;
  --text-secondary-dark: rgba(240, 249, 255, 0.8);
  --text-primary-light: var(--aurora-deep-blue);
  --text-secondary-light: var(--aurora-cosmic-purple);
  
  /* Glow effects */
  --glow-blue: #2dd4da;
  --glow-teal: #0d7377;
  --glow-mint: #14a085;
  --glow-silver: #b8c5d6;
  
  /* Shadows */
  --shadow-aurora: 0 8px 32px rgba(45, 212, 218, 0.15);
  --shadow-deep: 0 20px 40px rgba(10, 15, 61, 0.3);
  --shadow-glow: 0 0 30px rgba(45, 212, 218, 0.2);
  
  /* Spacing & sizing */
  --container-max: 640px;
  --border-radius-sm: 12px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-xl: 32px;
}

/* Dark mode (default) */
[data-theme="dark"] {
  --bg-primary: var(--bg-dark-primary);
  --glass-primary: var(--glass-dark);
  --glass-primary-hover: var(--glass-dark-hover);
  --text-primary: var(--text-primary-dark);
  --text-secondary: var(--text-secondary-dark);
}

/* Light mode */
[data-theme="light"] {
  --bg-primary: var(--bg-light-primary);
  --glass-primary: var(--glass-light);
  --glass-primary-hover: var(--glass-light-hover);
  --text-primary: var(--text-primary-light);
  --text-secondary: var(--text-secondary-light);
}

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

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  position: relative;
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAwIiBoZWlnaHQ9IjMwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZGVmcz4KICAgIDxmaWx0ZXIgaWQ9Im5vaXNlRmlsdGVyIj4KICAgICAgPGZlVHVyYnVsZW5jZSBiYXNlRnJlcXVlbmN5PSIwLjkiIG51bU9jdGF2ZXM9IjQiIHNlZWQ9IjIiLz4KICAgIDwvZmlsdGVyPgogIDwvZGVmcz4KICA8cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ3aGl0ZSIgZmlsdGVyPSJ1cmwoI25vaXNlRmlsdGVyKSIvPgo8L3N2Zz4=");
  pointer-events: none;
  z-index: 10;
}

/* Aurora animated background */
.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--bg-primary);
}

.aurora-bg::before,
.aurora-bg::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  border-radius: 50%;
  filter: blur(80px);
  animation: aurora-drift 20s ease-in-out infinite;
  opacity: 0.3;
}

.aurora-bg::before {
  background: radial-gradient(circle, var(--aurora-ice-blue) 0%, transparent 50%);
  animation-delay: 0s;
}

.aurora-bg::after {
  background: radial-gradient(circle, var(--aurora-mint) 0%, transparent 50%);
  animation-delay: -10s;
  animation-duration: 25s;
}

@keyframes aurora-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-30px, -40px) rotate(120deg); }
  66% { transform: translate(30px, -20px) rotate(240deg); }
}

/* Floating light orbs */
.light-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 60%);
  filter: blur(1px);
  animation: float 15s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.light-orb:nth-child(1) {
  width: 8px;
  height: 8px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.light-orb:nth-child(2) {
  width: 4px;
  height: 4px;
  top: 60%;
  right: 15%;
  animation-delay: -5s;
  background: radial-gradient(circle, rgba(45, 212, 218, 0.6) 0%, transparent 60%);
}

.light-orb:nth-child(3) {
  width: 6px;
  height: 6px;
  top: 80%;
  left: 20%;
  animation-delay: -10s;
  background: radial-gradient(circle, rgba(184, 197, 214, 0.7) 0%, transparent 60%);
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  33% { transform: translateY(-20px) translateX(10px); }
  66% { transform: translateY(-10px) translateX(-15px); }
}

/* Container */
.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(2rem, 5vh, 4rem) 1.5rem;
  position: relative;
  z-index: 2;
}

/* Theme toggle */
.theme-toggle {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: var(--glass-primary);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  color: var(--text-primary);
  font-size: 1.2rem;
}

.theme-toggle:hover {
  background: var(--glass-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Main content card */
.bio-card {
  background: var(--glass-primary);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-xl);
  padding: 3rem 2.5rem;
  max-width: var(--container-max);
  width: 100%;
  box-shadow: var(--shadow-aurora);
  position: relative;
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Avatar section */
.avatar-section {
  text-align: center;
  margin-bottom: 2.5rem;
}

.avatar {
  width: clamp(120px, 20vw, 160px);
  height: clamp(120px, 20vw, 160px);
  margin: 0 auto 1.5rem;
  position: relative;
  -webkit-clip-path: url(#hero-mask);
  clip-path: url(#hero-mask);
  overflow: hidden;
  animation: avatarPulse 4s ease-in-out infinite;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar::after {
  content: '';
  position: absolute;
  inset: -4px;
  background: linear-gradient(45deg, var(--glow-blue), var(--glow-teal), var(--glow-mint), var(--glow-silver));
  border-radius: inherit;
  z-index: -1;
  animation: avatarGlow 6s linear infinite;
  opacity: 0.6;
}

@keyframes avatarPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

@keyframes avatarGlow {
  0% { transform: rotate(0deg); opacity: 0.6; }
  100% { transform: rotate(360deg); opacity: 0.6; }
}

.name {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--text-primary), var(--glow-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.tagline {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  animation: fadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}


/* Link buttons */
.links-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  background: var(--glass-primary);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.link-btn::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--glow-teal), var(--glow-blue));
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-btn:hover {
  background: var(--glass-primary-hover);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(13, 115, 119, 0.25);
}

.link-btn:hover::before {
  transform: translateX(0);
}

.link-icon {
  font-size: 1.1rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.link-btn:hover .link-icon {
  opacity: 1;
  transform: scale(1.1);
}

/* Ghost button styling for coming soon links */
.ghost-btn {
  opacity: 0.6 !important;
  cursor: not-allowed;
  border-style: dashed;
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  font-style: italic;
  filter: grayscale(0.5);
  -webkit-filter: grayscale(0.5);
}

.ghost-btn:hover {
  opacity: 0.7 !important;
  transform: none;
  box-shadow: none;
  filter: grayscale(0.4);
  -webkit-filter: grayscale(0.4);
}

.ghost-btn .link-icon {
  opacity: 0.5;
  filter: grayscale(0.5);
  -webkit-filter: grayscale(0.5);
}

/* Staggered animations for links */
.link-btn:nth-child(1) { animation: fadeInLeft 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.9s both; }
.link-btn:nth-child(2) { animation: fadeInLeft 1.2s cubic-bezier(0.4, 0, 0.2, 1) 1.1s both; }
.link-btn:nth-child(3) { animation: fadeInLeft 1.2s cubic-bezier(0.4, 0, 0.2, 1) 1.3s both; }
.link-btn:nth-child(4) { animation: fadeInLeft 1.2s cubic-bezier(0.4, 0, 0.2, 1) 1.5s both; }
.link-btn:nth-child(5) { animation: fadeInLeft 1.2s cubic-bezier(0.4, 0, 0.2, 1) 1.7s both; }
.link-btn:nth-child(6) { animation: fadeInLeft 1.2s cubic-bezier(0.4, 0, 0.2, 1) 1.9s both; }
.link-btn:nth-child(7) { animation: fadeInLeft 1.2s cubic-bezier(0.4, 0, 0.2, 1) 2.1s both; }
.link-btn:nth-child(8) { animation: fadeInLeft 1.2s cubic-bezier(0.4, 0, 0.2, 1) 2.3s both; }

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* Footer */
.footer {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  opacity: 0.8;
  animation: fadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 2s both;
}

/* Copy success notification */
.copy-success {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--glow-blue), var(--glow-teal));
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  z-index: 1000;
  opacity: 0;
  animation: copyNotification 2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes copyNotification {
  0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
  15%, 85% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Shooting star easter egg */
.shooting-star {
  position: fixed;
  width: 2px;
  height: 2px;
  background: linear-gradient(45deg, white, var(--glow-blue));
  border-radius: 50%;
  box-shadow: 0 0 10px var(--glow-blue);
  animation: shootingStar 2s linear;
  z-index: 50;
}

.shooting-star::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, white, transparent);
  transform: translateX(100%);
}

@keyframes shootingStar {
  0% {
    transform: translateX(-100vw) translateY(100vh) rotate(-45deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(100vw) translateY(-100vh) rotate(-45deg);
    opacity: 0;
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .bio-card {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
  
  .theme-toggle {
    top: 1rem;
    right: 1rem;
  }
  
  .social-chips {
    gap: 0.75rem;
  }
  
  .chip {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
  
  .link-btn {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1rem;
  }
  
  .bio-card {
    padding: 1.5rem 1.25rem;
    border-radius: var(--border-radius-md);
  }
  
  .social-chips {
    flex-direction: column;
    align-items: center;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}