:root {
  --color-bg: #050510; /* Fondo muy oscuro, casi negro con tono azulado profundo */
  --color-surface: rgba(20, 20, 35, 0.6);
  --color-surface-glass: rgba(15, 15, 25, 0.4);
  --color-primary: #f97316; /* Naranja vibrante para el CTA principal */
  --color-primary-hover: #ea580c;
  --color-pink: #ec4899; /* Rosa para gradientes */
  --color-purple: #a855f7; /* Morado/Violeta para gradientes */
  --color-text-main: #ffffff;
  --color-text-muted: #94a3b8;
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  background-color: var(--color-bg);
  color: var(--color-text-main);
  font-family: var(--font-primary);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  /* Efecto de constelación / nodos brillantes inspirado en las imágenes */
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(168, 85, 247, 0.15) 0%, transparent 25%),
    radial-gradient(circle at 85% 15%, rgba(236, 72, 153, 0.15) 0%, transparent 30%),
    radial-gradient(circle at 50% 85%, rgba(249, 115, 22, 0.12) 0%, transparent 35%),
    radial-gradient(circle at 80% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 15%),
    radial-gradient(circle at 10% 90%, rgba(168, 85, 247, 0.1) 0%, transparent 20%);
  background-attachment: fixed;
  padding: 2rem 1rem;
}

/* Simulación de estrellas/nodos de red en el fondo */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 40px 70px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 90px 40px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2.5px 2.5px at 160px 120px, #f97316, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 200px 50px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 250px 180px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(3px 3px at 300px 90px, #ec4899, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 350px 220px, #ffffff, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 400px 300px;
  opacity: 0.3;
  z-index: -1;
}

.container {
  width: 100%;
  max-width: 480px;
  background: var(--color-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.5rem 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

/* Header Section */
.header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.profile-img-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 0.75rem;
}

.profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid transparent;
  background: linear-gradient(var(--color-bg), var(--color-bg)) padding-box,
              linear-gradient(135deg, var(--color-purple), var(--color-pink), var(--color-primary)) border-box;
  box-shadow: 0 0 25px rgba(236, 72, 153, 0.4);
}

.verification-badge {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: #10b981;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border: 2px solid var(--color-bg);
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.name {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  background: linear-gradient(to right, var(--color-purple), var(--color-pink), var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(236, 72, 153, 0.2);
}

.title {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.subtitle {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  margin-top: 0.15rem;
}

.location {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin-top: 0.25rem;
}

/* Social Bar */
.social-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-main);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  border-color: var(--color-pink);
  color: var(--color-pink);
  box-shadow: 0 10px 15px -3px rgba(236, 72, 153, 0.2);
}

/* CTAs Section */
.ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.1rem 1rem;
  border-radius: 9999px; /* Pill shape inspired by the image button */
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s ease;
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.02);
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-btn.primary {
  background: var(--color-primary);
  border: none;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
}

.cta-btn.primary:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.6);
}

/* VCard Button */
.vcard-wrapper {
  margin-top: 0.25rem;
}

.vcard-btn {
  width: 100%;
  padding: 0.875rem;
  border-radius: 9999px;
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.vcard-btn:hover {
  border-color: var(--color-text-main);
  color: var(--color-text-main);
  background: rgba(255, 255, 255, 0.03);
}

/* Marquee */
.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 50px;
  height: 100%;
  z-index: 2;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(15,15,25,1), transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(15,15,25,1), transparent);
}

.marquee-content {
  display: flex;
  width: max-content;
  animation: scroll 25s linear infinite;
  gap: 2.5rem;
  align-items: center;
}

.marquee-content:hover {
  animation-play-state: paused;
}

.marquee-item {
  color: var(--color-text-muted);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  opacity: 0.4;
  transition: opacity 0.3s ease, color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.marquee-item:hover {
  opacity: 1;
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.marquee-item img {
  height: 45px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: grayscale(100%) opacity(0.6);
}

.marquee-item img:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.footer a {
  color: var(--color-pink);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--color-primary);
}

@media (max-width: 480px) {
  .container {
    padding: 2.5rem 1.25rem;
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  
  body {
    padding: 0;
    align-items: flex-start;
  }
}
