/* Modern Theme CSS */
:root {
  --primary-color: #6366f1;
  --secondary-color: #8b5cf6;
  --background-color: #ffffff;
  --surface-color: #f8fafc;
  --text-primary: #1f2937;
  --text-s/* Modern Theme CSS */
:root {
  --primary-color: #6366f1;
  --secondary-color: #8b5cf6;
  --background-color: #ffffff;
  --surface-color: #f8fafc;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius: 12px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Vanta.js Background */
#vanta-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

body {
  font-family: var(--font-family);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  color: var(--text-primary);
  line-height: 1.6;
  padding: 2rem 1rem;
  position: relative;
}

/* When Vanta.js is active, use transparent background */
body:has(#vanta-background) {
  background: transparent;
}

.container {
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(255, 255, 255, 0.1);
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Profile Section */
.profile-section {
  text-align: center;
  margin-bottom: 2rem;
}

.avatar-container {
  margin-bottom: 1.5rem;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-color);
  box-shadow: var(--shadow-md);
}

.profile-name {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.profile-bio {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.profile-location {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--surface-color);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Main Links */
.links-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.link-button {
  display: flex;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: var(--surface-color);
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.link-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.link-button:hover::before {
  left: 100%;
}

.link-button:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.link-button.featured {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-color: transparent;
}

.link-button.featured:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* Gradient Border Button Style - Layered approach */
.link-button.gradient-border {
  background: linear-gradient(135deg, #8b5cf6, #3b82f6, #06b6d4, #10b981);
  border: none;
  border-radius: 16px;
  position: relative;
  padding: 3px; /* This creates the border width */
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  display: block;
  text-decoration: none;
}

.link-button.gradient-border .button-inner {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 13px; /* Slightly smaller than outer radius */
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.link-button.gradient-border .link-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
}
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.link-button.gradient-border .link-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.link-button.gradient-border .link-title {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.125rem;
  margin: 0;
}

.link-button.gradient-border .link-description {
  color: var(--text-secondary);
  opacity: 0.9;
  font-size: 0.875rem;
  margin: 0;
}
  position: absolute;
  inset: 3px; /* Fill the button with 3px border */
}

/* When no icon is present, content takes full width with full border radius */
.link-button.gradient-border:not(:has(.link-icon)) .link-content {
  border-radius: 13px;
}

/* Text content container */
.link-button.gradient-border .text-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.link-button.gradient-border .link-title {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.125rem;
  margin: 0;
}

.link-button.gradient-border .link-description {
  color: var(--text-secondary);
  opacity: 0.9;
  font-size: 0.875rem;
  margin: 0;
}

.link-button.gradient-border:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 12px 48px rgba(139, 92, 246, 0.4),
    0 0 30px rgba(59, 130, 246, 0.3);
}

.link-button.gradient-border.featured {
  background: linear-gradient(135deg, #8b5cf6, #3b82f6, #06b6d4, #10b981, #f59e0b);
}

.link-button.gradient-border .link-title {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.125rem;
  margin: 0;
  line-height: 1.2;
}

.link-button.gradient-border .link-description {
  color: var(--text-secondary);
  opacity: 0.9;
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.3;
}

/* Glass Button Style */
.link-button.glass {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #ffffff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.link-button.glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Neon Button Style */
.link-button.neon {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid var(--primary-color);
  border-radius: 12px;
  color: var(--primary-color);
  text-shadow: 0 0 10px var(--primary-color);
  box-shadow: 
    0 0 20px rgba(99, 102, 241, 0.3),
    inset 0 0 20px rgba(99, 102, 241, 0.1);
}

.link-button.neon:hover {
  background: rgba(99, 102, 241, 0.1);
  box-shadow: 
    0 0 30px rgba(99, 102, 241, 0.5),
    0 0 60px rgba(99, 102, 241, 0.3),
    inset 0 0 30px rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}

/* High Visibility Solid Button Style */
.link-button.solid {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.link-button.solid:hover {
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: 
    0 12px 48px rgba(0, 0, 0, 0.4),
    0 0 0 2px rgba(255, 255, 255, 0.8),
    0 0 30px rgba(99, 102, 241, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.link-button.solid.featured {
  background: linear-gradient(135deg, #8b5cf6, #3b82f6, #06b6d4);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.35),
    0 0 0 2px rgba(255, 255, 255, 0.7),
    0 0 25px rgba(59, 130, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.link-button.solid .link-title {
  color: #ffffff;
  font-weight: 600;
}

.link-button.solid .link-description {
  color: rgba(255, 255, 255, 0.9);
}

.link-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.link-content {
  flex: 1;
  text-align: left;
}

.link-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.link-description {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Footer */
.footer {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.generated-text {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 640px) {
  body {
    padding: 1rem 0.5rem;
  }
  
  .container {
    padding: 2rem 1.5rem;
    margin: 0 0.5rem;
  }
  
  .profile-name {
    font-size: 1.5rem;
  }
  
  .avatar {
    width: 100px;
    height: 100px;
  }
  
  .link-button {
    padding: 1rem 1.25rem;
  }
}

/* Dark mode support (if implemented later) */
@media (prefers-color-scheme: dark) {
  :root {
    --background-color: #1f2937;
    --surface-color: #374151;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --border-color: #4b5563;
  }
}

/* Animation classes */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}