/* Modern Premium Design System */
:root {
  --primary-gradient: linear-gradient(135deg, #d4af37 0%, #f1d592 100%);
  --accent-gradient: linear-gradient(135deg, #c5a028 0%, #e8c568 100%);
  --bg-color: #fdf5e6;
  --card-bg: rgba(255, 255, 255, 0.4);
  --card-border: rgba(212, 175, 55, 0.3);
  --text-primary: #3d2b1f;
  --text-secondary: #7a5c43;
  --glass-shadow: 0 12px 48px 0 rgba(139, 115, 85, 0.15);
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-color);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 40%);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 450px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  z-index: 1;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

/* Glassmorphism Profile Section */
.profile-section {
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: reveal 0.8s forwards ease-out;
}

.profile-img-container {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  padding: 5px;
  background: var(--primary-gradient);
  animation: float 4s ease-in-out infinite, reveal 0.8s forwards ease-out;
  box-shadow: 0 10px 30px -10px rgba(255, 175, 189, 0.5);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-color);
  background: #eee;
}

.name {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

.bio {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 300px;
  margin: 0 auto;
}

/* Links Section */
.links-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.link-card {
  display: block;
  text-decoration: none;
  padding: 1.25rem;
  border-radius: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-primary);
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--glass-shadow);
  opacity: 0;
  transform: translateY(20px);
}

.link-card:nth-child(1) { animation: reveal 0.8s forwards 0.2s; }
.link-card:nth-child(2) { animation: reveal 0.8s forwards 0.3s; }
.link-card:nth-child(3) { animation: reveal 0.8s forwards 0.4s; }
.link-card:nth-child(4) { animation: reveal 0.8s forwards 0.5s; }
.link-card:nth-child(5) { animation: reveal 0.8s forwards 0.6s; }

.link-card:hover {
  transform: translateY(-5px) scale(1.03);
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 20px 40px rgba(139, 115, 85, 0.15), 0 0 20px rgba(212, 175, 55, 0.15);
}

#instagram-link:hover { border-color: #E1306C; background: rgba(225, 48, 108, 0.05); }
#facebook-link:hover { border-color: #1877F2; background: rgba(24, 119, 242, 0.05); }
#whatsapp-link:hover { border-color: #25D366; background: rgba(37, 211, 102, 0.05); }
#email-link:hover { border-color: #d4af37; background: rgba(212, 175, 55, 0.05); }

/* Link icon colors */
#instagram-link svg { color: #E1306C; }
#facebook-link svg { color: #1877F2; }
#whatsapp-link svg { color: #25D366; }
#email-link svg { color: #d4af37; }

.link-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.link-text {
  flex-grow: 1;
  text-align: center;
}

/* Social Footer */
.social-footer {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  animation: reveal 0.8s forwards 0.8s;
}

.social-icon {
  color: var(--text-secondary);
  font-size: 1.5rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.share-text {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  opacity: 0.8;
}

.social-icon:hover {
  color: #fff;
  transform: translateY(-3px);
}

/* Animations */
@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Background Animated Gradient */
.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--primary-gradient);
  filter: blur(100px);
  border-radius: 50%;
  opacity: 0.1;
  animation: move 25s infinite alternate ease-in-out;
}

.blob-1 {
  top: -100px;
  right: -100px;
}

.blob-2 {
  bottom: -150px;
  left: -150px;
  animation-delay: -5s;
}

@keyframes move {
  from { transform: translate(0, 0); }
  to { transform: translate(100px, 100px); }
}

@media (max-width: 480px) {
  .container {
    padding: 1rem;
  }
  .link-card {
    padding: 1rem;
  }
}
